Add forced deletion support to _dl_close_worker
[glibc.git] / ChangeLog
blob2ccf739ae498a0a048475bf212e13c1ef6a763f9
1 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2             Mikhail Ilin  <m.ilin@samsung.com>
4         [BZ #17833]
5         * elf/Makefile (tests): Add tst-nodelete.
6         (modules-names): Add tst-nodelete-uniquemod.
7         (tst-nodelete-uniquemod.so-no-z-defs): New.
8         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10         ($(objpfx)tst-nodelete): Likewise.
11         ($(objpfx)tst-nodelete.out): Likewise.
12         (LDFLAGS-tst-nodelete): Likewise.
13         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15         implement forced object deletion.
16         (_dl_close): Pass false to _dl_close_worker.
17         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18         * elf/tst-nodelete.cc: New file.
19         * elf/tst-nodeletelib.cc: Likewise.
20         * elf/tst-znodeletelib.cc: Likewise.
21         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25         [BZ #18508]
26         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27         Depend on $(libdl).
28         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
29         is not called infinitely times.
30         (backtrace_helper): New function.
31         (trace_arg): New struct.
32         (st1): Enlarge stack size.
33         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
35         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36         Likewise.
38 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
40         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
42 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
44         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
45         Include sys/types.h instead of bits/types.h.
46         Remove inclusion of bits/wordsize.h.
48 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
50         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
51         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
52         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
53         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
54         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
55         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
57 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
59         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
60         link-defines.sym.
61         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
62         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
63         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
64         and LR_SIZE.
65         * sysdeps/i386/link-defines.sym: New file.
67 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
69         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
70         (modules-names): Add tst-auditmod3a tst-auditmod3b.
71         ($(objpfx)tst-audit3): New rule.
72         ($(objpfx)tst-audit3.out): Likewise.
73         * sysdeps/i386/tst-audit3.c: New file.
74         * sysdeps/i386/tst-audit3.h: Likewise.
75         * sysdeps/i386/tst-auditmod3a.c: Likewise.
76         * sysdeps/i386/tst-auditmod3b.c: Likewise.
78 2015-07-07  Torvald Riegel  <triegel@redhat.com>
80         [BZ #18633]
81         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
82         pointer in C code.
83         (__strcat_c): Likewise.
84         (__strcat_g): Likewise.
86 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
88         [BZ #18592]
89         * misc/sbrk.c: Set errno to ENOMEM on overflow.
91 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
93         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
94         New function.  (__ieee754_sqrtf): New function.
95         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
96         New function.
97         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
98         New function.
100 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
102         * sysdeps/ieee754/support.c: Remove unused file.
104 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
106         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
107         registers instead of d ones so the layout is kernel abi compatible.
108         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
109         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
110         Likewise.
112 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
114         * sysdeps/aarch64/libm-test-ulps: Regenerated.
116 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
118         [BZ #18619]
119         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
120         and return argument in case of subnormal argument.
122 2015-07-01  Martin Sebor  <msebor@redhat.com>
124         [BZ #18435]
125         * nptl/Makefile: Add tst-once5.cc.
126         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
127         Remove macro redefinitions.
128         * nptl/tst-once5.cc: New test.
130 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
132         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
134         * sysdeps/arm/libm-test-ulps: Regenerated.
136         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
137         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
139 2015-06-30  Torvald Riegel  <triegel@redhat.com>
141         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
142         lll_lock_wait_private and lll_futex_wake probes.
144         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
146         Likewise.
147         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
148         atomic_spin_nop.
149         * sysdeps/x86_64/bits/atomic.h: Likewise.
150         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
151         to atomic_spin_nop and move ...
152         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
153         ... here and ...
154         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
155         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
156         atomic_spin_nop instead of BUSY_WAIT_NOP.
157         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
158         Likewise.
159         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
160         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
161         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
162         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
163         instead of atomic_delay.
165 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
167         [BZ #18613]
168         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
169         X_ADJ not X when adjusting exponent.
170         (__ieee754_gamma_r): Do intermediate computations in
171         round-to-nearest then adjust overflowing and underflowing results
172         as needed.
173         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
174         of X_ADJ not X when adjusting exponent.
175         (__ieee754_gammaf_r): Do intermediate computations in
176         round-to-nearest then adjust overflowing and underflowing results
177         as needed.
178         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
179         log of X_ADJ not X when adjusting exponent.
180         (__ieee754_gammal_r): Do intermediate computations in
181         round-to-nearest then adjust overflowing and underflowing results
182         as needed.  Use 1.0L not 1.0f as numerator of division.
183         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
184         log of X_ADJ not X when adjusting exponent.
185         (__ieee754_gammal_r): Do intermediate computations in
186         round-to-nearest then adjust overflowing and underflowing results
187         as needed.  Use 1.0L not 1.0f as numerator of division.
188         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
189         of X_ADJ not X when adjusting exponent.
190         (__ieee754_gammal_r): Do intermediate computations in
191         round-to-nearest then adjust overflowing and underflowing results
192         as needed.  Use 1.0L not 1.0f as numerator of division.
193         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
194         to auto-libm-test-in.
195         (tgamma_test): Use ALL_RM_TEST.
196         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
197         tests of tgamma with spurious-overflow.
198         * math/auto-libm-test-out: Regenerated.
199         * math/gen-libm-have-vector-test.sh: Do not check for START.
200         * sysdeps/i386/fpu/libm-test-ulps: Update.
201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
203         [BZ #18612]
204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
205         arguments, just return 0.5 times the argument, with underflow
206         forced as needed.
207         * math/auto-libm-test-in: Add more tests of j1.
208         * math/auto-libm-test-out: Regenerated.
210         [BZ #16559]
211         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
212         (__ieee754_j1): Force underflow exception for small results.
213         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
214         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
215         (__ieee754_j1f): Force underflow exception for small results.
216         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
217         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
219         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
220         (__ieee754_j1l): Force underflow exception for small results.
221         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
222         * math/auto-libm-test-in: Add more tests of j1 and jn.
223         * math/auto-libm-test-out: Regenerated.
225         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
226         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
227         (PF_MPLS): Likewise.
228         (AF_IB): Likewise.
229         (AF_MPLS): Likewise.
230         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
231         value and macro.
232         (MS_RMT_MASK): Include MS_LAZYTIME.
234 2015-06-26  Mel Gorman  <mgorman@suse.de>
236         [BZ #18502]
237         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
238         already minimal.
240 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
242         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
243         (DT_MIPS_NUM): Update.
244         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
245         DT_MIPS_RLD_MAP_REL.
247 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
249         [BZ #16559]
250         [BZ #18602]
251         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
252         round-to-nearest internally then recompute results that
253         underflowed to zero in the original rounding mode.
254         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
255         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
257         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
258         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
259         * sysdeps/i386/fpu/libm-test-ulps: Update.
260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
262 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
264         * NEWS: Fixed description of link with vector math library.
266 2015-06-25  Andreas Schwab  <schwab@suse.de>
268         [BZ #18549]
269         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
270         * libio/test-fmemopen.c (do_test): Add test for it.
272 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
274         [BZ #17841]
275         * Makeconfig (no-pie-ldflag): New.
276         (+link): Set to $(+link-pie) if default to PIE.
277         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
278         * config.make.in (build-pie-default): New.
279         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
280         is default.  AC_SUBST.
281         * configure: Regenerated.
282         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
284 2015-06-24  Roland McGrath  <roland@hack.frob.com>
286         * nptl/descr.h (struct pthread): Change type of field setxid_futex
287         to 'unsigned int'.
289         * resolv/gai_misc.h (struct waitlist): Change type of field
290         counterp to 'volatile unsigned int *'.
291         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
292         FUTEXADDR and OLDVAL.
293         * resolv/getaddrinfo_a.c (getaddrinfo_a):
294         Give local variable TOTAL type 'volatile unsigned int'.
295         (struct async_waitlist): Change type of field counter to 'unsigned int'.
296         * resolv/gai_suspend.c (gai_suspend):
297         Give local variable CNTR type 'unsigned int'.
299         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
300         counterp to 'volatile unsigned int *'.
301         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
302         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
303         (aio_suspend): Give local variable CNTR type 'unsigned int'.
304         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
305         Give local variable TOTAL type 'volatile unsigned int'.
306         (struct async_waitlist): Change type of field counter to 'unsigned int'.
308 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
310         [BZ #18383]
311         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
312         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
313         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
314         comment for i386/x86-64.
315         (test-xfail-tst-tlsalign-extern-static): Removed.
317 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
319         * math/test-double.h: New file.
320         * math/test-float.h: Likewise.
321         * math/test-ldouble.h: Likewise.
322         * math/test-math-inline.h: Likewise.
323         * math/test-math-no-inline.h: Likewise.
324         * math/test-math-scalar.h: Likewise.
325         * math/test-math-vector.h: Likewise.
326         * math/test-vec-loop.h: Remove file.  Contents moved into
327         test-math-vector.h.
328         * math/libm-test.inc (MATHCONST): Do not document macro.
329         * math/test-double.c: Include test-double.h, test-math-no-inline.h
330         and test-math-scalar.h.
331         (FUNC): Remove macro.
332         (FUNC_TEST): Likewise.
333         (FLOAT): Likewise.
334         (MATHCONST): Likewise.
335         (PRINTF_EXPR): Likewise.
336         (PRINTF_XEXPR): Likewise.
337         (PRINTF_NEXPR): Likewise.
338         (TEST_DOUBLE): Likewise.
339         (TEST_MATHVEC): Likewise.
340         (__NO_MATH_INLINES): Likewise.
341         * math/test-float.c: Include test-float.h, test-math-no-inline.h
342         and test-math-scalar.h.
343         (FUNC): Remove macro.
344         (FUNC_TEST): Likewise.
345         (FLOAT): Likewise.
346         (MATHCONST): Likewise.
347         (PRINTF_EXPR): Likewise.
348         (PRINTF_XEXPR): Likewise.
349         (PRINTF_NEXPR): Likewise.
350         (TEST_FLOAT): Likewise.
351         (TEST_MATHVEC): Likewise.
352         (__NO_MATH_INLINES): Likewise.
353         * math/test-idouble.c: Include test-double.h, test-math-inline.h
354         and test-math-scalar.h.
355         (FUNC): Remove macro.
356         (FUNC_TEST): Likewise.
357         (FLOAT): Likewise.
358         (MATHCONST): Likewise.
359         (PRINTF_EXPR): Likewise.
360         (PRINTF_XEXPR): Likewise.
361         (PRINTF_NEXPR): Likewise.
362         (TEST_DOUBLE): Likewise.
363         (TEST_MATHVEC): Likewise.
364         (TEST_INLINE): Likewise.
365         (__NO_MATH_INLINES): Likewise.
366         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
367         test-math-scalar.h.
368         (FUNC): Remove macro.
369         (FUNC_TEST): Likewise.
370         (FLOAT): Likewise.
371         (MATHCONST): Likewise.
372         (PRINTF_EXPR): Likewise.
373         (PRINTF_XEXPR): Likewise.
374         (PRINTF_NEXPR): Likewise.
375         (TEST_FLOAT): Likewise.
376         (TEST_MATHVEC): Likewise.
377         (TEST_INLINE): Likewise.
378         (__NO_MATH_INLINES): Likewise.
379         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
380         and test-math-scalar.h.
381         (FUNC): Remove macro.
382         (FUNC_TEST): Likewise.
383         (FLOAT): Likewise.
384         (MATHCONST): Likewise.
385         (PRINTF_EXPR): Likewise.
386         (PRINTF_XEXPR): Likewise.
387         (PRINTF_NEXPR): Likewise.
388         (TEST_LDOUBLE): Likewise.
389         (TEST_MATHVEC): Likewise.
390         (TEST_INLINE): Likewise.
391         (__NO_MATH_INLINES): Likewise.
392         * math/test-ldouble.c: Include test-ldouble.h,
393         test-math-no-inline.h and test-math-scalar.h.
394         (FUNC): Remove macro.
395         (FUNC_TEST): Likewise.
396         (FLOAT): Likewise.
397         (MATHCONST): Likewise.
398         (PRINTF_EXPR): Likewise.
399         (PRINTF_XEXPR): Likewise.
400         (PRINTF_NEXPR): Likewise.
401         (TEST_LDOUBLE): Likewise.
402         (TEST_MATHVEC): Likewise.
403         (__NO_MATH_INLINES): Likewise.
404         * math/test-double-vlen2.h: Include test-double.h,
405         test-math-no-inline.h and test-math-vector.h.
406         (FLOAT): Remove macro.
407         (FUNC): Likewise.
408         (MATHCONST): Likewise.
409         (PRINTF_EXPR): Likewise.
410         (PRINTF_XEXPR): Likewise.
411         (PRINTF_NEXPR): Likewise.
412         (TEST_DOUBLE): Likewise.
413         (TEST_MATHVEC): Likewise.
414         (__NO_MATH_INLINES): Likewise.
415         (CNCT): Likewise.
416         (CONCAT): Likewise.
417         (WRAPPER_NAME): Likewise.
418         (WRAPPER_DECL): Likewise.
419         (WRAPPER_DECL_ff): Likewise.
420         (WRAPPER_DECL_fFF): Likewise.
421         (VECTOR_WRAPPER): Likewise.
422         (VECTOR_WRAPPER_ff): Likewise.
423         (VECTOR_WRAPPER_fFF): Likewise.
424         (VEC_LEN): New macro.
425         * math/test-double-vlen4.h: Include test-double.h,
426         test-math-no-inline.h and test-math-vector.h.
427         (FLOAT): Remove macro.
428         (FUNC): Likewise.
429         (MATHCONST): Likewise.
430         (PRINTF_EXPR): Likewise.
431         (PRINTF_XEXPR): Likewise.
432         (PRINTF_NEXPR): Likewise.
433         (TEST_DOUBLE): Likewise.
434         (TEST_MATHVEC): Likewise.
435         (__NO_MATH_INLINES): Likewise.
436         (CNCT): Likewise.
437         (CONCAT): Likewise.
438         (WRAPPER_NAME): Likewise.
439         (WRAPPER_DECL): Likewise.
440         (WRAPPER_DECL_ff): Likewise.
441         (WRAPPER_DECL_fFF): Likewise.
442         (VECTOR_WRAPPER): Likewise.
443         (VECTOR_WRAPPER_ff): Likewise.
444         (VECTOR_WRAPPER_fFF): Likewise.
445         (VEC_LEN): New macro.
446         * math/test-double-vlen8.h: Include test-double.h,
447         test-math-no-inline.h and test-math-vector.h.
448         (FLOAT): Remove macro.
449         (FUNC): Likewise.
450         (MATHCONST): Likewise.
451         (PRINTF_EXPR): Likewise.
452         (PRINTF_XEXPR): Likewise.
453         (PRINTF_NEXPR): Likewise.
454         (TEST_DOUBLE): Likewise.
455         (TEST_MATHVEC): Likewise.
456         (__NO_MATH_INLINES): Likewise.
457         (CNCT): Likewise.
458         (CONCAT): Likewise.
459         (WRAPPER_NAME): Likewise.
460         (WRAPPER_DECL): Likewise.
461         (WRAPPER_DECL_ff): Likewise.
462         (WRAPPER_DECL_fFF): Likewise.
463         (VECTOR_WRAPPER): Likewise.
464         (VECTOR_WRAPPER_ff): Likewise.
465         (VECTOR_WRAPPER_fFF): Likewise.
466         (VEC_LEN): New macro.
467         * math/test-float-vlen4.h: Include test-float.h,
468         test-math-no-inline.h and test-math-vector.h.
469         (FLOAT): Remove macro.
470         (FUNC): Likewise.
471         (MATHCONST): Likewise.
472         (PRINTF_EXPR): Likewise.
473         (PRINTF_XEXPR): Likewise.
474         (PRINTF_NEXPR): Likewise.
475         (TEST_FLOAT): Likewise.
476         (TEST_MATHVEC): Likewise.
477         (__NO_MATH_INLINES): Likewise.
478         (CNCT): Likewise.
479         (CONCAT): Likewise.
480         (WRAPPER_NAME): Likewise.
481         (WRAPPER_DECL): Likewise.
482         (WRAPPER_DECL_ff): Likewise.
483         (WRAPPER_DECL_fFF): Likewise.
484         (VECTOR_WRAPPER): Likewise.
485         (VECTOR_WRAPPER_ff): Likewise.
486         (VECTOR_WRAPPER_fFF): Likewise.
487         (VEC_LEN): New macro.
488         * math/test-float-vlen8.h: Include test-float.h,
489         test-math-no-inline.h and test-math-vector.h.
490         (FLOAT): Remove macro.
491         (FUNC): Likewise.
492         (MATHCONST): Likewise.
493         (PRINTF_EXPR): Likewise.
494         (PRINTF_XEXPR): Likewise.
495         (PRINTF_NEXPR): Likewise.
496         (TEST_FLOAT): Likewise.
497         (TEST_MATHVEC): Likewise.
498         (__NO_MATH_INLINES): Likewise.
499         (CNCT): Likewise.
500         (CONCAT): Likewise.
501         (WRAPPER_NAME): Likewise.
502         (WRAPPER_DECL): Likewise.
503         (WRAPPER_DECL_ff): Likewise.
504         (WRAPPER_DECL_fFF): Likewise.
505         (VECTOR_WRAPPER): Likewise.
506         (VECTOR_WRAPPER_ff): Likewise.
507         (VECTOR_WRAPPER_fFF): Likewise.
508         (VEC_LEN): New macro.
509         * math/test-float-vlen16.h: Include test-float.h,
510         test-math-no-inline.h and test-math-vector.h.
511         (FLOAT): Remove macro.
512         (FUNC): Likewise.
513         (MATHCONST): Likewise.
514         (PRINTF_EXPR): Likewise.
515         (PRINTF_XEXPR): Likewise.
516         (PRINTF_NEXPR): Likewise.
517         (TEST_FLOAT): Likewise.
518         (TEST_MATHVEC): Likewise.
519         (__NO_MATH_INLINES): Likewise.
520         (CNCT): Likewise.
521         (CONCAT): Likewise.
522         (WRAPPER_NAME): Likewise.
523         (WRAPPER_DECL): Likewise.
524         (WRAPPER_DECL_ff): Likewise.
525         (WRAPPER_DECL_fFF): Likewise.
526         (VECTOR_WRAPPER): Likewise.
527         (VECTOR_WRAPPER_ff): Likewise.
528         (VECTOR_WRAPPER_fFF): Likewise.
529         (VEC_LEN): New macro.
530         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
531         test-vec-loop.h.
532         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
533         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
534         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
535         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
536         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
538         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
540 2015-06-24  Roland McGrath  <roland@hack.frob.com>
542         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
543         (__getlogin_r): ... this.
545 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
547         [BZ #18594]
548         * math/s_ccosh.c (__ccosh): Compare with least normal value
549         instead of comparing class with FP_SUBNORMAL.
550         * math/s_ccoshf.c (__ccoshf): Likewise.
551         * math/s_ccoshl.c (__ccoshl): Likewise.
552         * math/s_cexp.c (__cexp): Likewise.
553         * math/s_cexpf.c (__cexpf): Likewise.
554         * math/s_cexpl.c (__cexpl): Likewise.
555         * math/s_csin.c (__csin): Likewise.
556         * math/s_csinf.c (__csinf): Likewise.
557         * math/s_csinh.c (__csinh): Likewise.
558         * math/s_csinhf.c (__csinhf): Likewise.
559         * math/s_csinhl.c (__csinhl): Likewise.
560         * math/s_csinl.c (__csinl): Likewise.
561         * math/s_ctan.c (__ctan): Likewise.
562         * math/s_ctanf.c (__ctanf): Likewise.
563         * math/s_ctanh.c (__ctanh): Likewise.
564         * math/s_ctanhf.c (__ctanhf): Likewise.
565         * math/s_ctanhl.c (__ctanhl): Likewise.
566         * math/s_ctanl.c (__ctanl): Likewise.
567         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
568         csin, csinh, ctan and ctanh.
569         * math/auto-libm-test-out: Regenerated.
570         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
571         * sysdeps/i386/fpu/libm-test-ulps: Update.
572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574 2015-06-24  Roland McGrath  <roland@hack.frob.com>
576         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
577         return value is wrong, print the expected value too.
579 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
581         [BZ #18585]
582         * elf/readlib.c (is_gdb_python_file): New.
583         (process_file): Don't issue errors on filenames with -gdb.py
584         suffix.
586 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
588         * math/auto-libm-test-in: Add more tests of csin and csinh.
589         * math/auto-libm-test-out: Regenerated.
590         * math/libm-test.inc (csin_test_data): Remove tests moved to
591         auto-libm-test-in.
592         (csinh_test_data): Likewise.
594         [BZ #18593]
595         * math/s_csin.c (__csin): Negate before rather than after possibly
596         overflowing multiplication.
597         * math/s_csinf.c (__csinf): Likewise.
598         * math/s_csinh.c (__csinh): Likewise.
599         * math/s_csinhf.c (__csinhf): Likewise.
600         * math/s_csinhl.c (__csinhl): Likewise.
601         * math/s_csinl.c (__csinl): Likewise.
602         * math/auto-libm-test-in: Add some tests of csin and csinh.
603         * math/auto-libm-test-out: Regenerated.
604         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
605         (csinh_test_data): Likewise.
606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
608         [BZ #18586]
609         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
610         underflow exception for small results.
612 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
614         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
616         variable and included header.
617         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
620         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
622         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
623         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
624         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
625         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
626         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
627         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
628         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
629         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
630         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
631         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
632         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
634 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
636         [BZ #16526]
637         [BZ #16538]
638         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
639         (__sin): Force underflow exception for arguments with small
640         absolute value.
641         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
642         (__kernel_sinf): Force underflow exception for arguments with
643         small absolute value.
644         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
645         (__kernel_sincosl): Force underflow exception for arguments with
646         small absolute value.
647         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
648         (__kernel_sinl): Force underflow exception for arguments with
649         small absolute value.
650         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
651         (__kernel_sincosl): Force underflow exception for arguments with
652         small absolute value.
653         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
654         (__kernel_sinl): Force underflow exception for arguments with
655         small absolute value.
656         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
657         (__kernel_sinl): Force underflow exception for arguments with
658         small absolute value.
659         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
660         (__kernel_sinf): Force underflow exception for arguments with
661         small absolute value.
662         * math/auto-libm-test-in: Add more tests of sin and sincos.
663         * math/auto-libm-test-out: Regenerated.
665         [BZ #18245]
666         [BZ #18583]
667         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
668         (__kernel_standard_l): Use feholdexcept and fesetenv around
669         conversion to double instead of special-casing overflow and
670         underflow.
671         * math/libm-test.inc (fmod_test_data): Add more tests.
672         (remainder_test_data): Likewise.
673         (sqrt_test_data): Likewise.
675 2015-06-23  Torvald Riegel  <triegel@redhat.com>
677         [BZ #17403]
678         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
679         atomic_read_barrier, atomic_write_barrier): Define.
680         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
681         atomic_read_barrier, atomic_write_barrier): Define.
683 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
685         * math/Makefile [$(PERL) != no]
686         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
687         dependency on libm-test.stmp below the inclusion of Rules.
689 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
692         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
693         and included header.
694         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
695         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
697         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
699         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
702         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
703         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
704         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
705         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
706         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
707         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
708         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
709         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
710         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
711         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
712         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
714 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
716         [BZ #18371]
717         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
718         intermediate but not final result might underflow.
719         * math/s_csqrtf.c (__csqrtf): Likewise.
720         * math/s_csqrtl.c (__csqrtl): Likewise.
721         * math/auto-libm-test-in: Add more tests of csqrt.
722         * math/auto-libm-test-out: Regenerated.
723         * sysdeps/i386/fpu/libm-test-ulps: Update.
725         [BZ #18219]
726         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
727         threshold on absolute value of exponent for which scaling is used.
728         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
729         * math/auto-libm-test-in: Add more tests of exp2.
730         * math/auto-libm-test-out: Regenerated.
732 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
734         [BZ #17977]
735         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
736         when initializing interface list, based on the bug analysis
737         and the patch proposed by Eric Newton.
738         * resolv/tst-res_hconf_reorder.c: New test.
739         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
740         tst-res_hconf_reorder.
741         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
742         and $(shared-thread-library).
743         (tst-res_hconf_reorder-ENV): New variable.
745         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
746         in comment.
748 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
750         [BZ #16353]
751         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
752         (__expm1): Force underflow exception for arguments with small
753         absolute value.
754         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
755         (__expm1f): Force underflow exception for arguments with small
756         absolute value.
757         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
758         (__expm1): Force underflow exception for arguments with small
759         absolute value.
760         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
761         (__expm1f): Force underflow exception for arguments with small
762         absolute value.
763         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
764         Check for small arguments before calling __expm1.
765         * math/auto-libm-test-in: Do not mark underflow exceptions as
766         possibly missing for bug 16353.
767         * math/auto-libm-test-out: Regenerated.
769 2015-06-22  Andreas Schwab  <schwab@suse.de>
771         [BZ #18513]
772         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
773         PTR queries.
775 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
777         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
779         * string/strcoll_l.c: Remove unused struct element idxnow.
781 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
783         [BZ #18569]
784         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
785         underflow and return argument in case of subnormal argument.
786         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
787         Likewise.
788         * math/auto-libm-test-in: Add more tests of expm1.
789         * math/auto-libm-test-out: Regenerated.
791         [BZ #16361]
792         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
793         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
794         tiny results.
795         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
796         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
797         tiny results.
798         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
799         mark underflow exceptions as possibly missing for bug 16361.
800         * math/auto-libm-test-out: Regenerated.
802 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
804         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
805         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
806         Remove variable.
807         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
808         (test-xfail-XOPEN2K8/utmpx.h/conform).
810         * conform/conformtest.pl ($xerrors): New variable.
811         (note_error): New function.
812         (compiletest): New argument $xfail.  Use not_error.
813         (runtest): Likewise.
814         (top level): Handle xfail- lines.  Update calls to compiletest and
815         runtest.  Handle xfail- and optional- in headers listed with
816         allow-header.
817         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
818         (O_EXEC): Likewise.
819         (O_SEARCH): Likewise.
820         * conform/data/stropts.h-data (ioctl): Likewise.
821         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
822         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
823         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
824         (msghdr.msg_controllen): Likewise.
825         (cmsghdr.cmsg_len): Likewise.
826         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
827         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
828         variable.
829         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
830         (test-xfail-XPG4/stropts.h/conform): Likewise.
831         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
832         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
833         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
834         (test-xfail-UNIX98/stropts.h/conform): Likewise.
835         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
836         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
837         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
838         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
839         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
840         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
841         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
842         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
843         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
844         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
845         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
846         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
847         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
848         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
849         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
851 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
853         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
854         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
855         definitions for proper unfolding of __MATHDECL_VEC.
857 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
859         * benchtests/bench-strcoll.c:
860         Include string.h.
861         (main): Remove unused variable res.
863 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
865         * timezone/Makefile (%/UTC %/Universal):
866         Generate test-result files for UTC and Universal.
868 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
870         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
872 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
874         [BZ #16350]
875         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
876         for arguments with small absolute value.
877         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
878         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
879         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
880         (__asinh): Force underflow exception for arguments with small
881         absolute value.
882         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
883         (__asinhf): Force underflow exception for arguments with small
884         absolute value.
885         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
886         (__asinhl): Force underflow exception for arguments with small
887         absolute value.
888         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
889         (__asinhl): Force underflow exception for arguments with small
890         absolute value.
891         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
892         (__asinhl): Force underflow exception for arguments with small
893         absolute value.
894         * math/auto-libm-test-in: Do not mark underflow exceptions as
895         possibly missing for bug 16350.
896         * math/auto-libm-test-out: Regenerated.
898         * include/bits/ipc.h: Remove file.
899         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
900         variable.
901         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
902         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
903         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
904         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
905         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
906         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
907         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
908         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
909         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
911         * math/auto-libm-test-in: Remove spurious underflow allowance for
912         tests of cexp.
913         * math/auto-libm-test-out: Regenerated.
915         [BZ #18558]
916         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
917         unconditional definition.
918         (MCAST_BLOCK_SOURCE): Likewise.
919         (MCAST_UNBLOCK_SOURCE): Likewise.
920         (MCAST_LEAVE_GROUP): Likewise.
921         (MCAST_JOIN_SOURCE_GROUP): Likewise.
922         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
923         (MCAST_MSFILTER): Likewise.
924         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
925         Remove variable.
926         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
927         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
928         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
929         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
930         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
932 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
934         * NEWS: Mention addition of x86_64 vector sincosf.
935         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
936         * math/test-float-vlen4.h: Likewise.
937         * math/test-float-vlen8.h: Likewise.
938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
939         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
941         * sysdeps/x86_64/fpu/Versions: New versions added.
942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
944         Added build of SSE, AVX2 and AVX512 IFUNC versions.
945         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
949         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
951         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
952         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
953         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
954         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
955         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
956         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
957         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
958         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
960         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
961         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
962         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
964         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
965         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
967         * NEWS: Mention addition of x86_64 vector sincos.
968         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
969         * math/math.h (__MATHDECL_VEC): New macro.
970         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
971         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
972         declaration under condition.
973         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
974         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
975         TEST_VEC_LOOP change.
976         * math/test-double-vlen4.h: Likewise.
977         * math/test-double-vlen8.h: Likewise.
978         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
979         * math/test-float-vlen4.h: Likewise.
980         * math/test-float-vlen8.h: Likewise.
981         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
982         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
984         * sysdeps/x86_64/fpu/Versions: New versions added.
985         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
986         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
987         Added build of SSE, AVX2 and AVX512 IFUNC versions.
988         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
989         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
990         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
992         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
994         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
995         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
996         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
997         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
998         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
999         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1000         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1001         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1002         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1004         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1005         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1006         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1007         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1008         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1012         redirections for powf.
1013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1014         * sysdeps/x86_64/fpu/Versions: New versions added.
1015         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1016         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1017         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1018         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1020         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1021         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1022         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1023         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1024         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1025         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1026         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1027         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1028         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1029         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1030         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1031         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1032         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1033         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1034         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1035         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1036         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1037         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1038         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1039         * math/test-float-vlen16.h: Fixed 2 argument macro.
1040         * math/test-float-vlen4.h: Likewise.
1041         * math/test-float-vlen8.h: Likewise.
1042         * NEWS: Mention addition of x86_64 vector powf.
1044 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1046         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1047         and redefine.
1048         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1049         and redefine.
1050         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1051         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1052         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1054         [BZ #18553]
1055         * resource/getpriority.c (getpriority): Rename to __getpriority
1056         and define as weak alias of __getpriority.
1057         * resource/setpriority.c (setpriority): Rename to __setpriority
1058         and define as weak alias of __setpriority.
1059         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1060         __getpriority and define as weak alias of __getpriority.
1061         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1062         __setpriority and define as weak alias of __setpriority.
1063         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1064         strong name.
1065         (setpriority): Use __setpriority as strong name.
1066         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1067         __getpriority and define as weak alias of __getpriority.
1068         * include/sys/resource.h (__getpriority): Declare.  Use
1069         libc_hidden_proto.
1070         (__setpriority): Likewise.
1071         (getpriority): Don't use libc_hidden_proto.
1072         (setpriority): Likewise.
1073         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1074         getpriority.  Call __setpriority instead of setpriority.
1075         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1076         Remove variable.
1078         [BZ #18547]
1079         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1080         as weak alias of __getttynam.  Use prototype function definition.
1081         Call __setttyent, __getttyent and __endttyent instead of
1082         setttyent, getttyent and endttyent.
1083         (getttyent): Rename to __getttyent and define as weak alias of
1084         __getttyent.  Call __setttyent instead of setttyent.  Call
1085         __fgets_unlocked instead of fgets_unlocked.
1086         (setttyent): Rename to __setttyent and define as weak alias of
1087         __setttyent.
1088         (endttyent): Rename to __endttyent and define as weak alias of
1089         __endttyent.
1090         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1091         (__setttyent): Likewise.
1092         (__endttyent): Likewise.
1093         (getttyent): Don't use libc_hidden_proto.
1094         (setttyent): Likewise.
1095         (endttyent): Likewise.
1096         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1097         __endttyent instead of setttyent, getttyent and endttyent.
1098         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1099         Remove variable.
1101         [BZ #18546]
1102         * socket/recv.c (__recv): Use libc_hidden_def.
1103         * socket/socket.c (__socket): Likewise.
1104         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1105         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1106         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1107         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1108         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1109         libc_hidden_def.
1110         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1111         libc_hidden_weak.
1112         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1113         Use libc_hidden_proto.
1114         (__recv): Likewise.
1115         * socket/Versions (libc): Export __recv and __socket at version
1116         GLIBC_PRIVATE.
1117         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1118         instead of recv.
1119         (init_mq_netlink): Call __socket instead of socket.
1120         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1121         Remove variable.
1123         [BZ #18545]
1124         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1125         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1126         hidden_weak.
1127         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1128         define as alias of __mq_timedsend.  Use hidden_weak.
1129         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1130         __mq_timedsend as strong name.
1131         (mq_timedreceive): Use __mq_timedreceive as strong name.
1132         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1133         (__mq_timedreceive): Likewise.
1134         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1135         __mq_timedreceive instead of mq_timedreceive.
1136         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1137         instead of mq_timedsend.
1138         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1139         Remove variable.
1141         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1142         hidden_def and hidden_weak instead of libc_hidden_def and
1143         libc_hidden_weak.
1144         (top level): Refer to hidden_def in comment.
1145         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1146         macro.  Use it instead of libc_hidden_def.
1147         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1148         specify __GI_* name explicitly.
1149         (mq_timedreceive): Likewise.
1150         (mq_setattr): Likewise.
1152         [BZ #18544]
1153         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1154         __pthread_barrier_init and define as weak alias of
1155         __pthread_barrier_init.
1156         * sysdeps/sparc/nptl/pthread_barrier_init.c
1157         (pthread_barrier_init): Likewise.
1158         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1159         __pthread_barrier_wait and define as weak alias of
1160         __pthread_barrier_wait.
1161         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1162         (pthread_barrier_wait): Likewise.
1163         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1164         (pthread_barrier_wait): Likewise.
1165         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1166         (pthread_barrier_wait): Likewise.
1167         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1168         (pthread_barrier_wait): Likewise.
1169         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1170         __pthread_barrier_wait at version GLIBC_PRIVATE.
1171         * include/pthread.h (__pthread_barrier_init): Declare.
1172         (__pthread_barrier_wait): Likewise.
1173         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1174         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1175         (helper_thread): Likewise.
1176         (init_mq_netlink): Call __pthread_barrier_init instead of
1177         pthread_barrier_init.
1179         [BZ #18542]
1180         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1181         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1182         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1183         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1184         vswscanf.
1185         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1186         Remove variable.
1188         [BZ #18540]
1189         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1190         strong alias of _IO_fflush.  Use libc_hidden_def.
1191         * libio/iofflush_u.c (fflush_unlocked): Rename to
1192         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1193         Use libc_hidden_weak.
1194         * include/stdio.h (__fflush_unlocked): Declare.  Use
1195         libc_hidden_proto.
1196         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1197         fflush_unlocked.
1198         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1199         Remove variable.
1201         [BZ #18539]
1202         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1203         define as weak alias of __addseverity.
1204         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1205         Remove variable.
1206         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1207         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1208         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1210         [BZ #18536]
1211         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1212         (__tfind): Likewise.
1213         (__tdelete): Likewise.
1214         (__twalk): Likewise.
1215         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1216         __twalk to GLIBC_PRIVATE.
1217         * include/search.h (__tsearch): Use libc_hidden_proto.
1218         (__tfind): Likewise.
1219         (__tdelete): Likewise.
1220         (__twalk): Likewise.
1221         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1222         Call __tdelete instead of tdelete.
1223         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1224         tfind.  Call __tsearch instead of tsearch.
1225         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1226         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1227         Remove variable.
1228         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1230         [BZ #18534]
1231         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1232         (dprintf): Define as a weak alias of __dprintf, not a strong
1233         alias.
1234         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1235         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1236         dprintf.
1237         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1238         Remove variable.
1239         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1240         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1242         [BZ #18533]
1243         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1244         not a strong alias.
1245         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1246         Remove variable.
1248         [BZ #18532]
1249         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1250         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1251         (in6addr_loopback): Rename to __in6addr_loopback and define as
1252         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1253         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1254         libc_hidden_proto.
1255         (__in6addr_any): Likewise.
1256         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1257         in6addr_any.
1258         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1259         variable.
1260         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1262 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1264         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1265         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1267         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1268         redirections for pow.
1269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1270         * sysdeps/x86_64/fpu/Versions: New versions added.
1271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1273         build of SSE, AVX2 and AVX512 IFUNC versions.
1274         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1275         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1276         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1277         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1278         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1281         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1282         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1283         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1284         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1285         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1286         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1287         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1295         * NEWS: Mention addition of x86_64 vector pow.
1297         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1298         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1299         redirections for expf.
1300         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1301         * sysdeps/x86_64/fpu/Versions: New versions added.
1302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1303         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1304         build of SSE, AVX2 and AVX512 IFUNC versions.
1305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1309         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1310         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1311         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1312         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1313         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1314         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1315         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1316         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1317         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1318         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1320         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1324         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1325         * NEWS: Mention addition of x86_64 vector expf.
1327         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1328         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1331         redirections for exp.
1332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1333         * sysdeps/x86_64/fpu/Versions: New versions added.
1334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1336         build of SSE, AVX2 and AVX512 IFUNC versions.
1337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1340         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1343         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1344         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1345         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1346         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1347         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1348         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1350         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1354         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1356         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1357         * NEWS: Mention addition of x86_64 vector exp.
1359         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1360         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1361         redirections for logf.
1362         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1363         * sysdeps/x86_64/fpu/Versions: New versions added.
1364         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1365         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1366         build of SSE, AVX2 and AVX512 IFUNC versions.
1367         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1369         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1370         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1372         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1373         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1374         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1375         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1376         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1377         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1378         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1379         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1380         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1381         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1382         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1385         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1386         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1387         * NEWS: Mention addition of x86_64 vector logf.
1389         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1390         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1391         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1392         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1393         redirections for log.
1394         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1395         * sysdeps/x86_64/fpu/Versions: New versions added.
1396         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1397         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1398         build of SSE, AVX2 and AVX512 IFUNC versions.
1399         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1400         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1401         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1402         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1403         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1404         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1405         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1406         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1407         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1408         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1409         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1410         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1411         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1412         test.
1413         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1416         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1417         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1418         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1419         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1420         * NEWS: Mention addition of x86_64 vector log.
1422 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1424         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1425         cfi_adjust_cfa_offset argument.
1426         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1427         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1429         [BZ #18034]
1430         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1431         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1432         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1433         ordering using ldar.
1434         (_dl_tlsdesc_dynamic): Likewise.
1435         (_dl_tlsdesc_return_lazy): Likewise.
1436         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1437         relaxed atomics instead of volatile and synchronize with release store.
1438         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1439         volatile.
1440         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1442 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1444         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1445         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1447         * sysdeps/x86_64/fpu/Versions: New versions added.
1448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1450         build of SSE, AVX2 and AVX512 IFUNC versions.
1451         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1453         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1454         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1457         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1458         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1459         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1460         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1461         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1462         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1463         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1464         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1465         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1466         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1467         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1469         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1470         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1471         * NEWS: Mention addition of x86_64 vector sinf.
1473 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1475         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1476         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1477         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1478         Remove variable.
1479         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1480         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1482 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1484         [BZ #18530]
1485         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1486         strong alias of _IO_fputs.  Use libc_hidden_def.
1487         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1488         and define as weak alias of __fputs_unlocked.  Use
1489         libc_hidden_weak.
1490         * include/stdio.h (__fputs_unlocked): Declare.  Use
1491         libc_hidden_proto.
1492         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1493         fputs_unlocked.
1495         [BZ #18529]
1496         * resolv/netdb.h [__USE_POSIX]: Change condition to
1497         [__USE_XOPEN2K].
1498         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1499         not expect.
1500         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1501         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1502         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1503         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1504         [XPG4 || UNIX98] (AI_ALL): Likewise.
1505         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1506         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1507         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1508         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1509         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1510         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1511         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1512         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1513         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1514         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1515         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1516         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1517         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1518         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1519         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1520         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1521         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1522         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1523         [XPG4 || UNIX98] (gai_strerror): Likewise.
1524         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1525         [XPG4 || UNIX98] (getnameinfo): Likewise.
1527         [BZ #18528]
1528         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1529         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1530         __USE_XOPEN2K8].
1531         (getgrent): Likewise.
1532         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1533         expect.
1534         [XPG3 || POSIX2008] (endgrent): Likewise.
1535         [XPG3] (setgrent): Likewise.
1536         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1537         variable.
1538         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1540         [BZ #18527]
1541         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1542         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1543         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1544         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1545         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1546         * include/unistd.h (__getlogin_r): Declare.  Use
1547         libc_hidden_proto.
1548         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1549         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1550         variable.
1551         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1552         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1553         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1555 2015-06-12  Martin Sebor  <msebor@redhat.com>
1557         [BZ #18512]
1558         * Makerules (check-install-supported): New target.
1559         (install): Add check-install-supported as a dependency.
1560         * manual/install.texi (Installing the C Library): Document
1561         that overriding prefix and exec_prefix is not supported.
1562         Mention DESTDIR.
1563         * INSTALL: Regenerate from the above.
1565 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1567         [BZ #18519]
1568         * posix/Versions (libc): Export __libc_pread at version
1569         GLIBC_PRIVATE.
1570         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1571         instead of pread.
1572         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1573         variable.
1575         [BZ #18522]
1576         * misc/efgcvt_r.c
1577         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1578         (cvt_symbol): Use weak_alias instead of strong_alias.
1579         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1580         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1581         Remove variable.
1582         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1583         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1585         [BZ #18520]
1586         * inet/herrno.c (h_errno): Rename to __h_errno.
1587         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1588         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1589         to __h_errno instead of h_errno.
1590         * nptl/herrno.c (h_errno): Rename to __h_errno.
1591         (__h_errno_location): Refer to __h_errno not h_errno.
1592         * resolv/Versions (h_errno): Rename to __h_errno.
1593         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1594         Remove variable.
1595         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1597 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1599         * configure.ac: More strict check for AVX512 assembler support.
1600         * configure: Regenerated.
1602         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1603         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1604         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1605         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1607         * sysdeps/x86_64/fpu/Versions: New versions added.
1608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1609         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1610         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1611         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1612         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1613         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1615         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1617         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1618         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1619         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1620         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1621         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1622         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1623         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1624         test.
1625         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1626         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1627         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1628         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1629         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1630         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1631         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1632         * NEWS: Mention addition of x86_64 vector sin.
1634 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1636         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1637         comment.
1639 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1641         [BZ #18479]
1642         * nptl/pt-interp.c: New file.
1643         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1644         Add pt-interp.
1645         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1646         $(common-objpfx)runtime-linker.h.
1648 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1650         * Makeconfig (+interp): Remove unused variable.
1651         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1652         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1653         $(elf-objpfx)runtime-linker.h.
1654         ($(elf-objpfx)runtime-linker.h): Rename to
1655         $(common-objpfx)runtime-linker.h and move ...
1656         * Makerules [$(build-shared) = yes]: ... here.
1657         * elf/interp.c: Include <runtime-linker.h> instead of
1658         <elf/runtime-linker.h>.
1660 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1662         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1663         (__gettimeofday_syscall): Remove vsyscall fallback.
1664         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1665         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1666         Add syscall fallback function.
1667         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1668         if vDSO is not present.
1669         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1670         fallback function.
1671         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1672         present.
1673         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1674         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1676 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1678         [BZ #18497]
1679         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1680         of wcscmp.
1681         (wcscmp): Define as weak alias of WCSCMP.
1682         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1683         wcscoll.
1684         (USE_HIDDEN_DEF): Define.
1685         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1686         __wcscoll.  Don't use libc_hidden_weak.
1687         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1688         wcscmp.
1689         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1690         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1691         __GI_wcscmp.
1692         (weak_alias): Undefine and redefine.
1693         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1694         __wcscmp and define as weak alias of __wcscmp.
1695         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1696         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1697         (__wcscoll): Likewise.
1698         (wcscmp): Don't use libc_hidden_proto.
1699         (wcscoll): Likewise.
1700         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1701         wcscoll.
1702         * posix/regexec.c (check_node_accept_bytes): Likewise.
1703         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1704         variable.
1705         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1706         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1708         [BZ #18507]
1709         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1710         __fstatvfs and define as weak alias of __fstatvfs.  Use
1711         libc_hidden_weak.
1712         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1713         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1714         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1715         Define as alias of __fstatvfs, not fstatvfs.
1716         (fstatvfs64): Likewise.
1717         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1718         Define as alias of __statvfs, not statvfs.
1719         (statvfs64): Likewise.
1720         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1721         Remove variable.
1723 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1726         (HAVE_GETCPU_VSYSCALL): Define.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1728         (HAVE_GETCPU_VSYSCALL): Likewise.
1729         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1730         * sysdeps/unix/sysv/linux/sched_getcpu.c
1731         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1732         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1733         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1734         prototype.
1735         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1736         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1737         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1739         Define.
1740         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1741         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1742         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1743         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1745 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1747         * sysdeps/x86_64/fpu/Makefile: New file.
1748         * sysdeps/x86_64/fpu/Versions: New file.
1749         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1750         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1751         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1752         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1753         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1754         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1755         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1756         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1757         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1758         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1759         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1760         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1761         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1763         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1765         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1766         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1767         * sysdeps/x86_64/configure: Regenerated.
1768         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1769         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1770         * manual/install.texi (Configuring and compiling): Document
1771         --disable-mathvec.
1772         * INSTALL: Regenerated.
1773         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1775         * math/Makefile: Added rules for vector tests.
1776         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1777         declaration under condition.
1778         * math/test-double-vlen2.h: New file.
1779         * math/test-double-vlen4.h: New file.
1780         * math/test-double-vlen8.h: New file.
1781         * math/test-vec-loop.h: Added initialization macro.
1782         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1784         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1785         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1786         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1787         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1788         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1789         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1790         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1791         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1792         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1795         * sysdeps/x86_64/fpu/Versions: New versions added.
1796         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1797         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1798         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1799         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1800         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1801         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1802         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1803         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1804         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1805         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1806         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1807         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1808         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1809         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1810         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1811         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1812         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1813         * NEWS: Mention addition of x86_64 vector cosf.
1815         * math/Makefile: Added CFLAGS for new tests.
1816         * math/test-float-vlen16.h: New file.
1817         * math/test-float-vlen4.h: New file.
1818         * math/test-float-vlen8.h: New file.
1819         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1820         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1822         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1823         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1824         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1825         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1826         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1828         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1829         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1831 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1833         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1834         * locale/programs/ld-ctype.c: Likewise.
1836 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1838         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1839         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1840         bit_ZMM16_31_state): New macro.
1841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1842         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1844 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1846         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1848 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1850         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1852 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1854         [BZ #18498]
1855         * libio/memstream.c (open_memstream): Rename to __open_memstream
1856         and define as weak alias of __open_memstream.
1857         * include/stdio.h (__open_memstream): Declare.  Use
1858         libc_hidden_proto.
1859         (open_memstream): Don't use libc_hidden_proto.
1860         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1861         open_memstream.
1862         * posix/getopt.c (_getopt_internal_r): Likewise.
1863         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1864         variable.
1865         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1866         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1867         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1869         [BZ #18496]
1870         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1871         instead of wcrtomb.
1873         [BZ #18483]
1874         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1875         [__USE_XOPEN2K8].  Remove redundant #endif.
1876         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1877         Remove redundant #if.
1878         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1879         Remove variable.
1880         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1881         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1883         [BZ #18495]
1884         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1885         (__iswlower): Likewise.
1886         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1887         (__iswlower): Likewise.
1888         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1889         instead of towlower.
1890         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1891         instead of iswlower.  Call __towupper instead of towupper.
1892         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1893         instead of iswalnum.
1895 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1897         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1898         errors to stderr.
1900 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1902         [BZ #15661]
1903         [BZ #17322]
1904         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1905         Check for overflow properly.  Check for O_APPEND.  Ignore large
1906         file system block sizes.  Add comments about problems.
1907         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1908         * manual/filesys.texi (Storage Allocation): New node.
1910 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1912         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1913         cancellable syscalls.
1914         (SYS_ify): Add guard to no redefine it.
1915         (INLINE_SYSCALL): Likewise.
1916         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1917         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1918         SYSCALL_CANCEL instead.
1919         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1920         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1921         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1922         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1923         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1924         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1925         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1926         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1927         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1928         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1929         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1930         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1931         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1932         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1933         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1935         Likewise.
1936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1937         (__libc_pread64): Likewise.
1938         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1939         (__libc_preadv): Likewise.
1940         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1941         (__libc_readv64): Likewise.
1942         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1943         (__libc_pwrite): Likewise.
1944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1945         (__libc_pwrite64): Likewise.
1946         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1947         (__libc_pwritev): Likewise.
1948         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1949         (__libc_pwritev64): Likewise.
1950         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1951         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1952         (sync_file_range): Likewise.
1953         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1954         Likewise.
1955         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1956         Likewise.
1957         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1958         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1959         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1960         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1961         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1962         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1963         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1964         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1968         (__libc_read64): Likewise.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1970         Likewise.
1971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1972         Likewise.
1973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1974         Likewise.
1975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1976         Likewise.
1977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1978         (__libc_pread64): Likewise.
1979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1980         Likewise.
1981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1982         (__libc_pwrite64): Likewise.
1983         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1984         (sync_file_range): Likewise.
1985         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1986         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1987         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1988         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1989         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1990         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1991         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1992         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1993         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1994         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1995         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1996         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1997         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1998         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1999         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2000         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2001         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2002         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2003         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2004         Likewise.
2005         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2006         Likewise.
2007         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2008         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2009         Likewise.
2010         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2011         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2012         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2013         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2014         Likewise.
2015         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2016         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2017         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2018         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2019         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2021 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2023         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2024         Include dl-vdso.
2025         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2026         Use VDSO routines for gettimeofday, clock_gettime if
2027         available.
2028         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2029         Declare VDSO symbols.
2030         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2031         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2032         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2033         * sysdeps/unix/sysv/linux/arm/Versions: Add
2034         __vdso_clock_gettime.
2036 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2038         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2039         be an inline implementation regardless of library is built within.
2040         (open_not_cancel_2): Likewise.
2041         (__read_nocancel): Likewise.
2042         (__write_nocancel): Likewise.
2043         (openat_not_cancel): Likewise.
2044         (openat_not_cancel_3): Likewise.
2045         (openat64_not_cancel): Likewise.
2046         (openat64_not_cancel_3): Likewise.
2047         (__close_nocancel): Likewise.
2048         (pause_not_cancel): Likewise.
2049         (nanosleep_not_cancel): Likewise.
2050         (sigsuspend_not_cancel): Likewise.
2052 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2054         [BZ #14958]
2055         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2056         wake-up.
2057         (__pthread_rwlock_rdlock_slow): Likewise.
2058         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2059         Likewise.
2060         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2061         Likewise.
2062         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2063         * nptl/tst-rwlock16.c: New file.
2064         * nptl/Makefile (tests): Add new test.
2066 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2068         [BZ #18324]
2069         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2070         missing wake-up of readers.
2071         * nptl/tst-rwlock15.c: New file.
2072         * nptl/Makefile (tests): Add new test.
2074 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2076         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2077         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2078         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2079         and __nacl_supply_interface_rtld.
2080         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2081         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2082         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2083         Add __nacl_supply_interface_rtld.
2084         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2086 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2088         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2089         isfinite.
2090         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2091         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2093 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2095         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2096         __signbit* with standard C99 macros.
2097         * math/e_exp10l.c: Likewise.
2098         * math/e_exp2l.c: Likewise.
2099         * math/e_scalb.c: Likewise.
2100         * math/e_scalbf.c: Likewise.
2101         * math/e_scalbl.c: Likewise.
2102         * math/s_ldexp.c: Likewise.
2103         * math/s_ldexpf.c: Likewise.
2104         * math/s_ldexpl.c: Likewise.
2105         * math/w_atan2.c: Likewise.
2106         * math/w_atan2f.c: Likewise.
2107         * math/w_atan2l.c: Likewise.
2108         * math/w_cosh.c: Likewise.
2109         * math/w_coshf.c: Likewise.
2110         * math/w_coshl.c: Likewise.
2111         * math/w_exp10.c: Likewise.
2112         * math/w_exp10f.c: Likewise.
2113         * math/w_exp10l.c: Likewise.
2114         * math/w_exp2.c: Likewise.
2115         * math/w_exp2f.c: Likewise.
2116         * math/w_exp2l.c: Likewise.
2117         * math/w_fmod.c: Likewise.
2118         * math/w_fmodf.c: Likewise.
2119         * math/w_fmodl.c: Likewise.
2120         * math/w_hypot.c: Likewise.
2121         * math/w_hypotf.c: Likewise.
2122         * math/w_hypotl.c: Likewise.
2123         * math/w_jnl.c: Likewise.
2124         * math/w_lgamma.c: Likewise.
2125         * math/w_lgamma_r.c: Likewise.
2126         * math/w_lgammaf.c: Likewise.
2127         * math/w_lgammaf_r.c: Likewise.
2128         * math/w_lgammal.c: Likewise.
2129         * math/w_lgammal_r.c: Likewise.
2130         * math/w_pow.c: Likewise.
2131         * math/w_powf.c: Likewise.
2132         * math/w_powl.c: Likewise.
2133         * math/w_remainder.c: Likewise.
2134         * math/w_remainderf.c: Likewise.
2135         * math/w_remainderl.c: Likewise.
2136         * math/w_scalb.c: Likewise.
2137         * math/w_scalbf.c: Likewise.
2138         * math/w_scalbl.c: Likewise.
2139         * math/w_scalbln.c: Likewise.
2140         * math/w_scalblnf.c: Likewise.
2141         * math/w_scalblnl.c: Likewise.
2142         * math/w_sinh.c: Likewise.
2143         * math/w_sinhf.c: Likewise.
2144         * math/w_sinhl.c: Likewise.
2145         * math/w_tgamma.c: Likewise.
2146         * math/w_tgammaf.c: Likewise.
2147         * math/w_tgammal.c: Likewise.
2148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2149         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2150         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2151         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2152         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2154         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2155         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2156         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2157         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2158         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2159         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2160         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2161         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2162         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2163         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2165         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2166         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2169         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2173         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2174         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2175         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2176         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2179         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2180         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2181         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2182         * stdio-common/printf_fp.c: Likewise.
2183         * stdio-common/printf_fphex.c: Likewise.
2184         * stdio-common/printf_size.c: Likewise.
2186 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2188         [BZ #18470]
2189         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2190         strnlen.
2191         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2192         Remove variable.
2193         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2194         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2195         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2196         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2197         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2198         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2199         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2200         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2201         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2202         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2204         [BZ #18468]
2205         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2206         weak alias of __wmemchr.  Use libc_hidden_weak.
2207         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2208         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2209         instead of wmemchr.
2211 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2213         [BZ #18383]
2214         * elf/tst-tlsalign-extern.c: New file.
2215         * elf/tst-tlsalign-extern-static.c: New file.
2216         * elf/tst-tlsalign-vars.c: New file.
2217         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2218         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2219         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2220         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2221         (test-xfail-tst-tlsalign-extern-static): New variable.
2223 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2225         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2226         Use variable name _sc_err instead of err.
2227         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2228         instead of ret.
2229         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2230         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2231         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2232         (INLINE_SYSCALL): Likewise.
2234         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2235         * include/string.h (__strnlen): Use libc_hidden_proto.
2236         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2237         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2238         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2239         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2240         (libc_hidden_def): Undefine and redefine.
2241         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2242         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2243         __GI_strnlen.
2244         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2245         libc_hidden_def.
2246         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2248         [BZ #18469]
2249         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2250         weak alias of __towlower.  Use libc_hidden_weak.
2251         (towupper): Rename to __towupper and define as weak alias of
2252         __towupper.  Use libc_hidden_weak.
2253         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2254         (__towupper): Likewise.
2255         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2256         __towlower instead of towlower.
2258 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2260         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2261         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2263 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2265         * sysdeps/aarch64/libm-test-ulps: Update.
2267 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2269         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2270         Define.
2271         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2273         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2274         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2275         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2276         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2277         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2279 2015-06-01  Martin Sebor  <msebor@redhat.com>
2281         [BZ #18116]
2282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2283         (__setcontext): Use extended four-operand version of mtsf whenever
2284         possible.
2285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2286         (__novec_swapcontext): Likewise.
2288 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2290         * benchtests/scripts/compare_bench.py: New file.
2291         * benchtests/scripts/import_bench.py (mean): New function.
2292         (split_list): Likewise.
2293         (do_for_all_timings): Likewise.
2294         (compress_timings): Likewise.
2296         * benchtests/scripts/import_bench.py: New file.
2297         * benchtests/scripts/validate_benchout.py: Import import_bench
2298         instead of jsonschema.
2299         (validate_bench): Remove function.
2300         (main): Use import_bench.
2302 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2304         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2305         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2307 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2311 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2313         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2314         set THREAD_SELF->tid to a magic value and futex-wake it.
2315         Pass its address to the thread_exit system call.
2316         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2317         bit is clear.
2318         * sysdeps/nacl/lowlevellock.h: New file.
2319         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2321         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2322         Add TIMEOUT to current time, don't subtract it.
2324 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2326         [BZ #18422]
2327         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2328         ($(objpfx)tst-audit2.out): Also depend on
2329         $(objpfx)tst-auditmod9b.so.
2330         * elf/tst-audit2.c: Include <dlfcn.h>.
2331         (calloc_called): New.
2332         (calloc): Allow to be called more than once.
2333         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2335 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2337         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2338         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2340 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2342         * stdlib/monetary.h: Fix comment.
2344 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2346         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2347         Avoid using variables in #defines that might cause shadowing.
2348         (INTERNAL_VSYSCALL_CALL): Likewise.
2350 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2352         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2354         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2355         * nptl/lll_timedlock_wait.c: ... to this new file.
2356         * nptl/Makefile (libpthread-routines): Add it.
2357         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2358         * nptl/lll_timedwait_tid.c: ... to this new file.
2359         * nptl/Makefile (libpthread-routines): Add it.
2360         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2361         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2362         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2363         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2364         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2365         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2366         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2367         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2368         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2369         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2371 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2373         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2374         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2375         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2377         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2379         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2381         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2382         * sysdeps/unix/sysv/linux/tile/sysdep.h
2383         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2384         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2385         using vDSO syscall macro.
2387 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2389         [BZ #17293]
2390         * uk_UA: Fix sorting order for Ukrainian locale
2392 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2394         * stdlib/monetary.h: Fix comment.
2396 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2398         [BZ #18234]
2399         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2400         st_mtim and st_ctim members.
2401         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2402         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2403         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2404         (struct stat64): Likewise.
2405         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2406         (struct stat64): Likewise.
2407         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2408         (struct stat64): Likewise.
2410 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2412         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2413         Define and include sysdep-vdso.h.
2414         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2415         Likewise.
2416         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2417         Likewise.
2418         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2419         Define with VDSO_SYMBOL and use PTR_MANGLE.
2420         (__vdso_clock_gettime): Likewise.
2421         (__vdso_clock_getres): Likewise.
2422         (_libc_vdso_platform_setup): Likewise.
2423         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2424         Likewise.
2425         (_libc_vdso_platform_setup): Likewise.
2426         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2427         Likewise.
2428         (__vdso_clock_gettime): Likewise.
2429         (__vdso_clock_getres): Likewise.
2430         (__vdso_get_tbfreq): Likewise.
2431         (__vdso_getcpu): Likewise.
2432         (__vdso_time): Likewise.
2433         (__vdso_sigtramp_rt64): Likewise.
2434         (__vdso_signtramp32): Likewise.
2435         (__vdso_sigtramp_rt32): Likewise.
2436         (_libc_vdso_platform_setup): Likewise.
2437         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2438         Likewise.
2439         (__vdso_clock_gettime): Likewise.
2440         (__vdso_clock_getres): Likewise.
2441         (_libc_vdso_platform_setup): Likewise.
2442         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2443         Likewise.
2444         (__vdso_clock_gettime): Likewise.
2445         (_libc_vdso_platform_setup): Likewise.
2446         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2447         Likewise.
2448         (__vdso_getcpu): Likewise.
2449         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2450         Use VDSO_SYMBOL macro to define.
2451         (__vdso_clock_gettime): Likewise.
2452         (__vdso_clock_getres): Likewise.
2453         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2454         Likewise.
2455         (__vdso_clock_gettime): Likewise.
2456         (__vdso_clock_getres): Likewise.
2457         (__vdso_get_tbfreq): Likewise.
2458         (__vdso_getcpu): Likewise.
2459         (__vdso_time): Likewise.
2460         (__vdso_sigtramp_rt64): Likewise.
2461         (__vdso_signtramp32): Likewise.
2462         (__vdso_sigtramp_rt32): Likewise.
2463         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2464         Likewise.
2465         (__vdso_clock_gettime): Likewise.
2466         (__vdso_clock_getres): Likewise.
2467         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2468         Likewise.
2469         (__vdso_clock_gettime): Likewise.
2470         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2473         macro.
2474         (INTERNAL_VSYSCALL): Likewise.
2475         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2476         Remove macro.
2477         (INTERNAL_VSYSCALL): Likewise.
2478         (INTERNAL_VSYSCALL_NCS): Likewise.
2479         (INTERNAL_VSYSCALL_CALL): New macro.
2480         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2482         Likewise.
2483         (INTERNAL_VSYSCALL): Likewise.
2484         (INTERNAL_VSYSCALL_NCS): Likewise.
2485         (INTERNAL_VSYSCALL_CALL): New macro.
2486         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2488         (INLINE_VSYSCALL): Remove macro.
2489         (INTERNAL_VSYSCALL): Remove macro.
2490         (INTERNAL_VSYSCALL_NCS): Remove macro.
2491         (INTERNAL_VSYSCALL_CALL): New macro.
2492         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2493         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2494         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2495         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2496         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2498         (INLINE_VSYSCALL): Remove macro.
2499         (INTERNAL_VSYSCALL): Likewise.
2500         (INTERNAL_VSYSCALL_NCS): Likewise.
2501         (INTERNAL_VSYSCALL_CALL): New macro.
2502         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2503         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2504         PTR_DEMANGLE on vDSO pointer.
2505         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2506         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2507         macro.
2508         (INTERNAL_SYSCALL): Likewise.
2509         (INTERNAL_VSYSCALL_NCS): Remove macro.
2510         (INTERNAL_VSYSCALL_CALL): New macro.
2511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2512         Remove macro.
2513         (INTERNAL_VSYSCALL): Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2515         sysdep-vdso.h instead of libc-vdso.h.
2516         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2517         definition.
2518         (INLINE_VSYSCALL): Likewise.
2519         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2520         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2521         definition.
2522         (INLINE_VSYSCALL): Likewise.
2523         (INTERNAL_VSYSCALL): Likewise.
2524         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2525         * sysdeps/unix/sysv/linux/timespec_get.c
2526         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2527         (timespec_get): Use ANSI prototype.
2528         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2529         and definition for Linux.
2531 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2533         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2534         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2536 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2538         [BZ #18410]
2539         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2540         for missing DT_PLTRELSZ.
2542 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2544         Remove obsolete aliases that broke 'locale -a'
2545         [BZ #18412]
2546         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2547         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2548         breaking some applications that use 'locale -a' output.
2549         Change the encoding of this file from Latin-1 to ASCII to avoid
2550         other potential problems with people grepping this file.
2552 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2554         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2555         -fasynchronous-unwind-tables.
2556         (CFLAGS-sendto.c): Likewise.
2557         (CFLAGS-sendmsg.c): Likewise.
2558         (CFLAGS-connect.c): Likewise.
2559         (CFLAGS-recvmsg.c): Likewise.
2560         (CFLAGS-recvfrom.c): Likewise.
2561         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2562         (SOCKETCALL): New macro: non-cancellable socketcall.
2563         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2564         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2565         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2566         * sysdeps/unix/sysv/linux/accept.c: New file.
2567         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2568         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2569         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2570         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2571         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2572         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2573         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2574         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2575         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2576         * sysdeps/unix/sysv/linux/send.c: Likewise.
2577         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2578         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2579         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2580         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2581         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2582         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2583         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2584         prototype.
2585         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2586         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2587         instead of __internal_xxx function.
2588         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2589         prototype.
2590         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2591         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2592         instead of __internal_xxx function.
2593         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2594         prototype.
2595         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2596         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2597         instead of __internal_xxx function.
2598         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2599         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2600         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2601         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2602         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2603         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2604         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2605         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2606         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2607         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2608         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2609         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2610         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2611         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2612         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2613         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2614         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2615         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2616         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2617         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2620         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2621         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2622         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2623         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2624         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2625         * sysdeps/unix/sysv/linux/send.S: Likewise.
2626         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2627         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2628         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2629         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2630         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2631         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2632         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2633         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2634         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2635         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2636         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2637         socketcall is implemented in GLIBC.
2639 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2641         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2642         (__fma): Ignore uninitialized warnings around packing.
2643         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2644         (__fmaf): Ignore uninitialized warnings around packing.
2645         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2646         (__fmal): Ignore uninitialized warnings around packing.
2648         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2649         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2650         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2651         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2653         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2654         switch statement into default case.
2655         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2657         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2658         a conditional in forcing "inexact".
2659         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2660         Likewise.
2662 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2664         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2665         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2666         for each INTERNAL_SYSCALL use.
2668 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2670         [BZ #438]
2671         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2672         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2673         variable.
2675         [BZ #18444]
2676         * string/basename.c (basename): Rename to __basename and define as
2677         weak alias of __basename.  Use libc_hidden_weak.
2678         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2679         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2680         __basename instead of basename.
2681         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2682         Remove variable.
2683         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2685 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2687         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2688         (_IO_JUMPS_FILE_plus): New.
2689         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2690         _IO_CAST_FIELD_ACCESS.
2691         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2692         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2693         * libio/freopen.c (freopen): Likewise.
2694         * libio/freopen64.c (freopen64): Likewise.
2695         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2696         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2697         * libio/iofwide.c (_IO_fwide): Likewise.
2698         * libio/memstream.c (open_memstream): Likewise.
2699         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2700         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2701         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2703 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2705         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2706         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2707         NADJ.
2708         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2709         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2710         NADJ.
2711         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2712         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2713         NADJ.
2715         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2716         (p == 4) case.
2718         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2719         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2720         Remove variable.
2721         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2722         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2723         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2725 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2727         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2728         Adjust jump table label generation macros.
2730 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2732         * stdio-common/vfprintf.c (vfprintf): Move local variables
2733         args_malloced, specs, specs_malloced, and the code after
2734         do_positional to the printf_positional function.
2735         (printf_positional): New function.
2737 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2739         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2740         function.
2741         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2742         STEP4_TABLE, process_arg): Move macro definitions
2743         out of the vfprintf function.  (Cosmetic change only.)
2745 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2747         * benchtests/Makefile (stdio-common-bench): Define.
2748         (benchset): Add stdio-common-bench.
2749         * sprintf-inputs: New file.
2750         * sprintf-source.c: New file.
2752 2015-05-21  Andreas Schwab  <schwab@suse.de>
2754         [BZ #13028]
2755         [BZ #17053]
2756         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2757         of struct __res_state.
2758         * resolv/res_send.c (__libc_res_nsend): Likewise.
2759         (get_nsaddr): New function.
2760         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2761         statp directly.
2763 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2765         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2766         -D_POSIX_C_SOURCE=199506L.
2768         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2770         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2771         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2772         Do not mention otherwise.
2773         [POSIX] (_XOPEN_VERSION): Do not expect.
2774         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2775         [POSIX] (_POSIX2_C_BIND): Likewise.
2776         [POSIX] (_POSIX2_VERSION): Likewise.
2777         [POSIX] (_XOPEN_XPG2): Likewise.
2778         [POSIX] (_XOPEN_XPG3): Likewise.
2779         [POSIX] (_XOPEN_XPG4): Likewise.
2780         [POSIX] (_XOPEN_UNIX): Likewise.
2781         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2782         [POSIX] (_POSIX_BARRIERS): Likewise.
2783         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2784         [POSIX] (_POSIX_CPUTIME): Likewise.
2785         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2786         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2787         [POSIX] (_POSIX_SHELL): Likewise.
2788         [POSIX] (_POSIX_SPAWN): Likewise.
2789         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2790         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2791         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2792         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2793         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2794         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2795         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2796         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2797         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2798         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2799         [POSIX] (_POSIX2_PBS): Likewise.
2800         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2801         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2802         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2803         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2804         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2805         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2806         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2807         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2808         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2809         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2810         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2811         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2812         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2813         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2814         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2815         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2816         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2817         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2818         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2819         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2820         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2821         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2822         [POSIX] (_SC_2_C_BIND): Likewise.
2823         [POSIX] (_SC_2_C_VERSION): Likewise.
2824         [POSIX] (_SC_2_PBS): Likewise.
2825         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2826         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2827         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2828         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2829         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2830         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2831         [POSIX] (_SC_BARRIERS): Likewise.
2832         [POSIX] (_SC_BASE): Likewise.
2833         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2834         [POSIX] (_SC_DEVICE_IO): Likewise.
2835         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2836         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2837         [POSIX] (_SC_FD_MGMT): Likewise.
2838         [POSIX] (_SC_FIFO): Likewise.
2839         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2840         [POSIX] (_SC_FILE_LOCKING): Likewise.
2841         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2842         [POSIX] (_SC_IOV_MAX): Likewise.
2843         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2844         [POSIX] (_SC_NETWORKING): Likewise.
2845         [POSIX] (_SC_PAGE_SIZE): Likewise.
2846         [POSIX] (_SC_PASS_MAX): Likewise.
2847         [POSIX] (_SC_PIPE): Likewise.
2848         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2849         [POSIX] (_SC_REGEXP): Likewise.
2850         [POSIX] (_SC_SHELL): Likewise.
2851         [POSIX] (_SC_SIGNALS): Likewise.
2852         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2853         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2854         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2855         [POSIX] (_SC_USER_GROUPS): Likewise.
2856         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2857         [POSIX] (_SC_STREAMS): Likewise.
2858         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2859         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2860         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2861         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2862         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2863         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2864         [POSIX] (_PC_FILESIZEBITS): Likewise.
2865         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2866         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2867         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2868         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2869         [POSIX] (uid_t): Likewise.
2870         [POSIX] (gid_t): Likewise.
2871         [POSIX] (off_t): Likewise.
2872         [POSIX] (pid_t): Likewise.
2873         [POSIX] (cuserid): Allow.
2874         (_SC_2_CHAR_TERM): Require constant.
2875         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2876         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2877         variable.
2879 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2881         * sysdeps/nacl/pthread-pids.h: New file.
2882         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2883         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2885         * nptl/pthread-pids.h: New file.
2886         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2887         * nptl/nptl-init.c: Include <pthread-pids.h>.
2888         (__pthread_initialize_minimal_internal):
2889         Call __pthread_initialize_pids instead of set_tid_address syscall.
2891         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2892         * sysdeps/posix/usleep.c: ... here.
2894 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2896         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2897         call_pselect6 object.
2898         [$(subdir) = io]: Remove call_sync_file_range object.
2899         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2900         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2901         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2902         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2904 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2906         * math/s_cproj.c: Add include "math_private.h".
2907         * math/s_cprojf.c: Likewise.
2908         * math/s_cprojl.c: Likewise.
2910 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2912         [BZ #18244]
2913         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2914         high mantissa bit when testing whether P is a NaN.
2915         * math/libm-test.inc (remainder_test_data): Add more tests.
2916         (remquo_test_data): Likewise.
2918         [BZ #18049]
2919         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2920         below -32, return the argument, with underflow if subnormal.
2921         * math/auto-libm-test-in: Add more tests of atanh.
2922         * math/auto-libm-test-out: Regenerated.
2924 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2926         [BZ #18434]
2927         * nptl/tst-sem15.c: New file.
2928         * nptl/Makefile (tests): Add it.
2929         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2930         s/<</>>/ to fix typo in EOVERFLOW check.
2931         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2933 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2935         * manual/strings.texi (envz_remove): Fix typo in safety
2936         annotations.
2938 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2939             Steve Ellcey  <sellcey@imgtec.com>
2941         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2942         in order to avoid strict alias warnings.
2943         (iruserok_af): Ditto for ra.
2945 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2947         [BZ #17581]
2948         * malloc/hooks.c
2949         (magicbyte): Convert to a function and avoid returning 0x01.
2950         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2951         (mem2chunk_check): Fix unsigned comparisons to zero.
2952         Hoist defs of sz and magic.
2954 2015-05-19  Richard Henderson  <rth@redhat.com>
2956         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2958         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2960 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2962         [BZ #16159]
2963         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2964         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2965         (reused_arena): Find a non-corrupt arena.
2966         (heap_trim): Pass arena to unlink.
2967         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2968         malloc_printerr.
2969         (top_check): Likewise.
2970         (free_check): Likewise.
2971         (realloc_check): Likewise.
2972         * malloc/malloc.c (malloc_printerr): Add arena argument.
2973         (unlink): Likewise.
2974         (munmap_chunk): Adjust.
2975         (ARENA_CORRUPTION_BIT): New macro.
2976         (arena_is_corrupt): Likewise.
2977         (set_arena_corrupt): Likewise.
2978         (sysmalloc): Use mmap if there are no usable arenas.
2979         (_int_malloc): Likewise.
2980         (__libc_malloc): Don't fail if arena_get returns NULL.
2981         (_mid_memalign): Likewise.
2982         (__libc_calloc): Likewise.
2983         (__libc_realloc): Adjust for additional argument to
2984         malloc_printerr.
2985         (_int_free): Likewise.
2986         (malloc_consolidate): Likewise.
2987         (_int_realloc): Likewise.
2988         (_int_memalign): Don't touch corrupt arenas.
2989         * malloc/tst-malloc-backtrace.c: New test case.
2991         * Makefile (summarize-tests): Fix return value on success.
2993         * manual/string.texi (Envz Functions): Add envz_remove.
2995 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2997         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2998         (invalid_name): New function, broken out of ...
2999         (__opendirat): ... here.  Call it.
3000         (need_isdir_precheck): New function, broken out of ...
3001         (__opendirat): ... here.  Call it.
3002         Use __fxstatat64, not __xstatat64.
3003         (opendir_oflags): New function, broken out of ...
3004         (__opendirat): ... here.  Call it.
3005         (opendir_tail): New function, broken out of ...
3006         (__opendirat): ... here.  Call it.
3007         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3008         opendir_tail, rather than punting to __opendirat.
3009         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3011 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3013         * .gitignore: Ignore generated *.pyc.
3015 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3017         * include/stdio.h: Define __need_wint_t.
3018         * test-skeleton.c: Avoid `for' loop initial declaration.
3019         * nptl/tst-initializers1.c: Use test-skeleton.c.
3021 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3023         [BZ #18418]
3024         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3026 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3028         [BZ #16352]
3029         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3030         (__ieee754_atanh): Force underflow exception for results with
3031         small absolute value.
3032         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3033         (__ieee754_atanhf): Force underflow exception for results with
3034         small absolute value.
3035         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3036         (__ieee754_atanh): Force underflow exception for results with
3037         small absolute value.
3038         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3039         (__ieee754_atanhf): Force underflow exception for results with
3040         small absolute value.
3041         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3042         (__ieee754_atanhl): Force underflow exception for results with
3043         small absolute value.
3044         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3045         (__ieee754_atanhl): Force underflow exception for results with
3046         small absolute value.
3047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3048         (__ieee754_atanhl): Force underflow exception for results with
3049         small absolute value.
3050         * math/auto-libm-test-in: Do not allow missing underflow
3051         exceptions from atanh.
3052         * math/auto-libm-test-out: Regenerated.
3054         [BZ #18221]
3055         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3056         2**-28 as threshold for returning x or +/- 1/x.
3057         * math/auto-libm-test-in: Add more tests of tan.
3058         * math/auto-libm-test-out: Regenerated.
3060         [BZ #18220]
3061         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3062         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3063         * math/auto-libm-test-in: Add another test of lgamma.
3064         * math/auto-libm-test-out: Regenerated.
3066 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3068         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3069         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3070         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3071         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3072         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3073         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3074         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3075         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3077         (log1): Use fabs.  (my_log2): Use fabs.
3078         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3079         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3080         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3081         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3083         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3084         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3085         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3086         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3087         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3088         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3090 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3092         [BZ #18217]
3093         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3094         as threshold for returning 1 - x.
3095         * math/auto-libm-test-in: Add more tests of erfc.
3096         * math/auto-libm-test-out: Regenerated.
3098 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3100         [BZ #18196]
3101         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3102         threshold for large arguments.
3103         * math/auto-libm-test-in: Add another test of atan.
3104         * math/auto-libm-test-out: Regenerated.
3106         [BZ #16339]
3107         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3108         (__log1p): Force underflow exception for results with small
3109         absolute value.
3110         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3111         (__log1pf): Force underflow exception for results with small
3112         absolute value.
3113         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3114         (__log1p): Force underflow exception for results with small
3115         absolute value.
3116         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3117         (__log1pf): Force underflow exception for results with small
3118         absolute value.
3119         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3120         (__log1pl): Force underflow exception for results with small
3121         absolute value.
3122         * math/auto-libm-test-in: Do not allow missing underflow
3123         exceptions from log1p.
3124         * math/auto-libm-test-out: Regenerated.
3126 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3127             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3129         [BZ #16704]
3130         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3132 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3134         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3135         (libmvec): New variable.
3136         * configure.ac: Added option for mathvec build.
3137         * configure: Regenerated.
3138         * mathvec/Depend: New file.
3139         * mathvec/Makefile: New file.
3140         * shlib-versions: Added libmvec.
3141         * math/Makefile: Added rule for libm.so installation.
3143         * bits/math-vector.h: New file.
3144         * bits/libm-simd-decl-stubs.h: New header.
3145         * math/Makefile (headers): Added new header
3146         libm-simd-decl-stubs.h.
3147         * math/math.h (__MATHCALL_VEC): New macro.
3149         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3150         for conditions in testing functions.
3151         * math/Makefile: Added call of libm-have-vector-test.sh.
3152         * math/libm-test.inc (HAVE_VECTOR): New macros.
3154         * math/libm-test.inc: START refactored.
3155         * math/test-double.c (TEST_MATHVEC): Add define.
3156         * math/test-float.c: Likewise.
3157         * math/test-idouble.c: Likewise.
3158         * math/test-ifloat.c: Likewise.
3159         * math/test-ildoubl.c: Likewise.
3160         * math/test-ldouble.c: Likewise.
3161         * sysdeps/generic/math-tests-arch.h
3162         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3163         architecture check.
3165         * math/test-double.c (FUNC_TEST): New macro.
3166         * math/test-float.c: Likewise.
3167         * math/test-idouble.c: Likewise.
3168         * math/test-ifloat.c: Likewise.
3169         * math/test-ildoubl.c: Likewise.
3170         * math/test-ldouble.c: Likewise.
3171         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3173 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3175         * sysdeps/nacl/fdopendir.c: New file.
3177         * dirent/scandir-tail.c: New file.
3178         * dirent/scandir64-tail.c: New file.
3179         * dirent/Makefile (routines): Add them.
3180         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3181         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3182         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3183         [!SCANDIR] (SCANDIR_TAIL): New macro.
3184         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3185         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3186         (SCANDIRAT): Macro removed.
3187         (SCANDIR_TAIL): New macro.
3188         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3189         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3190         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3191         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3192         (READDIR): Macro removed.
3193         (SCANDIR_TAIL): New macro.
3194         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3195         (SCANDIR_TAIL): New macro.
3197         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3198         * dirent/scandir-cancel.c: ... to this new file.
3199         * dirent/Makefile (routines): Add it.
3200         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3201         * sysdeps/unix/sysv/linux/i386/scandir64.c
3202         (SKIP_SCANDIR_CANCEL): Macro removed.
3203         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3205         * dirent/tst-scandir.c: New file.
3206         * dirent/tst-scandir64.c: New file.
3207         * dirent/Makefile (tests): Add them.
3209 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3211         [BZ #18409]
3212         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3214 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3216         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3217         list.
3219 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3221         * benchtests/bench-strcoll.c: New benchmark.
3222         * benchtests/Makefile: Generate locales and run benchmark.
3223         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3224         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3225         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3226         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3227         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3228         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3229         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3230         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3231         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3232         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3233         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3234         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3235         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3236         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3237         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3238         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3239         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3240         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3241         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3242         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3243         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3244         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3245         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3246         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3248 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3250         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3251         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3253 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3255         * posix/uname-values.h: New file.
3256         * posix/uname.c: Include that instead of <config-name.h>.
3257         * sysdeps/nacl/uname-values.h: New file.
3258         * sysdeps/arm/nacl/uname-values.h: New file.
3260 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3262         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3263         splitting into fields.
3265 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3267         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3268         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3269         * locale/localeinfo.h: Add enum collation_encoding_type.
3270         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3271         * programs/ld-collate.c (collate_output): Add encoding type info.
3272         * string/strcoll_l.c (STRDIFF): New function.
3273         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3274         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3276 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3278         [BZ #18397]
3279         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3280         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3281         <fpu_control.h> instead of <math/fpu_control.c>.
3282         * sysdeps/mips/mips32/fpu/Makefile: New file.
3284 2015-05-11  Andreas Schwab  <schwab@suse.de>
3286         [BZ #18007]
3287         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3288         nss_endgrent.
3289         (_nss_compat_endgrent): Call nss_endgrent.
3290         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3291         nss_endpwent.
3292         (_nss_compat_endpwent): Call nss_endpwent.
3293         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3294         needent, call nss_setspent only if non-zero.
3295         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3296         (internal_endspent): Don't call nss_endspent.
3297         (_nss_compat_endspent): Call nss_endspent.
3298         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3299         Remove.  All uses removed.
3300         (internal_setent): Remove parameter stayopen, add parameter
3301         stream.  Use it instead of global variable.
3302         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3303         (internal_endent, internal_getent): Add parameter stream.  Use it
3304         instead of global variable.
3305         (CONCAT(_nss_files_end,ENTNAME))
3306         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3307         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3308         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3309         uses removed.
3310         (internal_setent, internal_endent): Add parameter stream.  Use it
3311         instead of global variable.
3312         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3313         stream.
3314         (get_next_alias): Add parameter stream.
3315         (_nss_files_getaliasent_r): Pass global stream.
3316         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3317         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3318         (_nss_files_gethostbyname4_r): Pass local stream to
3319         internal_setent, internal_getent and internal_endent.  Remove
3320         locking.
3322 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3324         * tst-strfmon1.c (tests): Update expected currency symbol.
3326 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3328         * sysdeps/nacl/gethostname.c: New file.
3330 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3332         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3333         and sinh.
3334         * math/auto-libm-test-out: Regenerated.
3335         * sysdeps/i386/fpu/libm-test-ulps: Update.
3336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3338 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3340         [BZ #18125]
3341         * stdlib/tst-setcontext3.c: New file.
3342         * stdlib/tst-setcontext3.sh: New file.
3343         * stdlib/Makefile (tests): Add tst-setcontext3.
3344         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3345         to verify test program created output file.
3346         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3347         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3348         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3349         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3351 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3353         [BZ #18383]
3354         * elf/tst-tlsalign.c: New file.
3355         * elf/tst-tlsalign-static.c: New file.
3356         * elf/tst-tlsalign-lib.c: New file.
3357         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3358         (tests-static): Add tst-tlsalign-static.
3359         (modules-names): Add tst-tlsalign-lib.
3360         (test-xfail-tst-tlsalign): New variable.
3361         (test-xfail-tst-tlsalign-static): New variable.
3363         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3364         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3366 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3368         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3369         csqrt, erfc, sin and sincos.
3370         * math/auto-libm-test-out: Regenerated.
3371         * sysdeps/i386/fpu/libm-test-ulps: Update.
3372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3374 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3376         * sysdeps/aarch64/libm-test-ulps: Update.
3378 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3380         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3381         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3382         * math/auto-libm-test-out: Regenerated.
3383         * sysdeps/i386/fpu/libm-test-ulps: Update.
3384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3386 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3388         [BZ #18265]
3389         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3390         (wcsncpy): Likewise.
3392 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3394         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3395         Assume __ASSUME_FALLOCATE is always true.
3396         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3397         (__posix_fallocate64_l64): Likweise.
3398         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3399         (posix_fallocate): Likewise.
3400         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3401         (__posix_fallocate64_l64): Likewise.
3402         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3403         [!__ASSUME_FALLOCATE]: Add comment.
3405 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3407         * sysdeps/unix/sysv/linux/i386/Makefile
3408         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3409         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3410         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3411         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3412         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3413         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3414         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3416 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3418         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3419         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3420         tgamma.
3421         * math/auto-libm-test-out: Regenerated.
3422         * sysdeps/i386/fpu/libm-test-ulps: Update.
3423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3425 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3427         * math/auto-libm-test-in: Add more tests of tgamma.
3428         * math/auto-libm-test-out: Regenerated.
3429         * sysdeps/i386/fpu/libm-test-ulps: Update.
3430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3432         * math/auto-libm-test-in: Add more tests of tanh.
3433         * math/auto-libm-test-out: Regenerated.
3434         * sysdeps/i386/fpu/libm-test-ulps: Update.
3435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3437         * math/auto-libm-test-in: Add more tests of tan.
3438         * math/auto-libm-test-out: Regenerated.
3439         * sysdeps/i386/fpu/libm-test-ulps: Update.
3440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3443         * math/auto-libm-test-out: Regenerated.
3444         * sysdeps/i386/fpu/libm-test-ulps: Update.
3445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3447         * math/auto-libm-test-in: Add another test of pow.
3448         * math/auto-libm-test-out: Regenerated.
3449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3451         * math/auto-libm-test-in: Add more tests of lgamma.
3452         * math/auto-libm-test-out: Regenerated.
3453         * sysdeps/i386/fpu/libm-test-ulps: Update.
3454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3457         log1p.
3458         * math/auto-libm-test-out: Regenerated.
3459         * sysdeps/i386/fpu/libm-test-ulps: Update.
3460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3462 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3464         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3465         Elf64_Chdr structs and ELFCOMPRESS constants.
3467 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3469         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3470         expm1.
3471         * math/auto-libm-test-out: Regenerated.
3472         * sysdeps/i386/fpu/libm-test-ulps: Update.
3473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3475         * math/auto-libm-test-in: Add more tests of erf and erfc.
3476         * math/auto-libm-test-out: Regenerated.
3477         * sysdeps/i386/fpu/libm-test-ulps: Update.
3478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3480 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3482         * config.h.in (HAVE_AARCH64_BE): Add.
3484 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3486         * math/auto-libm-test-in: Add more tests of csqrt.
3487         * math/auto-libm-test-out: Regenerated.
3488         * sysdeps/i386/fpu/libm-test-ulps: Update.
3489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3492         * math/auto-libm-test-out: Regenerated.
3493         * sysdeps/i386/fpu/libm-test-ulps: Update.
3494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3496         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3498 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3500         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3501         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3503         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3504         (euidaccess, eaccess): Define as weak aliases.
3506         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3507         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3508         but __suseconds_t is often 'long int' so some sources assume that
3509         type is being used (e.g. they use %ld to print tv_usec).
3511 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3513         [BZ #18007]
3514         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3515         (CVE-2014-8121)
3516         * nss/tst-nss-getpwent.c: New file.
3517         * nss/Makefile (tests): Add new test.
3519 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3521         [BZ #18346]
3522         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3523         exponents less than 48 as cases where high part of mantissa needs
3524         examining to determine whether argument is integral.
3525         * math/libm-test.inc (round_test_data): Add more tests.
3527 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3529         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3531 2015-04-27  David S. Miller  <davem@davemloft.net>
3533         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3534         __tls_get_addr.
3535         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3537 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3539         [BZ#18333]
3540         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3542 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3544         [BZ#18333]
3545         * time/tzset.c (parse_tzname): Return error on memory allocation
3546         failure.
3547         * test-skeleton.c (struct temp_name_list): Change type of name
3548         member to non-const.
3549         (add_temp_file): Create a copy of the file name.
3550         (delete_temp_files): Deallocate memory.
3551         (create_temp_file): Add comment.
3553 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3555         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3556         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3558 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3560         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3561         * sysdeps/arm/configure: Regenerated.
3563 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3565         [BZ #17715]
3566         * time/tzfile.c (__tzfile_read): Check for large values of
3567         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3568         * time/tzset.c (__tzstring_len): New function, based on the old
3569         __tzstring function.
3570         (__tzstring): Call __tzstring_len.
3571         (parse_tzname): New helper function extracted from
3572         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3573         the input string.
3574         (parse_offset): New helper function extracted from
3575         __tzset_parse_tz.  Replace switch with fallthrough with
3576         initialization before sscanf.
3577         (parse_rule): Likewise.
3578         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3579         new-style function definition.
3580         * timezone/Makefile (tests): Add tst-tzset.
3581         (tst-tzset.out): Dependencies on time zone files.
3582         (tst-tzset-ENV): Set TZDIR.
3583         (testdata/XT%): Copy crafted time zone files.
3584         * timezone/README: Mention crafted time zone files.
3585         * timezone/testdata/XT1, timezone/testdata/XT2,
3586         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3587         files.
3588         * timezone/tst-tzset.c: New test.
3590 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3592         * Makeconfig (+gccwarn): Remove -Winline.
3594 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3596         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3598 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3600         * NEWS: Mention sysconf() cache information support for s390.
3601         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3603 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3605         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3606         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3607         (__nearbyint): Likewise.
3608         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3609         (copysignl): Likewise.
3611 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3613         [BZ #18287]
3614         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3615         based on padding.  (CVE-2015-1781)
3617 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3619         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3620         libc-vdso.h.
3621         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3622         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3623         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3624         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3625         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3626         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3627         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3628         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3629         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3630         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3631         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3632         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3633         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3634         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3635         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3636         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3637         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3639         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3640         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3641         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3642         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3643         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3645 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3647         * stdlib/setenv.c (__add_to_environ):
3648         Dump core quickly if setenv (..., NULL, ...) is called.
3649         This time, do it the right way, and pacify GCC with a pragma.
3651 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3653         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3654         IMAP->l_prev cannot be null, and #if out the code for the contrary
3655         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3656         believe that NS (&_dl_ns[NSID]) could point outside the array.
3658         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3659         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3660         before using NSID as an index.
3662 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3664         [BZ #17825]
3665         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3666         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3667         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3669 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3671         Add preliminary port to Google Native Client on ARM.
3672         * abi-tags (.*-.*-nacl.*): New entry.
3673         * sysdeps/arm/nacl: New directory.
3674         * sysdeps/nacl: New directory.
3676 2015-04-16  David S. Miller  <davem@davemloft.net>
3678         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3679         lowlevellock-futex.h
3681 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3683         * sysdeps/tile/configure.ac: New file.
3684         * sysdeps/tile/configure: Regenerated.
3686 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3688         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3689         conditionals for weak_alias and libc_hidden_weak.
3690         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3691         libc_hidden_weak and weak_alias.
3692         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3693         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3694         and weak_alias for static one.
3696 2015-04-15  David S. Miller  <davem@davemloft.net>
3698         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3700 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3702         [BZ #18206]
3703         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3704           Use signed comparision instead of substraction to avoid
3705           overflow bug.
3706         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3707           Take the sign of ret.
3708         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3709           Do not expect precise return values. Only the sign matters.
3710         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3711         * wcsmbs/test-wcsncmp.c: New File.
3712         * string/test-strncmp.c: Add wcsncmp support.
3714 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3716         [BZ #6792]
3717         * math/w_log1p.c: New file.
3718         * math/w_log1pf.c: Likewise.
3719         * math/w_log1pl.c: Likewise.
3720         * math/Makefile (libm-calls): Add w_log1p.
3721         * math/s_log1pl.c (log1pl): Remove weak_alias.
3722         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3723         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3724         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3725         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3726         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3727         [NO_LONG_DOUBLE] (log1pl): Likewise.
3728         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3729         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3730         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3731         (log1p): Remove long_double_symbol.
3732         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3733         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3734         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3735         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3736         remove weak_alias for corresponding log1p function.
3737         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3738         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3739         * sysdeps/ia64/fpu/w_log1p.c: New file.
3740         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3741         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3742         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3744 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3746         [BZ #18247]
3747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3748         decimal exponent by 1.
3749         * stdlib/tst-strtod-round-data: Add more tests.
3750         * stdlib/tst-strtod-round.c (tests): Regenerated.
3752 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3754         * math/auto-libm-test-in: Add more tests of clog and clog10.
3755         * math/auto-libm-test-out: Regenerated.
3756         * sysdeps/i386/fpu/libm-test-ulps: Update.
3757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3761         * Makeconfig (module-cppflags): Exclude all .v.i files.
3762         (skip-module-cppflags): Variable removed.
3764         * configure.ac (libc_config_ok): Initialize before reading
3765         preconfigure scripts, not after.
3766         * configure: Regenerated.
3768         * test-skeleton.c (TIMEOUT): Move #define to top level.
3769         (main): Grok environment variable TEST_DIRECT.  If set, print
3770         test expectation details into that file and then behave as if
3771         given --direct.
3773 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3775         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3776         warning on 32-bit.
3778 2015-04-08  David S. Miller  <davem@davemloft.net>
3780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3784         * math/auto-libm-test-in: Add more tests of atanh.
3785         * math/auto-libm-test-out: Regenerated.
3786         * sysdeps/i386/fpu/libm-test-ulps: Update.
3787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3789         * math/auto-libm-test-in: Add more tests of atan.
3790         * math/auto-libm-test-out: Regenerated.
3791         * sysdeps/i386/fpu/libm-test-ulps: Update.
3792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3794 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3796         * elf/pldd.c (main): Rewrite to use struct
3797         scratch_buffer instead of extend_alloca.
3798         * elf/pldd-xx.c (find_maps): Likewise.
3799         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3800         <alloca.h>.
3801         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3802         scratch_buffer instead of extend_alloca.
3803         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3804         grp/compat-initgroups.c.
3805         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3806         Rewrite to use struct scratch_buffer instead of extend_alloca.
3807         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3808         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3810 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3812         * math/auto-libm-test-in: Add more tests of cbrt.
3813         * math/auto-libm-test-out: Regenerated.
3814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3816         * math/auto-libm-test-in: Add more tests of cabs.
3817         * math/auto-libm-test-out: Regenerated.
3818         * sysdeps/i386/fpu/libm-test-ulps: Update.
3819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3821         [BZ #18210]
3822         [BZ #18211]
3823         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3824         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3825         computations.
3826         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3827         clog10.
3828         * math/auto-libm-test-out: Regenerated.
3829         * sysdeps/i386/fpu/libm-test-ulps: Update.
3830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832         [BZ #18197]
3833         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3834         (atan): Set FE_TONEAREST mode for internal computations.
3835         * math/auto-libm-test-in: Add more tests of atan.
3836         * math/auto-libm-test-out: Regenerated.
3838 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3840         [BZ #17930]
3841         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3843 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3845         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3847 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3849         * include/scratch_buffer.h: New file.
3850         * malloc/scratch_buffer_grow.c: Likewise.
3851         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3852         * malloc/scratch_buffer_set_array_size.c: Likewise.
3853         * malloc/tst-scratch_buffer.c: Likewise.
3854         * malloc/Makefile (routines): Add scratch_buffer_grow.
3855         (tests): Add test case.
3856         * malloc/Versions (GLIBC_PRIVATE): Export
3857         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3858         __libc_scratch_buffer_set_array_size.
3860 2015-04-06  Richard Henderson  <rth@redhat.com>
3862         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3863         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3865         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3866         unsigned int before printing.
3868 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3870         [BZ #17596]
3871         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3872         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3874 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3876         * include/libc-internal.h (libc_max_align_t): Define.
3878 2015-04-02  Andreas Schwab  <schwab@suse.de>
3880         [BZ #16850]
3881         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3883 2015-04-02  Mel Gorman  <mgorman@suse.de>
3885         [BZ #17195]
3886         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3887         as well as the main arena.
3889 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3891         [BZ #18185]
3892         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3893         sharing L2 cache to 2 for Silvermont/Knights Landing.
3895 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3897         [BZ #17711]
3898         * config.make.in (have-protected-data): New.
3899         * configure.ac: Check linker support for protected data symbol.
3900         * configure: Regenerated.
3901         * elf/Makefile (modules-names): Add tst-protected1moda and
3902         tst-protected1modb if $(have-protected-data) is yes.
3903         (tests): Add tst-protected1a and tst-protected1b if
3904         $(have-protected-data) is yes.
3905         ($(objpfx)tst-protected1a): New.
3906         ($(objpfx)tst-protected1b): Likewise.
3907         (tst-protected1modb.so-no-z-defs): Likewise.
3908         * elf/tst-protected1a.c: New file.
3909         * elf/tst-protected1b.c: Likewise.
3910         * elf/tst-protected1mod.h: Likewise.
3911         * elf/tst-protected1moda.c: Likewise.
3912         * elf/tst-protected1modb.c: Likewise.
3914 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3916         [BZ #17711]
3917         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3918         indicates it is called from do_lookup_x on relocation against
3919         protected data, skip the data definion in the executable from
3920         copy reloc.
3921         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3922         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3923         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3924         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3925         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3926         otherwise to 0.
3927         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3928         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3929         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3930         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3931         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3932         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3934 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3936         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3937         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3939 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3941         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3942         THREAD_SETMEM_NC.
3943         * sysdeps/x86_64/nptl/tls.h: Ditto.
3945 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3947         * dlfcn/tststatic.c (main): Converted to ...
3948         (do_test): ... this.
3949         (TEST_FUNCTION): New macro.
3950         Include test-skeleton.c.
3952 2015-03-26  Alan Modra  <amodra@gmail.com>
3954         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3955         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3956         zero for undefined weak.
3957         (elf_machine_plt_conflict): Similarly.
3959 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3961         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3962         atanh.
3963         * math/auto-libm-test-out: Regenerated.
3964         * sysdeps/i386/fpu/libm-test-ulps: Update.
3965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3967         * math/auto-libm-test-in: Add another test of asin.
3968         * math/auto-libm-test-out: Regenerated.
3969         * sysdeps/i386/fpu/libm-test-ulps: Update.
3970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3972         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3973         Remove macro.
3974         (LLL_EBX_REG): Likewise.
3975         (LLL_ENTER_KERNEL): Likewise.
3977         * math/auto-libm-test-in: Add more tests of asin.
3978         * math/auto-libm-test-out: Regenerated.
3979         * sysdeps/i386/fpu/libm-test-ulps: Update.
3980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982         [BZ #18138]
3983         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3984         libc_do_syscall_args): New structure.
3985         (INTERNAL_SYSCALL_MAIN_0): New macro.
3986         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3987         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3988         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3989         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3990         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3991         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3992         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3993         Replace conditional definitions by conditional definitions of ....
3994         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3995         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3996         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3997         (libpthread-sysdep_routines): Add libc-do-syscall.
3998         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3999         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4000         to __NR_futex not 240.
4002 2015-03-25  Alan Modra  <amodra@gmail.com>
4004         * NEWS: Advertise TLS optimization.
4005         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4006         (DT_PPC_NUM): Increment.
4007         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4008         (CHECK_STATIC_TLS): Use here.
4009         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4010         TLS descriptors.
4011         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4012         * sysdeps/powerpc/dl-tls.c: New file.
4013         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4014         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4015         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4016         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4021 2015-03-25  Alan Modra  <amodra@gmail.com>
4023         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4024         for overlapping .opd entries" to "support...".
4025         * sysdeps/powerpc/powerpc64/configure: Regenerate
4027 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4029         * math/auto-libm-test-in: Add more tests of acos.
4030         * math/auto-libm-test-out: Regenerated.
4031         * sysdeps/i386/fpu/libm-test-ulps: Update.
4032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034         * math/auto-libm-test-in: Add more tests of expm1.
4035         * math/auto-libm-test-out: Regenerated.
4036         * sysdeps/i386/fpu/libm-test-ulps: Update.
4037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4039 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4041         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4042         * math/auto-libm-test-out: Regenerated.
4043         * sysdeps/i386/fpu/libm-test-ulps: Update.
4044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4046         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4049         * math/auto-libm-test-in: Add more tests of log2.
4050         * math/auto-libm-test-out: Regenerated.
4051         * sysdeps/i386/fpu/libm-test-ulps: Update.
4052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4054 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4056         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4057         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4058         _IO_IS_APPENDING bit in READ_WRITE instead.
4060 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4062         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4063         (__determine_cpumask_size): Replace extend_alloca with a
4064         variable-length array.  Do not treat res == 0 as an error.
4066 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4068         [BZ #18100]
4069         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4070         and integer overflow.
4071         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4072         (main): Add integer overflow tests.
4073         * manual/pattern.texi (Calling Wordexp): Document additional use
4074         for WRDE_SYNTAX.
4076 2015-03-23  Alan Modra  <amodra@gmail.com>
4078         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4079         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4080         and false branch of conditional.
4081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4082         Likewise.
4084 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4086         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4087         libc-modules.h
4088         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4089         unused declaration of _hurd_intr_rpc_msg_in_trap.
4090         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4091         defined instead of whether it is non-zero.
4092         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4093         input constraint instead of both input and output constraint.  Use ecx
4094         clobber instead of %ecx.
4095         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4096         mutex_unlock): Use a statement expression instead of an expression list.
4097         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4098         type to vm_size_t instead of vm_address_t.
4099         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4100         defined instead of whether it is non-zero.
4101         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4102         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4103         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4104         comparisons with mapaddr.
4105         * nscd/nscd-client.h: Include <time.h>.
4106         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4107         9th parameter to __vm_region instead of int.
4108         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4109         * scripts/check-local-headers.sh (exclude): Add device/,
4110         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4111         cthreads.h.
4113 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4115         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4116         to account for alignment padding.
4117         * sysdeps/arm/memmove.S: Likewise.
4119 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4121         * sysdeps/unix/sysv/linux/generic/README: New file.
4123 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4125         [BZ #18138]
4126         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4127         (futex_abstimed_wait)
4128         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4129         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4130         of lll_futex_timed_wait.
4132 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4134         [BZ #17542]
4135         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4137 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4139         [BZ #17090]
4140         [BZ #17620]
4141         [BZ #17621]
4142         [BZ #17628]
4143         * NEWS: Update.
4144         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4145         entries with Static TLS too.  Skip entries past the end of the
4146         allocated DTV, from Alan Modra.
4147         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4148         Static TLS DTV entry set up from...
4149         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4150         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4151         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4152         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4153         for Static TLS.
4154         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4155         that the slot we find is associated with the given map before
4156         using its generation count.
4157         * nptl_db/db_info.c: Include ldsodefs.h.
4158         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4159         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4160         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4161         (link_map::l_tls_offset): New struct field.
4162         (dtv_t::counter): Likewise.
4163         (rtld_global): New struct.
4164         (_rtld_global): New rtld variable.
4165         (dl_tls_dtv_slotinfo_list): New rtld global field.
4166         (dtv_slotinfo_list): New struct.
4167         (dtv_slotinfo): Likewise.
4168         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4169         (td_lookup): Rename to...
4170         (td_mod_lookup): ... this.  Use new mod parameter instead of
4171         LIBPTHREAD_SO.
4172         * nptl_db/td_thr_tlsbase.c: Include link.h.
4173         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4174         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4175         addresses even if the DTV is out of date or missing them.
4176         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4177         index zero-length arrays.
4178         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4179         (td_lookup): Make it a macro implemented in terms of...
4180         (td_mod_lookup): ... this declaration.
4181         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4182         (DB_MAIN_VARIABLE): Likewise.
4184 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4186         [BZ #18134]
4187         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4189 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4191         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4193 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4195         [BZ #18128]
4196         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4197         (atomic_add, atomic_increment_and_test)
4198         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4200 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4202         * stdlib/setenv.c (__add_to_environ):
4203         Dump core quickly if setenv (..., NULL, ...) is called.
4205 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4207         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4208         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4209         all the necessary asm magic in one place.
4210         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4211         using those.
4213 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4215         [BZ #14906]
4216         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4217         traced file mtime. Use consistent log message.
4218         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4219         (register_traced_file): Call install_watches. Always set mtime.
4220         (invalidate_cache): Iterate over all trace files. Call install_watches.
4221         (inotify_check_files): Don't inline. Handle watching parent
4222         directories and configuration file movement in and out.
4223         (handle_inotify_events): New function.
4224         (main_loop_poll): Call handle_inotify_events.
4225         (main_loop_epoll): Likewise.
4226         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4227         (struct traced_file): Use array of inotify fds. Add parent directory,
4228         and basename.
4229         (struct database_dyn): Remove unused file_mtime.
4230         (init_traced_file): New inline function.
4231         (define_traced_file): New macro.
4232         * nss/nss_db/db-init.c: Use define_traced_file.
4233         (_nss_db_init): Use init_traced_file.
4234         * nss/nss_files/files-init.c: Use define_traced_file.
4235         (_nss_files_init): Use init_traced_file.
4237 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4239         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4240         [_LIBC]: Do not include <stdlib.h>.
4241         [!_LIBC] (abort): Remove declaration.
4242         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4243         _FP_STATIC_ASSERT instead of conditionally calling abort.
4244         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4245         (_FP_EXTEND_CNAN): Likewise.
4246         (FP_TRUNC): Likewise.
4247         (__FP_CLZ): Likewise.
4248         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4250 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4252         * manual/string.texi (XPG basename): Fix prototype.
4254 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4256         [BZ #18080]
4257         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4258         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4259         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4260         (__setcontext): Likewise.
4261         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4262         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4263         Call rt_sigprocmask syscall one time to set new signal mask
4264         and retrieve the current signal mask instead of two calls.
4265         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4266         (__swapcontext): Likewise.
4267         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4268         * stdlib/tst-setcontext2.c: New file.
4270 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4272         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4274 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4276         [BZ #18093]
4277         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4278         the wrong size.
4280 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4282         [BZ #18043]
4283         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4285 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4287         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4288         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4289         Remove define.
4290         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4291         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4292         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4293         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4294         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4295         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4296         define.
4297         * nptl_db/td_symbol_list.c (td_lookup): Remove
4298         HAVE_ASM_GLOBAL_DOT_NAME code.
4299         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4300         HAVE_ASM_GLOBAL_DOT_NAME check.
4301         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4302         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4303         (DOT_LABEL): Remove define.
4304         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4305         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4306         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4307         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4308         (__TLS_GET_ADDR): Likewise.
4309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4310         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4312 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4314         [BZ #18111]
4315         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4316         (_FPU_SETCW): Initialize cw from fpsr before storing.
4317         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4318         (fesetexceptflag): Rewrite using fpu_control.h.
4319         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4321 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4323         [BZ #18110]
4324         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4325         asms.
4326         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4328 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4330         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4331         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4332         abort.
4333         (_FP_FMA): Likewise.
4334         (_FP_DIV): Likewise.
4336 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4338         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4339         with 0 in that case.
4340         * Makefile (summarize-tests): New canned sequence, factored out of
4341         commands for targets tests and xtests.  Display summary lines that
4342         don't start with PASS: or XFAIL: rather than ones that do start with
4343         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4344         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4345         do start with ERROR: or FAIL:.
4346         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4347         (except for [$(build-shared) = yes]).
4348         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4349         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4350         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4351         * nptl/Makefile: Revert 2015-03-04 changes.
4352         [$(CXX) empty] (tests-unsupported): New variable.
4353         * debug/Makefile: Likewise.
4355         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4356         gnulib file.  Replace __attribute with __attribute__ throughout.
4358 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4360         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4362 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4364         [BZ #18104]
4365         * math/auto-libm-test-in: Add another test of pow.
4366         * math/auto-libm-test-out: Regenerated.
4368 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4370         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4371         $(config-cflags-nofma).
4373 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4375         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4376         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4377         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4378         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4379         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4380         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4381         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4382         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4383         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4384         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4385         Add comment on closing #endif.
4387 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4389         * posix/wordexp.c (CHAR_IN_SET): New macro.
4390         (parse_param): Use it.
4392 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4394         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4396 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4398         [BZ #18043]
4399         * posix/wordexp.c (parse_param): Fix buffer overflow.
4400         * posix/wordexp-test.c (test_case): Add test case.
4402 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4404         [BZ #18042]
4405         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4406         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4408 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4410         [BZ #18043]
4411         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4412         (do_bz18043): Delete.
4413         (at_page_end): New.
4414         (testit): Refactor to have words at the edge of unreadable page.
4416 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4418         [BZ #16734]
4419         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4420         Cleanup read-only streams as well.
4421         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4423 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4425         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4426         <bits/libc-lockP.h>
4428 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4430         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4431         on [__KERNEL__].
4432         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4433         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4434         * soft-fp/op-common.h (_FP_DECL): Likewise.
4436 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4438         * elf/ifuncdep2.c (global): Replace
4439         __attribute__((visibility("protected"))) with
4440         asm (".protected global").
4441         * elf/ifuncmod1.c (global): Likewise.
4442         * elf/ifuncmod5.c (global): Likewise.
4444 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4446         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4447         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4449 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4451         * manual/install.texi (Configuring and compiling):
4452         Document test-wrapper-env-only.
4453         * INSTALL: Regenerated.
4455 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4457         [BZ #18043]
4458         * posix/wordexp.c (parse_param): Fix buffer overflow.
4459         * posix/wordexp-test.c (do_bz18043): Add test case.
4461 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4463         * time/tst-strptime2.c (do_test): Ensure failing tests are
4464         reported correctly.
4465         * time/tst-strptime3.c (do_test): Likewise.
4467 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4469         Fix aio_error thread-safety.
4470         * sysdeps/pthread/aio_error.c: New file
4471         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4472         synchronization.
4474 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4476         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4477         (group_number, vfprintf): Use it.
4478         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4479         (JUMP, REF): Use it.
4480         (WORK_BUFFER_SIZE): New enum constant.
4481         (process_arg, vfprintf): Use it.
4483 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4485         * manual/errno.texi (Error Messages): Complete example function
4486         by adding missing #define.
4487         (program_invocation_name): Add statement indicating GNU
4488         extension and reference which header file declares the variable.
4489         (program_invocation_short_name): Likewise.
4491 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4493         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4494         compatibility note.
4496 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4498         * Makeconfig (test-wrapper-env-only): New variable.
4499         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4500         then use that with $(test-wrapper-env-only) rather than using
4501         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4503 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4505         [BZ #18082]
4506         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4507         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4508         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4509         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4510         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4511         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4512         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4513         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4514         Likewise.
4515         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4516         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4517         Likewise.
4518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4519         Likewise.
4520         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4521         Likewise.
4522         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4523         Likewise.
4524         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4525         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4526         Likewise.
4527         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4528         Likewise.
4529         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4530         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4532 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4534         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4535         (ETH_ALEN): New macro.
4536         (struct ether_addr): Use it for length of ether_addr_octet.
4538         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4539         (setdb): Don't call __nss_configure_lookup for "rpc".
4540         (do_test): Don't call test_rpc.
4541         (output_rpcent, test_rpc): Functions moved ...
4542         * sunrpc/test-rpcent.c: ... to this new file.
4543         * sunrpc/Makefile (tests): Add it.
4545         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4546         __xpg_sigpause.
4547         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4548         * nptl/tst-signal6.c: Likewise.
4549         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4550         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4552         * configure.ac (libc_cv_cxx_link_ok): New check.
4553         Reset CXX to empty if it fails to link.
4554         * configure: Regenerated.
4555         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4556         bug-atexit3-lib only if $(CXX) is nonempty.
4557         * nptl/Makefile (tests): Likewise for tst-cancel24.
4558         (tests, tests-static): Likewise for tst-cancel24-static.
4559         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4560         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4561         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4562         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4564 2015-03-04  Andreas Schwab  <schwab@suse.de>
4566         [BZ #17631]
4567         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4568         for non-GCC compilers.
4569         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4570         Likewise.
4572 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4574         [BZ #17776]
4575         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4576         integer before bitwise and assembly operations.
4577         (feclearexcept): Likewise.
4578         * math/test-fenvinline.c: New file.
4579         * math/Makefile: Add test-fenvinline test.
4581 2015-03-03  Alan Modra  <amodra@gmail.com>
4583         [BZ #16512]
4584         * scripts/localplt.awk: Strip off symbol version.
4585         * NEWS: Mention bug fix.
4587 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4589         * sysdeps/pthread/timer_routines.c
4590         (timer_free_list, thread_free_list, thread_active_list): Make static.
4592 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4594         [BZ #17779]
4595         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4596         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4597         Undefine.
4598         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4599         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4600         Likewise.
4601         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4602         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4603         Likewise.
4605 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4607         [BZ #18036]
4608         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4609         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4611 2015-03-02  Andreas Schwab  <schwab@suse.de>
4613         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4614         variable name.
4616 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4618         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4619         Return error status.
4621 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4623         [BZ #15969]
4624         * locale/findlocale.c (_nl_find_locale): Introduce const
4625         version of loc_name and drop unsafe type casts.
4627 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4629         * dlfcn/tststatic2.c (main): Converted to ...
4630         (do_test): ... this.
4631         (TEST_FUNCTION): New macro.
4632         Include test-skeleton.c.
4634 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4636         [BZ #17711]
4637         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4638         (tests-pie): Add vismain.
4639         (CFLAGS-vismain.c): New.
4640         * elf/vismain.c: Add comments for PIE requirement.
4642 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4644         [BZ #18046]
4645         [BZ #18047]
4646         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4647         0x1p-56L as threshold for just returning the argument.
4648         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4649         0x1p-32L as threshold for just returning the argument.
4650         * math/auto-libm-test-in: Add more tests of atanh.
4651         * math/auto-libm-test-out: Regenerated.
4652         * sysdeps/i386/fpu/libm-test-ulps: Update.
4653         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4655 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4657         * string/bcopy.c (bcopy): Call memmove for performance.
4659 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4661         * string/bzero.c (__bzero): Call memset for performance.
4663 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4665         [BZ #18068]
4666         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4667         to 00100000.
4669 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4671         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4673 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4675         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4676         (__kernel_standard): Use CSTR macro when setting exc.name.
4677         * sysdeps/ieee754/Makefile [$(subdir) = math]
4678         (CFLAGS-k_standard.c): Remove variable.
4680         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4681         setting p and q from "else if" to "else".
4682         (qzero): Likewise.
4683         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4684         (qone): Likewise.
4685         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4686         (qzerof): Likewise.
4687         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4688         (qonef): Likewise.
4689         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4690         (qzero): Likewise.
4691         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4692         (qone): Likewise.
4694         [BZ #18038]
4695         [BZ #18039]
4696         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4697         return pi/2 for arguments below 0x1p-113L.
4698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4699         return pi/2 for arguments below 0x1p-106L.
4700         * math/auto-libm-test-in: Add more tests of acos.
4701         * math/auto-libm-test-out: Regenerated.
4703         [BZ #16351]
4704         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4705         (MO): New macro.
4706         (__ieee754_asin): Force underflow exception for results with small
4707         absolute value.
4708         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4709         (MO): New macro.
4710         (__ieee754_asinf): Force underflow exception for results with
4711         small absolute value.
4712         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4713         (__ieee754_asin): Force underflow exception for results with small
4714         absolute value.
4715         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4716         (__ieee754_asinf): Force underflow exception for results with
4717         small absolute value.
4718         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4719         (__ieee754_asinl): Force underflow exception for results with
4720         small absolute value.
4721         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4722         (__ieee754_asinl): Force underflow exception for results with
4723         small absolute value.
4724         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4725         (__ieee754_asinl): Force underflow exception for results with
4726         small absolute value.
4727         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4728         Include <math.h>.
4729         * math/auto-libm-test-in: Do not mark underflow exceptions as
4730         possibly missing for bug 16351.
4731         * math/auto-libm-test-out: Regenerated.
4733         [BZ #18030]
4734         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4735         of power of 2 down when low part has opposite sign.
4736         * math/libm-test.inc (logb_test_data): Add more tests.
4738 2015-02-26  Andreas Schwab  <schwab@suse.de>
4740         [BZ #18032]
4741         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4742         over collating symbol inside a bracket expression.  Minor cleanup.
4743         * posix/tst-fnmatch3.c (do_test): Add test case.
4745 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4747         [BZ #18029]
4748         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4749         Adjust exponent of power of 2 down when low part has opposite
4750         sign.
4751         * math/libm-test.inc (ilogb_test_data): Add more tests.
4753 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4755         [BZ #15969]
4756         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4757         the previous change.
4759         [BZ #15969]
4760         * locale/findlocale.c (_nl_find_locale): Retry archive search
4761         after alias expansion.
4763 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4765         * iconv/tst-iconv3.c (main): Converted to ...
4766         (do_test): ... this.
4767         (TEST_FUNCTION): New macro.
4768         Include test-skeleton.c.
4770         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4771         (convert): Make function static.
4772         (test_unalign): Likewise.  Add const to argument pointee types.
4773         (main): Replace with static function do_test.
4774         Print "Succeeded." only if RET is zero.
4775         (TEST_FUNCTION): New macro.
4776         Include test-skeleton.c.
4778         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4779         returns a null pointer.
4781 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4783         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4784         to __memcpy_ppc only for static builds.
4786 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4788         [BZ #18020]
4789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4790         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4791         * math/auto-libm-test-in: Add more tests of asinh.
4792         * math/auto-libm-test-out: Regenerated.
4793         * sysdeps/i386/fpu/libm-test-ulps: Update.
4794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4796 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4798         [BZ #15850]
4799         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4800         and ip6_mtuinfo definitions here.
4801         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4802         in this define too.  Update comment.
4804 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4806         * elf/sprof.c (load_shobj): Tweak error message to match others.
4808 2015-02-24  Kevin Easton  <kevin@guarana.org>
4810         [BZ #16145] (partial fix)
4811         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4812         to reduce lock contention.
4814 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4816         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4817         (struct timex): Update time comment.
4818         (ADJ_SETOFFSET): Define.
4820 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4822         [BZ #18019]
4823         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4824         2**56 not 2**28 as threshold for log (2x) formula.
4825         * math/auto-libm-test-in: Add more tests of acosh.
4826         * math/auto-libm-test-out: Regenerated.
4827         * sysdeps/i386/fpu/libm-test-ulps: Update.
4828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4830 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4832         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4833         parenthesis around the buf assignment.
4834         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4836 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4838         [BZ #16783]
4839         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4840         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4841         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4842         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4843         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4844         * math/libm-test.inc (scalb_test_data): Add more tests.
4846 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4848         [BZ #17916]
4849         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4850         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4852 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4854         [BZ #17523]
4855         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4856         * io/bits/fcntl2.h (open): Use it.
4857         (openat): Likewise.
4858         * io/open.c (__libc_open): Likewise.
4859         * io/open64.c (__libc_open64): Likewise.
4860         * io/open64_2.c (__open64_2): Likewise.
4861         * io/open_2.c (__open_2): Likewise.
4862         * io/openat.c (__openat): Likewise.
4863         * io/openat64.c (__openat64): Likewise.
4864         * io/openat64_2.c (__openat64_2): Likewise.
4865         * io/openat_2.c (__openat_2): Likewise.
4866         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4867         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4868         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4869         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4870         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4871         (__open_nocancel): Likewise.
4872         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4873         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4874         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4876 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4878         [BZ #14841]
4879         * resolv/gethnamaddr.c (getanswer): Skip logging if
4880         RES_USE_DNSSEC is set.
4881         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4883 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4885         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4887 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4889         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4890         201304L, for Unicode 7.
4892 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4894         [BZ #17836]
4895         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4896         shared library.  Add gmon-start.os otherwise.
4897         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4898         $(objpfx)gmon-start.os if builing shared library.
4899         ($(objpfx)g$(static-start-installed-name)): Likewise.
4901 2015-02-23  Andreas Schwab  <schwab@suse.de>
4903         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4905 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4907         [BZ #17269]
4908         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4909         (enlarge_userbuf): Likewise.
4911 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4913         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4914         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4915         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4916         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4918 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4920         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4921         expression inside statement expression.
4923 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4925         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4926         <sysdeps/nptl/lowlevellock.h> and remove macros and
4927         functions that are now defined there.
4928         (SYS_futex): Remove.
4929         (lll_compare_and_swap): Remove.
4930         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4932 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4934         [BZ #17999]
4935         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4936         instead of scandirat.
4937         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4938         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4939         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4940         __scandirat.
4941         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4942         (__scandirat): Declare.  Use libc_hidden_proto.
4943         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4944         Remove variable.
4945         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4947 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4949         [BZ #15319]
4950         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4951         (MO): New macro.
4952         (__ieee754_atan2): For results with small absolute value, force
4953         underflow exception and remove excess range and precision from
4954         return value.
4955         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4956         (MO): New macro.
4957         (__ieee754_atan2f): For results with small absolute value, force
4958         underflow exception and remove excess range and precision from
4959         return value.
4960         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4961         (MO): New macro.
4962         (__atan): For results with small absolute value, force underflow
4963         exception and remove excess range and precision from return value.
4964         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4965         (MO): New macro.
4966         (__atanf): For results with small absolute value, force underflow
4967         exception and remove excess range and precision from return value.
4968         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4969         <math.h>.
4970         (__ieee754_atan2): Force underflow exception for results with
4971         small absolute value.
4972         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4973         <math_private.h>.
4974         (atan): Force underflow exception for results with small absolute
4975         value.
4976         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4977         (__atanf): Force underflow exception for results with small
4978         absolute value.
4979         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4980         <math.h>.
4981         (__atanl): Force underflow exception for results with small
4982         absolute value.
4983         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4984         (__atanl): Force underflow exception for results with small
4985         absolute value.
4986         * sysdeps/x86/fpu/bits/mathinline.h
4987         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4988         (__ieee754_atan2): Only define inline for long double.
4989         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4990         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4991         * math/auto-libm-test-in: Do not mark underflow exceptions as
4992         possibly missing for bug 15319.  Add more tests of atan2.
4993         * math/auto-libm-test-out: Regenerated.
4994         * math/libm-test.inc (casin_test_data): Do not mark underflow
4995         exceptions as possibly missing for bug 15319.
4996         (casinh_test_data): Likewise.
4997         * sysdeps/i386/fpu/libm-test-ulps: Update.
4999 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5001         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5002         * sysdeps/mips/bits/endian.h: Fix comments.
5004 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5006         [BZ #17996]
5007         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5008         (hdestroy_r): Likewise.
5009         (hsearch_r): Likewise.
5010         (__hcreate_r): Declare and use libc_hidden_proto.
5011         (__hdestroy_r): Likewise.
5012         (__hsearch_r): Likewise.
5013         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5014         (hcreate): Call __hcreate_r instead of hcreate_r.
5015         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5016         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5017         as weak alias of __hcreate_r.
5018         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5019         __hdestroy_r.
5020         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5021         __hsearch_r.
5022         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5023         Remove variable.
5024         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5025         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5026         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5027         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5029 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5031         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5032         arena_lock into a single arena_get.
5034 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5036         * dl-reloc.c: Inlucde libc-internal.h.
5037         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5038         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5039         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5040         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5041         (grow_heap): Likewise.
5042         * malloc/malloc.c: Include libc-internal.h.
5043         (do_check_malloc): Call powerof2.
5044         (sysmalloc): Use pagesize. Call ALIGN_UP.
5045         (systrim): Use pagesize.
5046         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5047         (__libc_valloc): Use pagesize.
5048         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5050 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5052         [BZ #17991]
5053         * include/sys/resource.h (__getrlimit64): Declare.  Use
5054         libc_hidden_proto.
5055         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5056         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5057         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5058         getrlimit64.
5059         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5060         __getrlimit64.
5061         [!getrlimit64] (getrlimit64): Define as weak alias of
5062         __getrlimit64.  Use libc_hidden_weak.
5063         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5064         using __getrlimit64 not __new_getrlimit64.
5065         (__GI_getrlimit64): Likewise.
5066         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5067         Likewise.
5068         (__GI_getrlimit64): Likewise.
5069         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5071         (getrlimit): Add __getrlimit64 alias.
5072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5073         Likewise.
5074         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5075         Remove variable.
5076         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5077         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5079 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5081         * libio/fileops.c: Add missing sys/mman.h
5082         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5084 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5086         * manual/math.texi (Errors in Math Functions): Clarify goals
5087         regarding inexact and underflow exceptions.
5089 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5091         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5092         * sysdeps/mips/memset.S: Ditto.
5094 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5096         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5098 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5100         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5101         (__v1longjmp): Remove versioned symbol.
5102         (__v1siglongjmp): Remove alias and versioned symbol.
5103         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5104         (__v2siglongjmp): Likewise.
5106 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5108         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5110 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5112         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5114 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5116         [BZ #17987]
5117         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5118         zero result does not depend on the sign resulting from
5119         subtraction.
5120         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5121         Likewise.
5122         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5123         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5124         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5125         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5126         * math/libm-test.inc (remquo_test_data): Add more tests.
5128 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5130         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5131         Problem reported by J William Piggott.
5133 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #17978]
5136         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5137         products 4 * y and 2 * y where those would overflow.
5138         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5139         Likewise.
5140         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5141         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5142         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5143         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5144         * math/libm-test.inc (remquo_test_data): Add more tests.
5146         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5148         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5149         [defined _COMPILING_NEWLIB].
5150         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5151         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5153         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5154         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5156 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5158         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5159         acquired.
5161 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5163         [BZ #17792]
5164         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5165         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5166         HOST_STACK_END_ADDR): Likewise.
5168 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5170         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5171         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5172         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5174 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5176         * sysdeps/generic/c++-types.data: New file.
5177         * sysdeps/generic/ld.abilist: New file.
5178         * sysdeps/generic/libBrokenLocale.abilist: New file.
5179         * sysdeps/generic/libanl.abilist: New file.
5180         * sysdeps/generic/libc.abilist: New file.
5181         * sysdeps/generic/libcrypt.abilist: New file.
5182         * sysdeps/generic/libdl.abilist: New file.
5183         * sysdeps/generic/libm.abilist: New file.
5184         * sysdeps/generic/libpthread.abilist: New file.
5185         * sysdeps/generic/libresolv.abilist: New file.
5186         * sysdeps/generic/librt.abilist: New file.
5188 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5190         [BZ #17569]
5191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5192         Compute absolute value of x as modified by fmod, not original
5193         value of x.
5194         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5195         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5196         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5197         RUN_TEST_ffI_f1_mod8.
5198         (remquo_test_data): Add more tests.
5200 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5202         * sysdeps/init_array/pt-crti.S: New file.
5204 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5206         [BZ #17967]
5207         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5208         __builtin_fmaf instead of relying on contraction of a * b + c.
5210 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5212         [BZ #17969]
5213         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5214         node.
5216 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5218         [BZ #17964]
5219         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5220         __builtin_fma instead of relying on contraction of a * b + c.
5222 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5224         * Makeconfig (ASFLAGS): Add -Werror=undef.
5225         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5226         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5227         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5229         * Makeconfig (after-link): New variable.
5230         (+link-pie, +link-pie-tests): Use it.
5231         (+link-static, +link-static-tests): Likewise.
5232         (+link, +link-tests): Likewise.
5233         * Makerules (build-module, build-module-asneeded): Likewise.
5234         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5235         Likewise.
5236         * elf/Makefile ($(objpfx)ld.so): Likewise.
5238 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5240         [BZ #17965]
5241         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5242         both struct timeval and struct timespec.
5244 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5246         [BZ #16560]
5247         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5248         and redefine.
5249         (__ieee754_exp2l): Do not multiply small fractional parts by
5250         M_LN2l.
5251         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5252         small argument.
5253         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5254         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5255         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5256         * math/auto-libm-test-in: Add more tests of exp2.
5257         * math/auto-libm-test-out: Regenerated.
5259 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5261         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5262         unaligned path.
5264 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5266         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5267         little endian.
5269 2015-02-12  Andreas Schwab  <schwab@suse.de>
5271         [BZ #15790]
5272         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5273         Filter out elision flags from value returned in kind.
5274         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5275         * nptl/tst-pthread-mutexattr.c: New file.
5277 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5279         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5280         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5281         into gnu-gnu, and update comment to refer to abi-tags.
5283 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5285         [BZ #15467]
5286         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5287         (__sincos): Set errno to EDOM for infinite argument.
5288         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5289         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5290         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5291         (__sincosl): Set errno to EDOM for infinite argument.
5292         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5293         (__sincosl): Set errno to EDOM for infinite argument.
5294         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5295         (__sincosl): Set errno to EDOM for infinite argument.
5296         * math/libm-test.inc (sincos_test_data): Test errno setting.
5298 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5300         * string/strxfrm_l.c: Remove #define STRCMP.
5301         * string/strcoll_l.c: Remove #define STRLEN.
5302         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5303         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5305 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5307         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5308         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5309         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5310         * sysdeps/mips/mips64/Makefile: ... here.
5311         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5312         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5313         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5314         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5315         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5316         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5317         * sysdeps/mips/mips64/n64/Implies: Likewise.
5319 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5321         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5322         <sys/time.h>, <string.h>, and <errno.h>.
5323         (dest_offset, dest_address, value, zero): Remove unused variables.
5324         (ldouble): Remove typedef.
5325         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5326         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5327         1).  Fix code style.
5328         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5329         (check): Function removed.
5330         (CHECK): New macro.
5331         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5332         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5333         Don't call set_sigaction_FP and remove_sigaction_FP here.
5334         (ldouble_test): Just use 'long double' as macro argument, no need for
5335         the 'ldouble' typedef.
5336         (do_test): Set up SIGFPE handler at start, using plain signal rather
5337         than sigaction.  Fix code style.
5339 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5341         [BZ #17949]
5342         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5343         jump label.
5345 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5347         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5348         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5350         * sysdeps/powerpc/configure.ac: Remove file.
5351         * sysdeps/powerpc/configure: Likewise.
5353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5354         [sysdep_routines]: Remove wordcopy-power6 object.
5355         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5356         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5357         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5358         (__memmove_ppc32): Likewise.
5359         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5360         file.
5361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5363         Remove preprocessor.
5365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5366         [sysdep_routines]: Remove wide chars objects.
5367         [wcsmbs]: New rule for wide char objects.
5369         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5370         Remove wordcopy-power6 obejct.
5371         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5372         Use local call for wordcopy and memcpy symbols.
5373         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5374         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5375         implementation for loader.
5376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5379         Remove wordcopy-power7 object.
5380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5381         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5382         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5383         (_wordcopy_fwd_dest_aligned): Likewise.
5384         (_wordcopy_bwd_aligned): Likewise.
5385         (_wordcopy_bwd_dest_aligned): Likewise.
5387         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5388         Rewrite to call __memmove_ppc instead of include default
5389         implementation.
5391         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5392         Remove wide chars objects.
5393         [wcsmbs]: New rule for wide char objects.
5395 2015-02-09  Andreas Schwab  <schwab@suse.de>
5397         [BZ #17912]
5398         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5399         in terms of __O_DIRECTORY.
5401 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5403         * time/getdate.c: Include <stdbool.h>.
5404         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5405         call PTR_MANGLE.
5406         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5407         PTR_DEMANGLE.
5409 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5411         Add ersatz _Static_assert on older C hosts
5412         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5413         pre-C11 C platform that is not known to support _Static_assert.
5415 2015-02-07  Richard Braun  <rbraun@sceen.net>
5417         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5418         sigstate.
5419         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5421 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5423         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5424         priority against unexistent AIO_PRIO_DELTA_MAX.
5425         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5426         instead of int.
5427         * misc/fchflags.c (fchflags): Likewise.
5428         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5429         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5430         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5431         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5432         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5433         Declare macros.
5434         [__USE_MISC] (chflags, fchflags): Declare functions.
5435         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5436         EINVAL when nfds is greater than FD_SETSIZE.
5437         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5438         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5439         45.
5440         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5441         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5442         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5443         MACH_RCV_TIMED_OUT.
5444         * hurd/hurd/signal.h (_hurd_self_sigstate,
5445         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5446         Explicit casts from void *.
5447         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5448         * abi-tags: Rename gnu-gnu os into gnu.
5450         [BZ #4719]
5451         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5452         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5453         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5454         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5455         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5456         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5458         [BZ #17944]
5459         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5460         duplicates ADDR->sun_path with sockaddr LEN limitation.
5461         * sysdeps/mach/hurd/connect.c: Include <string.h>
5462         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5463         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5464         * sysdeps/mach/hurd/sendto.c: Likewise.
5465         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5466         implementing it by hand.
5468 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5470         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5471         Use sfi_breg on ldr.
5472         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5473         Likewise.
5475         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5476         it's defined.
5477         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5478         Test SIGSETXID only if it's defined.
5480         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5482         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5483         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5485         * nptl/tst-align2.c: Moved ...
5486         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5487         * nptl/Makefile (tests): Remove tst-align2.
5488         * sysdeps/unix/sysv/linux/Makefile
5489         [$(subdir) = nptl] (tests): Add tst-align-clone.
5490         * nptl/tst-getpid1.c: Moved ...
5491         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5492         * nptl/tst-getpid2.c: Moved ...
5493         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5494         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5495         * sysdeps/unix/sysv/linux/Makefile
5496         [$(subdir) = nptl] (tests): ... here.
5497         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5498         * sysdeps/unix/sysv/linux/Makefile
5499         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5501         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5502         Drop trailing \n from perror argument.  Use return rather than exit.
5504         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5505         on [SA_SIGINFO].
5506         * nptl/tst-cancel21.c (do_test): Likewise.
5507         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5508         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5509         [!SA_SIGINFO]: Make it a stub test.
5511         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5512         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5514         * posix/tst-getlogin.c: Move to ...
5515         * login/tst-getlogin.c: ... here.
5516         * posix/Makefile (tests): Move tst-getlogin to ...
5517         * login/Makefile (tests): ... here.
5519         * libio/tst-atime.c (do_test): Move local variables SV and E
5520         inside [ST_NOATIME] conditional.
5522         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5524         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5526         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5527         (wait_code): New function replaces macro.
5528         Call nanosleep rather than syscall.
5530         * nptl/pt-system.c: Rewritten.  Put everything under
5531         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5532         Use IFUNC to redirect when possible.
5534         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5535         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5536         Use IFUNC to redirect when possible.
5538         * nptl/pt-fork.c: Rewritten.  Put everything under
5539         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5540         Use IFUNC to redirect when possible.
5541         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5543         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5544         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5545         unconditionally nowadays.  This included the only reference to
5546         __vdso_clock_gettime that appears outside libc proper.
5547         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5548         Remove version set (containing only __vdso_clock_gettime).
5549         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5550         Add attribute_hidden.
5551         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5552         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5553         libc_hidden_data_def.
5554         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5555         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5557         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5558         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5559         setrpcent, and getrpcport to ...
5560         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5561         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5562         getrpcbynumber_r, and getrpcent_r to ...
5563         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5564         * inet/getrpcbyname.c: Moved ...
5565         * sunrpc/getrpcbyname.c: ... here.
5566         * inet/getrpcbyname_r.c: Moved ...
5567         * sunrpc/getrpcbyname_r.c: ... here.
5568         * inet/getrpcbynumber.c: Moved ...
5569         * sunrpc/getrpcbynumber.c: ... here.
5570         * inet/getrpcbynumber_r.c: Moved ...
5571         * sunrpc/getrpcbynumber_r.c: ... here.
5572         * inet/getrpcent.c: Moved ...
5573         * sunrpc/getrpcent.c: ... here.
5574         * inet/getrpcent_r.c: Moved ...
5575         * sunrpc/getrpcent_r.c: ... here.
5576         * inet/Makefile (routines): Move those to ...
5577         * sunrpc/Makefile (routines): ... here.
5578         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5579         the $(subdirs) list.
5580         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5581         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5582         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5583         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5585         * elf/Makefile (routines): Include $(all-dl-routines), not just
5586         $(dl-routines).
5587         (rtld-routines): Likewise.  Use = rather than :=.
5588         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5589         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5590         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5591         * sysdeps/arm/Makefile: Likewise.
5592         * sysdeps/i386/Makefile: Likewise.
5593         * sysdeps/x86_64/Makefile: Likewise.
5594         * sysdeps/hppa/Makefile [$(subdir) = elf]
5595         (sysdep_routines, sysdep-rtld-routines): Don't add
5596         $(sysdep-dl-routines) to these.
5597         * sysdeps/ia64/Makefile: Likewise.
5598         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5599         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5600         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5601         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5602         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5603         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5604         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5605         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5606         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5607         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5608         these; sysdep-dl-routines alone is enough.
5610 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5612         [BZ #17932]
5613         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5614         where multiplication results in zero and third argument is finite
5615         and nonzero.
5616         * math/auto-libm-test-in: Add more tests of fma.
5617         * math/auto-libm-test-out: Regenerated.
5619         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5620         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5621         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5622         (_FP_CMP_EQ): Likewise.
5623         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5625         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5626         extra argument CHECK_NAN.  Redefine as wrapper around
5627         _FP_EXTEND_CNAN.
5629 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5631         * version.h (RELEASE): Set to "stable".
5632         (VERSION): Set to "2.21"
5633         * include/features.h (__GLIBC_MINOR__): Set to 21.
5635         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5637 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5638             Paul Eggert  <eggert@cs.ucla.edu>
5640         [BZ #16618]
5641         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5642         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5643         size in bytes. Store needed elements in wpmax. Use needed size
5644         in bytes for extend_alloca.
5646 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5648         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5649         binutls 2.25, and texinfo 5.2.
5650         * INSTALL: Regenerate.
5651         * sysdeps/nios2/configure: Regenerate.
5652         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5653         * manual/contrib.texi: Update.
5654         * po/be.po: Update.
5655         * po/bg.po: Update.
5656         * po/ca.po: Update.
5657         * po/cs.po: Update.
5658         * po/da.po: Update.
5659         * po/de.po: Update.
5660         * po/el.po: Update.
5661         * po/eo.po: Update.
5662         * po/es.po: Update.
5663         * po/fi.po: Update.
5664         * po/fr.po: Update.
5665         * po/gl.po: Update.
5666         * po/hr.po: Update.
5667         * po/hu.po: Update.
5668         * po/ia.po: Update.
5669         * po/id.po: Update.
5670         * po/it.po: Update.
5671         * po/ja.po: Update.
5672         * po/ko.po: Update.
5673         * po/lt.po: Update.
5674         * po/nb.po: Update.
5675         * po/nl.po: Update.
5676         * po/pl.po: Update.
5677         * po/pt_BR.po: Update.
5678         * po/ru.po: Update.
5679         * po/rw.po: Update.
5680         * po/sk.po: Update.
5681         * po/sl.po: Update.
5682         * po/sv.po: Update.
5683         * po/tr.po: Update.
5684         * po/uk.po: Update.
5685         * po/vi.po: Update.
5686         * po/zh_CN.po: Update.
5687         * po/zh_TW.po: Update.
5689         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5690         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5691         * sysdeps/hppa/dl-irel.h: Remove #warning.
5692         * sysdeps/hppa/entry.h: Provide prototype for
5693         __canonicalize_funcptr_for_compare and cast argument.
5694         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5695         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5696         * sysdeps/hppa/sotruss-lib.c: New file.
5697         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5698         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5699         (atomic_compare_and_exchange_bool_acq): Likewise.
5700         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5701         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5703         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5704         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5705         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5707 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5709         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5710         called function in non-PIC case.
5712 2015-01-31  David S. Miller  <davem@davemloft.net>
5714         * sysdeps/sparc/sparc32/bits/atomic.h
5715         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5716         unlock not after it.
5717         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5718         volatile register usage warnings from the compiler.
5720         * sysdeps/sparc/nptl/sem_init.c: Delete.
5721         * sysdeps/sparc/nptl/sem_post.c: Delete.
5722         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5723         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5724         * sysdeps/sparc/sparc32/sem_init.c: New file.
5725         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5726         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5727         padding explicitly initialized.
5728         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5729         padding for in-semaphore spinlock.
5730         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5731         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5732         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5733         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5734         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5735         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5736         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5737         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5738         version.
5739         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5740         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5742 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5744         [BZ #17801]
5745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5746         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5747         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5748         New.
5749         (index_AVX_Fast_Unaligned_Load): Likewise.
5750         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5751         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5752         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5753         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5754         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5755         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5756         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5757         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5758         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5760 2015-01-29  Andreas Schwab  <schwab@suse.de>
5762         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5764 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5766         [BZ #17892]
5767         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5769 2015-01-28  Martin Sebor  <msebor@redhat.com>
5771         * math/README.libm-test: Clarify. Add "How to read the test output."
5773 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5775         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5776         Define to 0.
5778 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5780         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5781         (__HAVE_64B_ATOMICS): Define to 0.
5783 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5785         [BZ #17885]
5786         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5787         value to set as new flag.
5789         [BZ #16576]
5790         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5791         and use _ARCH_PPCSQ instead.
5792         (__ieee754_sqrt): Likewise.
5793         (__ieee754_sqrtf): Likewise.
5794         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5795         _ARCH_PPCSQ is defined.
5796         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5797         fsqrt instruction.
5798         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5799         _ARCH_PPCSQ is defined.
5800         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5801         fsqrts instruction.
5802         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5804 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5806         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5807         bug (GCC BZ #64739).
5809 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5811         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5812         Mark _retval as used.
5813         (lll_futex_wake_unlock): Likewise.
5814         (lll_futex_timed_wait_requeue_pi): Likewise.
5816         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5817         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5818         register variables.
5820         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5821         libm_hidden_def.
5823         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5824         (__bswap_64): Mark as __always_inline.
5826 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5828         [BZ #15378]
5829         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5830         when none of the search directories exist.
5832 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5834         [BZ #17869]
5835         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5836         power8 in .machine directive.
5838         [BZ #17868]
5839         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5840         set dependency from opd value.
5842 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5845         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5846         architecture.
5848 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5850         [BZ #17870]
5851         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5852         with uint64_t.
5853         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5854         (uint64_t) 1.
5855         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5856         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5857         Replace 1UL with (uint64_t) 1.
5858         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5859         int with uint64_t.
5861 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5863         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5864         (if_freenameindex): Likewise.
5866         * resource/getrlimit64.c: Add missing libc_hidden_def.
5868 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5870         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5871         __label__.
5872         (_FP_FMA): Likewise.
5873         (_FP_TO_INT_ROUND): Likewise.
5874         (_FP_FROM_INT): Likewise.
5876 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5878         [BZ #16418]
5879         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5880         Make code racy and cancel safe.
5882 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5884         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5885         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5886         attribution.
5888         * pwd/tst-getpw.c: Rewrite.
5890         [BZ #17702]
5891         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5892         (modules-names): Add moddummy1 and moddummy2.
5893         ($(objpfx)tst-rec-dlopen): Define.
5894         * dlfcn/moddummy1.c: New file.
5895         * dlfcn/moddummy2.c: New file.
5896         * dlfcn/tst-rec-dlopen.c: New file.
5897         * elf/dl-cache.c (_dl_load_cache_lookup):
5898         Return char*. Copy result with alloca/strcpy/strdup.
5899         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5900         returns char*. Free cached. If not saving realname
5901         free cached.
5902         * elf/dl-open.c (dl_open_worker): Do not assert that
5903         _r_debug->r_state is RT_CONSISTENT.
5904         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5905         returns char*.
5907 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5908             Carlos O'Donell  <carlos@redhat.com>
5910         [BZ #12674]
5911         * nptl/sem_waitcommon.c: New file.
5912         * nptl/sem_wait.c: Include sem_waitcommon.c.
5913         (__sem_wait_cleanup, do_futex_wait): Remove.
5914         (__new_sem_wait): Adapt.
5915         (__new_sem_trywait): New function.
5916         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5917         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5918         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5919         (sem_timedwait): Adapt.
5920         * nptl/sem_post.c (__new_sem_post): Adapt.
5921         (futex_wake): New function.
5922         (__old_sem_post): Add release MO fence.
5923         * nptl/sem_open.c (sem_open): Adapt.
5924         * nptl/sem_init.c (__new_sem_init): Adapt.
5925         (futex_private_if_supported): New function.
5926         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5927         (__old_sem_getvalue): Add using previous code.
5928         * sysdeps/nptl/internaltypes.h: Adapt.
5929         * nptl/tst-sem13.c (do_test): Adapt.
5930         * nptl/tst-sem11.c (main): Adapt.
5931         * nptl/sem_trywait.c: Remove.
5932         * nptl/DESIGN-sem.txt: Remove.
5933         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5934         (gen-as-const-headers): Remove structsem.sym.
5935         * nptl/structsem.sym: Remove.
5936         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5937         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5938         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5939         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5940         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5941         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5942         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5943         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5944         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5945         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5946         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5947         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5948         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5949         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5950         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5951         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5952         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5953         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5954         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5955         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5956         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5957         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5959 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5961         * INSTALL: Regenerated.
5963         * po/libc.pot: Regenerated.
5965 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5966             Sandra Loosemore  <sandra@codesourcery.com>
5967             Andrew Jenner  <andrew@codesourcery.com>
5968             Joseph Myers  <joseph@codesourcery.com>
5969             Nathan Sidwell  <nathan@codesourcery.com>
5971         * NEWS: Mention new Nios II port.
5972         * sysdeps/nios2/Implies: New file.
5973         * sysdeps/nios2/Makefile: New file.
5974         * sysdeps/nios2/Subdirs: New file.
5975         * sysdeps/nios2/Versions: New file.
5976         * sysdeps/nios2/__longjmp.S: New file.
5977         * sysdeps/nios2/abort-instr.h: New file.
5978         * sysdeps/nios2/backtrace.c: New file.
5979         * sysdeps/nios2/bits/endian.h: New file.
5980         * sysdeps/nios2/bits/fenv.h: New file.
5981         * sysdeps/nios2/bits/link.h: New file.
5982         * sysdeps/nios2/bits/setjmp.h: New file.
5983         * sysdeps/nios2/bsd-_setjmp.S: New file.
5984         * sysdeps/nios2/bsd-setjmp.S: New file.
5985         * sysdeps/nios2/configure: New generated file.
5986         * sysdeps/nios2/configure.ac: New file.
5987         * sysdeps/nios2/crti.S: New file.
5988         * sysdeps/nios2/crtn.S: New file.
5989         * sysdeps/nios2/dl-init.c: New file.
5990         * sysdeps/nios2/dl-machine.h: New file.
5991         * sysdeps/nios2/dl-sysdep.h: New file.
5992         * sysdeps/nios2/dl-tls.h: New file.
5993         * sysdeps/nios2/dl-trampoline.S: New file.
5994         * sysdeps/nios2/gccframe.h: New file.
5995         * sysdeps/nios2/gmp-mparam.h: New file.
5996         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5997         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5998         * sysdeps/nios2/ldsodefs.h: New file.
5999         * sysdeps/nios2/libc-tls.c: New file.
6000         * sysdeps/nios2/libm-test-ulps: New file.
6001         * sysdeps/nios2/machine-gmon.h: New file.
6002         * sysdeps/nios2/math-tests.h: New file.
6003         * sysdeps/nios2/math_private.h: New file.
6004         * sysdeps/nios2/memusage.h: New file.
6005         * sysdeps/nios2/nptl/Makefile: New file.
6006         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6007         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6008         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6009         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6010         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6011         * sysdeps/nios2/nptl/tls.h: New file.
6012         * sysdeps/nios2/preconfigure: New file.
6013         * sysdeps/nios2/s_fma.c: New file.
6014         * sysdeps/nios2/s_fmaf.c: New file.
6015         * sysdeps/nios2/setjmp.S: New file.
6016         * sysdeps/nios2/sfp-machine.h: New file.
6017         * sysdeps/nios2/sotruss-lib.c: New file.
6018         * sysdeps/nios2/stackguard-macros.h: New file.
6019         * sysdeps/nios2/stackinfo.h: New file.
6020         * sysdeps/nios2/start.S: New file.
6021         * sysdeps/nios2/sysdep.h: New file.
6022         * sysdeps/nios2/tls-macros.h: New file.
6023         * sysdeps/nios2/tst-audit.h: New file.
6024         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6025         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6026         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6027         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6028         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6029         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6030         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6031         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6032         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6033         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6034         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6035         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6036         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6037         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6038         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6039         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6040         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6041         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6042         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6043         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6044         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6045         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6046         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6047         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6048         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6049         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6050         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6051         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6052         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6053         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6054         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6055         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6056         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6057         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6058         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6059         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6060         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6061         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6062         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6063         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6064         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6065         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6066         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6067         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6069 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6071         [BZ #17844]
6072         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6073         (getutent): Use weak_alias in non SHARED case
6074         and default_symbol_version in SHARED case.
6075         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6076         (getutent_r, pututline): Likewise.
6077         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6078         (getutid): Likewise.
6079         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6080         (getutid_r): Likewise.
6081         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6082         (getutline): Likewise.
6083         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6084         (getutline_r): Likewise.
6085         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6086         (updwtmp): Likewise.
6088 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6090         [BZ #17848]
6091         * sysdeps/s390/s390-32/memcmp.S
6092         (memcmp_g5): Rename to __memcmp_g5.
6093         * sysdeps/s390/s390-32/memcpy.S
6094         (memcpy_g5): Rename to __memcpy_g5.
6095         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6096         (memcpy_mvcle) Rename to __memcpy_mvcle.
6097         * sysdeps/s390/s390-32/memset.S
6098         (memset_g5): Rename to __memset_g5.
6099         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6100         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6101         and use prefixed functions.
6102         * sysdeps/s390/s390-32/multiarch/memcmp.S
6103         (memcmp_z196): Rename to __memcmp_z196.
6104         (memcmp_z10): Rename to __memcmp_z10.
6105         (memcmp): Set alias to __memcmp_g5.
6106         (bcmp): Set alias to __memcmp_g5.
6107         * sysdeps/s390/s390-32/multiarch/memcpy.S
6108         (memcpy_z196): Rename to __memcpy_z196.
6109         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6110         (memcpy_z10): Rename to __memcpy_z10.
6111         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6112         (memcpy): Set alias to __memcpy_g5.
6113         * sysdeps/s390/s390-32/multiarch/memset.S
6114         (memset_z196): Rename to __memset_z196.
6115         Jump to __memset_mvcle instead of memset_mvcle.
6116         (memset_z10): Rename to __memset_z10.
6117         Jump to __memset_mvcle instead of memset_mvcle.
6118         (memset_mvcle) Rename to __memset_mvcle.
6119         (memset): Set alias to __memset_g5.
6120         * sysdeps/s390/s390-64/memcmp.S
6121         (memcmp_z900): Rename to __memcmp_z900.
6122         * sysdeps/s390/s390-64/memcpy.S
6123         (memcpy_z900): Rename to __memcpy_z900.
6124         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6125         (memcpy_mvcle) Rename to __memcpy_mvcle.
6126         * sysdeps/s390/s390-64/memset.S
6127         (memset_z900): Rename to __memset_z900.
6128         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6129         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6130         and use prefixed functions.
6131         * sysdeps/s390/s390-64/multiarch/memcmp.S
6132         (memcmp_z196): Rename to __memcmp_z196.
6133         (memcmp_z10): Rename to __memcmp_z10.
6134         (memcmp): Set alias to __memcmp_z900.
6135         (bcmp): Set alias to __memcmp_z900.
6136         * sysdeps/s390/s390-64/multiarch/memcpy.S
6137         (memcpy_z196): Rename to __memcpy_z196.
6138         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6139         (memcpy_z10): Rename to __memcpy_z10.
6140         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6141         (memcpy): Set alias to __memcpy_z900.
6142         * sysdeps/s390/s390-64/multiarch/memset.S
6143         (memset_z196): Rename to __memset_z196.
6144         Jump to __memset_mvcle instead of memset_mvcle.
6145         (memset_z10): Rename to __memset_z10.
6146         Jump to __memset_mvcle instead of memset_mvcle.
6147         (memset_mvcle) Rename to __memset_mvcle.
6148         (memset): Set alias to __memset_z900.
6150 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6152         [BZ #17748]
6153         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6154         __fesetenv instead of fesetenv.
6156 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6158         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6159         macro.
6161 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6163         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6164         regression on LE.
6166         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6167         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6168         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6169         strncmp-power8 object.
6170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6171         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6172         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6173         * NEWS: Update.
6175 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6176             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6178         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6179         trailing byte check.
6181 2015-01-13  David S. Miller  <davem@davemloft.net>
6183         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6185 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6187         * login/logout.c (logout): Use memset rather than bzero.
6188         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6189         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6190         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6191         (_gethtbyaddr): Likewise.
6192         * locale/programs/simple-hash.c (bcopy): Macro removed.
6194 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6197         Add strcmp-power8 object.
6198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6199         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6200         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6201         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6202         __strcmp_power8 implementation.
6203         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6204         * NEWS: Update.
6206         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6207         Add strncpy-power8 and stpncpy-power8 objects.
6208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6209         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6210         implementations.
6211         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6212         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6213         __stpncpy_power8 implementation.
6214         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6215         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6216         __strncpy_power8 implementation.
6217         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6218         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6219         * NEWS: Update.
6221         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6222         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6223         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6225         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6226         strncat-power8 object.
6227         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6228         __strcat_power8 implementation.
6229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6230         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6231         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6232         optimized strcat for power8.
6234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6235         strcpy-power8 and stpcpy-power8 objects.
6236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6237         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6238         implementations.
6239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6240         multiarch stpcpy implementation for POWER8.
6241         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6242         multiarch strcpy implementation for POWER8.
6243         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6244         __strcpy_power8 function.
6245         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6246         stpcpy for POWER8.
6247         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6248         strcpy for POWER8.
6249         * NEWS: Update.
6251 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6253         [BZ #16009]
6254         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6255         weights and rules. Use do_xfrm_cached if data fits in cache,
6256         do_xfrm otherwise.  Moved former main loop to...
6257         * (do_xfrm_cached): New function.
6258         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6259         find_idx, find_position and stack_push.
6260         * (find_idx): New function.
6261         * (find_position): Likewise.
6262         * localedata/sort-test.sh: Added test run for do_xfrm.
6263         * localedata/xfrm-test.c (main): Added command line option
6264         -nocache to run the test with strings that are too large for
6265         the STRXFRM cache.
6267 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6269         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6270         variable to lll_futex_wake call, not the value itself.
6272 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6274         [BZ #17803]
6275         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6276         twom64.  Adjust value to 0x1p-64L.
6277         (__scalblnl): Only return standard underflowing result for K <=
6278         -64 not K <= -63; adjust exponent for underflowing result by 64
6279         not 63.
6280         * math/libm-test.inc (scalbn_test_data): Add more tests.
6281         (scalbln_test_data): Likewise.
6283         [BZ #17834]
6284         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6285         0x1p63L.
6286         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6287         not HX.
6288         * math/libm-test.inc (scalbn_test_data): Add more tests.
6289         (scalbln_test_data): Likewise.
6291 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6292             Stefani Seibold  <stefani@seibold.net>
6294         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6295         (sysdep_routines): Add dl-vdso here, ...
6296         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6297         (sysdep_routines): ... not here.
6298         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6299         fallback when vDSO is not presented.
6300         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6301         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6302         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6303         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6304         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6305         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6306         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6307         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6308         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6310         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6311         fallback configurable symbol when vDSO is not available.
6312         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6313         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6314         be able to redefine fallback symbol when vDSO is not available.
6315         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6316         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6318 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6320         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6321         (TLS_INIT_TP): Add tm_capable initialization.
6322         (TLS_DEFINE_INIT_TP): Likewise.
6323         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6324         TCB.
6325         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6326         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6327         calculation.
6328         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6329         transactoion is lock elision is built and TCB tm_capable is set.
6330         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6332         (INTERNAL_SYSCALL_NCS): Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6334         (INTERNAL_SYSCALL_NCS): Likewise.
6335         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6337         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6338         for powerpc.
6339         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6340         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6341         and remove it for 32 bits case.
6342         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6344         initialization.
6345         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6346         Disable lock elision with rdlocks if elision is not available.
6348         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6349         (sysdep_routines): Add lock elision objects.
6350         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6351         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6352         [pthread_mutex_t] (__elision): Add field.
6353         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6354         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6355         elision definitions for powerpc.
6356         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6357         implementation of lock elision for powerpc.
6358         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6359         implementation of timed lock elision for powerpc.
6360         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6361         implementation of trylock with lock elision for powerpc.
6362         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6363         implementaion of unlock for lock elision for powerpc.
6364         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6365         automatic enable lock elision for mutexes.
6366         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6367         transaction execution definitions for powerpc.
6368         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6369         definitions.
6370         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6371         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6372         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6373         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6374         * NEWS: Update.
6376 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6378         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6379         for #include of <shm-directory.h>.
6381 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6383         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6384         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6386 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6388         [BZ #17791]
6389         * NEWS: Mention bug fix.
6390         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6391         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6392         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6394 2015-01-09  Torvald Riegel <triegel@redhat.com>
6396         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6398 2015-01-09  Torvald Riegel <triegel@redhat.com>
6400         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6402 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6404         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6405         pointer and cast to uintptr_t.
6407 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6409         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6410         removed.
6411         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6413 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6415         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6416         of 0.
6418 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6420         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6421         <nptl/pthreadP.h> instead.
6422         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6424         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6425         already defined.
6426         [__SIGRTMIN] (init): Function removed.
6427         [__SIGRTMIN] (initialized): Variable removed.
6428         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6429         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6430         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6431         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6432         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6433         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6434         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6435         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6436         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6437         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6438         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6439         * sysdeps/nptl/allocrtsig.c: New file.
6440         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6441         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6442         * sysdeps/generic/testrtsig.h: File removed.
6444         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6445         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6447         * nptl/nptl-init.c (pthread_functions): Conditionalize
6448         .ptr__nptl_setxid initialization on [SIGSETXID].
6450         * sysdeps/nptl/sys/procfs.h: New file.
6451         * nptl_db/Makefile (headers): Add it.
6452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6454         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6455         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6456         * nptl/pthread_attr_setaffinity.c: Include it.
6457         * nptl/pthread_setattr_default_np.c: Likewise.
6458         * nptl/check-cpuset.h: New file.
6460 2015-01-08  Richard Henderson  <rth@redhat.com>
6462         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6463         (CFLAGS-tst-execstack-prog.c): Likewise.
6464         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6466 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6467             Sandra Loosemore  <sandra@codesourcery.com>
6468             Andrew Jenner  <andrew@codesourcery.com>
6469             Joseph Myers  <joseph@codesourcery.com>
6470             Nathan Sidwell  <nathan@codesourcery.com>
6472         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6473         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6474         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6475         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6476         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6477         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6478         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6479         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6480         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6481         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6482         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6483         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6484         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6485         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6486         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6487         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6488         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6490 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6492         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6493         timespec struct member in syscall macro.
6494         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6495         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6496         first timeval struct member in syscall macro.
6497         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6499 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6501         [BZ #17748]
6502         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6503         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6504         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6505         __feupdateenv and define as weak alias of __feupdateenv.  Use
6506         libm_hidden_weak.
6507         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6508         libm_hidden_def.
6509         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6510         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6511         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6512         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6513         libm_hidden_def.
6514         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6515         __feupdateenv and define as weak alias of __feupdateenv.  Use
6516         libm_hidden_weak.
6517         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6518         libm_hidden_def.
6519         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6520         __feupdateenv and define as weak alias of __feupdateenv.  Use
6521         libm_hidden_weak.
6522         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6523         libm_hidden_def.
6524         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6525         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6526         (__feupdateenv): Likewise.
6527         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6528         __feupdateenv and define as weak alias of __feupdateenv.  Use
6529         libm_hidden_weak.
6530         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6531         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6532         libm_hidden_def.
6533         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6534         function.
6535         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6536         libm_hidden_def.
6537         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6538         __feupdateenv instead of feupdateenv.
6539         (default_libc_feupdateenv_test): Likewise.
6540         (libc_feresetround_ctx): Likewise.
6542 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6544         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6545         prototype.
6547 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6549         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6550         COLL_SYM in a couple of places to avoid uninitialized variable
6551         wanings on tilegx gcc 4.8.2.
6553 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6555         * sysdeps/aarch64/strcpy.S: New file.
6556         * sysdeps/aarch64/stpcpy.S: New file.
6557         * NEWS: Updated.
6559 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6561         * sysdeps/aarch64/strrchr.S: New file.
6562         * NEWS: Updated.
6564 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6566         [BZ #17658]
6567         * stdlib/setenv.c: Fix memory leak when setting large,
6568         duplicate string.
6570 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6572         [BZ #17273]
6573         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6574         and tabs from buffer before parsing fstab entry.
6575         * misc/tst-mntent.c (main): Add test for mount entry with
6576         trailing spaces and tabs.
6578 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6580         [BZ #17748]
6581         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6582         * math/fesetround.c (fesetround): Rename to __fesetround and
6583         define as weak alias of __fesetround.  Use libm_hidden_weak.
6584         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6585         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6586         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6587         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6588         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6589         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6590         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6591         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6592         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6593         __fesetround_inline.
6594         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6595         __fesetround_inline instead of __fesetround.
6596         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6597         __fesetround and define as weak alias of __fesetround.  Use
6598         libm_hidden_weak.  Call __fesetround_inline instead of
6599         __fesetround.
6600         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6601         __fesetround and define as weak alias of __fesetround.  Use
6602         libm_hidden_weak.
6603         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6604         Likewise.
6605         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6606         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6607         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6608         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6609         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6610         __fesetround and define as weak alias of __fesetround.  Use
6611         libm_hidden_weak.
6612         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6613         __fesetround instead of fesetround.
6614         (default_libc_feholdexcept_setround): Likewise.
6615         (libc_feholdsetround_ctx): Likewise.
6616         (libc_feholdsetround_noex_ctx): Likewise.
6618         [BZ #17748]
6619         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6620         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6621         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6622         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6623         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6624         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6625         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6626         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6627         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6628         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6629         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6630         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6631         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6632         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6633         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6634         libm_hidden_def.
6635         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6636         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6637         Likewise.
6638         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6639         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6640         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6641         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6642         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6643         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6644         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6645         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6646         __fesetenv instead of fesetenv.
6647         (libc_feresetround_noex_ctx): Likewise.
6648         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6649         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6650         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6651         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6652         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6653         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6654         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6655         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6656         (__feupdateenv): Likewise.
6657         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6658         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6659         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6660         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6662 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6664         [BZ #17806]
6665         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6666         addresses have been freed.
6668 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6670         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6671         and nservall.
6673 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6675         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6676         Clean up check_pf allocation pattern. addresses
6678 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6680         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6681         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6682         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6683         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6684         * nptl/pthread_join.c (pthread_join): Likewise.
6685         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6686         * sysdeps/posix/waitid.c (__waitid): Likewise.
6687         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6688         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6689         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6690         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6692         Likewise.
6693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6694         (__libc_pread64): Likewise.
6695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6696         (__libc_pwrite): Likewise.
6697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6698         (__libc_pwrite64): Likewsie.
6699         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6700         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6701         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6702         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6703         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6704         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6705         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6707         Likewise.
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6709         (__libc_pread64): Likewise.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6711         Likewise.
6712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6713         (__libc_pwrite64): Likewise.
6714         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6715         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6716         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6717         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6718         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6719         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6720         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6721         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6722         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6723         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6724         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6725         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6726         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6727         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6728         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6729         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6730         Likewise.
6732 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6734         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6735         (CFLAGS-test-double.c): Likewise.
6736         (CFLAGS-test-ldouble.c): Likewise.
6737         (CPPFLAGS-test-ifloat.c): Likewise.
6738         (CPPFLAGS-test-idouble.c): Likewise.
6739         (CPPFLAGS-test-ildoubl.c): Likewise.
6740         (CFLAGS-test-test-fenv.c): Remove variable.
6741         (CFLAGS-test-misc.c): Likewise.
6743 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6745         [BZ #17797]
6746         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6747         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6748         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6749         CLOCKS_PER_SEC == 1000000.
6750         * time/clocktest.c (main): Replace %ld with %jd and cast to
6751         intmax_t.
6753 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6755         * sysdeps/generic/unwind-resume.h: New file.
6756         * sysdeps/gnu/unwind-resume.c: Include it.
6757         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6758         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6759         argument list.
6760         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6761         global rather than static.
6762         (_Unwind_Resume): Update user.
6763         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6764         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6765         rather than static.  Add __attribute__ ((cold)).
6766         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6767         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6768         * sysdeps/arm/arm-unwind-resume.S: New file.
6769         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6770         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6771         * sysdeps/arm/Makefile [$(subdir) = csu]
6772         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6773         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6774         Add rt-arm-unwind-resume.
6775         [$(subdir) = nptl]
6776         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6777         Add pt-arm-unwind-resume.
6778         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6779         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6781 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6783         [BZ #17748]
6784         * include/fenv.h (__feholdexcept): Declare.  Use
6785         libm_hidden_proto.
6786         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6787         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6788         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6789         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6790         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6791         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6792         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6793         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6794         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6795         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6796         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6797         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6798         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6799         (feholdexcept): Likewise.
6800         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6802         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6803         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6804         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6805         __feholdexcept instead of feholdexcept.
6806         (default_libc_feholdexcept_setround): Likewise.
6808 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6810         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6811         to avoid using stl/str to align destination.
6813 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6815         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6817 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6819         [BZ #17796]
6820         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6821         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6822         Define as weak alias not strong alias.
6824 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6826         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6827         bltzal with addiupc.
6828         (RTLD_START): Ditto.
6830 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6832         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6833         for __vdso_* functions in declarations.
6834         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6835         definitions.
6836         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6837         INTERNAL_VSYSCALL): Use struct return types to check for error.
6839         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6840         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6841         function with cast from llround().
6842         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6843         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6844         Define.
6846 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6848         [BZ #17793]
6849         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6850         Define as weak alias not strong alias.
6852         [BZ #17635]
6853         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6854         ...
6855         * ctype/ctype-extn.c: ... here.
6856         (__isblank_l): Move to ...
6857         * ctype/ctype-c99_l.c: ... here.  New file.
6858         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6859         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6860         Remove variable.
6861         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6862         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6863         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6864         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6865         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6867         [BZ #17777]
6868         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6869         (posix_fadvise64): Define as weak alias not strong alias.
6870         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6871         (posix_fallocate64): Likewise.
6872         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6873         Remove variable.
6874         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6875         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6876         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6877         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6878         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6880 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6882         [BZ #16191]
6883         * NEWS: Mention bug fix.
6884         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6885         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6886         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6887         (HOST_STACK_END_ADDR): Likewise.
6889 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #17748]
6892         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6893         * math/fegetround.c (fegetround): Rename to __fegetround and
6894         define as weak alias of __fegetround.  Use libm_hidden_weak.
6895         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6896         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6897         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6898         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6899         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6900         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6901         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6902         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6903         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6904         Undefine after rather than before function definition; use
6905         parentheses around function name in definition.
6906         (__fegetround): Also undefine macro after function definition.
6907         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6908         __fegetround and define as weak alias of __fegetround.  Use
6909         libm_hidden_weak.  Do not undefine as macro.
6910         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6911         Likewise.
6912         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6913         __fegetround and define as weak alias of __fegetround.  Use
6914         libm_hidden_weak.
6915         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6916         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6917         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6918         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6919         __fegetround and define as weak alias of __fegetround.  Use
6920         libm_hidden_weak.
6921         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6922         __fegetround instead of fegetround.
6924         [BZ #17782]
6925         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6926         Condition macro definition on [__USE_MISC].
6928         [BZ #17781]
6929         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6930         (struct sigaction): Change type of sa_flags field to int.
6932         [BZ #17780]
6933         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6934         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6935         __glibc_reserved0.
6937         * nptl/version.c (banner): Use single year in copyright notice.
6939         * NEWS: Update copyright dates.
6940         * catgets/gencat.c (print_version): Likewise.
6941         * csu/version.c (banner): Likewise.
6942         * debug/catchsegv.sh: Likewise.
6943         * debug/pcprofiledump.c (print_version): Likewise.
6944         * debug/xtrace.sh (do_version): Likewise.
6945         * elf/ldconfig.c (print_version): Likewise.
6946         * elf/ldd.bash.in: Likewise.
6947         * elf/pldd.c (print_version): Likewise.
6948         * elf/sotruss.sh: Likewise.
6949         * elf/sprof.c (print_version): Likewise.
6950         * iconv/iconv_prog.c (print_version): Likewise.
6951         * iconv/iconvconfig.c (print_version): Likewise.
6952         * locale/programs/locale.c (print_version): Likewise.
6953         * locale/programs/localedef.c (print_version): Likewise.
6954         * login/programs/pt_chown.c (print_version): Likewise.
6955         * malloc/memusage.sh (do_version): Likewise.
6956         * malloc/memusagestat.c (print_version): Likewise.
6957         * malloc/mtrace.pl: Likewise.
6958         * manual/libc.texinfo: Likewise.
6959         * nptl/version.c (banner): Likewise.
6960         * nscd/nscd.c (print_version): Likewise.
6961         * nss/getent.c (print_version): Likewise.
6962         * nss/makedb.c (print_version): Likewise.
6963         * posix/getconf.c (main): Likewise.
6964         * scripts/test-installation.pl: Likewise.
6965         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6967 2015-01-02  Will Newton  <will.newton@linaro.org>
6969         * sysdeps/arm/armv7/configure: Removed.
6970         * sysdeps/arm/armv7/configure.ac: Likewise.
6972 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6974         * All files with FSF copyright notices: Update copyright dates
6975         using scripts/update-copyrights.
6976         * intl/plural.c: Regenerated.
6977         * locale/programs/charmap-kw.h: Likewise.
6978         * locale/programs/locfile-kw.h: Likewise.
6980 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6982         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6984 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6986         [BZ #17748]
6987         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6988         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6989         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6990         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6991         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6992         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6993         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6994         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6995         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6996         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6997         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6998         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6999         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7000         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7001         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7002         libm_hidden_def.
7003         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7004         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7005         Likewise.
7006         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7007         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7008         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7009         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7010         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7011         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7012         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7013         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7014         __fegetenv instead of fegetenv.
7015         (libc_feholdsetround_noex_ctx): Likewise.
7017 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7019         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7020         (Elf_MIPS_ABIFlags_v0): New structure.
7021         (EF_MIPS_FP64): Define.
7022         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7023         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7024         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7025         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7026         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7027         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7028         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7029         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7030         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7031         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7032         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7033         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7034         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7035         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7036         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7037         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7038         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7039         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7040         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7041         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7042         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7043         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7044         field.
7045         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7046         EF_MIPS_FP64.
7047         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7048         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7049         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7050         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7051         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7052         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7053         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7054         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7055         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7056         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7057         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7058         record the current FP ABI extension.
7059         (mips-mode-switch): Define to show if kernel headers support mode
7060         switching.
7061         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7062         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7063         supported SYSV ABI version to 3.
7064         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7065         feature.
7067 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7068             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7070         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7071         path.
7072         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7074 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7076         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7077         __fegetround and redefine to call __fegetround.  Remove condition
7078         on [!__NO_MATH_INLINES].
7079         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7080         function.
7081         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7082         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7083         Remove macro.
7084         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7085         instead of <fenv_libc.h>.
7086         (__llrintl): Call fegetround instead of __fegetround.
7087         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7088         instead of <fenv_libc.h>.
7089         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7090         (__lrintl): Call fegetround instead of __fegetround.
7091         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7092         instead of <fenv_libc.h>.
7093         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7094         (__rintl): Call fegetround instead of __fegetround.
7096 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7098         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7099         arrays.
7101 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7103         [BZ #17775]
7104         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7105         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7106         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7108 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7110         * sysdeps/i386/tls-macros.h: Include <features.h>.
7111         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7112         (TLS_IE): Likewise.
7113         (TLS_LD): Likewise.
7114         (TLS_GD): Likewise.
7115         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7116         define for GCC >= 5.0.
7118 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7120         * math/test-fenv.c (test_single_exception, set_single_exc,
7121         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7122         feexcp_mask_test, feenable_test, fe_single_test): Add
7123         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7124         case where they are not used.
7125         * math/libm-test.inc: Likewise.
7126         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7127         unused in the absence of FP rounding/exception support.
7128         * stdio-common/tst-printf-round.c: Likewise.
7129         * stdlib/tst-strtod-round.c: Likewise.
7130         * stdlib/tst-strtod-underflow.c: Likewise.
7132 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7134         [BZ #17723]
7135         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7136         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7137         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7138         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7139         libm_hidden_weak.
7140         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7141         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7142         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7143         libm_hidden_def.
7144         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7145         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7146         libm_hidden_weak.
7147         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7148         Likewise.
7149         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7150         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7151         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7152         libm_hidden_weak.
7153         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7154         libm_hidden_def.
7155         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7156         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7157         (__feraiseexcept): Likewise.
7158         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7159         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7160         libm_hidden_weak.
7161         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7162         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7163         libm_hidden_def.
7164         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7165         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7166         Use libm_hidden_def.
7167         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7168         libm_hidden_def.
7169         (feraiseexcept): Define as weak not strong alias.  Use
7170         libm_hidden_weak.
7171         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7172         New inline function.  Factored out of ...
7173         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7174         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7175         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7176         feraiseexcept.
7177         * math/w_acos.c (__acos): Likewise.
7178         * math/w_asin.c (__asin): Likewise.
7179         * math/w_ilogb.c (__ilogb): Likewise.
7180         * math/w_j0.c (y0): Likewise.
7181         * math/w_j1.c (y1): Likewise.
7182         * math/w_jn.c (yn): Likewise.
7183         * math/w_log.c (__log): Likewise.
7184         * math/w_log10.c (__log10): Likewise.
7185         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7186         * sysdeps/aarch64/fpu/math_private.h
7187         (libc_feupdateenv_test_aarch64): Likewise.
7188         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7189         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7190         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7191         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7192         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7193         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7194         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7195         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7196         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7197         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7199 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7201         [BZ #17732]
7202         * io/test-utime.c (main): Replace %ld with %jd and cast to
7203         intmax_t.
7204         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7205         * nptl/tst-mutex5.c: Include <stdint.h>.
7206         (do_test): Replace %ld with %jd and cast to intmax_t.
7207         * posix/tst-regex.c (run_test): Likewise.
7208         (run_test_backwards): Likewise.
7209         * rt/tst-clock.c: Include <stdint.h>.
7210         (clock_test): Replace %ld with %jd and cast to intmax_t.
7211         * rt/tst-cpuclock1.c: Include <stdint.h>.
7212         (do_test): Replace %lu with %ju and cast to uintmax_t.
7213         * rt/tst-cpuclock2.c: Include <stdint.h>.
7214         (do_test): Replace %lu with %ju and cast to uintmax_t.
7215         * rt/tst-mqueue1.c: Include <stdint.h>.
7216         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7217         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7218         intmax_t.
7219         * rt/tst-mqueue4.c (do_test): Likewise.
7220         * rt/tst-timer4.c: Include <stdint.h>.
7221         (check_ts): Replace %ld with %jd and cast to intmax_t.
7222         (do_test): Likewise.
7223         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7224         and cast to intmax_t.
7225         * sysdeps/pthread/tst-timer.c (main): Likewise.
7226         * time/clocktest.c (main): Likewise.
7227         * time/tst-posixtz.c (do_test): Likewise.
7228         * timezone/tst-timezone.c (main): Likewise.
7230 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7231             H.J. Lu  <hongjiu.lu@intel.com>
7233         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7234         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7235         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7236         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7237         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7238         version if bit_Fast_Unaligned_Load is set.
7239         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7240         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7241         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7242         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7243         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7244         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7246         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7247         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7248         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7249         to 4.
7250         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7251         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7252         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7253         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7255 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7257         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7258         instead of #if to avoid a Wundef warning.
7259         * stdlib/tst-limits.c (do_test): Likewise.
7261         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7262         parallel other exception macros.
7263         (fegetenv): Convert from macro to extern inline so that it applies
7264         retroactively to inline functions already seen by the compiler.
7265         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7267         * posix/Makefile (before-compile): Use $(objpfx) for
7268         posix-conf-vars-def.h.
7270 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7272         * posix/getconf.c (main): Use size_t for type of I.
7273         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7274         NSPEC.
7276         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7277         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7278         * posix/posix-envs.def: Likewise.
7279         * sysdeps/posix/sysconf.c: Likewise.
7280         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7281         (specs): Remove array.
7282         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7283         array.
7285         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7286         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7287         (__sysconf): Use CONF_IS_* macros.
7289         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7290         ($(objpfx)posix-conf-vars-def.h): New target.
7291         * posix/posix-conf-vars.list: New file.
7292         * posix/posix-conf-vars.h: New file.
7293         * posix/confstr.c: Include posix-conf-vars.h.
7294         (confstr): Use CONF_IS_* macros.
7295         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7296         CONF_IS_* macros.
7297         * scripts/gen-posix-conf-vars.awk: New file.
7299 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7301         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7302         fegetround): Add no-op macros to avoid linknamespace issues.
7304         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7305         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7307         * sysdeps/unix/sysv/linux/tile/sysdep.h
7308         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7309         assembly-specific section to avoid a redefinition warning.
7311         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7312         long before casting to pointer to avoid a cast warning.
7314 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7316         * sysdeps/tile/tilegx/Implies: New file.
7318 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7320         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7322 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7324         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7326 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7329         not define.
7330         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7331         <kernel-features.h>.
7332         (__utimes) [__NR_utimes]: Make code unconditional.
7333         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7334         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7335         (__ASSUME_UTIMES): Do not undefine.
7336         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7337         (__ASSUME_UTIMES): Likewise.
7338         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7339         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7340         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7341         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7343 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7345         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7347 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7349         [BZ #17747]
7350         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7351         alias to weak alias for j0l, y0l.
7352         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7353         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7355         [BZ #17746]
7356         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7357         conversion.
7359 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7361         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7362         to zero if not already defined.
7364 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7366         [BZ #17724]
7367         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7368         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7369         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7370         (char *) casts added.
7371         * sysdeps/ieee754/k_standardf.c: New file.
7372         * sysdeps/ieee754/k_standardl.c: Likewise.
7373         * math/Makefile (libm-support): Remove k_standard.
7374         (libm-calls): Add k_standard.
7376 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7378         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7379         Optimize to avoid an unnecessary FPCR read.
7381 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7383         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7384         Optimize to reduce FPCR/FPSR accesses.
7386 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7388         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7389         Call libc_fetestexcept_aarch64.
7391 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7393         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7394         Call libc_fesetround_aarch64.
7396 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7398         [BZ #17733]
7399         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7400         (__bind): Do not define as weak alias.
7401         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7402         define.
7403         (__getsockname): Do not define as weak alias.
7405 2014-12-22  Will Newton  <will.newton@linaro.org>
7407         * manual/install.texi: Document that we require bison 2.7
7408         or above.
7409         * INSTALL: Regenerate.
7410         * configure.ac: Use AC_CHECK_PROG_VER instead of
7411         AC_PATH_PROG when checking for bison and check for
7412         version 2.7 or above.
7413         * configure: Regenerate.
7415 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7417         [BZ #17745]
7418         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7419         * sysdeps/tile/ffsll.c (ffsll): To here.
7421         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7423 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7425         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7426         if not defined.
7427         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7428         definition.
7429         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7430         hidden ___tls_get_addr.
7431         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7432         hidden __tls_get_addr.
7433         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7434         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7435         Likewise.
7437 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7439         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7440         _dl_init call.
7442 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7444         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7445         from "call _dl_init@PLT".
7446         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7448 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7450         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7451         guarantees.
7453 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7455         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7457 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7459         [BZ #17744]
7460         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7461         strnlen.
7463 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7465         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7466         of multu on MIPSr6.
7467         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7468         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7469         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7470         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7471         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7473 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7475         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7476         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7477         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7478         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7479         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7480         mips32r6/mips64r6.
7481         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7483 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7485         * string/strncat.c (STRNCAT): Simplify implementation.
7487 2014-12-19  David S. Miller  <davem@davemloft.net>
7489         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7490         access the quad as both a long double and as a series of 4 words.
7492         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7493         link_map->l_info array access.
7495 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7497         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7499         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7500         * math/atest-exp2.c (TIMEOUT): Likewise.
7501         * math/atest-sincos.c (TIMEOUT): Likewise.
7503 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7505         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7506         -Wno-error with -fno-builtin-lround.
7508 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7510         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7511         Contains futex constants and functions moved over from ...
7512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7513         <lowlevellock-futex.h>.
7514         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7515         (lll_timedwait_tid): Add comments and parentheses around macro
7516         arguments.
7518 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7520         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7521         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7522         (__lll_private_flag): Remove.
7523         (lll_futex_wait): Likewise.
7524         (lll_futex_timed_wait): Likewise.
7525         (lll_futex_wake): Likewise.
7526         (lll_futex_requeue): Likewise.
7527         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7528         (__lll_timedwait_tid): Spell out argument names.
7529         (lll_timedwait_tid): Add comments and parentheses around macro
7530         arguments.
7531         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7532         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7534 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7536         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7537         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7538         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7539         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7540         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7541         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7542         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7543         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7544         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7545         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7546         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7547         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7548         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7549         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7550         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7551         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7552         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7553         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7554         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7556 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7558         * sysdeps/x86_64/x32/Makefile: New file.
7560 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7562         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7563         1L with (mp_limb_t) 1.
7565 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7567         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7568         * nptl/libc_pthread_init.c: ... here.
7569         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7570         * nptl/register-atfork.c: ... here.
7572         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7573         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7574         Use assert_perror to check its return value.
7575         (__gai_create_helper_thread): Likewise.
7577         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7579         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7581 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7583         [BZ #17725]
7584         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7585         __profil_counter.
7586         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7587         Likewise.
7588         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7589         Likewise.
7590         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7591         Likewise.
7592         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7593         (profil_counter): Likewise.
7594         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7595         (profil_counter): Likewise.
7596         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7597         Likewise.
7598         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7599         Likewise.
7600         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7601         (profil_counter): Likewise.
7602         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7603         Likewise.
7604         [!__profil_counter] (profil_counter): Define as weak alias of
7605         __profil_counter.
7606         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7607         (profil_counter): Rename to __profil_counter.
7608         [!__profil_counter] (profil_counter): Define as weak alias of
7609         __profil_counter.
7610         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7611         (profil_counter): Rename to __profil_counter.
7612         [!__profil_counter] (profil_counter): Define as weak alias of
7613         __profil_counter.
7614         * sysdeps/posix/profil.c: Update comment referring to
7615         profil_counter.
7616         (__profil): Use __profil_counter instead of profil_counter.
7617         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7618         __profil_counter.  Use __profil_counter_ushort and
7619         __profil_counter_uint in definitions.
7620         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7621         instead of profil_counter_uint and profil_counter_ushort.
7623         [BZ #17722]
7624         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7625         define as weak alias of __inet_makeaddr.
7626         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7627         as weak alias of __inet_addr.
7628         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7629         as weak alias of __inet_pton.  Use libc_hidden_weak.
7630         * include/arpa/inet.h (__inet_pton): Declare.  Use
7631         libc_hidden_proto.
7632         (inet_makeaddr): Don't use libc_hidden_proto.
7633         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7634         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7635         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7636         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7637         Remove variable.
7638         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7639         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7641 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7643         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7645 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7647         * stdio-common/bug-vfprintf-nargs.c (do_test):
7648         Cast value to intptr_t to avoid format warning
7649         for usage with PRIdPTR printing macro.
7651 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7653         * libio/tst-widetext.c (do_test):
7654         Use format type %td instead of %Zd for ptrdiff_t
7655         in order to avoid format warning.
7657 2014-12-17  Andreas Schwab  <schwab@suse.de>
7659         * nscd/mem.c (gc): Add size_t cast to match printf format.
7661 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7663         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7664         (init): Apply PTR_MANGLE to pointers before storing them.
7665         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7666         before using them.
7668 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7670         [BZ #17719]
7671         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7672         define as weak alias of __memrchr.
7673         (__memrchr): Do not define as strong alias of memrchr.
7674         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7675         Remove variable.
7676         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7677         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7678         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7680         [BZ #17717]
7681         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7682         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7683         (if_indextoname): Rename to __if_indextoname and define as weak
7684         alias of __if_indextoname.  Use libc_hidden_weak.
7685         (if_freenameindex): Rename to __if_freenameindex and define as
7686         weak alias of __if_freenameindex.
7687         (if_nameindex): Rename to __if_nameindex and define as weak alias
7688         of __if_nameindex.
7689         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7690         __if_nametoindex and define as weak alias of __if_nametoindex.
7691         Use libc_hidden_weak.
7692         (if_freenameindex): Rename to __if_freenameindex and define as
7693         weak alias of __if_freenameindex.
7694         (if_nameindex): Rename to __if_nameindex and define as weak alias
7695         of __if_nameindex.
7696         (if_indextoname): Rename to __if_indextoname and define as weak
7697         alias of __if_indextoname.  Use libc_hidden_weak.
7698         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7699         __if_nametoindex and define as weak alias of __if_nametoindex.
7700         Use libc_hidden_weak.
7701         (if_freenameindex): Rename to __if_freenameindex and define as
7702         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7703         (if_nameindex_netlink): Use __if_freenameindex instead of
7704         if_freenameindex.
7705         (if_nameindex): Rename to __if_nameindex and define as weak alias
7706         of __if_nameindex.  Use libc_hidden_weak.
7707         (if_indextoname): Rename to __if_indextoname and define as weak
7708         alias of __if_indextoname.  Use libc_hidden_weak.
7709         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7710         libc_hidden_proto.
7711         [!_ISOMAC] (__if_freenameindex): Likewise.
7712         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7713         if_nametoindex.
7714         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7715         variable.
7716         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7717         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7718         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7719         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7720         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7721         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7722         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7724         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7725         Remove variable.
7726         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7727         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7729 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7731         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7732         subscript above bounds'
7734         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7735         bounds.
7737 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7739         * libio/tst-fopenloc.c: Use test-skeleton.c.
7741         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7742         (entry): Rename to ITEM.
7743         (do_test, comp): Adjust.
7745         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7747 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7749         * string/tester.c: Include <libc-internal.h>.
7750         (test_memset): Ignore -Wmemset-transposed-args.
7752 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7754         * misc/tst-mntent2.c (do_test): Fix warning.
7756 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7758         * elf/tst-unique4lib.cc(a): Mark as used.
7760 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7762         [BZ #17630]
7763         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7764         names.
7766 2014-12-16  Allan McRae  <allan@archlinux.org>
7768         * stdio-common/Makefile (tests): Re-add bug26.
7770 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7772         [BZ #17657]
7773         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7774         static array.
7776 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7778         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7779         (__lll_lock_wait): Likewise.
7780         (__lll_timedlock_wait): Likewise.
7781         (__lll_timedwait_tid): Likewise.
7782         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7783         (__lll_robust_timedlock_wait): Likewise.
7784         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7785         (lll_cond_trylock): Likewise.
7786         (__lll_lock): Likewise.
7787         (__lll_robust_lock): Likewise.
7788         (__lll_cond_lock): Likewise.
7789         (lll_robust_cond_lock): Likewise.
7790         (__lll_timedlock): Likewise.
7791         (__lll_robust_timedlock): Likewise.
7792         (__lll_unlock): Likewise.
7793         (__lll_robust_unlock): Likewise.
7794         (lll_wait_tid): Likewise.
7795         (lll_timedwait_tid): Likewise.
7797 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7799         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7801 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7803         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7805 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7807         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7808         * stdio-common/tst-sprintf.c: Likewise.
7810 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7812         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7814 2014-12-15  Jeff Law  <law@redhat.com>
7816         [BZ #16617]
7817         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7818         on the heap.  (CVE-2012-3406)
7819         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7820         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7821         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7823 2014-12-15  Will Newton  <will.newton@linaro.org>
7825         * manual/install.texi: Bump required version of texinfo
7826         to 4.7 from 4.5.
7827         * INSTALL: Regenerated.
7828         * configure.ac: Check for makeinfo version 4.7 and above.
7829         * configure: Regenerated.
7831 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7833         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7834         PREFIX, string constant to insert between directory and name.
7835         * sysdeps/posix/shm_open.c: Update caller.
7836         * sysdeps/posix/shm_unlink.c: Likewise.
7837         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7838         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7839         (SEM_SHM_PREFIX): New macro.
7840         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7841         [$(have-thread-library) = no].
7842         * nptl/Makefile (libpthread-routines): Add shm-directory.
7843         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7844         * sysdeps/nptl/shm-directory.h: New file.
7845         * sysdeps/posix/shm-directory.c
7846         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7847         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7848         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7849         INTERNAL_SYSCALL.
7850         (__where_is_shmfs): Function removed.
7851         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7852         Variables removed.
7853         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7854         Use SHM_GET_NAME.
7855         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7857         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7858         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7859         unconditional for use inside libpthread.
7860         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7862 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7864         * nptl/pthread_getaffinity.c: New file.
7865         * nptl/pthread_setaffinity.c: New file.
7866         * nptl/pthread_getname.c: New file.
7867         * nptl/pthread_setname.c: New file.
7869         * nptl/pthread_create.c (START_THREAD_DEFN)
7870         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7872 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7873             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7875         * resolv/res_send.c (send_vc): Disable warning resplen may
7876         be used uninitialized.
7878 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7880         * nptl/tst-mutex6.c
7881         (ATTR_NULL): New define checks ATTR against NULL.
7882         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7883         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7885 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7887         [BZ #17581]
7888         * malloc/hooks.c
7889         (mem2mem_check): Revert my previous change.
7890         (malloc_check_get_size): Revert my previous change.
7891         (mem2chunk_check): Revert my previous change.
7893 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7895         * sysdeps/posix/shm-directory.c: New file.
7896         * sysdeps/posix/shm-directory.h: New file.
7897         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7898         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7899         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7900         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7901         Transmute EPERM to EACCES.
7902         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7903         from ...
7904         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7905         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7907 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7909         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7910         pointer and cast to uintptr_t.
7911         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7912         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7913         Add cast to avoid warning.
7914         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7916 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7918         * nptl/semaphore.h: Move to ...
7919         * sysdeps/pthread/semaphore.h: ... here.
7920         * Makefile (installed-headers): Change nptl/semaphore.h to
7921         sysdeps/pthread/semaphore.h.
7923 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7925         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7926         generated error format strings.
7928         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7929         -Wformat-extra-args warnings for scanf formats.
7930         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7931         test of zero-length format (duh).
7932         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7933         corner-case scanf format test.
7934         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7935         generated fprintf format string.
7936         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7937         corner-case sprintf format tests.
7938         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7939         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7940         -Wformat-extra-args warnings throughout.
7941         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7942         (CFLAGS-scanf4.c): Likewise.
7943         (CFLAGS-scanf7.c): Likewise.
7944         (CFLAGS-tst-sprintf.c): Likewise.
7945         (CFLAGS-tst-printf.c): Likewise.
7946         (CFLAGS-tst-printfsz.c): Likewise.
7948 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7950         * include/cpio.h: New file.
7951         * include/fmtmsg.h: Likewise.
7953         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7954         corresponding format argument to size_t.
7955         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7956         arguments.
7957         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7958         corresponding format argument to size_t.
7959         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7960         arguments.
7961         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7962         corresponding format argument to size_t.
7963         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7964         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7965         (CFLAGS-tst-mbswcs2.c): Likewise.
7966         (CFLAGS-tst-mbswcs3.c): Likewise.
7967         (CFLAGS-tst-mbswcs4.c): Likewise.
7968         (CFLAGS-tst-mbswcs5.c): Likewise.
7969         (CFLAGS-tst-trans.c): Likewise
7971 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7973         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7974         rather than assuming they won't contain any '%'s.
7976 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7978         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7979         inhibit_loop_to_libcall to avoid recursive calls.
7980         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7981         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7983 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7985         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7986         prototype.
7988 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7990         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7991         integer value instead of boolean.
7993 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7995         * malloc/malloc.c: Fix powerof2 check.
7997 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7999         * locale/programs/locfile.h (maybe_swap_uint32):
8000         Remove inline and add unused attribute.
8002 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8004         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8005         Truncating assembler expression to a .long expression.
8007 2014-12-11  Andreas Schwab  <schwab@suse.de>
8009         * elf/rtld.c (struct map_args): Constify str member.
8010         (do_preload): Constify fname argument.
8012 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8014         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8015         constants definition.
8017 2014-12-11  Andreas Schwab  <schwab@suse.de>
8019         [BZ #16657]
8020         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8021         FORCE_ELISION instead of DO_ELISION.
8022         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8023         Remove.
8024         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8025         Likewise.
8027         * iconvdata/gconv-modules: Remove duplicate entry.
8029 2014-12-11  Will Newton  <will.newton@linaro.org>
8031         Merge gettext 0.19.3 into intl/.
8033         This involves a number of cosmetic changes to comments
8034         and ANSI function definitions and prototypes throughout
8035         all the files. The gettext copyright header is used but
8036         with the date ranges taken from the glibc copy.
8038         * NEWS: Add gettext merge to 2.21.
8039         * intl/bindtextdom.c: Switch to gettext copyright.
8040         Use ANSI definitions and prototypes.
8041         Use gl_* locking primitives rather than __libc_* ones.
8042         Use __builtin_expect rather than __glibc_likely/unlikely.
8043         * intl/dcgettext.c: Switch to gettext copyright.
8044         Use ANSI definitions and prototypes.
8045         * intl/dcigettext.c: Switch to gettext copyright.
8046         Use ANSI definitions and prototypes.
8047         (INTDIV0_RAISES_SIGFPE): New define.
8048         Use gl_* locking primitives rather than __libc_* ones.
8049         Include eval-plural.h instead of plural-eval.c.
8050         Use __builtin_expect rather than __glibc_likely/unlikely.
8051         * intl/dcngettext.c: Switch to gettext copyright.
8052         Use ANSI definitions and prototypes.
8053         * intl/dgettext.c: Likewise.
8054         * intl/dngettext.c: Likewise.
8055         * intl/plural-eval.c: Renamed to...
8056         * intl/eval-plural.h: ...this.
8057         * intl/explodename.c: Switch to gettext copyright.
8058         Use ANSI definitions and prototypes.
8059         (_nl_explode_name): Use strchr instead of __rawmemchr.
8060         * intl/finddomain.c: Switch to gettext copyright.
8061         Use ANSI definitions and prototypes.
8062         Use gl_* locking primitives rather than __libc_* ones.
8063         (_nl_find_domain): Use malloc rather than alloca for
8064         allocation of temporary locale name.
8065         * intl/gettext.c: Switch to gettext copyright.
8066         Use ANSI definitions and prototypes.
8067         * intl/gettextP.h: Switch to gettext copyright.
8068         Use ANSI definitions and prototypes.
8069         Use gl_* locking primitives rather than __libc_* ones.
8070         * intl/gmo.h: Switch to gettext copyright.
8071         (struct sysdep_string): Move struct segment_pair outside of
8072         struct definition.
8073         * intl/hash-string.c: Use ANSI definitions and prototypes.
8074         * intl/hash-string.h: Switch to gettext copyright.
8075         Use ANSI definitions and prototypes.
8076         * intl/l10nflist.c: Switch to gettext copyright.
8077         Use ANSI definitions and prototypes.
8078         (_nl_normalize_codeset): Avoid integer overflow.
8079         * intl/loadinfo.h: Switch to gettext copyright.
8080         Use ANSI definitions and prototypes.
8081         (LIBINTL_DLL_EXPORTED): New define.
8082         (PATH_SEPARATOR): New define.
8083         * intl/loadmsgcat.c: Switch to gettext copyright.
8084         * intl/localealias.c: Switch to gettext copyright.
8085         Use ANSI definitions and prototypes.
8086         (_nl_expand_alias): Use PATH_SEPARATOR.
8087         * intl/ngettext.c: Switch to gettext copyright.
8088         Use ANSI definitions and prototypes.
8089         * intl/plural-exp.c: Likewise.
8090         * intl/plural-exp.h: Switch to gettext copyright.
8091         Use ANSI definitions and prototypes.
8092         (struct expression): Move definition of enum operator outside
8093         of struct definition.
8094         * intl/plural.c: Regenerate.
8095         * intl/plural.y: Switch to gettext copyright.
8096         Use ANSI definitions and prototypes.
8097         Port to bison 3.0.
8098         * intl/textdomain.c: Switch to gettext copyright.
8099         Use ANSI definitions and prototypes.
8100         Use gl_* locking primitives rather than __libc_* ones.
8102 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8104         * debug/warning-nop.c: Add used atrribute.
8106 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8108         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8110         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8111         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8112         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8114 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8115             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8117         [BZ #17634]
8118         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8119         Undefine after defining function.  Define as weak alias of
8120         __wcschr.  Use libc_hidden_weak.
8121         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8122         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8123         (libc_hidden_def): Also define __GI___wcschr alias.
8124         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8125         __wcschr and define as weak alias of __wcschr.
8126         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8127         __wcschr.
8128         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8129         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8130         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8131         libc_hidden_weak.  Do not use libc_hidden_def.
8132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8133         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8134         __GI___wcschr alias.
8135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8136         [IS_IN (libc)] (wcschr): Define as macro expanding to
8137         __redirect_wcschr.
8138         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8139         [IS_IN (libc)] (__wcschr_power6): Likewise.
8140         [IS_IN (libc)] (__wcschr_power7): Likewise.
8141         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8142         instead of wcschr.
8143         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8144         __libc_wcschr.
8145         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8146         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8147         __wcschr and define as weak alias of __wcschr.  Use
8148         libc_hidden_builtin_def.
8149         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8150         as weak alias of __wcschr.  Use libc_hidden_weak.
8151         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8152         wcschr.
8153         * time/era.c (_nl_init_era_entries): Likewise.
8154         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8155         variable.
8156         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8157         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8159 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8161         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8162         format for long int variable.
8164 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8166         [BZ #10672]
8167         * manual/search.texi: (Array Sort Function): Remove claim how to make
8168         qsort stable.
8170 2014-12-10  Andreas Schwab  <schwab@suse.de>
8172         [BZ #12847]
8173         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8174         user-controlled locks.
8176 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8178         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8179         register.
8181 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8183         * configure.ac (--disable-werror): New configure option.
8184         (enable_werror): New AC_SUBST.
8185         * configure: Regenerated.
8186         * config.make.in (enable-werror): New variable.
8187         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8188         -Wno-error=undef.
8189         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8190         * manual/install.texi (Configuring and compiling): Document
8191         --disable-werror.
8192         * INSTALL: Regenerated.
8193         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8194         (CFLAGS-tst-chk2.c): Likewise.
8195         (CFLAGS-tst-chk3.c): Likewise.
8196         (CFLAGS-tst-chk4.cc): Likewise.
8197         (CFLAGS-tst-chk5.cc): Likewise.
8198         (CFLAGS-tst-chk6.cc): Likewise.
8199         (CFLAGS-tst-lfschk1.c): Likewise.
8200         (CFLAGS-tst-lfschk2.c): Likewise.
8201         (CFLAGS-tst-lfschk3.c): Likewise.
8202         (CFLAGS-tst-lfschk4.cc): Likewise.
8203         (CFLAGS-tst-lfschk5.cc): Likewise.
8204         (CFLAGS-tst-lfschk6.cc): Likewise.
8206         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8207         (main): Disable -Wdeprecated-declarations around calls to
8208         register_printf_function.
8210         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8211         (do_test): Disable -Wdiv-by-zero around some calls to
8212         fwrite_unlocked and fread_unlocked.
8214         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8215         (DIAG_POP_NEEDS_COMMENT): Likewise.
8216         (_DIAG_STR1): Likewise.
8217         (_DIAG_STR): Likewise.
8218         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8219         * stdio-common/bug21.c: Include <libc-internal.h>.
8220         (do_test): Disable -Wformat around call to sscanf.
8221         * stdio-common/scanf14.c: Include <libc-internal.h>.
8222         (main): Disable -Wformat around some calls to scanf functions.
8224 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8226         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8228 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8230         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8231         stack variable alignment.
8233 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8235         [BZ #17682]
8236         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8237         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8238         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8239         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8240         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8241         __getrlimit instead of getrlimit.
8242         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8243         __gettimeofday instead of gettimeofday.
8244         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8245         Likewise.
8246         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8247         Likewise.
8248         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8249         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8250         Remove variable.
8251         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8252         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8254 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8256         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8257         for wide-character tests.
8259 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8261         * io/openat64.c: #include <libc-internal.h>
8262         (__openat64): Prototypify.  Use ignore_value on MODE.
8263         * io/openat.c: Likewise.
8264         * misc/reboot.c: #include <libc-internal.h>
8265         (reboot): Prototypify.  Use ignore_value on HOWTO.
8266         * misc/ptrace.c: #include <libc-internal.h>
8267         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8269 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8271         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8272         XPG4, UNIX98 and XOPEN2K.
8273         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8274         Remove variable.
8275         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8277 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8279         * libio/fileops.c: Use ISO C style for function definitions.
8280         * libio/iofopen.c: Likewise.
8281         * libio/wfileops.c: Likewise.
8283         [BZ #17653]
8284         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8285         offset on EOF.
8286         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8287         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8288         (fgets_func): Function pointer to fgets and fgetws.
8289         (do_ftell_test): Add test to verify ftell value after read
8290         EOF.
8291         (do_test): Set fgets_func.
8293         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8294         O_TRUNC flag for w and w+ modes.
8295         (do_rewind_test): Likewise.
8296         (do_ftell_test): Likewise.
8297         (do_write_test): Likewise.
8299         [BZ #17647]
8300         * libio/fileops.c (do_ftell): Seek only when there are
8301         unflushed writes.
8302         * libio/wfileops.c (do_ftell_wide): Likewise.
8303         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8304         test case.
8305         (do_one_test): Call it.
8307 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8309         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8310         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8311         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8312         Remove variable.
8313         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8314         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8315         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8317 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8319         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8320         Remove variable.
8321         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8323         [BZ #17668]
8324         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8325         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8326         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8327         __freeifaddrs.  Use libc_hidden_weak.
8328         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8329         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8330         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8331         __freeifaddrs.  Use libc_hidden_weak.
8332         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8333         __getifaddrs and define as weak alias of __getifaddrs.  Use
8334         libc_hidden_weak.
8335         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8336         __freeifaddrs.  Use libc_hidden_weak.
8337         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8338         Remove variable.
8339         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8340         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8342 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8344         [BZ #17601]
8345         * sysdeps/mips/start.S (__start): Use indirect jump to call
8346         __libc_start_main.
8348 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8350         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8352         * nptl/tst-mutex1.c: Include <stdbool.h>.
8353         [!ATTR] (ATTR_NULL): New macro.
8354         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8355         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8356         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8358         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8359         to char *.
8361         [BZ #17665]
8362         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8363         Change conditional to [__USE_MISC].
8365         [BZ #17664]
8366         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8367         fgets_unlocked.
8368         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8369         __fgets_unlocked.
8370         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8371         fgets_unlocked.
8372         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8373         Remove variable.
8374         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8375         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8376         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8377         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8378         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8379         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8380         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8381         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8382         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8384         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8386 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8388         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8389         Remove strpbrk objects.
8390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8391         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8392         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8393         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8394         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8395         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8397         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8398         Remove strcspn objects.
8399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8400         (__libc_ifunc_impl_list): Remove strcspn implementation.
8401         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8402         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8403         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8404         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8407         Remove strspn objetcs.
8408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8409         (__libc_ifunc_impl_list): Remove strspn implementation.
8410         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8411         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8412         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8413         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8415 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8417         [BZ #17581]
8418         * malloc/hooks.c
8419         (mem2mem_check): Add a terminator to the chain of checking blocks.
8420         (malloc_check_get_size): Use it here.
8421         (mem2chunk_check): Ditto.
8423 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8425         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8426         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8428 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8430         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8432         * nptl/nptl-init.c: Include libc-internal.h.
8433         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8435         * elf/ldconfig.c (search_dir): Expand comment.
8437 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8439         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8440         variable.
8441         (linknamespace-symlist-stdlibs-tests): Likewise.
8442         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8443         instead of $(objpfx)symlist-stdlibs.
8444         (linknamespace-libs-isoc): New variable.
8445         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8446         (linknamespace-libs-ISO): New variable.
8447         (linknamespace-libs-ISO99): Likewise.
8448         (linknamespace-libs-ISO11): Likewise.
8449         (linknamespace-libs-XPG3): Likewise.
8450         (linknamespace-libs-XPG4): Likewise.
8451         (linknamespace-libs-POSIX): Likewise.
8452         (linknamespace-libs-UNIX98): Likewise.
8453         (linknamespace-libs-XOPEN2K): Likewise.
8454         (linknamespace-libs-POSIX2008): Likewise.
8455         (linknamespace-libs-XOPEN2K8): Likewise.
8456         ($(objpfx)symlist-stdlibs): Replace by
8457         $(linknamespace-symlist-stdlibs-tests).  Use
8458         $(linknamespace-libs-$*) as set of libraries.
8459         ($(linknamespace-header-tests)): Update dependencies.  Use
8460         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8461         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8462         * conform/linknamespace.pl: Remove comment about considering
8463         definitions of symbols from irrelevant libraries.
8465 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8467         [BZ #13862]
8468         * elf/dl-tls.c: Include <atomic.h>.
8469         (oom): Remove #ifdef SHARED/#endif.
8470         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8471         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8472         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8473         big enough.
8474         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8475         * nptl/Makefile (tests): Add tst-stack4.
8476         (modules-names): Add tst-stack4mod.
8477         ($(objpfx)tst-stack4): New.
8478         (tst-stack4mod.sos): Likewise.
8479         ($(objpfx)tst-stack4.out): Likewise.
8480         ($(tst-stack4mod.sos)): Likewise.
8481         (clean): Likewise.
8482         * nptl/tst-stack4.c: New file.
8483         * nptl/tst-stack4mod.c: Likewise.
8485 2014-11-27  J. Brown  <jb999@gmx.de>
8487         * sysdeps/x86/bits/string.h: Add recent CPUs.
8489 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8491         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8492         sigblock.
8494         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8495         feof.
8497         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8498         variable.
8500 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8502         * nscd/connections.c: Include libc-internal.h because of macro
8503         usage ignore_value.
8505 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8507         * string/bits/string3.h (__warn_memset_zero_len): Don't
8508         declare for gcc newer than 5.0.
8509         (memset): Don't test for zero-length __LEN for gcc newer than
8510         5.0.
8512 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8514         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8515         size_t for %zu format.
8517         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8518         difference, not %ju.
8520 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8522         * include/libc-internal.h (ignore_value): New macro.
8523         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8524         with ignore_value.
8526         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8527         definition.
8529         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8530         pthread_cleanup_push to void *.
8532         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8533         Undefine.
8535         [BZ #16619]
8536         [BZ #16740]
8537         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8538         instead of 1L << 52.
8540         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8541         * libio/bug-rewind2.c (do_test): Likewise.
8543         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8544         * debug/test-strcpy_chk-ifunc.c: Likewise.
8545         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8546         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8547         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8548         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8549         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8550         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8551         * Rules [$(multi-arch) = no] (tests): Do not filter out
8552         $(tests-ifunc).
8553         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8554         * debug/Makefile (tests-ifunc): Remove variable.
8555         (tests): Do not add $(tests-ifunc).
8556         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8557         (tests): Do not add $(tests-ifunc).
8558         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8559         [TEST_IFUNC]: Remove conditionals.
8560         * string/test-string.h (TEST_IFUNC): Remove macro.
8561         [TEST_IFUNC]: Remove conditionals.
8563         * string/test-strchr.c [!WIDE] (L): New macro.
8564         [WIDE] (L): Likewise.
8565         (check1): Use CHAR instead of char.  Use L on string and character
8566         constants.
8568 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8570         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8571         tests.
8572         * sysdeps/powerpc/bits/atomic.h
8573         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8574         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8575         (atomic_exchange_and_add_acq): Likewise.
8576         (atomic_exchange_and_add_rel): Likewise.
8577         * sysdeps/powerpc/powerpc32/bits/atomic.h
8578         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8579         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8580         * sysdeps/powerpc/powerpc64/bits/atomic.h
8581         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8582         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8584 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8586         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8587         Change synchronization of __sched_fifo_min_prio and
8588         __sched_fifo_max_prio.
8589         * nptl/pthread_mutexattr_getprioceiling.c
8590         (pthread_mutexattr_getprioceiling): Likewise.
8591         * nptl/pthread_mutexattr_setprioceiling.c
8592         (pthread_mutexattr_setprioceiling): Likewise.
8593         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8594         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8595         Likewise.
8597 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8599         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8600         void.
8602 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8604         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8605         third argument const.
8607 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8609         fnmatch: work around GCC compiler warning bug with uninit var
8610         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8611         This works around a bug with x86-64 GCC 4.9.2 and earlier
8612         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8613         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8614         used uninitialized in this function [-Wmaybe-uninitialized]".
8616 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8618         * posix/bug-regex31.c (main): Return RES not 0.
8620 2014-11-25  Anton Blanchard <anton@samba.org>
8622         * sysdeps/powerpc/bits/atomic.h
8623         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8625 2014-11-24  Sterling Augustine  <saugustine@google.com>
8627         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8629 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8631         [BZ #17608]
8632         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8634 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8636         [BZ #17633]
8637         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8638         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8639         variable.
8640         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8641         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8643 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8645         * string/strncpy.c (strncpy): Improve performance by using memset.
8647 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8649         * string/strcpy.c (strcpy):
8650         Improve performance by using strlen and memcpy.
8652 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8654         * string/strcoll_l.c (get_next_seq): __always_inline.
8655         * string/strcoll_l.c (do_compare): __always_inline.
8657 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8659         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8660         defined.
8661         * include/mqueue.h: Likewise.
8662         * include/stdlib.h: Likewise.
8664         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8665         (get_null_defines): Adjust.
8666         * sunrpc/Makefile: Adjust comment.
8667         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8668         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8669         (CFLAGS-interp.c): Likewise.
8670         (CFLAGS-ldconfig.c): Likewise.
8671         (CPPFLAGS-.os): Likewise.
8672         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8673         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8674         * extra-modules.mk (extra-modules.mk): Likewise.
8675         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8676         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8677         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8678         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8679         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8680         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8681         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8682         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8683         * iconvdata/Makefile (CPPFLAGS): Likewise.
8684         (cpp-srcs-left): Add libof for all iconvdata routines.
8685         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8686         * include/assert.h: Likewise.
8687         * include/ctype.h: Likewise.
8688         * include/errno.h: Likewise.
8689         * include/libc-symbols.h: Likewise.
8690         * include/math.h: Likewise.
8691         * include/netdb.h: Likewise.
8692         * include/resolv.h: Likewise.
8693         * include/stdio.h: Likewise.
8694         * include/stdlib.h: Likewise.
8695         * include/string.h: Likewise.
8696         * include/sys/stat.h: Likewise.
8697         * include/wctype.h: Likewise.
8698         * intl/l10nflist.c: Likewise.
8699         * libidn/idn-stub.c: Likewise.
8700         * libio/libioP.h: Likewise.
8701         * nptl/libc_multiple_threads.c: Likewise.
8702         * nptl/pthreadP.h: Likewise.
8703         * posix/regex_internal.h: Likewise.
8704         * resolv/res_hconf.c: Likewise.
8705         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8706         * sysdeps/arm/memmove.S: Likewise.
8707         * sysdeps/arm/sysdep.h: Likewise.
8708         * sysdeps/generic/_itoa.h: Likewise.
8709         * sysdeps/generic/symbol-hacks.h: Likewise.
8710         * sysdeps/gnu/errlist.awk: Likewise.
8711         * sysdeps/gnu/errlist.c: Likewise.
8712         * sysdeps/i386/i586/memcpy.S: Likewise.
8713         * sysdeps/i386/i586/memset.S: Likewise.
8714         * sysdeps/i386/i686/memcpy.S: Likewise.
8715         * sysdeps/i386/i686/memmove.S: Likewise.
8716         * sysdeps/i386/i686/mempcpy.S: Likewise.
8717         * sysdeps/i386/i686/memset.S: Likewise.
8718         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8719         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8720         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8721         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8722         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8723         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8724         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8725         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8727         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8728         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8729         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8730         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8731         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8732         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8733         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8734         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8735         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8736         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8737         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8738         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8739         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8740         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8741         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8742         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8743         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8744         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8745         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8746         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8747         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8748         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8749         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8751         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8752         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8753         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8754         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8755         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8756         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8757         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8758         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8759         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8760         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8761         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8762         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8763         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8764         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8765         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8766         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8767         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8768         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8769         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8770         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8771         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8772         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8773         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8774         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8775         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8776         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8777         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8778         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8779         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8780         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8781         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8782         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8783         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8784         * sysdeps/posix/closedir.c: Likewise.
8785         * sysdeps/posix/opendir.c: Likewise.
8786         * sysdeps/posix/readdir.c: Likewise.
8787         * sysdeps/posix/rewinddir.c: Likewise.
8788         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8789         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8790         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8791         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8792         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8793         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8798         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8799         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8800         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8801         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8802         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8803         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8804         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8805         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8806         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8807         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8808         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8809         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8810         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8811         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8813         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8816         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8823         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8824         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8825         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8826         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8827         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8828         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8829         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8830         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8831         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8832         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8833         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8834         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8835         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8836         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8837         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8838         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8839         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8840         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8841         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8842         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8843         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8844         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8845         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8846         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8847         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8848         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8849         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8850         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8851         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8852         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8853         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8854         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8855         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8856         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8857         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8858         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8859         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8860         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8861         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8862         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8863         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8864         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8865         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8866         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8867         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8868         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8869         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8870         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8872         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8873         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8874         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8875         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8876         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8878         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8879         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8880         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8881         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8882         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8884         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8885         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8886         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8887         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8888         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8889         * sysdeps/unix/alpha/sysdep.S: Likewise.
8890         * sysdeps/unix/alpha/sysdep.h: Likewise.
8891         * sysdeps/unix/make-syscalls.sh: Likewise.
8892         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8894         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8895         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8896         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8897         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8898         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8899         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8900         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8901         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8902         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8903         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8905         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8906         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8907         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8908         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8909         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8910         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8911         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8912         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8913         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8914         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8915         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8916         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8917         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8921         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8922         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8926         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8930         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8931         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8932         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8933         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8934         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8935         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8936         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8939         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8942         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8943         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8944         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8945         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8946         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8947         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8948         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8950         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8951         * sysdeps/x86_64/memcpy.S: Likewise.
8952         * sysdeps/x86_64/memmove.c: Likewise.
8953         * sysdeps/x86_64/memset.S: Likewise.
8954         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8955         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8956         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8957         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8958         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8959         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8960         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8961         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8962         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8963         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8964         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8965         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8966         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8967         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8968         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8969         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8970         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8971         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8972         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8973         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8974         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8975         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8976         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8977         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8978         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8979         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8980         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8981         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8982         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8983         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8984         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8985         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8986         * sysdeps/x86_64/strcmp.S: Likewise.
8988         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8990         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8991         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8992         * elf/rtld-Rules: Likewise.
8993         * elf/setup-vdso.h: Likewise.
8994         * include/assert.h: Likewise.
8995         * include/bits/stdlib-float.h: Likewise.
8996         * include/errno.h: Likewise.
8997         * include/sys/stat.h: Likewise.
8998         * include/unistd.h: Likewise.
8999         * sysdeps/aarch64/setjmp.S: Likewise.
9000         * sysdeps/alpha/setjmp.S: Likewise.
9001         * sysdeps/arm/__longjmp.S: Likewise.
9002         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9003         * sysdeps/arm/setjmp.S: Likewise.
9004         * sysdeps/arm/sysdep.h: Likewise.
9005         * sysdeps/generic/_itoa.h: Likewise.
9006         * sysdeps/generic/dl-sysdep.h: Likewise.
9007         * sysdeps/generic/ldsodefs.h: Likewise.
9008         * sysdeps/i386/dl-tls.h: Likewise.
9009         * sysdeps/i386/setjmp.S: Likewise.
9010         * sysdeps/m68k/setjmp.c: Likewise.
9011         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9012         * sysdeps/mach/hurd/opendir.c: Likewise.
9013         * sysdeps/posix/getcwd.c: Likewise.
9014         * sysdeps/posix/opendir.c: Likewise.
9015         * sysdeps/posix/profil.c: Likewise.
9016         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9017         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9018         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9019         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9020         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9021         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9022         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9023         * sysdeps/s390/dl-tls.h: Likewise.
9024         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9025         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9026         * sysdeps/sh/sh3/setjmp.S: Likewise.
9027         * sysdeps/sh/sh4/setjmp.S: Likewise.
9028         * sysdeps/unix/alpha/sysdep.h: Likewise.
9029         * sysdeps/unix/arm/sysdep.S: Likewise.
9030         * sysdeps/unix/i386/sysdep.S: Likewise.
9031         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9032         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9033         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9034         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9035         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9036         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9037         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9038         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9040         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9041         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9042         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9043         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9046         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9049         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9050         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9053         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9054         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9055         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9058         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9059         * sysdeps/x86_64/setjmp.S: Likewise.
9061         * include/math.h: Use IS_IN instead of IS_IN_libm.
9062         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9063         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9064         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9065         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9066         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9067         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9068         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9069         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9071         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9072         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9073         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9074         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9075         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9076         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9077         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9078         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9079         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9080         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9081         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9082         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9083         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9084         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9085         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9086         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9087         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9088         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9089         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9090         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9091         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9092         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9093         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9094         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9096         Likewise.
9097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9098         Likewise.
9099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9100         Likewise.
9101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9102         Likewise.
9103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9104         Likewise.
9105         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9106         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9107         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9108         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9109         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9110         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9116         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9117         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9118         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9119         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9120         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9121         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9122         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9123         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9124         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9125         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9126         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9127         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9129         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9131         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9133         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9134         * nptl/pthreadP.h: Likewise.
9135         * nptl_db/structs.def: Likewise.
9136         * sysdeps/arm/sysdep.h: Likewise.
9137         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9138         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9139         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9140         * sysdeps/unix/alpha/sysdep.h: Likewise.
9141         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9143         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9144         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9145         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9146         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9147         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9148         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9149         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9150         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9151         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9152         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9153         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9154         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9159         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9162         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9163         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9164         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9165         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9166         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9168         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9169         * nptl/pthreadP.h: Likewise.
9170         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9171         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9172         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9173         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9174         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9175         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9176         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9177         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9178         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9179         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9180         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9181         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9183         Likewise.
9184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9185         Likewise.
9186         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9188         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9189         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9190         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9191         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9192         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9193         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9195         * dlfcn/dladdr.c: Use IS_IN.
9196         * dlfcn/dladdr1.c: Likewise.
9197         * dlfcn/dlclose.c: Likewise.
9198         * dlfcn/dlerror.c: Likewise.
9199         * dlfcn/dlinfo.c: Likewise.
9200         * dlfcn/dlmopen.c: Likewise.
9201         * dlfcn/dlopen.c: Likewise.
9202         * dlfcn/dlsym.c: Likewise.
9203         * dlfcn/dlvsym.c: Likewise.
9205         * include/ifaddrs.h: Use IS_IN.
9206         * inet/check_pf.c: Likewise.
9207         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9208         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9210         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9211         IS_IN_ldconfig.
9212         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9213         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9215         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9216         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9217         IS_IN (libc).
9219         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9221         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9222         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9223         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9224         * include/libc-symbols.h (IS_IN_LIB): New macro.
9225         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9226         * include/netdb.h: Likewise.
9227         * include/stap-probe.h: Remove all uses of IN_LIB.
9229         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9230         instead of IN_MODULE.
9231         * include/libc-symbols.h (IN_MODULE): Define using
9232         MODULE_NAME.
9233         (PASTE_NAME, PASTE_NAME1): New macros.
9234         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9235         of IN_LIB.
9236         (STAP_PROBE_ASM): Likewise.
9238 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9240         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9241         __mach_init in dlopened libc.
9243 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9245         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9246         * sysdeps/arm/preconfigure: Regenerate.
9248 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9250         * nptl/pthread_create.c (__pthread_create_2_1): Set
9251         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9252         when copying values from IATTR into PD.
9254 2014-11-21  Will Newton  <will.newton@linaro.org>
9255             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9257         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9258         Refactor inline-asm.  Also add comment.
9260         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9261         ElfW macro instead of hardcoded Elf64 types.
9262         (la_aarch64_gnu_pltenter): Likewise.
9263         * sysdeps/aarch64/dl-machine.h
9264         (elf_machine_runtime_setup): Use ElfW(Addr).
9266         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9267         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9268         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9269         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9270         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9271         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9272         (R_AARCH64_TLS_DTPMOD): This.
9273         (R_AARCH64_TLS_DTPREL64): Rename to ...
9274         (R_AARCH64_TLS_DTPREL): This.
9275         (R_AARCH64_TLS_TPREL64): Rename to ...
9276         (R_AARCH64_TLS_TPREL): This.
9277         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9278         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9279         R_AARCH64_TLS_TPREL64.
9280         (elf_machine_rela): Likewise.
9282 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9284         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9285         by setting it to 0.  64b atomics are not supported currently.
9287 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9289         [BZ #16469]
9290         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9291         search domain names.
9293 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9295         [BZ #16469]
9296         * NEWS: Update.
9297         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9298         trailing dot.
9299         * posix/tst-getaddrinfo5.c: New.
9300         * posix/Makefile (tests): Add it.
9302 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9304         [BZ #14498]
9305         * NEWS: Fixed.
9306         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9307         after parsing line but before break_if_match.
9308         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9309         if there is a protocol mismatch.
9311 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9313         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9314         because the potential race is on the user-supplied stream.
9316 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9318         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9319         string literal if not passed a buffer.
9320         * manual/job.texi (ctermid): Update reasoning, note deviation
9321         from posix, suggest mtasurace when not passed a buffer, for
9322         future non-preliminary safety notes.
9324 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9326         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9327         of not passing it a buffer.
9328         Reported by Peng Haitao.
9330 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9332         * manual/Makefile ($(objpfx)stamp-summary): Require
9333         check-safety.sh to pass.
9334         * manual/check-safety.sh: Wish for verification that every
9335         @deftypefn and @deftypefun is followed by a @safety remark.
9337 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9339         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9341         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9342         PTHREAD_CANCEL_ASYNCHRONOUS.
9343         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9344         send SIGCANCEL.
9346         * nptl/default-sched.h: New file.
9347         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9348         * nptl/pthread_create.c: Include it.
9349         (__pthread_create_2_1): Use collect_default_sched instead of making
9350         Linux syscalls here directly.
9352 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9354         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9355         __pthread_once): Use C11 atomics.
9357 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9359         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9361 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9363         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9364         atomic_thread_fence_acquire, atomic_thread_fence_release,
9365         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9366         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9367         atomic_compare_exchange_weak_relaxed,
9368         atomic_compare_exchange_weak_acquire,
9369         atomic_compare_exchange_weak_release,
9370         atomic_exchange_acquire, atomic_exchange_release,
9371         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9372         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9373         atomic_fetch_and_acquire,
9374         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9376 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9378         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9379         USE_ATOMIC_COMPILER_BUILTINS): Define.
9380         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9382         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9384         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9386         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9388         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9390         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9392         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9393         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9394         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9395         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9396         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9397         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9398         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9399         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9400         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9402         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9403         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9404         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9405         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9406         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9408         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9409         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9410         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9411         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9412         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9413         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9414         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9415         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9416         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9417         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9418         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9419         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9421 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9423         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9424         the sched_priority value here.  It was already checked when the user
9425         called pthread_attr_setschedparam.
9427         * nptl/tst-bad-schedattr.c: New file.
9428         * nptl/Makefile (tests): Add it.
9430 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9431             Florian Weimer  <fweimer@redhat.com>
9432             Joseph Myers  <joseph@codesourcery.com>
9433             Adam Conrad  <adconrad@0c3.net>
9434             Andreas Schwab  <schwab@suse.de>
9435             Brooks  <bmoses@google.com>
9437         [BZ #17625]
9438         * wordexp-test.c (__dso_handle): Add prototype.
9439         (__register_atfork): Likewise.
9440         (__app_register_atfork): New function.
9441         (registered_forks): New global.
9442         (register_fork): New function.
9443         (test_case): Add 3 new tests for WRDE_CMDSUB.
9444         (main): Call __app_register_atfork.
9445         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9446         fork count is non-zero fail the test.
9447         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9448         is set.
9449         (parse_dollars): Remove check for WRDE_NOCMD.
9450         (parse_dquote): Likewise.
9452 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9454         * Makeconfig (built-modules): List non-library modules to be
9455         built.
9456         (module-cppflags): Include libc-modules.h for
9457         everything except shlib-versions.v.i.
9458         (CPPFLAGS): Use it.
9459         (before-compile): Add libc-modules.h.
9460         ($(common-objpfx)libc-modules.h,
9461         $(common-objpfx)libc-modules.stmp): New targets.
9462         (common-generated): Add libc-modules.h and libc-modules.stmp.
9463         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9464         * include/libc-symbols.h: Don't include libc-modules.h.
9465         * include/libc-modules.h: Remove file.
9466         * scripts/gen-libc-modules.awk: New script to generate
9467         libc-modules.h.
9468         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9469         Depend on libc-modules.stmp.
9471         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9473         * Makeconfig (in-module): Get value of libof set for the
9474         translation unit.
9475         (CPPFLAGS): Use $(in-module).
9476         * Makerules: Don't suffix routine names for nonlib.
9477         * include/libc-modules.h: New file.
9478         * include/libc-symbols.h: Include libc-modules.h
9479         (IS_IN): New macro to replace IS_IN_* macros.
9480         * elf/Makefile: Set libof-* for each routine.
9481         * elf/rtld-Rules: Likewise.
9482         * extra-modules.mk: Likewise.
9483         * iconv/Makefile: Likewise.
9484         * iconvdata/Makefile: Likewise.
9485         * locale/Makefile: Likewise.
9486         * malloc/Makefile: Likewise.
9487         * nss/Makefile: Likewise.
9488         * sysdeps/gnu/Makefile: Likewise.
9489         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9490         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9491         * sysdeps/s390/s390-64/Makefile: Likewise.
9492         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9493         CPPFLAGS for nscd instead of nonlib.
9495 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9497         * nptl/createthread.c: New file.
9499         * nptl/createthread.c: Moved ...
9500         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9502         * nptl/createthread.c: Add proper top-line comment.
9503         (do_clone): Folded into ...
9504         (create_thread): ... here.  Take new arguments STOPPED_START and
9505         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9506         increment __nptl_threads, do event-reporting logic, do
9507         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9508         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9509         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9510         just send SIGCANCEL.
9511         * nptl/pthread_create.c: Forward-declare create_thread before
9512         including createthread.c.
9513         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9514         declaration, and new macro START_THREAD_SELF to replace argument.
9515         Remove return statement.
9516         (report_thread_creation): New function.
9517         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9518         synchronization logic, and __nptl_nthreads increment here, around
9519         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9520         PD->parent_cancelhandling here, before create_thread.  When
9521         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9522         __deallocate_stack, and ENOMEM translation here.
9524 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9526         [BZ #17616]
9527         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9528         (mptwo): Rename to __mptwo.
9529         (__inv): Use __mptwo instead of mptwo.
9530         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9531         (mptwo): Rename to __mptwo.
9532         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9533         of mpone and __mptwo instead of mptwo.
9534         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9535         instead of mpone.
9536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9537         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9538         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9539         of mpone and __mptwo instead of mptwo.
9540         (__mpranred): Use __mpone instead of mpone.
9541         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9542         variable.
9543         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9544         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9545         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9546         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9547         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9548         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9549         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9550         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9551         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9552         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9553         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9554         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9555         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9556         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9557         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9558         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9559         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9560         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9561         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9563 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9565         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9566         replace BSD Handler xref with BSD Signal Handling.
9568 2014-11-17  Richard Henderson  <rth@redhat.com>
9570         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9571         (_FP_PACK_RAW_2): Remove.
9572         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9573         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9574         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9575         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9576         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9577         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9578         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9579         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9580         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9581         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9582         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9583         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9584         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9585         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9586         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9587         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9589 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9591         * signal/signal.h [__USE_MISC]
9592         (struct sigvec): Remove type.
9593         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9594         (sigvec): Remove declaration.
9595         * sysdeps/posix/sigvec.c: Moved ...
9596         * signal/sigvec.c: ... here, replacing old file.
9597         (struct sigvec): New type, copied from old signal.h definition.
9598         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9599         (__sigvec): Convert definition to prototype.
9600         (sigvec): Replace weak_alias with compat_symbol.
9601         * signal/Versions (libc: GLIBC_2.21): New version set.
9602         * include/signal.h: Remove __sigvec declaration.
9603         * sysdeps/unix/bsd/sigvec.c: Remove file.
9604         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9605         * manual/signal.texi (BSD Handler): Remove subsection.
9606         Move siginterrupt up to ...
9607         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9608         (Blocking in BSD): Fold subsection into its parent.
9609         * NEWS: Mention sigvec removal.
9611 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9613         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9614         (DLA_FMS): Make definition conditional only on [__FMA4__].
9615         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9616         definition.
9618         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9619         Make definition conditional only on [PROF].
9620         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9621         definition.
9622         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9623         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9625         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9626         !__GNUC__].
9627         * include/signal.h (__sigpause): Move declaration above call to
9628         libc_hidden_proto.
9629         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9630         variable.
9631         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9632         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9634 2014-11-14  David S. Miller  <davem@davemloft.net>
9636         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9637         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9639 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9641         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9642         * configure: Regenerated.
9643         * manual/install.texi (Tools for Compilation): Document a
9644         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9645         compiler verified to work.
9646         * INSTALL: Regenerated.
9648         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9649         redeclare with asm name.
9650         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9651         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9652         including <string.h>.
9653         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9654         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9655         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9656         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9657         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9658         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9659         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9661 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9663         * stdlib/strtol.c (__strtol): Use prototype definition.
9665         [BZ #17594]
9666         * stdlib/strtol.c (SYM__): New macro.
9667         (SYM__1): Likewise.
9668         (__strtol): Likewise.
9669         (strtol): Rename to __strtol and define as weak alias of
9670         __strtol.  Use libc_hidden_weak.
9672 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9674         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9675         Use numbered labels in inline assembly.
9677 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9679         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9680         Add setjmp LIBC_PROBE.
9681         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9682         Likewise.
9683         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9684         Add longjmp, longjmp_target LIBC_PROBE.
9685         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9686         Likewise.
9688 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9690         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9691         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9692         to get rid of unused variable warning.
9694 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9696         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9697         Check for unwind_backtrace ==  NULL only in SHARED case.
9698         (__backchain_backtrace): Compile only in SHARED case.
9699         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9700         Likewise.
9701         (__backchain_backtrace): Declare as static.
9703 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9705         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9706         (__libc_multiple_threads_ptr): Variable moved ...
9707         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9709 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9711         * conform/GlibcConform.pm: New file.
9712         * conform/conformtest.pl: Use GlibcConform module.
9713         * conform/linknamespace.pl: New file.
9714         * conform/list-header-symbols.pl: Likewise.
9715         * conform/Makefile (linknamespace-symlists-base): New variable.
9716         (linknamespace-symlists-tests): Likewise.
9717         (linknamespace-header-base): Likewise.
9718         (linknamespace-header-tests): Likewise.
9719         (tests-special): Add new tests.
9720         ($(linknamespace-symlists-tests)): New rule.
9721         (linknamespace-libs): New variable.
9722         ($(objpfx)symlist-stdlibs): New rule.
9723         ($(linknamespace-header-tests)): Likewise.
9724         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9725         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9726         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9727         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9728         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9729         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9730         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9731         (test-xfail-ISO/math.h/linknamespace): Likewise.
9732         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9733         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9734         (test-xfail-ISO/time.h/linknamespace): Likewise.
9735         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9736         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9737         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9738         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9739         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9740         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9741         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9742         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9743         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9744         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9745         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9746         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9747         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9748         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9749         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9750         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9751         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9752         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9753         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9754         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9755         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9756         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9757         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9758         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9759         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9760         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9761         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9762         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9763         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9764         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9765         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9766         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9767         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9768         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9769         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9770         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9771         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9772         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9773         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9774         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9775         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9776         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9777         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9778         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9779         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9780         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9781         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9782         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9783         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9784         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9785         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9786         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9787         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9788         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9789         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9790         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9791         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9792         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9793         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9794         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9795         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9796         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9797         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9798         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9799         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9800         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9801         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9802         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9803         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9804         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9805         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9806         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9807         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9808         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9809         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9810         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9811         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9812         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9813         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9814         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9815         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9816         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9817         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9818         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9819         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9820         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9821         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9822         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9823         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9824         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9825         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9826         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9827         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9828         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9829         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9830         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9831         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9832         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9833         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9834         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9835         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9836         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9837         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9838         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9839         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9840         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9841         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9842         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9843         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9844         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9845         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9846         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9847         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9848         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9849         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9850         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9851         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9852         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9853         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9854         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9855         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9856         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9857         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9858         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9859         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9860         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9861         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9862         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9863         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9864         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9865         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9866         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9867         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9868         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9869         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9870         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9871         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9872         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9873         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9874         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9875         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9876         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9877         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9878         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9879         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9880         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9881         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9882         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9883         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9884         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9886         [BZ #17589]
9887         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9888         of fgets_unlocked.
9890         [BZ #17585]
9891         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9892         (memmem): Rename to __memmem and define as weak alias of
9893         __memmem.  Use libc_hidden_weak.
9894         (__memmem): Use libc_hidden_def.
9895         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9896         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9897         memmem.
9899         [BZ #17582]
9900         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9901         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9902         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9903         and define as weak alias of __fgets_unlocked.  Use
9904         libc_hidden_weak.
9905         (__fgets_unlocked): Use libc_hidden_def.
9906         * include/stdio.h (__fgets_unlocked): Declare.  Use
9907         libc_hidden_proto.
9908         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9909         __fgets_unlocked instead of fgets_unlocked.
9910         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9911         (GET_NPROCS_CONF_PARSER): Likewise.
9912         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9913         (GET_NPROCS_CONF_PARSER): Likewise.
9915         [BZ #17574]
9916         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9917         weak alias of __wmemset.  Use libc_hidden_weak.
9918         (__wmemset): Use libc_hidden_def.
9919         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9920         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9921         of wmemset.
9923         [BZ #17573]
9924         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9925         with asm name __mempcpy.
9926         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9928         [BZ #17572]
9929         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9930         and define as weak alias of __rawmemchr.
9931         (__rawmemchr): Do not define as strong alias of rawmemchr.
9933         [BZ #17571]
9934         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9935         alias of __qsort_r.
9936         (qsort): Call __qsort_r instead of qsort_r.
9937         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9938         (__qsort_r): Declare.  Call libc_hidden_proto.
9939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9940         instead of qsort_r.
9941         * nscd/gai.c (__qsort_r): Define to qsort_r.
9942         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9943         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9944         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9946         [BZ #17570]
9947         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9948         define as weak alias of __malloc_info.
9950         [BZ #17584]
9951         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9952         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9953         (__rewinddir): Use libc_hidden_def.
9954         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9955         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9956         (__rewinddir): Use libc_hidden_def.
9957         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9958         weak alias of __rewinddir.  Don't use libc_hidden_def.
9959         (__rewinddir): Use libc_hidden_def.
9960         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9961         (__rewinddir): Use libc_hidden_proto.
9962         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9963         rewinddir.
9964         (__getcwd): Use __rewinddir instead of rewinddir.
9966         [BZ #17583]
9967         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9968         alias of __fileno.  Use libc_hidden_weak.
9969         (__fileno): Use libc_hidden_def.
9970         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9971         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9972         alias of __ftello.
9973         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9974         __ftello.
9975         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9976         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9977         libc_hidden_def.
9978         (fread_unlocked): Don't use libc_hidden_ver.
9979         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9980         and define as weak alias of __fread_unlocked.  Don't use
9981         libc_hidden_def.
9982         (__fread_unlocked): Use libc_hidden_def.
9983         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9984         (ftello): Don't use libc_hidden_proto.
9985         (__ftello): Declare.  Use libc_hidden_proto.
9986         (fread_unlocked): Don't use libc_hidden_proto.
9987         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9988         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9989         and __ftello instead of fileno, fread_unlocked and ftello.
9991 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9993         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9994         GOT12.
9995         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9996         Likewise.
9997         (_dl_start_user): Likewise.
9998         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10000 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10001             Siddhesh Poyarekar  <siddhesh@redhat.com>
10003         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10004         Move argv and envp down instead of moving argc up.
10005         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10007 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10009         [BZ #17506]
10010         * test-skeleton.c (main): Return successful if one of
10011         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10012         * string/tst-strcoll-overflow.c: Define expected status.
10014 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10016         [BZ #17475]
10017         * locale/iso-639.def: Define Bhili and Tulu language codes.
10019 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10021         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10023 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10025         [BZ #17555]
10026         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10028 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10030         * configure.ac: Updated check of minimal required version to
10031         2.22.
10032         * manual/install.texi (Tools for Compilation): Updated version
10033         number.
10034         * configure: Regenerated.
10035         * INSTALL: Likewise.
10037 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10039         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10040         __tls_get_addr.
10042 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10044         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10045         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10046         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10047         libc_hidden_weak.
10048         (waitpid): Define as alias of __waitpid.
10049         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10050         __waitpid.
10051         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10052         libc_hidden_weak.
10053         (waitpid): Define as alias of __waitpid.
10054         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10055         __libc_waitpid alias.
10056         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10057         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10058         Likewise.
10059         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10060         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10061         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10062         alias.
10063         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10064         __waitpid.
10065         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10066         libc_hidden_weak.
10067         (waitpid): Define as alias of __waitpid.
10069 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10071         * manual/llio.texi: Add comment that write safety has been
10072         fixed in Linux.
10074         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10075         (localplt-build-dso): Add elf/ld.so.
10076         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10077         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10078         and free for ld.so.
10079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10080         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10082         Likewise.
10083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10084         Likewise.
10085         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10086         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10087         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10088         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10089         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10090         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10091         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10092         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10093         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10094         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10095         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10097 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10099         [BZ #14132]
10100         * include/libc-symbols.h (INTUSE): Remove macro.
10101         (INTDEF): Likewise.
10102         (INTVARDEF): Likewise.
10103         (_INTVARDEF): Likewise.
10104         (INTDEF2): Likewise.
10105         (INTVARDEF2): Likewise.
10106         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10107         rtld_hidden_def instead of INTVARDEF.
10108         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10109         (_dl_starting_up_internal): Remove declaration.
10110         (_dl_starting_up): Use rtld_hidden_proto.
10111         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10112         declaration.
10113         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10114         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10115         _dl_starting_up.
10116         * elf/dl-writev.h (_dl_writev): Likewise.
10117         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10118         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10119         _dl_starting_up_internal.
10121 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10123         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10124         test-skeleton.c.
10126 2014-11-05  Will Newton  <will.newton@linaro.org>
10128         * benchtests/Makefile: (bench-malloc): Add malloc thread
10129         scalability benchmark.
10130         * benchtests/bench-malloc-threads.c: New file.
10132 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10134         * sysdeps/aarch64/strchrnul.S: New file.
10136 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10138         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10139         definition.
10140         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10141         Likwise.
10142         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10143         Likewise.
10144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10145         Likewise.
10146         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10147         Likewise.
10148         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10149         Likewise.
10151 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10153         * catgets/test-gencat.c: Use test-skeleton.c.
10154         * catgets/tst-catgets.c: Likewise.
10155         * csu/tst-empty.c: Likewise.
10156         * elf/tst-audit2.c: Likewise.
10157         * elf/tst-global1.c: Likewise.
10158         * elf/tst-pathopt.c: Likewise.
10159         * elf/tst-piemod1.c: Likewise.
10160         * elf/tst-tls10.c: Likewise.
10161         * elf/tst-tls11.c: Likewise.
10162         * elf/tst-tls12.c: Likewise.
10163         * gnulib/tst-gcc.c: Likewise.
10164         * iconvdata/tst-e2big.c: Likewise.
10165         * iconvdata/tst-loading.c: Likewise.
10166         * iconv/tst-iconv1.c: Likewise.
10167         * iconv/tst-iconv2.c: Likewise.
10168         * inet/test-inet6_opt.c: Likewise.
10169         * inet/tst-gethnm.c: Likewise.
10170         * inet/tst-network.c: Likewise.
10171         * inet/tst-ntoa.c: Likewise.
10172         * intl/tst-codeset.c: Likewise.
10173         * intl/tst-gettext2.c: Likewise.
10174         * intl/tst-gettext3.c: Likewise.
10175         * intl/tst-ngettext.c: Likewise.
10176         * intl/tst-translit.c: Likewise.
10177         * io/test-stat.c: Likewise.
10178         * libio/test-fmemopen.c: Likewise.
10179         * libio/tst-freopen.c: Likewise.
10180         * libio/tst-sscanf.c: Likewise.
10181         * libio/tst-ungetwc1.c: Likewise.
10182         * libio/tst-ungetwc2.c: Likewise.
10183         * libio/tst-widetext.c: Likewise.
10184         * localedata/tst-ctype.c: Likewise.
10185         * localedata/tst-digits.c: Likewise.
10186         * localedata/tst-leaks.c: Likewise.
10187         * localedata/tst-mbswcs1.c: Likewise.
10188         * localedata/tst-mbswcs2.c: Likewise.
10189         * localedata/tst-mbswcs3.c: Likewise.
10190         * localedata/tst-mbswcs4.c: Likewise.
10191         * localedata/tst-mbswcs5.c: Likewise.
10192         * localedata/tst-setlocale.c: Likewise.
10193         * localedata/tst-trans.c: Likewise.
10194         * localedata/tst-wctype.c: Likewise.
10195         * localedata/tst-xlocale1.c: Likewise.
10196         * login/tst-grantpt.c: Likewise.
10197         * malloc/tst-calloc.c: Likewise.
10198         * malloc/tst-malloc.c: Likewise.
10199         * malloc/tst-mallocstate.c: Likewise.
10200         * malloc/tst-mcheck.c: Likewise.
10201         * malloc/tst-mtrace.c: Likewise.
10202         * malloc/tst-obstack.c: Likewise.
10203         * math/atest-exp2.c: Likewise.
10204         * math/atest-exp.c: Likewise.
10205         * math/atest-sincos.c: Likewise.
10206         * math/test-matherr.c: Likewise.
10207         * math/test-misc.c: Likewise.
10208         * math/test-powl.c: Likewise.
10209         * math/tst-definitions.c: Likewise.
10210         * misc/tst-dirname.c: Likewise.
10211         * misc/tst-efgcvt.c: Likewise.
10212         * misc/tst-fdset.c: Likewise.
10213         * misc/tst-hsearch.c: Likewise.
10214         * misc/tst-mntent2.c: Likewise.
10215         * nptl/tst-sem7.c: Likewise.
10216         * nptl/tst-sem8.c: Likewise.
10217         * nptl/tst-sem9.c: Likewise.
10218         * nss/test-netdb.c: Likewise.
10219         * posix/tst-fnmatch.c: Likewise.
10220         * posix/tst-getlogin.c: Likewise.
10221         * posix/tst-gnuglob.c: Likewise.
10222         * posix/tst-mmap.c: Likewise.
10223         * pwd/tst-getpw.c: Likewise.
10224         * resolv/tst-inet_ntop.c: Likewise.
10225         * rt/tst-timer.c: Likewise.
10226         * stdio-common/test-fseek.c: Likewise.
10227         * stdio-common/test-popen.c: Likewise.
10228         * stdio-common/test-vfprintf.c: Likewise.
10229         * stdio-common/tst-cookie.c: Likewise.
10230         * stdio-common/tst-fileno.c: Likewise.
10231         * stdio-common/tst-gets.c: Likewise.
10232         * stdio-common/tst-obprintf.c: Likewise.
10233         * stdio-common/tst-perror.c: Likewise.
10234         * stdio-common/tst-sprintf2.c: Likewise.
10235         * stdio-common/tst-sprintf3.c: Likewise.
10236         * stdio-common/tst-sprintf.c: Likewise.
10237         * stdio-common/tst-swprintf.c: Likewise.
10238         * stdio-common/tst-tmpnam.c: Likewise.
10239         * stdio-common/tst-unbputc.c: Likewise.
10240         * stdio-common/tst-wc-printf.c: Likewise.
10241         * stdlib/tst-environ.c: Likewise.
10242         * stdlib/tst-fmtmsg.c: Likewise.
10243         * stdlib/tst-limits.c: Likewise.
10244         * stdlib/tst-rand48-2.c: Likewise.
10245         * stdlib/tst-rand48.c: Likewise.
10246         * stdlib/tst-random2.c: Likewise.
10247         * stdlib/tst-random.c: Likewise.
10248         * stdlib/tst-strtol.c: Likewise.
10249         * stdlib/tst-strtoll.c: Likewise.
10250         * stdlib/tst-tls-atexit.c: Likewise.
10251         * stdlib/tst-xpg-basename.c: Likewise.
10252         * string/test-ffs.c: Likewise.
10253         * string/tst-bswap.c: Likewise.
10254         * string/tst-inlcall.c: Likewise.
10255         * string/tst-strtok.c: Likewise.
10256         * string/tst-strxfrm.c: Likewise.
10257         * sysdeps/x86_64/tst-audit10.c: Likewise.
10258         * sysdeps/x86_64/tst-audit3.c: Likewise.
10259         * sysdeps/x86_64/tst-audit4.c: Likewise.
10260         * sysdeps/x86_64/tst-audit5.c: Likewise.
10261         * time/tst-ftime_l.c: Likewise.
10262         * time/tst-getdate.c: Likewise.
10263         * time/tst-mktime3.c: Likewise.
10264         * time/tst-mktime.c: Likewise.
10265         * time/tst-posixtz.c: Likewise.
10266         * time/tst-strptime2.c: Likewise.
10267         * time/tst-strptime3.c: Likewise.
10268         * wcsmbs/tst-btowc.c: Likewise.
10269         * wcsmbs/tst-mbrtowc.c: Likewise.
10270         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10271         * wcsmbs/tst-wchar-h.c: Likewise.
10272         * wcsmbs/tst-wcpncpy.c: Likewise.
10273         * wcsmbs/tst-wcrtomb.c: Likewise.
10274         * wcsmbs/tst-wcsnlen.c: Likewise.
10275         * wcsmbs/tst-wcstof.c: Likewise.
10277 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10279         [BZ #14132]
10280         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10281         INTDEF.
10282         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10283         declaration.
10284         (_dl_mcount): Use rtld_hidden_proto.
10285         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10286         _dl_mcount.
10287         * elf/rtld.c (_rtld_global_ro): Likewise.
10289         [BZ #14132]
10290         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10291         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10292         of _dl_init_internal.
10293         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10294         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10295         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10296         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10297         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10298         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10299         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10300         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10301         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10302         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10303         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10304         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10305         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10306         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10307         * sysdeps/tile/dl-start.S (_start): Likewise.
10308         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10309         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10311         [BZ #14132]
10312         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10313         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10314         (rtld_progname): Make macro definition unconditional.
10315         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10316         INTDEF.
10317         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10318         (dl_main): Likewise.
10319         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10320         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10321         instead of _dl_argv_internal.
10322         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10323         __GI__dl_argv instead of INTUSE(_dl_argv).
10324         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10325         __GI__dl_argv instead of _dl_argv_internal.
10327         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10328         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10329         macro.
10330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10331         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10332         New macro.
10333         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10334         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10335         macro.
10336         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10337         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10339 2014-11-04  Andreas Schwab  <schwab@suse.de>
10341         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10343 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10345         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10346         mtvsrd instruction in binary form.
10348 2014-11-03  Andreas Schwab  <schwab@suse.de>
10350         [BZ #17522]
10351         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10352         for less than MB_LEN_MAX use a local buffer of that size.
10353         * libio/tst-fputws.c: New file.
10354         * libio/Makefile (tests): Add tst-fputws.
10356 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10358         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10359         the size of the fpu_fr.fpu_dregs[] array.
10361 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10363         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10364         (__nanosleep): Do not define as alias.
10365         (nanosleep): Define as alias of __nanosleep.
10366         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10367         __libc_nanosleep name.
10369 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10371         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10372         install.texi in comment.
10374 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10376         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10377         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10378         ... add here and use lwsync or sync ...
10379         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10380         ... and add here using lwsync.
10382 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10384         * elf/dl-machine-reject-phdr.h: New file.
10385         * elf/dl-load.c: #include that.
10386         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10387         if that returned true.
10389 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10391         [BZ #17496]
10392         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10393         gen-as-const-headers chunk.  Add a big scare comment after the last
10394         safe place to touch before-compile.
10396 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10398         * manual/install.texi (Tools for Compilation): Update autoconf
10399         version requirements.
10400         * INSTALL: Regenerated.
10402         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10403         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10404         (__libc_pselect): Likewise.
10406         [BZ #14138]
10407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10412 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10414         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10415         correct barrier instruction.
10416         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10417         Likewise.
10418         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10419         Likewise.
10421 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10423         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10424         after defining inlines.  Instead, just use parens to defeat macro
10425         expansion of __isctype in its declaration.
10427 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10429         * include/sys/uio.h (__libc_readv): Remove declaration.
10430         (__libc_writev): Likewise.
10431         * misc/readv.c (__libc_readv): Rename to __readv.
10432         (__readv): Do not define as alias.
10433         (readv): Define as alias of __readv.
10434         * misc/writev.c (__libc_writev): Rename to __writev.
10435         (__writev): Do not define as alias.
10436         (writev): Define as alias of __writev.
10437         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10438         (__readv): Do not define as alias.
10439         (readv): Define unconditionally as alias of __readv.
10440         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10441         (__writev): Do not define as alias.
10442         (writev): Define unconditionally as alias of __writev.
10443         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10444         name.
10445         (writev): Do not define __libc_writev name.
10447 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10449         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10450         (convert_charseq): New function, broken out of ...
10451         (use_from_charmap): ... here.  Call it.
10452         (use_to_charmap): Use convert_charseq and free instead of duplicating
10453         its code with a variable-length stack struct.
10455 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10457         * include/fcntl.h (__libc_creat): Remove declaration.
10458         * io/creat.c (__libc_creat): Rename to creat.
10459         (creat): Do not define as alias.
10460         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10461         of creat instead of __libc_creat.
10462         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10463         to creat.
10464         (creat): Do not define as alias.
10465         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10466         __libc_creat.
10467         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10468         __libc_creat name.
10469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10470         Likewise.
10472 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10474         * manual/llio.texi: Add comments discussing why write() may be
10475         considered MT-unsafe on Linux.
10477 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10479         * dl-load.c (local_strdup): Remove.
10480         (expand_dynamic_string_token): Use __strdup.
10481         (decompose_rpath): Likewise.
10482         (_dl_map_object): Likewise.
10484 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10486         [BZ #14132]
10487         * sysdeps/generic/unwind-dw2-fde.c
10488         (__register_frame_info_bases_internal): Do not declare.
10489         (__register_frame_info_table_bases_internal): Likewise.
10490         (__deregister_frame_info_bases_internal): Likewise.
10491         (__register_frame_info_bases): Declare and use hidden_proto before
10492         definition.  Use hidden_def instead of INTDEF.
10493         (__register_frame_info_table_bases): Likewise.
10494         (__deregister_frame_info_bases): Likewise.
10495         (__register_frame_info): Do not use INTUSE.
10496         (__register_frame): Likewise.
10497         (__register_frame_info_table): Likewise.
10498         (__register_frame_table): Likewise.
10499         (__deregister_frame_info): Likewise.
10500         (__deregister_frame): Likewise.
10502 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10504         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10505         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10506         not undefine.
10507         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10508         Likewise.
10509         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10510         Likewise.
10512 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10514         [BZ #14138]
10515         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10516         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10517         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10518         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10519         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10520         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10521         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10522         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10523         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10524         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10525         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10526         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10527         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10528         syscall.
10529         (setfsuid): Likewise.
10530         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10531         (setfsuid): Likewise.
10532         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10533         (setfsuid): Likewise.
10534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10535         Likewise.
10536         (setfsuid): Likewise.
10537         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10538         (setfsuid): Likewise.
10539         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10540         Likewise.
10541         (setfsuid): Likewise.
10543 2014-10-27  Andreas Schwab  <schwab@suse.de>
10545         [BZ #17501]
10546         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10547         check for Slow_SSE4_2 feature bit.
10548         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10549         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10550         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10551         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10553 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10555         * configure.ac: Validate compiler version with a empirical test of
10556         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10557         $CC -v output.
10558         * configure: Regenerated.
10560         * inet/htons.c (htons): Prototypify.
10561         * inet/htonl.c (htonl): Likewise.
10563 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10565         * string/strncat.c (strncat): Improve performance by using strlen.
10567 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10569         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10571 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10573         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10574         Call libc_fetestexcept_aarch64.
10576 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10578         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10579         Call libc_feholdexcept_aarch64.
10581 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10583         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10584         Call get_rounding_mode.
10586 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10588         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10589         Simplify logic.
10591 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10593         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10594         Simplify logic.
10596 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10598         [BZ #14138]
10599         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10600         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10601         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10602         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10603         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10604         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10605         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10606         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10607         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10608         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10609         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10610         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10611         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10612         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10613         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10614         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10615         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10616         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10617         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10618         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10619         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10620         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10621         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10622         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10623         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10624         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10625         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10626         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10627         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10628         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10629         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10630         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10631         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10632         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10633         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10634         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10635         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10636         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10637         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10638         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10639         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10640         syscall.
10641         (geteuid): Likewise.
10642         (getgid): Likewise.
10643         (getuid): Likewise.
10644         (getresgid): Likewise.
10645         (getresuid): Likewise.
10646         (getgroups): Likewise.
10647         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10648         (geteuid): Likewise.
10649         (getgid): Likewise.
10650         (getuid): Likewise.
10651         (getresgid): Likewise.
10652         (getresuid): Likewise.
10653         (getgroups): Likewise.
10654         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10655         (geteuid): Likewise.
10656         (getgid): Likewise.
10657         (getuid): Likewise.
10658         (getresgid): Likewise.
10659         (getresuid): Likewise.
10660         (getgroups): Likewise.
10661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10662         Likewise.
10663         (geteuid): Likewise.
10664         (getgid): Likewise.
10665         (getuid): Likewise.
10666         (getresgid): Likewise.
10667         (getresuid): Likewise.
10668         (getgroups): Likewise.
10669         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10670         (geteuid): Likewise.
10671         (getgid): Likewise.
10672         (getuid): Likewise.
10673         (getresgid): Likewise.
10674         (getresuid): Likewise.
10675         (getgroups): Likewise.
10676         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10677         Likewise.
10678         (geteuid): Likewise.
10679         (getgid): Likewise.
10680         (getuid): Likewise.
10681         (getgroups): Likewise.
10683         [BZ #14138]
10684         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10685         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10686         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10687         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10688         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10689         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10690         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10691         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10692         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10693         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10694         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10695         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10696         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10697         __chown.
10698         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10699         (lchown): Likewise.
10700         (fchown): Likewise.
10701         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10702         Likewise.
10703         (lchown): Likewise.
10704         (fchown): Likewise.
10705         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10706         (lchown): Likewise.
10707         (fchown): Likewise.
10708         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10709         Likewise.
10710         (lchown): Likewise.
10711         (fchown): Likewise.
10713 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10715         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10716         Simplify logic.
10718 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10720         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10721         Cleanup logic.
10723 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10725         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10726         Remove unused include.
10728 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10730         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10731         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10732         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10733         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10735 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10736             Helge Deller <deller@gmx.de>
10738         [BZ #17508]
10739         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10740         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10741         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10743 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10745         [BZ #14132]
10746         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10747         Remove macro definition.
10748         (__ashrdi3_v_glibc20): Likewise.
10749         (__lshrdi3_v_glibc20): Likewise.
10750         (__cmpdi2_v_glibc20): Likewise.
10751         (__ucmpdi2_v_glibc20): Likewise.
10752         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10753         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10754         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10755         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10756         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10757         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10759 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10761         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10762         old GNU extension [0] syntax.
10763         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10764         alloca rather than an array member with variable length.
10765         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10766         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10767         (parse_opt): ... here.  Likewise use alloca there.
10768         Validate the -i argument before checking for rootness.
10769         (send_shutdown): New function, broken out of ...
10770         (parse_opt): ... here.
10772 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10774         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10775         macro to get at the _rt_local_ro field.
10776         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10777         ([PIC] case) or _dl_hwcap ([!PIC] case).
10778         * sysdeps/arm/setjmp.S: Likewise.
10780         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10781         * sysdeps/arm/configure.ac: New check to define it.
10782         * sysdeps/arm/configure: Regenerated.
10783         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10784         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10785         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10786         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10787         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10788         Use move/movt pair instead of a load.
10789         (LDST_GLOBAL): Macro removed.
10790         (LDR_GLOBAL): New macro replaces it.
10791         (LDR_HIDDEN): New macro.
10792         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10793         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10795         * setjmp/tst-setjmp-static.c: New file.
10796         * setjmp/Makefile (tests): Add it.
10797         (tests-static): New variable.
10799 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10801         [BZ #17485]
10802         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10804 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10806         [BZ #14132]
10807         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10809 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10811         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10813 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10815         * io/fts.c (dirent_not_directory): New function.
10816         (fts_build): Call it.
10818 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10820         * nptl/version.c (__nptl_main): Use normal __write rather than
10821         INTERNAL_SYSCALL.
10822         (banner): Update copyright years.
10824         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10825         gettimeofday.
10826         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10827         * nptl/pthread_cond_timedwait.c: Likewise.
10828         * nptl/pthread_mutex_timedlock.c: Likewise.
10829         * nptl/sem_timedwait.c: Likewise.
10831         * sysdeps/nptl/bits/libc-lock.h
10832         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10833         (__libc_lock_init_recursive): Return void, not 0.
10834         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10835         (__libc_rwlock_init): Likewise.
10836         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10838 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10840         [BZ #15215]
10841         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10842         (__pthread_once_slow): ... here.
10843         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10844         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10846 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10848         [BZ #15215]
10849         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10850         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10851         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10852         * nptl/pthread_once.c (__pthread_once): Likewise.
10853         Update comments.
10855 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10857         [BZ #14138]
10858         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10859         name.
10860         (writev): Use __libc_writev as strong name.
10861         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10862         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10864 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10866         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10868         * sysdeps/i386/nptl/tls.h
10869         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10870         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10871         New macros.
10872         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10873         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10874         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10875         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10876         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10877         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10879         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10880         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10881         on [__NR_futex].
10882         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10883         broken out of ...
10884         (__pthread_mutex_init): ... here.  Call it.
10885         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10886         Conditionalize PI cases on [__NR_futex].
10887         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10888         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10889         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10891         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10892         conditional on [SIGSETXID].
10893         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10894         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10895         is defined.  Likewise for SIGSETXID.
10896         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10897         Conditionalize definitions on [SIGSETXID].
10898         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10899         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10900         unblocking on [SIGCANCEL].
10902         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10903         [__NR_set_robust_list].
10905 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10907         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10908         (do_compare): Likewise.
10910 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10912         [BZ #15884]
10913         * string/strcoll_l.c: Don't include stdio.h.
10914         (coll_seq): Remove members idxarr and rulearr.
10915         (get_next_seq_cached): Remove function.
10916         (get_next_seq): Likewise.
10917         (get_next_seq_nocache): Rename to get_next_seq.
10918         (do_compare): Remove function.
10919         (do_compare_nocache): Rename to do_compare.
10920         (STRCOLL): Remove weight and rules cache.
10922 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10924         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10925         * sysdeps/arm/sfp-machine.h: ... to here.
10926         * sysdeps/arm/Implies: Remove arm/soft-fp.
10928 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10930         * conform/data/sys/utsname.h-data (*_t): Allow.
10931         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10932         [POSIX] (WEXITED): Do not expect constant.
10933         [POSIX] (WSTOPPED): Likewise.
10934         [POSIX] (WNOHANG): Likewise.
10935         [POSIX] (WNOWAIT): Likewise.
10936         [POSIX] (siginfo_t): Do not expect type or elements.
10937         [POSIX] (pid_t): Do not expect type.
10938         [POSIX] (signal.h): Do not allow header.
10939         [POSIX] (sys/resource.h): Likewise.
10940         [POSIX] (si_*): Do not allow pattern.
10941         [POSIX] (W*): Likewise.
10942         [POSIX] (P_*): Likewise.
10943         [POSIX] (BUS_*): Likewise.
10944         [POSIX] (CLD_*): Likewise.
10945         [POSIX] (FPE_*): Likewise.
10946         [POSIX] (ILL_*): Likewise.
10947         [POSIX] (POLL_*): Likewise.
10948         [POSIX] (SEGV_*): Likewise.
10949         [POSIX] (SI_*): Likewise.
10950         [POSIX] (TRAP_*): Likewise.
10951         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10952         variable.
10954 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10956         [BZ #12926]
10957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10958         infinite loop when __recvmsg returns 0.
10960 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10962         * CANCEL-FCT-WAIVE: Remove file.
10963         * CANCEL-FILE-WAIVE: Likewise.
10965         [BZ #14132]
10966         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10967         instead of INTVARDEF.
10968         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10969         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10970         rtld_hidden_data_def instead of INTVARDEF.
10971         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10972         * elf/dl-deps.c (expand_dst): Likewise.
10973         * elf/dl-load.c (_dl_dst_count): Likewise.
10974         (_dl_dst_substitute): Likewise.
10975         (decompose_rpath): Likewise.
10976         (_dl_init_paths): Likewise.
10977         (open_path): Likewise.
10978         (_dl_map_object): Likewise.
10979         * elf/rtld.c (dl_main): Likewise.
10980         (process_dl_audit): Likewise.
10981         (process_envvars): Likewise.
10982         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10983         Remove declaration.
10984         (__libc_enable_secure): Use rtld_hidden_proto.
10986 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10988         * elf/dl-load.c
10989         (add_path): New function broken out of _dl_rtld_di_serinfo.
10990         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10992 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10994         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10995         parentheses around macro arguments.
10996         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11000         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11002         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11005         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11006         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11007         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11008         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11009         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11010         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11011         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11012         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11021         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11022         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11023         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11025         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11026         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11027         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11028         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11029         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11030         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11031         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11032         Likewise.
11033         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11034         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11035         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11038         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11039         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11040         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11041         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11042         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11043         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11044         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11045         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11046         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11049         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11050         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11051         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11054         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11055         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11056         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11057         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11058         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11059         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11060         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11061         (_FP_FRAC_SRS_1): Likewise.
11062         (_FP_FRAC_CLZ_1): Likewise.
11063         (_FP_MUL_MEAT_1_imm): Likewise.
11064         (_FP_MUL_MEAT_1_wide): Likewise.
11065         (_FP_MUL_MEAT_1_hard): Likewise.
11066         (_FP_SQRT_MEAT_1): Likewise.
11067         (_FP_FRAC_ASSEMBLE_1): Likewise.
11068         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11069         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11070         (__FP_CLZ_2): Likewise.
11071         (_FP_MUL_MEAT_2_wide): Likewise.
11072         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11073         (_FP_MUL_MEAT_2_gmp): Likewise.
11074         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11075         (_FP_SQRT_MEAT_2): Likewise.
11076         (_FP_FRAC_ASSEMBLE_2): Likewise.
11077         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11078         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11079         (_FP_FRAC_CLZ_4): Likewise.
11080         (_FP_MUL_MEAT_4_wide): Likewise.
11081         (_FP_MUL_MEAT_4_gmp): Likewise.
11082         (_FP_SQRT_MEAT_4): Likewise.
11083         (_FP_FRAC_ASSEMBLE_4): Likewise.
11084         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11085         * soft-fp/op-common.h (_FP_CMP): Likewise.
11086         (_FP_CMP_EQ): Likewise.
11087         (_FP_CMP_UNORD): Likewise.
11088         (_FP_TO_INT): Likewise.
11089         (_FP_FROM_INT): Likewise.
11090         [!__FP_CLZ] (__FP_CLZ): Likewise.
11091         (_FP_DIV_HELP_imm): Likewise.
11092         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11093         Likewise.
11094         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11097         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11098         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11099         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11100         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11101         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11102         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11103         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11104         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11105         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11106         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11107         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11108         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11109         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11110         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11111         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11112         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11113         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11114         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11115         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11116         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11117         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11119         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11120         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11121         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11123         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11124         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11125         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11126         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11127         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11128         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11129         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11130         (FP_UNPACK_RAW_SP): Likewise.
11131         (FP_PACK_RAW_S): Likewise.
11132         (FP_PACK_RAW_SP): Likewise.
11133         (FP_UNPACK_S): Likewise.
11134         (FP_UNPACK_SP): Likewise.
11135         (FP_UNPACK_SEMIRAW_S): Likewise.
11136         (FP_UNPACK_SEMIRAW_SP): Likewise.
11137         (FP_PACK_S): Likewise.
11138         (FP_PACK_SP): Likewise.
11139         (FP_PACK_SEMIRAW_S): Likewise.
11140         (FP_PACK_SEMIRAW_SP): Likewise.
11141         (_FP_SQRT_MEAT_S): Likewise.
11142         (FP_CMP_S): Likewise.
11143         (FP_CMP_EQ_S): Likewise.
11144         (FP_CMP_UNORD_S): Likewise.
11145         (FP_TO_INT_S): Likewise.
11146         (FP_FROM_INT_S): Likewise.
11148         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11150         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11151         (FP_EX_INVALID_IMZ): Likewise.
11152         (FP_EX_INVALID_IMZ_FMA): Likewise.
11153         (FP_EX_INVALID_ISI): Likewise.
11154         (FP_EX_INVALID_ZDZ): Likewise.
11155         (FP_EX_INVALID_IDI): Likewise.
11156         (FP_EX_INVALID_SQRT): Likewise.
11157         (FP_EX_INVALID_CVI): Likewise.
11158         (FP_EX_INVALID_VC): Likewise.
11159         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11160         "invalid" exceptions.
11161         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11162         (_FP_ADD_INTERNAL): Likewise.
11163         (_FP_MUL): Likewise.
11164         (_FP_FMA): Likewise.
11165         (_FP_DIV): Likewise.
11166         (_FP_CMP_CHECK_NAN): Likewise.
11167         (_FP_SQRT): Likewise.
11168         (_FP_TO_INT): Likewise.
11169         (FP_EXTEND): Likewise.
11171 2014-10-09  Allan McRae  <allan@archlinux.org>
11173         * po/fr.po: Update French translation from translation project.
11175 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11177         [BZ #14132]
11178         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11179         of INTDEF.
11180         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11181         (__cxa_atexit): Use libc_hidden_proto.
11182         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11184         [BZ #14132]
11185         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11186         declaration.
11187         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11188         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11189         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11190         [!_ISOMAC] (__iswctype_internal): Likewise.
11191         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11192         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11193         alias.
11194         (fcntl): Remove __fcntl_internal alias.
11195         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11196         __connect_internal alias.
11197         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11198         Likewise.
11200         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11201         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11202         FP_DENORM_ZERO.
11203         (_FP_CHECK_FLUSH_ZERO): New macro.
11204         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11205         (_FP_CMP): Likewise.
11206         (_FP_CMP_EQ): Likewise.
11207         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11208         FP_DENORM_ZERO.
11209         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11210         (FP_TRUNC): Likewise.
11212         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11213         treated as invalid conversion, not as normal exponent.
11215         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11216         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11217         (_FP_CMP_EQ): Likewise.
11218         (_FP_CMP_UNORD): Likewise.
11219         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11220         (FP_CMP_EQ_D): Likewise.
11221         (FP_CMP_UNORD_D): Likewise.
11222         * soft-fp/extended.h (FP_CMP_E): Likewise.
11223         (FP_CMP_EQ_E): Likewise.
11224         (FP_CMP_UNORD_E): Likewise.
11225         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11226         (FP_CMP_EQ_Q): Likewise.
11227         (FP_CMP_UNORD_Q): Likewise.
11228         * soft-fp/single.h (FP_CMP_S): Likewise.
11229         (FP_CMP_EQ_S): Likewise.
11230         (FP_CMP_UNORD_S): Likewise.
11231         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11232         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11233         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11234         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11235         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11236         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11237         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11238         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11239         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11240         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11241         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11242         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11243         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11244         to FP_CMP_Q.
11245         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11246         FP_CMP_Q.
11247         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11248         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11249         FP_CMP_EQ_Q.
11250         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11251         FP_CMP_Q.
11252         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11253         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11254         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11255         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11256         FP_CMP_EQ_Q.
11257         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11258         FP_CMP_Q.
11259         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11260         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11261         FP_CMP_EQ_Q.
11262         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11263         FP_CMP_Q.
11264         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11265         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11266         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11267         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11268         FP_CMP_EQ_Q.
11270         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11271         a subnormal result, set the underflow exception if trapping on
11272         underflow is enabled.
11273         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11274         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11275         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11276         redefine to 0.
11277         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11278         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11279         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11280         * soft-fp/extendxftf2.c (__extendxftf2): Use
11281         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11283         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11284         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11285         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11286         FP_HANDLE_EXCEPTIONS.
11287         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11288         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11289         FP_HANDLE_EXCEPTIONS.
11290         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11291         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11292         FP_HANDLE_EXCEPTIONS.
11293         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11294         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11295         FP_HANDLE_EXCEPTIONS.
11297 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11299         [BZ #14132]
11300         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11301         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11302         use INTUSE.
11303         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11304         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11305         Remove alias.
11306         (__adjtimex): Define using libc_hidden_ver.
11307         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11308         Remove declaration.
11309         (ntp_gettime): Call __adjtimex directly.
11310         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11311         Remove declaration.
11312         (ntp_gettimex): Call __adjtimex directly.
11313         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11314         __adjtimex_internal alias.
11316 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11318         [BZ #17460]
11319         * nscd/nscd.c (more_help): Rewrite list of tables collection
11320         using xstrdup and asprintf.
11322         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11324 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11325             Roland McGrath  <roland@hack.frob.com>
11327         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11328         (do_lookup_unique): ... local function 'enter' here; update callers.
11330 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11332         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11333         compat_symbol calls on [SHARED].
11334         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11335         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11336         Remove.
11337         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11338         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11339         (oldsetrlimit): Remove.
11340         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11342         (lchown): New syscall entry.
11343         (oldsetrlimit): Remove.
11344         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11346         (oldsetrlimit): Remove.
11347         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11349         [BZ #14138]
11350         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11351         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11352         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11353         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11354         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11355         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11356         (fchown): Likewise.
11357         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11358         (fchown): Likewise.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11360         Likewise.
11362 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11364         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11365         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11366         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11367         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11368         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11369         Likewise.
11370         (__old_sem_post): Likewise.
11372 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11374         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11375         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11376         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11377         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11378         Use INLINE_VSYSCALL macro.
11379         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11380         __vdso_clock_gettime.
11381         * sysdeps/unix/sysv/linux/tile/init-first.c
11382         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11383         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11384         __vdso_clock_gettime.
11386         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11387         to set up frame more cleanly.
11389         * sysdeps/tile/memcmp.c: New file.
11391         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11393         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11394         * sysdeps/tile/tilegx/strcasestr.c: New file.
11395         * sysdeps/tile/tilegx/strnlen.c: New file.
11396         * sysdeps/tile/tilegx/strstr.c: New file.
11398         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11400 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11402         * nptl/tst-setuid3.c: Write errors to stdout.
11404 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11406         * elf/dl-deps.c
11407         (preload): New functions broken out of _dl_map_object_deps.
11408         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11410 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11412         [BZ #14138]
11413         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11414         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11416 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11418         * sysdeps/mips/strcmp.S: New.
11420 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11422         [BZ #14138]
11423         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11424         (linkat): Likewise.
11425         (mkdirat): Likewise.
11426         (readlinkat): Likewise.
11427         (renameat): Likewise.
11428         (symlinkat): Likewise.
11429         (unlinkat): Likewise.
11430         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11431         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11432         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11433         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11434         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11435         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11436         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11438 2014-09-30  Will Newton  <will.newton@linaro.org>
11440         * math/math.h: Define long double math functions if
11441         _LIBC_TEST is defined.
11442         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11444         * localedata/Makefile: Move assignment to tests-special
11445         into an ifdef testing run-built-tests.
11446         * timezone/Makefile: Likewise.
11448 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11450         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11451         with $(BASH) not $(SHELL).
11453 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11454             Matthew LeGendre  <legendre1@llnl.gov>
11456         [BZ #17411]
11457         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11458         l_reloc_result.
11460 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11462         * stdio-common/printf_fp.c
11463         (hack_digit): New function, broken out of ...
11464         (__printf_fp): ... local function here.  Update call sites.
11465         hack_digit now takes an additional parameter that is a pointer
11466         to a struct of the referenced locals.  Those locals moved inside
11467         the struct and references updated.
11469 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11471         * aclocal.m4: Require autoconf 2.69.
11472         * configure: Regenerated.
11473         * sysdeps/aarch64/configure: Likewise.
11474         * sysdeps/alpha/configure: Likewise.
11475         * sysdeps/arm/armv7/configure: Likewise.
11476         * sysdeps/arm/configure: Likewise.
11477         * sysdeps/ia64/configure: Likewise.
11478         * sysdeps/mach/configure: Likewise.
11479         * sysdeps/mips/configure: Likewise.
11480         * sysdeps/s390/configure: Likewise.
11481         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11484         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11485         file.
11486         * sysdeps/ia64/configure.ac: Likewise.
11488 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11491         specify symbol version for ld.so.  Do not include entry for
11492         libpthread.
11493         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11494         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11495         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11497         [BZ #14171]
11498         * Makeconfig [$(build-shared) = yes]
11499         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11500         makefiles.
11501         [$(build-shared) = yes && $(soversions.mk-done) = t]
11502         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11503         [$(build-shared) = yes && $(soversions.mk-done) = t]
11504         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11505         to Makerules.
11506         [$(build-shared) = yes && $(soversions.mk-done) = t]
11507         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11508         here.
11509         [$(build-shared) = yes && $(soversions.mk-done) = t]
11510         (common-generated): Don't append gnu/lib-names.h and
11511         gnu/lib-names.stmp here.
11512         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11513         (lib-names-h-abi): New variable.
11514         [$(build-shared) = yes && $(soversions.mk-done) = t]
11515         (lib-names-stmp-abi): Likewise.
11516         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11517         abi-variants] (before-compile): Append
11518         $(common-objpfx)$(lib-names-h-abi).
11519         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11520         abi-variants] (common-generated): Append gnu/lib-names.h.
11521         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11522         abi-variants] (install-others-nosubdir): Depend on
11523         $(inst_includedir)/$(lib-names-h-abi).
11524         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11525         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11526         [$(build-shared) = yes && $(soversions.mk-done) = t]
11527         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11528         [$(build-shared) = yes && $(soversions.mk-done) = t]
11529         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11530         [$(build-shared) = yes && $(soversions.mk-done) = t]
11531         (common-generated): Append $(lib-names-h-abi) and
11532         $(lib-names-stmp-abi).
11533         * scripts/lib-names.awk: Do not handle multi being set.
11534         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11535         Remove variable.
11536         (abi-lp64_be-ld-soname): Likewise.
11537         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11538         Likewise.
11539         (abi-hard-ld-soname): Likewise.
11540         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11541         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11542         Remove variable.
11543         (abi-o32_hard-ld-soname): Likewise.
11544         (abi-o32_soft_2008-ld-soname): Likewise.
11545         (abi-o32_hard_2008-ld-soname): Likewise.
11546         (abi-n32_soft-ld-soname): Likewise.
11547         (abi-n32_hard-ld-soname): Likewise.
11548         (abi-n32_soft_2008-ld-soname): Likewise.
11549         (abi-n32_hard_2008-ld-soname): Likewise.
11550         (abi-n64_soft-ld-soname): Likewise.
11551         (abi-n64_hard-ld-soname): Likewise.
11552         (abi-n64_soft_2008-ld-soname): Likewise.
11553         (abi-n64_hard_2008-ld-soname): Likewise.
11554         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11555         Likewise.
11556         (abi-64-v2-ld-soname): Likewise.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11558         ld.so entries.
11559         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11560         variable.
11561         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11562         entry.
11563         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11564         variable.
11565         (abi-64-ld-soname): Likewise.
11566         (abi-x32-ld-soname): Likewise.
11567         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11568         entry.
11569         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11571 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11573         [BZ #14138]
11574         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11575         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11576         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11577         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11578         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11579         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11580         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11581         syscall entry for GLIBC_2.2 symbol version.
11582         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11583         Likewise.
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11585         (setrlimit): Likewise.
11586         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11587         Likewise.
11589 2014-09-23  Will Newton  <will.newton@linaro.org>
11591         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11592         _LINUX_ARM_SYSDEP_H include guard too.
11593         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11594         define.
11596 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11598         * sysdeps/unix/sysv/linux/eventfd.c:
11599         Make first argument unsigned.
11600         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11601         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11603 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11605         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11606         * socket/sys/socket.h: Likewise
11607         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11609 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11611         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11613 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11615         * time/tst-ftime.c: New test.
11616         * time/Makefile (tests): Add tst-ftime.
11618 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11620         * soft-fp/extended.h: Fix comment formatting.
11621         * soft-fp/op-1.h: Likewise.
11622         * soft-fp/op-2.h: Likewise.
11623         * soft-fp/op-4.h: Likewise.
11624         * soft-fp/op-8.h: Likewise.
11625         * soft-fp/op-common.h: Likewise.
11626         * soft-fp/soft-fp.h: Likewise.
11628         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11630 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #6652]
11633         * Makeconfig (soversions-default-setname): Remove variable.
11634         ($(common-objpfx)soversions.i): Don't pass default_setname to
11635         soversions.awk.
11636         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11637         oldest_abi to abi-versions.awk.
11638         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11639         * config.make.in (oldest-abi): Remove variable.
11640         * configure.ac (--enable-oldest-abi): Remove configure option.
11641         * configure: Regenerated.
11642         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11643         text.
11644         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11645         * scripts/soversions.awk: Do not handle default_setname variable.
11646         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11647         variable.
11648         * sysdeps/mach/hurd/configure: Regenerated.
11649         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11650         variable.
11651         * sysdeps/unix/sysv/linux/configure: Regenerated.
11653 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11655         * elf/Makefile (CFLAGS-interp.c): Remove.
11656         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11657         path string.
11658         * elf/interp.c: Include generated runtime-linker.h
11660         * Makerules (lib%.so): Don't include $(+interp) in
11661         prerequisites.
11662         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11663         * dlfcn/eval.c: Remove file.
11665         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11666         macros.
11668         [BZ #17266]
11669         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11670         4.2 and newer.
11672         [BZ #17370]
11673         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11675 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11676             Jakub Jelinek  <jakub@redhat.com>
11678         [BZ #17266]
11679         * libio/stdio.h: Check definition of __fortify_function
11680         instead of __extern_always_inline to include bits/stdio2.h.
11681         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11682         check if __extern_always_inline is defined.
11683         [__USE_MISC || __USE_XOPEN]: Likewise.
11684         [__USE_ISOC99] Likewise.
11685         * misc/sys/cdefs.h (__fortify_function): Define only if
11686         __extern_always_inline is defined.
11687         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11688         __extern_always_inline and __extern_inline only for g++-4.3
11689         and newer or a compatible gcc.
11691 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11693         [BZ #17371]
11694         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11695         last change to handle zero prefix length.
11697 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11699         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11700         _SC_REGEX_VERSION.
11702         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11703         _POSIX_RAW_SOCKETS.
11705 2014-09-13  Allan McRae  <allan@archlinux.org>
11707         * po/ru.po: Update Russian translation from translation project.
11709 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11711         * locale/programs/locale.c (show_locale_vars): Inline local function
11712         into its sole call site.  Clean up some style nits.
11713         (print_item): New function, broken out of ...
11714         (show_info): ... local function here.  Clean up style nits.
11716         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11717         out of ...
11718         (set_class_defaults): ... local function set_default here.
11719         Define set_default as a macro locally to pass constant parameters.
11720         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11721         rather than a shared local.
11723         * stdlib/rpmatch.c (try): New function, broken out of ...
11724         (rpmatch): ... local function here.  Also, prototypify definition.
11726 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11728         * scripts/soversions.awk: Do not handle configuration names.
11729         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11730         vendor and os variables to soversions.awk.
11731         * configure.ac: Do not modify gnu-* host_os.
11732         * configure: Regenerated
11733         * shlib-versions: Remove first column with configuration names.
11734         * nptl/shlib-versions: Likewise.
11735         * nptl_db/shlib-versions: Likewise.
11736         * sysdeps/hppa/shlib-versions: Likewise.
11737         * sysdeps/m68k/shlib-versions: Likewise.
11738         * sysdeps/mach/hurd/shlib-versions: Likewise.
11739         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11740         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11741         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11742         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11743         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11744         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11745         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11746         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11748         Likewise.
11749         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11750         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11751         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11752         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11753         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11754         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11755         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11756         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11759         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11761         Regenerated.
11762         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11764         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11766         * shlib-versions: Remove OS-specific entries.  Moved to files in
11767         sysdeps.
11768         * sysdeps/mach/hurd/shlib-versions: New file.
11769         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11771         * nptl/shlib-versions: Remove architecture-specific entries.
11772         Moved to files in sysdeps.
11773         * shlib-versions: Likewise.
11774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11775         file.
11776         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11777         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11778         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11779         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11781         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11782         (UDP_NO_CHECK6_RX): Likewise.
11784 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11786         * sysdeps/posix/sysconf.c (__sysconf): Spell
11787         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11789 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11791         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11792         loading.
11793         * iconv/Versions (__gconv_transliterate): Export for use from
11794         gconv modules.
11795         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11796         (struct __gconv_trans_data, __gconv_trans_fct,
11797         __gconv_trans_context_fct, __gconv_trans_query_fct,
11798         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11799         definitions.
11800         (struct __gconv_step_data): Remove __trans member.
11801         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11802         longer hidden.  Remove unused trans_data argument.
11803         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11804         (__gconv_translit_find): Remove declaration.
11805         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11806         prototype.
11807         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11808         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11809         trans_data argument.  Add hidden definition.
11810         (__gconv_translit_find): Remove.
11811         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11812         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11813         * iconv/skeleton.c: Remove transliteration initialization.
11814         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11815         __gconv_step_data initialization.
11816         * libio/iofwide.c (__libio_translit_): Remove.
11817         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11818         * wcsmbs/btowc.c (__btowc): Likewise.
11819         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11820         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11821         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11822         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11823         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11824         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11825         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11826         * wcsmbs/wctob.c (wctob): Likewise.
11828 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11830         [BZ #16194]
11831         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11832         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11833         register usage.
11834         * sysdeps/x86/Makefile: Adjust.
11836 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11837             Roland McGrath  <roland@hack.frob.com>
11839         * locale/weight.h: Add include guard.
11840         (findidx): Make static rather than auto; take new parameters
11841         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11842         * locale/weightwc.h: Likewise.
11843         * posix/fnmatch_loop.c
11844         (FCT): Change type of EXTRA from int32_t to wint_t.
11845         Don't include either header inside the function.
11846         Call FINDIDX rather than findidx, and pass new arguments.
11847         #undef FINDIDX at the end of the file.
11848         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11849         FINDIDX before including fnmatch_loop.c for the non-wide version.
11850         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11851         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11852         for the wide version.
11853         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11854         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11855         Pass new arguments to findidx.
11856         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11857         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11858         Don't #include it inside the function.  Pass new arguments to findidx.
11859         * posix/regex_internal.h
11860         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11861         (re_string_elem_size_at): Don't #include it inside the function.
11862         Pass new arguments to findidx.
11863         * string/strcoll_l.c: #include WEIGHT_H at top level.
11864         (get_next_seq): Don't #include it inside the function.
11865         Pass new arguments to findidx.
11866         (get_next_seq_nocache): Likewise.
11867         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11868         (STRXFRM): Don't #include it inside the function.
11869         Pass new arguments to findidx.
11871 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11873         [BZ #17344]
11874         * malloc/malloc.c (unlink): Turn asserts into a call to
11875         malloc_printerr.
11877 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11879         [BZ #17370]
11880         * libio/wfileops (do_ftell_wide): Free OUT.
11882 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11884         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11886 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11888         [BZ #17363]
11889         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11890         group if the current group is empty.
11892 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11894         * benchtests/bench-memset.c (test_main): Add more test from size
11895         from 32 to 512 bytes.
11896         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11897         Add POWER8 memset object.
11898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11899         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11900         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11901         implementation.
11902         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11903         Likewise.
11904         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11905         multiarch POWER8 memset optimization.
11906         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11907         POWER8 memset optimization.
11909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11910         Remove bzero multiarch objects.
11911         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11912         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11913         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11914         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11915         Remove define.
11916         [__bzero]: Redefine to specific name.
11917         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11918         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11919         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11920         define.
11921         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11922         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11924 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11926         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11927         warnings into errors.
11929         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11930         __cxa_thread_atexit_impl prototype.
11932 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11934         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11935         Fix capitalization of error message.
11937 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11939         * sysdeps/mips/preconfigure: Modify ABI tests.
11941 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11943         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11945 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11946             Carlos O'Donell  <carlos@systemhalted.org>
11948         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11949         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11950         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11951         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11952         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11953         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11954         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11955         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11956         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11957         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11958         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11959         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11960         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11961         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11962         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11963         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11964         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11965         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11967         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11968         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11969         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11970         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11971         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11972         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11973         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11974         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11975         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11976         Deconditionalize the code that was previously under [RESET_PID].
11977         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11978         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11979         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11980         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11981         include sysdep.h.
11983 2014-09-08  Allan McRae  <allan@archlinux.org>
11985         * version.h (RELEASE): Set to "development".
11986         (VERSION): Set to "2.20.90"
11988 2014-09-07  Allan McRae  <allan@archlinux.org
11990         * version.h (RELEASE): Set to "stable".
11991         (VERSION): Set to "2.20"
11992         * include/features.h (__GLIBC_MINOR__): Set to 20.
11994         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11995         Liebler.
11997         * po/ko.po: Update Korean translation from translation project.
11999 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12001         [BZ #17354]
12002         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12003         macro for handling signed relocations.
12005 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12007         [BZ #17325]
12008         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12009         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12010         assert.
12011         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12012         * iconvdata/ibm935.c (BODY): Likewise.
12013         * iconvdata/ibm937.c (BODY): Likewise.
12014         * iconvdata/ibm939.c (BODY): Likewise.
12015         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12016         assert.
12017         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12018         script.
12019         * iconvdata/run-iconv-test.sh: New test loop for checking for
12020         decoder crashers.
12022 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12025         libm_hidden_ver.
12027 2014-09-01  Allan McRae  <allan@archlinux.org>
12029         * po/eo.po: Update Esperanto translation from translation project.
12031         * po/ca.po: Update Catalan translation from translation project.
12033 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12035         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12036         __proc_dostop call.
12038 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12040         [BZ #17319]
12041         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12042         to call set_thread_area instead of hand written asm.
12043         (__NR_set_thread_area): Removed define.
12044         (TLS_FLAG_WRITABLE): Likewise.
12045         (__ASSUME_SET_THREAD_AREA): Remove check.
12046         (TLS_EBX_ARG): Remove define.
12047         (TLS_LOAD_EBX): Likewise.
12049 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12051         Simplify atomicity of socket creation in bind.
12053         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12054         looking up the name after linking the file.
12056 2014-08-27  Allan McRae  <allan@archlinux.org>
12058         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12060 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12062         [BZ #17187]
12063         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12064         trans_compare, open_translit, __gconv_translit_find):
12065         Remove module loading code.
12067 2014-08-26  Allan McRae  <allan@archlinux.org>
12069         * po/vi.po: Update Vietnamese translation from translation project.
12071         * po/uk.po: Update Ukrainian translation from translation project.
12073         * po/fr.po: Update French translation from translation project.
12075         * po/ru.po: Update Russian translation from translation project.
12077         * po/pl.po: Update Polish translation from translation project.
12079         * po/cs.po: Update Czech translation from translation project.
12081         * po/de.po: Update German translation from translation project.
12083         * po/bg.po: Update Bulgarian translation from translation project.
12085         * po/sv.po: Update Sweedish translation from translation project.
12087         * po/nl.po: Update Dutch translation from translation project.
12089         * po/es.po: Update Spanish translation from translation project.
12091 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12093         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12095         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12096         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12097         (CPPFLAGS-iconvconfig): Likewise.
12098         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12100         * include/libc-symbols.h: Remove unnecessary check for
12101         NOT_IN_libc.
12102         * nptl/pthreadP.h: Likewise.
12103         * sysdeps/aarch64/setjmp.S: Likewise.
12104         * sysdeps/alpha/setjmp.S: Likewise.
12105         * sysdeps/arm/sysdep.h: Likewise.
12106         * sysdeps/i386/setjmp.S: Likewise.
12107         * sysdeps/m68k/setjmp.c: Likewise.
12108         * sysdeps/posix/getcwd.c: Likewise.
12109         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12110         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12111         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12112         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12113         * sysdeps/sh/sh3/setjmp.S: Likewise.
12114         * sysdeps/sh/sh4/setjmp.S: Likewise.
12115         * sysdeps/unix/alpha/sysdep.h: Likewise.
12116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12117         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12118         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12119         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12124         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12127         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12129         * sysdeps/x86_64/setjmp.S: Likewise.
12131 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12133         [BZ #17263]
12134         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12135         <stdint.h>.
12136         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12137         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12139 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12141         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12143         [BZ #17262]
12144         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12145         and __x86_64__ when disabling x87 inline functions.
12147 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12149         [BZ #17259]
12150         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12151         asm statement with __cpuid_count.
12153 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12155         * configure.ac: Change __ehdr_start code to dereference the struct.
12156         Run readelf on the output to look for relocations.
12157         * configure: Regenerated.
12159 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12161         [BZ #17261]
12162         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12163         value to 0.
12164         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12166 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12168         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12170 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12172         [BZ #16892]
12173         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12174         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12176 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12178         * malloc/malloc.c: Fix typo in comment.
12180 2014-08-09  Allan McRae  <allan@archlinux.org>
12182         * Regenerate libc.po.
12184 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12186         * intl/tst-gettext2.sh: Check every lang file for creation.
12188 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12190         * sysdeps/aarch64/fpu/math_private.h
12191         (libc_feholdsetround_noex_aarch64_ctx): New function.
12193 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12195         * sysdeps/arm/armv6/strcpy.S (strcpy):
12196         Fix performance issue in misaligned cases.
12198 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12200         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12201         Move definition from termios.h.
12202         (struct termio): Likewise.
12203         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12204         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12205         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12206         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12209         Move definition to ioctl-types.h
12210         (struct termio): Likewise.
12211         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12212         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12213         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12214         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12215         Likewise.
12217 2014-08-05  Richard Henderson  <rth@redhat.com>
12219         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12220         exceptions.
12221         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12222         Add fraiseexcpt.
12223         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12224         Use __feraiseexcept.
12225         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12226         Protect libm symbols with IS_IN_libm.
12228         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12230 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12232         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12234 2014-08-04  Will Newton  <will.newton@linaro.org>
12236         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12237         file.
12239 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12241         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12242         variants for each function.
12244 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12246         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12247         appended ...
12248         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12249         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12250         appended ...
12251         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12252         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12253         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12254         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12255         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12256         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12257         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12258         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12259         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12260         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12261         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12262         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12263         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12267         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12268         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12269         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12270         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12271         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12273         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12274         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12275         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12276         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12277         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12278         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12279         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12280         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12281         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12282         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12283         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12284         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12285         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12286         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12287         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12288         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12289         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12290         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12291         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12292         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12293         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12294         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12295         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12296         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12297         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12298         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12299         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12300         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12301         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12302         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12303         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12304         Update #include.
12305         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12306         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12308 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12310         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12311         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12312         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12313         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12314         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12315         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12317 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12319         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12320         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12321         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12322         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12324 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12326         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12327         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12328         (__libc_vfork): Define function under this name.
12329         (__vfork): Define as an alias.
12330         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12331         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12333 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12335         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12336         that was previously under [RESET_PID].
12337         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12339 2014-08-04  Andreas Schwab  <schwab@suse.de>
12341         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12343 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12345         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12346         (main): Likewise.
12348 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12350         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12352 2014-08-01  Richard Henderon  <rth@redhat.com>
12354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12355         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12356         typo in exact zero test.
12357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12358         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12361 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12363         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12364         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12365         * sysdeps/arm/sysdep.h: ... here.
12366         [!__ASSEMBLER__]: Include <stdint.h>.
12368 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12370         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12371         (HAVE_WCTYPE_H): Likewise.
12372         (HAVE_ISWCTYPE): Likewise.
12373         (ENABLE_NLS): Likewise.
12374         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12375         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12377         * posix/regex_internal.c: Check if DEBUG is defined and is
12378         set.
12380         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12381         (HAVE_MBSRTOWCS): Likewise.
12382         * posix/fnmatch.c: Include string.h unconditionally.
12384 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12386         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12387         reversal.
12389 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12391         * sysdeps/generic/safe-fatal.h: New file.
12392         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12393         * nptl/forward.c: Include it.
12394         (__pthread_unwind): Use __safe_fatal as default action, rather
12395         than a bogus use of INTERNAL_SYSCALL that could never work.
12397         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12398         * configure.ac (libc_cv_builtin_trap): New test.
12399         * configure: Regenerated.
12400         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12401         (ABORT_INSTRUCTION): Define using __builtin_trap.
12403         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12404         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12405         * sysdeps/nptl/nptl-signals.h: New file.
12406         * nptl/pthreadP.h: Include <nptl-signals.h>.
12408 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12410         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12411         (ONE_DIRECTION): Define.
12412         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12413         (ONE_DIRECTION): Define.
12414         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12415         (ONE_DIRECTION): Define.
12417 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12419         * sysdeps/s390/Makefile: Delete file.
12420         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12421         * sysdeps/s390/__longjmp.c: Delete file.
12422         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12423         Remove fields __flags and __reserved.
12424         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12425         and add versioning.
12426         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12427         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12428         * sysdeps/s390/rtld-setjmp.S: Likewise.
12429         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12430         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12431         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12432         * sysdeps/s390/s390-32/setjmp.S: ... here.
12433         Add versioning.
12434         (__sigsetjmp): Remove setting __flags field.
12435         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12436         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12437         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12438         * sysdeps/s390/s390-64/setjmp.S: ... here.
12439         Add versioning.
12440         (__sigsetjmp): Remove setting __flags field.
12441         * sysdeps/s390/setjmp.S: Delete file.
12442         * sysdeps/s390/sigjmp.c: Likewise.
12443         * sysdeps/s390/v1-longjmp.c: Likewise.
12444         * sysdeps/s390/v1-setjmp.h: Likewise.
12445         * sysdeps/s390/v1-sigjmp.c: Likewise.
12446         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12447         Remove v1-longjmp_chk.
12448         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12449         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12450         Include debug/longjmp_chk.c and add versioning.
12451         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12452         Include nptl/pt-longjmp.c and add versioning.
12453         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12454         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12455         Include __longjmp.c.
12456         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12457         Move to ...
12458         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12459         (__getcontext): Remove setting __flags field.
12460         Add versioning.
12461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12462         Don't restore upper high grps.
12463         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12464         Likewise.
12465         (__swapcontext): Remove setting uc_flags field.
12466         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12467         Delete file.
12468         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12469         Include __longjmp.c.
12470         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12471         Move to ...
12472         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12473         (__getcontext): Remove setting __flags field.
12474         Add versioning.
12475         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12476         (__swapcontext): Remove setting uc_flags field.
12477         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12478         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12479         Remove fields uc_high_gprs and __reserved.
12480         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12481         New file with reverted content.
12482         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12483         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12484         Regenerated.
12485         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12486         Regenerated.
12488 2014-07-31  Andreas Schwab  <schwab@suse.de>
12490         * config.h.in (HAVE_IFUNC): Define to 0.
12491         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12492         definedness.
12494 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12497         memmove-avx-unaligned, memcpy-avx-unaligned and
12498         mempcpy-avx-unaligned.
12499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12500         Add tests for AVX memcpy functions.
12501         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12502         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12503         memcpy_chk.
12504         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12505         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12506         memmove_chk.
12507         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12508         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12509         mempcpy_chk.
12510         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12511         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12512         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12514 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12516         [BZ #17213]
12517         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12518         powerpc64le.
12520 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12522         [BZ #16839]
12523         * manual/llio.texi: Add section about open file description locks.
12524         * manual/examples/ofdlocks.c: Example of open file description
12525         lock usage.
12526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12527         F_OFD_SETLK, and F_OFD_SETLKW.
12529 2014-07-23  Allan McRae  <allan@archlinux.org>
12531         * po/es.po: Update Spanish translation from translation project.
12533 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12535         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12537 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12539         [BZ #17078]
12540         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12541         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12542         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12544 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12546         [BZ #17088]
12547         * math/fesetenv.c (__fesetenv)
12548         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12549         * math/feupdateenv.c (__feupdateenv)
12550         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12552         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12553         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12554         (__ASSUME_SOCKETCALL): Do not define.
12556         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12557         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12558         (__ASSUME_SOCKETCALL): Do not define.
12559         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12560         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12561         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12562         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12563         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12564         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12565         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12566         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12568         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12569         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12570         (__ASSUME_SOCKETCALL): Do not define.
12571         (__ASSUME_IPC64): Define unconditionally.
12572         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12573         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12574         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12575         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12576         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12577         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12578         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12579         Likewise.
12581         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12582         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12583         (__ASSUME_SOCKETCALL): Do not define.
12584         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12585         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12586         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12587         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12588         (__ASSUME_REQUEUE_PI): Define unconditionally.
12589         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12590         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12591         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12592         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12593         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12594         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12596         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12597         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12598         (__ASSUME_SOCKETCALL): Do not define.
12599         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12600         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12601         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12602         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12603         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12604         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12606         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12607         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12608         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12609         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12610         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12611         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12612         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12613         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12614         (__ASSUME_GETCPU_SYSCALL): Likewise.
12616         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12617         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12618         cases for individual architectures.
12619         * sysdeps/gnu/configure: Regenerated.
12620         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12621         LIBC_SLIBDIR_RTLDDIR.
12622         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12623         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12624         LIBC_SLIBDIR_RTLDDIR.
12625         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12627         LIBC_SLIBDIR_RTLDDIR.
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12629         Regenerated.
12630         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12631         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12632         file.
12633         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12634         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12635         file.
12636         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12637         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12638         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12639         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12641         * sysdeps/aarch64/shlib-versions: Move to ...
12642         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12643         * sysdeps/alpha/shlib-versions: Move to ...
12644         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12645         * sysdeps/arm/shlib-versions: Move to ...
12646         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12647         * sysdeps/hppa/shlib-versions: Move all contents except for
12648         libgcc_s entry to ...
12649         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12650         entry from ...
12651         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12652         * sysdeps/ia64/shlib-versions: Move to ...
12653         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12654         entry from ...
12655         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12656         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12657         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12658         * sysdeps/microblaze/shlib-versions: Move to ...
12659         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12660         * sysdeps/mips/shlib-versions: Move to ...
12661         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12662         entry from ...
12663         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12664         * sysdeps/tile/shlib-versions: Move to ...
12665         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12666         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12667         from ...
12668         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12669         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12670         entry from ...
12671         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12673 2014-07-17  Will Newton  <will.newton@linaro.org>
12675         * sysdeps/arm/bits/atomic.h
12676         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12677         (__arch_compare_and_exchange_bool_16_int): Likewise.
12678         (__arch_compare_and_exchange_bool_64_int): Likewise.
12680         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12681         into an #else block.
12683 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12685         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12686         just Linux configurations.  Test empirically that the compiler sets
12687         __ARM_EABI__, rather than using the tuple to decide.
12688         * sysdeps/arm/preconfigure: Regenerated.
12689         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12690         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12691         contents appended ...
12692         * sysdeps/arm/configure.ac: ... here.
12693         * sysdeps/arm/configure: Regenerated.
12695 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12697         * nptl/pthread_kill.c: New file.
12698         * nptl/pthread_sigmask.c: New file.
12699         * nptl/pthread_sigqueue.c: New file.
12701         * sysdeps/nptl/lowlevellock.h: New file.
12702         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12703         * sysdeps/nptl/lowlevellock-futex.h: New file.
12705         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12706         Remove dead declarations.
12708 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12710         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12711         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12712         config-cflags-avx2.
12713         * sysdeps/x86_64/configure.ac: Likewise.
12714         * sysdeps/i386/configure: Regenerated.
12715         * sysdeps/x86_64/configure: Likewise.
12716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12717         memset-avx2 only if config-cflags-avx2 is yes.
12718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12719         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12720         defined.
12721         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12722         only if HAVE_AVX2_SUPPORT is defined.
12723         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12725 2014-07-14  Alan Modra  <amodra@gmail.com>
12727         [BZ #17153]
12728         * elf/elf.h (DT_PPC64_NUM): Correct value.
12729         * NEWS: Add to fixed bug list.
12731 2014-07-13  Jim Meyering  <meyering@fb.com>
12733         [BZ 17150]
12734         regex: don't deref NULL upon heap allocation failure
12735         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12736         failure in one more place.
12737         To trigger the segfault, configure grep -with-included-regex,
12738         build it, and run these commands:
12739         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12741 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12743         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12745 2014-07-11  Richard Henderson  <rth@redhat.com>
12747         * sysdeps/aarch64/libm-test-ulps: Update.
12749 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12751         [BZ #17135]
12752         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12753         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12754         (__nptl_setxid): Initialize error member.  Call
12755         __nptl_setxid_error.
12756         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12757         * nptl/descr.h (struct xid_command): Add error member.
12758         * nptl/tst-setuid3.c: New file.
12759         * nptl/Makefile (tests): Add it.
12761 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12763         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12764         New define.
12765         (__lll_trylock): Use __lll_base_trylock.
12766         (__lll_cond_trylock): Likewise.
12768 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12770         * nptl/pthread_create.c (start_thread): Use atomic_or and
12771         lll_futex_wake directly rather than lll_robust_dead.
12772         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12773         (lll_robust_dead): Macro removed.
12774         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12775         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12776         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12777         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12778         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12779         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12780         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12781         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12782         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12783         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12784         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12785         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12786         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12787         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12788         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12790         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12791         Use atomic_compare_and_exchange_val_acq directly rather than
12792         lll_robust_trylock.
12793         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12794         (__lll_robust_trylock, lll_robust_trylock): Removed.
12795         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12796         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12797         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12799         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12800         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12801         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12802         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12803         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12804         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12805         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12806         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12807         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12808         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12810 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12812         * manual/locale.texi (Locale Names): New section documenting
12813         locale name syntax.  Adjust menu and node chaining accordingly.
12814         (Choosing Locale): Reference Locale Names, Locale Categories.
12815         Mention setting LC_ALL=C.  Reflect that name syntax is now
12816         documented.
12817         (Locale Categories): New section title.  Reference Locale Names.
12818         LC_ALL is an environment variable, but not a category.
12819         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12820         description, now in Locale Name.  Reference that section.  Locale
12821         name syntax is now documented.
12823 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12825         [BZ #17137]
12826         * locale/findlocale.c (name_present, valid_locale_name): New
12827         functions.
12828         (_nl_find_locale): Use the loc_name variable to store name
12829         candidates.  Call name_present and valid_locale_name to check and
12830         validate locale names.  Return an error if the locale is invalid.
12832 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12834         * locale/setlocale.c (setlocale): Use strdup for allocating
12835         composite name copy.
12837 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12839         Sync up with gnulib.
12840         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12841         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12842         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12843         and _GL_ARG_NONNULL.
12844         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12845         [!_LIBC]: Include code for Windows and Cygwin.
12846         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12847         Include prototype for int strerror_r.
12848         [!_LIBC] (is_open): New function.
12849         (flush_stdout): New function.
12850         (print_errno_message): Use it.
12851         (error): Likewise.
12852         (error_at_line): Likewise.
12853         (error_tail) Add function attribute macros.  Use
12854         __builtin_expect.
12856         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12858         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12860         * io/ftw.c: Include sys/param.h unconditionally.
12862         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12864         [BZ #17125]
12865         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12866         libc_freeres_ptr.
12867         (freecache): New function to free CACHE on exit.
12869         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12870         initialization.
12872 2014-07-09  David S. Miller  <davem@davemloft.net>
12874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12876         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12877         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12878         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12879         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12880         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12881         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12882         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12883         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12884         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12885         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12886         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12887         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12888         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12890 2014-07-09  Andreas Schwab  <schwab@suse.de>
12892         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12893         output.
12894         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12895         (do_test): Likewise.
12897         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12899 2014-07-09  Will Newton  <will.newton@linaro.org>
12901         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12902         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12903         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12904         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12905         * sysdeps/hppa/start.S (_start): Likewise.
12907 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12909         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12911         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12912         defined.
12914 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12916         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12917         after checking that it is non-NULL.
12919         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12921 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12923         * sysdeps/powerpc/memmove.c: Remove file.
12924         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12925         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12926         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12927         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12928         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12929         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12930         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12931         string memmove instead of removed powerpc one.
12933         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12934         [weak_alias]: Fix compiler warning due trailing data.
12935         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12936         [weak_alias]: Likewise.
12937         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12938         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12941         (__libc_ifunc_impl_list): Add memmove functions.
12943 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12945         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12946         Remove code.
12947         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12948         Likewise
12949         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12950         Likewise
12951         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12952         Likewise
12953         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12954         Likewise
12955         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12956         Likewise
12957         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12958         Likewise
12959         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12960         Likewise
12961         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12962         Likewise
12963         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12964         Likewise
12965         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12966         Likewise
12967         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12968         Likewise
12969         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12970         Likewise
12971         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12972         Likewise
12973         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12974         Likewise
12975         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12976         Likewise
12977         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12978         Likewise
12980 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12982         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12983         to avoid alignment traps in non-cacheable memory.
12984         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12987         multiarch objects.
12988         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12989         file: multiarch power7 memmove.
12990         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12991         multiarch default memmove.
12992         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12993         multiarch memove for powerpc32/power4.
12995         * string/bcopy.c: Use full path to include memmove.c.
12996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12997         multiarch objects.
12998         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12999         bcopy for powerpc64.
13000         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13001         bcopy for powerpc64.
13002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13003         and memmove implementations.
13004         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13005         optimized multiarch memmove for POWER7/powerpc64.
13006         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13007         default multiarch memmove for powerpc64.
13008         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13009         multiarch for powerpc64.
13010         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13011         for POWER7/powerpc64.
13012         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13013         memmove for POWER7/powerpc64.
13015         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13016         glibc default one.
13018         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13019         __ELF_NATIVE_CLASS equal to 64.
13021 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13023         * sysdeps/nptl/lowlevellock.h: File removed.
13025         * NEWS: NPTL is no longer an add-on!
13026         * nptl/internaltypes.h: Moved ...
13027         * sysdeps/nptl/internaltypes.h: ... here.
13028         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13029         * sysdeps/nptl/fork.c: Likewise.
13030         * sysdeps/nptl/gai_misc.h: Likewise.
13031         * sysdeps/nptl/librt-cancellation.c: Likewise.
13032         * sysdeps/nptl/jmp-unwind.c: Likewise.
13033         * sysdeps/nptl/setxid.h: Likewise.
13034         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13035         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13036         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13037         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13038         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13039         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13040         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13041         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13042         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13043         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13044         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13045         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13046         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13047         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13048         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13049         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13050         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13051         * nptl/Makeconfig: Moved ...
13052         * sysdeps/nptl/Makeconfig: ... here.
13053         * nptl/configure: File removed.
13054         * nptl/ANNOUNCE: File removed.
13055         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13056         * sysdeps/unix/sysv/linux/configure: Regenerated.
13058         * nptl/Makefile (routines): Add libc_pthread_init,
13059         libc_multiple_threads, register-atfork and unregister-atfork.
13060         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13061         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13062         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13063         pthread-pi-defines.sym, structsem.sym.
13064         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13065         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13066         [$(subdir) = nptl] (tests): Add tst-setgetname.
13067         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13068         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13069         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13070         [!LIBC_SIGACTION]: Remove aliases.
13071         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13072         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13073         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13074         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13075         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13076         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13077         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13078         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13079         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13080         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13081         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13082         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13083         __libc_allocate_rtsig_private.
13084         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13085         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13086         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13087         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13088         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13089         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13090         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13091         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13092         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13093         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13094         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13095         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13096         * nptl/internaltypes.h: ... here.
13097         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13098         * sysdeps/nptl/jmp-unwind.c: ... here.
13099         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13100         * nptl/libc-lowlevellock.c: ... here.
13101         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13102         * nptl/libc_multiple_threads.c: ... here.
13103         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13104         * nptl/libc_pthread_init.c: ... here.
13105         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13106         * nptl/lowlevelbarrier.sym: ... here.
13107         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13108         * nptl/lowlevelcond.sym: ... here.
13109         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13110         * nptl/lowlevellock.c: ... here.
13111         * nptl/lowlevellock.h: Moved ...
13112         * sysdeps/nptl/lowlevellock.h: ... here.
13113         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13114         * nptl/lowlevelrobustlock.c: ... here.
13115         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13116         * nptl/lowlevelrobustlock.sym: ... here.
13117         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13118         * nptl/lowlevelrwlock.sym: ... here.
13119         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13120         * nptl/pt-fork.c: ... here.
13121         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13122         * nptl/pthread-pi-defines.sym: ... here.
13123         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13124         * nptl/pthread_attr_getaffinity.c: ... here.
13125         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13126         * nptl/pthread_attr_setaffinity.c: ... here.
13127         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13128         * nptl/pthread_mutex_cond_lock.c: ... here.
13129         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13130         Update #include.
13131         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13132         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13133         * nptl/pthread_once.c: ... here, replacing old file.
13134         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13135         * nptl/pthread_yield.c: ... here.
13136         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13137         * nptl/register-atfork.c: ... here.
13138         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13139         * nptl/sem_post.c: ... here.
13140         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13141         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13142         * nptl/sem_timedwait.c: ... here.
13143         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13144         * nptl/sem_trywait.c: ... here.
13145         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13146         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13147         * nptl/sem_wait.c: ... here.
13148         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13149         * nptl/structsem.sym: ... here.
13150         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13151         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13152         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13153         * nptl/unregister-atfork.c: ... here.
13154         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13155         * nptl/unwindbuf.sym: ... here.
13156         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13157         * sysdeps/nptl/fork.c: ... here.
13158         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13159         * sysdeps/nptl/fork.h: ... here.
13160         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13161         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13162         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13163         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13164         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13165         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13166         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13167         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13168         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13169         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13170         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13171         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13172         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13173         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13174         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13175         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13176         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13177         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13178         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13179         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13180         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13181         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13182         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13183         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13184         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13185         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13186         * sysdeps/unix/sysv/linux/raise.c: ... here.
13187         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13188         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13189         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13190         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13191         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13192         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13193         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13194         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13195         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13196         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13197         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13198         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13199         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13200         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13201         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13203 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13205         * sysdeps/generic/memcopy.h: Add comment for
13206         MEMCPY_OK_FOR_FWD_MEMMOVE.
13208 2014-07-04  Will Newton  <will.newton@linaro.org>
13210         * string/memchr.c: Merge from gnulib.
13211         [_LIBC]: Remove conditionals.
13212         (__ptr_t): Remove define.
13213         (LONG_MAX_32_BITS): Likewise.
13214         (LONG_MAX): Likewise.
13215         (MEMCHR): Use ANSI prototype and optimize algorithm.
13217         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13219 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13221         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13222         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13224         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13225         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13226         in a bare environment with no <stdlib.h> installed.
13227         * sysdeps/nptl/configure: Regenerated.
13229         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13231         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13232         AC_EGREP_CPP for kernel header checks, so they only succeed if
13233         including <linux/version.h> actually works right.
13234         * sysdeps/unix/sysv/linux/configure: Regenerated.
13236         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13237         value so it's not diagnosed as unused.
13239         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13240         thing) with "ifeq ($(subdir),rt)".
13242 2014-07-03  Richard Henderson  <rth@redhat.com>
13244         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13245         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13246         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13248         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13249         (math_force_eval): New.
13251         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13252         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13254         * sysdeps/alpha/fpu/s_round.c: Remove file.
13255         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13257         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13258         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13259         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13260         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13261         (_dl_start, print_statistics): Likewise.
13262         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13263         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13265         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13266         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13267         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13268         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13269         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13270         (HP_SMALL_TIMING_AVAIL): Define.
13271         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13272         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13273         (HP_SMALL_TIMING_AVAIL): Define.
13274         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13275         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13277         * sysdeps/aarch64/hp-timing.h: New file.
13279         * sysdeps/generic/hp-timing.h: Remove dead comment.
13280         * sysdeps/generic/hp-timing-common.h: New file.
13281         * sysdeps/alpha/hp-timing.h: Include it.
13282         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13283         * sysdeps/i386/i686/hp-timing.h: Likewise.
13284         * sysdeps/ia64/hp-timing.h: Likewise.
13285         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13286         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13287         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13288         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13289         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13290         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13291         (hp_timing_t): New.
13293         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13294         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13295         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13296         * elf/rtld.c (_dl_start_final): Likewise.
13297         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13298         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13299         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13300         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13301         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13302         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13303         (HP_TIMING_DIFF_INIT): Remove.
13304         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13305         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13306         (HP_TIMING_DIFF_INIT): Remove.
13307         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13308         * sysdeps/i386/i686/hp-timing.c: Remove file.
13309         * sysdeps/x86_64/hp-timing.c: Remove file.
13310         * sysdeps/ia64/hp-timing.c: Remove file.
13311         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13312         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13313         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13314         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13316         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13317         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13318         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13319         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13320         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13321         (HP_TIMING_ACCUM): Remove.
13322         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13323         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13324         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13326         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13327         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13328         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13329         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13330         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13331         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13332         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13333         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13335         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13337 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13339         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13341 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13343         Sync up with gettext.
13344         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13345         [_MSC_VER]: Include malloc.h
13346         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13347         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13348         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13349         TEMP_FAILURE_RETRY.  Cast return of alloca.
13350         [!_LIBC] Call gl_rwlock_init.
13351         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13353 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13355         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13356         before checking its value.
13358 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13360         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13362         * debug/memcpy_chk.c: Don't include pagecopy.h.
13363         * debug/mempcpy_chk.c: Likewise.
13364         * string/memcpy.c: Likewise.
13365         * string/memmove.c: Likewise.
13366         * sysdeps/powerpc/memmove.c: Likewise.
13367         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13368         definition of PAGE_COPY_FWD_MAYBE here...
13369         * sysdeps/generic/pagecopy.h: ... from here.
13370         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13372 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13373             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13375         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13377         optimizations.
13378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13379         (__libc_ifunc_impl_list): Likewise.
13380         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13381         multiarch strcat for PPC64.
13382         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13383         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13385 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13387         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13389 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13391         * intl/loadmsgcat.c: Remove declaration of
13392         get_sysdep_segment_value.
13393         (get_sysdep_segment_value): Use ISO C style.
13394         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13395         semicolon.  Fix typo and formatting in comment.
13396         (_nl_unload_domain): Use ISO C style.
13398         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13400 2014-07-02  Will Newton  <will.newton@linaro.org>
13402         * malloc/obstack.c: Merge from gnulib master.
13403         [HAVE_CONFIG_H]: Remove conditional code.
13404         [!_LIBC]: Include config.h.
13405         [!ELIDE_CODE]: Don't include inttypes.h, include
13406         stdint.h unconditionally.
13407         (print_and_abort): Mark as _Noreturn.
13408         (_obstack_allocated_p): Mark as __attribute_pure__.
13409         (obstack_free): Rename to __obstack_free.
13410         [!__attribute__]: Remove conditional code.
13411         * malloc/obstack.h: Merge from gnulib master.
13412         [__cplusplus]: Move conditional down.
13413         [!__attribute_pure__]: Define __attribute_pure__ here
13414         if it is not already defined.
13415         (_obstack_memory_used): Mark as __attribute_pure__.
13416         [!__obstack_free]: Define as obstack_free.
13417         [__GNUC__]: Remove check for ancient NeXT gcc.
13419 2014-07-02  Will Newton  <will.newton@linaro.org>
13420             Paul Eggert  <eggert@cs.ucla.edu>
13422         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13424 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13426         * resolv/gethnamaddr.c: Add comment warning that the file is
13427         not maintained.
13429 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13431         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13432         entries.
13434         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13435         entry for aio_cancel and aio_cancel64.
13436         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13437         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13438         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13439         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13440         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13441         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13442         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13443         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13444         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13445         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13446         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13447         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13448         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13450 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13452         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13453         * nptl/pthread_mutex_lock.c: Likewise.
13454         * nptl/pthread_mutex_timedlock.c: Likewise.
13455         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13457 2014-07-01  Richard henderson  <rth@redhat.com>
13459         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13460         (__isnan, __isnanl): Remove.
13461         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13463         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13465 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13467         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13469 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13471         * resolv/nss_dns/dns-host.c (getanswer_r)
13472         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13474 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13477         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13478         undefine.
13479         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13480         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13482 2014-07-01  Roland McGrath <roland@hack.frob.com>
13484         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13485         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13487         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13488         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13490         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13491         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13492         ... here.
13493         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13494         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13496         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13497         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13498         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13499         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13501         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13502         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13503         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13504         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13505         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13506         Moved ...
13507         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13508         ... here.
13509         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13510         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13512         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13513         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13514         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13516         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13517         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13518         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13520         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13521         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13522         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13523         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13524         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13525         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13526         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13527         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13528         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13529         ... here.
13530         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13531         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13532         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13533         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13534         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13535         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13536         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13537         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13539 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13541         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13542         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13543         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13544         Add sysdep.
13546 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13550 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13552         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13553         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13555         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13557         * sysdeps/arm/libm-test-ulps: Regenerated.
13559 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13560             Roland McGrath <roland@hack.frob.com>
13562         * test-skeleton.c (signal_handler): Kill the whole process group
13563         before killing the child individually.
13564         (main): Report any failure on `setpgid'.
13566 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13568         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13569         from _TLS_H to _ARM_NPTL_TLS_H.
13570         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13571         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13573 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13575         [BZ #16539]
13576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13577         (__expm1l): Return argument unchanged when small but not
13578         subnormal.
13580         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13581         include macro name.
13582         (_FP_UNPACK_RAW_1_P): Likewise.
13583         (_FP_PACK_RAW_1): Likewise.
13584         (_FP_PACK_RAW_1_P): Likewise.
13585         (_FP_MUL_MEAT_1_wide): Likewise.
13586         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13587         (_FP_MUL_MEAT_1_hard): Likewise.
13588         (_FP_DIV_MEAT_1_imm): Likewise.
13589         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13590         (_FP_DIV_MEAT_1_udiv): Likewise.
13591         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13592         (_FP_UNPACK_RAW_2): Likewise.
13593         (_FP_UNPACK_RAW_2_P): Likewise.
13594         (_FP_PACK_RAW_2): Likewise.
13595         (_FP_PACK_RAW_2_P): Likewise.
13596         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13597         (_FP_MUL_MEAT_2_wide): Likewise.
13598         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13599         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13600         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13601         (_FP_MUL_MEAT_2_gmp): Likewise.
13602         (_FP_DIV_MEAT_2_udiv): Likewise.
13603         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13604         (_FP_FRAC_SRL_4): Likewise.
13605         (_FP_FRAC_SRST_4): Likewise.
13606         (_FP_FRAC_SRS_4): Likewise.
13607         (_FP_UNPACK_RAW_4): Likewise.
13608         (_FP_UNPACK_RAW_4_P): Likewise.
13609         (_FP_PACK_RAW_4): Likewise.
13610         (_FP_PACK_RAW_4_P): Likewise.
13611         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13612         (_FP_MUL_MEAT_4_wide): Likewise.
13613         (_FP_MUL_MEAT_4_gmp): Likewise.
13614         (umul_ppppmnnn): Likewise.
13615         (_FP_DIV_MEAT_4_udiv): Likewise.
13616         (__FP_FRAC_ADD_4): Likewise.
13617         (__FP_FRAC_SUB_3): Likewise.
13618         (__FP_FRAC_SUB_4): Likewise.
13619         (__FP_FRAC_DEC_3): Likewise.
13620         (__FP_FRAC_DEC_4): Likewise.
13621         (__FP_FRAC_ADDI_4): Likewise.
13622         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13623         (_FP_FRAC_SRL_8): Likewise.
13624         (_FP_FRAC_SRS_8): Likewise.
13626         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13627         include macro name.
13628         (FP_UNPACK_RAW_EP): Likewise.
13629         (FP_PACK_RAW_E): Likewise.
13630         (FP_PACK_RAW_EP): Likewise.
13631         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13632         (_FP_ISSIGNAN): Likewise.
13633         (_FP_ADD_INTERNAL): Likewise.
13634         (_FP_FMA): Likewise.
13635         (_FP_CMP): Likewise.
13636         (_FP_SQRT): Likewise.
13637         (_FP_TO_INT): Likewise.
13638         (_FP_FROM_INT): Likewise.
13639         (FP_EXTEND): Likewise.
13640         (_FP_DIV_MEAT_N_loop): Likewise.
13642 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13644         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13645         throughout.
13647 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13649         [BZ #17097]
13650         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13651         result with correct sign in case of exponents that produce
13652         overflow except for X very close to 1.
13654 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13656         mktime: merge #if/#ifdef usage from glibc
13657         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13658         as that works with both Glibc's and Gnulib's style.
13659         See thread starting at Siddhesh Poyarekar's bug report at:
13660         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13662 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13665         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13666         * sysdeps/tile/tilegx/memmove.c: Remove file.
13668 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13670         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13671         abi-name definition.
13672         * scripts/soversions.awk: Do not handle or generate ABI lines.
13673         * shlib-versions: Remove ABI entries.
13674         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13675         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13677 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13680         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13681         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13682         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13684         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13686         Moved ...
13687         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13688         ... here.
13689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13690         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13691         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13692         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13694         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13696         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13698         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13700         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13702         Moved ...
13703         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13704         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13705         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13706         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13707         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13708         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13709         Moved ...
13710         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13712         Moved ...
13713         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13715         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13717         Moved ...
13718         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13720         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13721         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13722         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13724         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13726         Moved ...
13727         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13729         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13730         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13731         Moved ...
13732         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13734         Moved ...
13735         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13736         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13737         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13738         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13739         Moved ...
13740         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13741         ... here.
13742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13743         Identical file removed.
13744         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13745         Moved ...
13746         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13747         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13748         Identical file removed.
13749         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13750         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13752         Moved ...
13753         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13754         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13755         Identical file removed.
13756         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13757         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13758         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13759         Identical file removed.
13760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13761         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13763         Identical file removed.
13764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13765         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13766         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13767         Identical file removed.
13768         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13769         Moved ...
13770         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13771         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13772         Identical file removed.
13773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13774         Moved ...
13775         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13776         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13777         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13778         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13779         Identical file removed.
13780         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13781         Moved ...
13782         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13783         ... here.
13784         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13785         Identical file removed.
13786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13787         Moved ...
13788         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13789         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13790         Identical file removed.
13791         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13792         Moved ...
13793         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13794         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13795         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13796         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13797         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13798         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13801         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13802         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13804         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13805         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13806         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13807         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13808         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13810 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13812         [BZ #17092]
13813         * nscd/nscd.c (monitor_child): Return exit status of child
13814         instead of return value from wait syscall.
13816 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13818         * configure.ac (libc_commonpagesize): Remove variable.
13819         (libc_relro_required): Likewise.
13820         (libc_cv_z_relro): Remove configure test.
13821         * configure: Regenerated.
13822         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13823         variable.
13824         (libc_relro_required): Likewise.
13825         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13826         (libc_relro_required): Likewise.
13827         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13828         (libc_relro_required): Likewise.
13829         * sysdeps/arm/preconfigure: Regenerated.
13830         * sysdeps/ia64/preconfigure: Remove file.
13831         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13832         variable.
13833         (libc_relro_required): Likewise.
13835         [BZ #16561]
13836         [BZ #16562]
13837         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13838         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13839         recompute overflowing results in original rounding mode.
13840         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13841         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13842         recompute overflowing results in original rounding mode.
13843         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13844         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13845         recompute overflowing results in original rounding mode.
13846         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13847         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13848         recompute overflowing results in original rounding mode.
13849         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13850         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13851         recompute overflowing results in original rounding mode.
13852         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13853         (libc_feholdsetround_ctx): New macro.
13854         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13855         * sysdeps/i386/fpu/libm-test-ulps: Update.
13856         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13858 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13860         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13861         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13862         corresponding .cpsetup call.
13864 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13866         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13867         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13868         * sysdeps/arm/Makefile [$(subdir) = csu]
13869         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13870         (static-only-routines): Add aeabi_read_tp here.
13871         (shared-only-routines): Add libc-aeabi_read_tp here.
13872         (CFLAGS-libc-start.c): Add -fexceptions here.
13873         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13874         (sysdep_routines, static-only-routines, shared-only-routines):
13875         Don't add to these here.
13876         (CFLAGS-libc-start.c): Likewise.
13878         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13879         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13880         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13881         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13882         * sysdeps/arm/Makefile [$(subdir) = rt]
13883         (librt-sysdep_routines, librt-shared-only-routines):
13884         Append rt-aeabi_unwind_cpp_pr1 here.
13885         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13886         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13887         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13888         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13889         Append nptl-aeabi_unwind_cpp_pr1 here.
13890         (tests): Filter out tst-cleanupx4 here.
13891         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13892         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13893         Don't do those here.
13895 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13897         * scripts/list-sources.sh: Do not handle ports specially.
13899 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13901         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13902         * sysdeps/arm/feupdateenv.c: Likewise.
13904         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13906 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13908         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13909         trailing whitespace removed.
13910         * scripts/config.guess: Update to version 2014-03-23.
13911         * scripts/config.sub: Update to version 2014-05-01
13912         * scripts/install-sh: Update to version 2013-12-25.23.
13913         * scripts/move-if-change: Update from gnulib.
13915 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917         * debug/memmove_chk.c: Remove pagecopy.h include.
13919 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13921         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13922         identical to gnulib mktime.
13924 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13926         * configure.ac: Do not test for machine being rs6000.  Do not test
13927         for powerpc*-*soft.
13928         * configure: Regenerated.
13930         [BZ #11505]
13931         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13932         test.
13933         * configure: Regenerated.
13934         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13935         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13936         Remove configure test.
13937         * sysdeps/arm/configure: Regenerated.
13938         * sysdeps/nptl/configure.ac: Do not check
13939         libc_cv_asm_cfi_directives.
13940         * sysdeps/nptl/configure: Regenerated.
13941         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13942         * sysdeps/x86_64/nptl/configure: Remove generated file.
13943         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13944         unconditional.
13945         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13947 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13949         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13950         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13951         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13952         it is defined.
13954         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13955         instead of whether it is defined.
13956         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13957         * sysdeps/hppa/dl-machine.h: Likewise.
13958         * sysdeps/ia64/dl-machine.h: Likewise.
13959         * sysdeps/m68k/dl-machine.h: Likewise.
13960         * sysdeps/microblaze/dl-machine.h: Likewise.
13961         * sysdeps/mips/dl-machine.: Likewise.
13962         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13963         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13964         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13965         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13966         * sysdeps/sh/dl-machine.h: Likewise.
13967         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13968         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13969         * sysdeps/tile/dl-machine.h: Likewise.
13970         * sysdeps/x86_64/dl-machine.h: Likewise.
13972         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13973         code.
13974         (verify_persistent_db): Likewise.
13976 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13979         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13981         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13983         Moved ...
13984         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13985         ... here.
13986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13987         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13989         Identical file removed.
13990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13991         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13993         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13995         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13997         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13999         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14001         Moved ...
14002         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14004         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14006         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14008         Moved ...
14009         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14011         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14013         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14015         Identical file removed.
14016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14017         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14019         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14021         Moved ...
14022         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14023         ... here.
14024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14025         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14027         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14029         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14031         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14033         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14035         Moved ...
14036         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14038         Moved ...
14039         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14041         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14043         Moved ...
14044         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14046         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14048         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14049         folded into ...
14050         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14051         * sysdeps/unix/sysv/linux/s390/Versions
14052         (libpthread: GLIBC_2.19): New version set.
14053         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14054         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14055         (librt: GLIBC_2.3.3): New version set.
14056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14057         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14058         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14059         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14060         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14061         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14062         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14063         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14064         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14065         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14066         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14067         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14068         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14069         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14070         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14071         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14072         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14073         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14074         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14075         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14076         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14077         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14078         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14079         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14080         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14081         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14082         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14083         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14084         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14085         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14086         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14087         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14088         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14091         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14092         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14094         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14095         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14096         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14098         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14100         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14102         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14103         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14104         (__libc_vfork): Define the function under this name.
14105         [!NOT_IN_libc] (__vfork): Make this an alias.
14106         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14108         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14109         (__libc_vfork): Define the function under this name.
14110         [!NOT_IN_libc] (__vfork): Make this an alias.
14111         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14112         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14113         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14114         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14115         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14116         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14118         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14119         code that was previously under [RESET_PID].
14120         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14121         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14124         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14125         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14126         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14127         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14128         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14129         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14130         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14131         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14132         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14133         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14134         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14135         Moved ...
14136         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14138         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14139         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14140         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14142         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14143         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14144         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14145         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14146         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14147         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14148         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14149         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14150         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14151         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14152         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14153         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14154         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14155         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14156         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14157         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14158         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14160         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14161         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14162         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14163         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14164         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14166 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14168         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14169         that was previously under [RESET_PID].
14170         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14172 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14174         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14175         not undefine and redefine.
14176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14177         [O_CLOEXEC]: Make code unconditional.
14178         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14179         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14180         <kernel-features.h>.
14181         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14182         conditional variable definition.
14183         (shm_open) [O_CLOEXEC]: Make code unconditional.
14184         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14185         code.
14187         * configure.ac (USE_REGPARMS): Don't define here.
14188         * configure: Regenerated.
14189         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14190         * sysdeps/i386/configure: Regenerated.
14192         * nptl/createthread.c: Don't include kernel-features.h.
14193         * nptl/pthread_cancel.c: Likewise.
14194         * nptl/pthread_condattr_setclock.c: Likewise.
14195         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14196         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14197         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14198         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14199         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14200         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14201         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14204         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14205         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14206         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14207         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14208         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14209         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14210         * nscd/gai.c: Likewise.
14211         * nss/nss_db/db-open.c: Likewise.
14212         * sysdeps/generic/ldsodefs.h: Likewise.
14213         * sysdeps/sh/nptl/tls.h: Likewise.
14214         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14215         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14216         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14217         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14218         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14219         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14220         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14221         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14222         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14223         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14224         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14225         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14226         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14227         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14228         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14229         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14230         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14231         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14232         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14233         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14235         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14236         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14237         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14239         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14242         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14243         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14244         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14245         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14246         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14247         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14248         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14249         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14250         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14251         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14252         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14253         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14254         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14255         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14256         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14257         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14258         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14259         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14260         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14261         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14262         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14263         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14264         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14265         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14266         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14267         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14268         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14269         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14270         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14294         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14295         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14296         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14297         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14298         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14299         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14300         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14301         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14302         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14303         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14304         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14305         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14306         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14307         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14308         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14309         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14310         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14311         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14312         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14313         * sysdeps/unix/sysv/linux/system.c: Likewise.
14314         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14315         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14316         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14317         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14318         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14319         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14320         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14322         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14323         * configure: Regenerated.
14324         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14326         * configure.ac (base_machine): Do not set specially for particular
14327         machines here.
14328         * configure: Regenerated.
14329         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14330         settings from configure.ac.
14331         * sysdeps/i386/preconfigure: New file.
14332         * sysdeps/s390/preconfigure: Likewise.
14333         * sysdeps/sh/preconfigure: Likewise.
14334         * sysdeps/sparc/preconfigure: Likewise.
14336 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14338         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14339         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14340         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14341         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14342         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14343         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14344         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14345         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14346         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14347         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14348         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14349         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14350         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14351         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14352         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14353         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14354         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14355         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14356         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14358         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14359         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14360         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14361         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14362         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14363         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14364         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14365         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14366         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14367         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14368         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14369         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14370         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14371         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14372         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14373         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14374         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14375         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14376         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14377         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14378         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14379         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14380         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14381         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14382         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14383         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14384         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14385         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14386         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14387         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14388         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14389         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14390         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14391         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14392         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14393         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14394         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14395         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14398         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14400         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14402         Moved ...
14403         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14404         ... here.
14405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14406         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14408         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14410         Moved ...
14411         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14413         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14415         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14417         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14419         Moved ...
14420         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14422         Moved ...
14423         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14425         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14427         Moved ...
14428         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14430         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14432         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14434         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14436         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14438         Moved ...
14439         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14440         ... here.
14441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14442         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14444         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14446         Moved ...
14447         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14449         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14451         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14453         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14455         Moved ...
14456         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14458         Moved ...
14459         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14461         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14463         Moved ...
14464         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14466         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14468         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14470 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14472         * timezone/checktab.awk: Update from tzcode 2014e.
14473         * timezone/private.h: Likewise.
14474         * timezone/tzfile.h: Likewise.
14475         * timezone/zdump.c: Likewise.
14476         * timezone/zic.c: Likewise.
14478         * sysdeps/unix/sysv/linux/kernel-features.h
14479         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14480         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14481         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14482         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14483         Remove conditional code.
14485 2014-06-25  Will Newton  <will.newton@linaro.org>
14487         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14488         (_dl_arm_cap_flags): Add HWCAP2 values.
14489         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14490         (_DL_HWCAP_COUNT): Increase to 37.
14491         (_DL_HWCAP_LAST): New define.
14492         (_DL_HWCAP2_LAST): New define.
14493         (_dl_procinfo): Add support for printing
14494         AT_HWCAP2 entries.
14495         (_dl_string_hwcap): Use _dl_hwcap_string.
14497 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14501 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14503         * README: Do not mention ports directory.
14505         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14506         Remove macro.
14507         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14508         <kernel-features.h>.
14509         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14510         conditional variable definition.
14511         (__futimes): Update comment.
14512         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14513         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14515         [BZ #16560]
14516         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14517         arguments close to 0.
14518         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14519         Likewise.
14520         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14521         Likewise.
14522         * math/auto-libm-test-in: Add more tests of exp10.
14523         * math/auto-libm-test-out: Regenerated.
14524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14526         * sysdeps/unix/sysv/linux/kernel-features.h
14527         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14528         * sysdeps/unix/sysv/linux/readv.c: Do not include
14529         <kernel-features.h>.
14530         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14531         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14532         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14533         unconditional.
14534         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14535         conditional code.
14536         * sysdeps/unix/sysv/linux/writev.c: Do not include
14537         <kernel-features.h>.
14538         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14539         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14540         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14541         unconditional.
14542         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14543         conditional code.
14545 2014-06-25  Will Newton  <will.newton@linaro.org>
14547         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14548         comment changes throughout the file.  Remove checks
14549         for HAVE_*_H definitions that are not required.
14550         (__gen_tempname): Call abort if an unknown kind value is
14551         passed.
14553 2014-06-25  Andreas Schwab  <schwab@suse.de>
14555         [BZ #17086]
14556         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14557         scalbln, scalblnf, scalblnl in libc.
14559 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14561         [BZ #17086]
14562         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14563         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14564         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14566 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14568         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14569         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14570         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14571         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14572         Update #include.
14573         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14574         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14575         Update #include.
14576         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14577         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14578         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14579         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14580         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14581         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14582         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14583         * sysdeps/x86/bits/semaphore.h: ... here.
14584         * sysdeps/x86/nptl/elide.h: Moved ...
14585         * sysdeps/x86/elide.h: ... here.
14586         * sysdeps/x86_64/nptl/Implies: File removed.
14587         * sysdeps/i386/nptl/Implies: File removed.
14589 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14591         [BZ #16539]
14592         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14593         return the argument for normal arguments with exponent below -64.
14594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14595         Likewise.
14596         * math/auto-libm-test-in: Add another test of expm1.
14597         * math/auto-libm-test-out: Regenerated.
14599         [BZ #16287]
14600         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14601         calling __erfcl for arguments at least 16.
14602         * math/auto-libm-test-in: Add more tests of erf.
14603         * math/auto-libm-test-out: Regenerated.
14605         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14606         individual architectures.
14607         * sysdeps/unix/sysv/linux/configure: Regenerated.
14608         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14609         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14610         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14611         (ldd_rewrite_script): Define variable.
14612         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14614         file.
14615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14616         generated file.
14617         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14618         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14619         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14620         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14621         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14622         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14623         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14624         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14626 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14628         [BZ #17084]
14629         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14630         Rename member __data.d to __data.__elision_data.
14632 2014-06-24  Wilco  <wdijkstr@arm.com>
14634         * NEWS: Add 16918 to fixed bug list.
14636 2014-06-24  Wilco  <wdijkstr@arm.com>
14638         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14640 2014-06-24  Wilco  <wdijkstr@arm.com>
14642         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14643         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14644         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14645         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14646         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14647         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14648         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14649         Use _FPU_MASK_RM.
14651 2014-06-24  Wilco  <wdijkstr@arm.com>
14653         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14655 2014-06-24  Wilco  <wdijkstr@arm.com>
14657         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14658         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14659         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14660         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14662 2014-06-24  Wilco  <wdijkstr@arm.com>
14664         [BZ #16918]
14665         * sysdeps/arm/feupdateenv.c (feupdateenv):
14666         Rewrite to reduce FPSCR accesses and fix return value.
14668 2014-06-24  Wilco  <wdijkstr@arm.com>
14670         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14671         Optimize to avoid unnecessary FPSCR writes.
14672         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14673         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14674         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14675         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14677 2014-06-24  Wilco  <wdijkstr@arm.com>
14679         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14680         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14681         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14682         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14683         Call libc_fetestexcept_vfp.
14684         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14685         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14686         __SOFTFP__ ifdef so that they can be built for softfp.
14688 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14690         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14691         argument type signed char.
14693         * Makerules (check-abi): Dump diff of symlist if the test
14694         fails.
14696 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14698         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14699         using abort.
14701         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14702         Remove unused variable ST.
14704 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14706         [BZ #16354]
14707         [BZ #17061]
14708         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14709         small arguments before calling __expm1.
14710         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14711         small arguments before calling __expm1f.
14712         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14713         small arguments before calling __expm1l.
14714         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14715         Likewise.
14716         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14717         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14718         spurious underflow for some cosh tests.
14719         * math/auto-libm-test-out: Regenerated.
14720         * sysdeps/i386/fpu/libm-test-ulps: Update.
14722         [BZ #17050]
14723         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14724         (__ieee754_y1): Set errno if return value overflows.
14725         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14726         (__ieee754_y1f): Set errno if return value overflows.
14727         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14728         (__ieee754_y1l): Set errno if return value overflows.
14729         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14730         (__ieee754_y1l): Set errno if return value overflows.
14731         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14732         * math/auto-libm-test-out: Regenerated.
14734         * math/gen-auto-libm-tests.c: Document use of
14735         ignore-zero-inf-sign.
14736         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14737         (input_flags): Add ignore-zero-inf-sign.
14738         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14739         * math/gen-libm-test.pl (generate_testfile): Handle
14740         ignore-zero-inf-sign.
14741         * math/auto-libm-test-in: Mark some cpow tests with
14742         ignore-zero-inf-sign and some with xfail-rounding.
14743         * math/auto-libm-test-out: Regenerated.
14744         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14745         * sysdeps/i386/fpu/libm-test-ulps: Update.
14746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748         [BZ #16315]
14749         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14750         overflowing or underflowing operations take place with sign of
14751         result.
14752         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14753         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14754         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14755         (__ieee754_pow): Recompute overflowing and underflowing results in
14756         original rounding mode.
14757         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14758         (__powl_helper): Allow negative argument X and scale negated value
14759         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14760         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14761         overflowing or underflowing operations take place with sign of
14762         result.
14763         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14764         Include <math.h>.
14765         * math/auto-libm-test-in: Add more tests of pow.
14766         * math/auto-libm-test-out: Regenerated.
14767         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14768         (pow_tonearest_test_data): Remove.
14769         (pow_test_tonearest): Likewise.
14770         (pow_towardzero_test_data): Likewise.
14771         (pow_test_towardzero): Likewise.
14772         (pow_downward_test_data): Likewise.
14773         (pow_test_downward): Likewise.
14774         (pow_upward_test_data): Likewise.
14775         (pow_test_upward): Likewise.
14776         (main): Don't call removed functions.
14777         * sysdeps/i386/fpu/libm-test-ulps: Update.
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14783         Moved ...
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14786         Moved ...
14787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14789         Moved ...
14790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14792         Moved ...
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14795         File removed.
14796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14797         File removed.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14799         File removed.
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14801         File removed.
14802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14803         File removed.
14804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14805         File removed.
14806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14807         File removed.
14808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14809         File removed.
14810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14811         File removed.
14812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14813         File removed.
14814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14815         File removed.
14816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14817         File removed.
14818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14819         Moved ...
14820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14822         Moved ...
14823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14824         ... here.
14825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14826         Moved ...
14827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14829         Moved ...
14830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14832         Moved ...
14833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14835         Moved ...
14836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14838         Moved ...
14839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14841         Moved ...
14842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14844         Moved ...
14845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14848         ... here.
14849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14850         Moved ...
14851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14853         Moved ...
14854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14855         ... here.
14856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14857         Moved ...
14858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14859         ... here.
14860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14861         Moved ...
14862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14863         ... here.
14864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14865         Moved ...
14866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14868         Moved ...
14869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14873         Moved ...
14874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14875         ... here.
14876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14877         Moved ...
14878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14879         ... here.
14880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14881         Moved ...
14882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14884         Moved ...
14885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14887         Moved ...
14888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14890         Moved ...
14891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14893         Moved ...
14894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14895         ... here.
14896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14897         Moved ...
14898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14900         Moved ...
14901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14903         Moved ...
14904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14906         Moved ...
14907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14911         Moved ...
14912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14914         Moved ...
14915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14917         Moved ...
14918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14919         ... here.
14920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14921         Moved ...
14922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14923         ... here.
14924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14925         Moved ...
14926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14927         ... here.
14928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14929         Moved ...
14930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14932         Moved ...
14933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14935         Moved ...
14936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14938         Moved ...
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14940         ... here.
14941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14942         Moved ...
14943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14944         ... here.
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14946         Moved ...
14947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14948         ... here.
14949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14950         Moved ...
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14953         Moved ...
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14956 2014-06-23  Will Newton  <will.newton@linaro.org>
14957             Wilco  <wdijkstr@arm.com>
14959         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14960         implementation.  Include get-rounding-mode.h.
14961         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14962         [!libc_feholdsetround_noex_ctx]: Define
14963         libc_feholdsetround_noex_ctx.
14964         [!libc_feholdsetround_noexf_ctx]: Define
14965         libc_feholdsetround_noexf_ctx.
14966         [!libc_feholdsetround_noexl_ctx]: Define
14967         libc_feholdsetround_noexl_ctx.
14968         (libc_feholdsetround_ctx): New function.
14969         (libc_feresetround_ctx): New function.
14970         (libc_feholdsetround_noex_ctx): New function.
14971         (libc_feresetround_noex_ctx): New function.
14973 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14975         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14976         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14977         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14978         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14979         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14980         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14982         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14983         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14984         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14985         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14986         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14987         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14988         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14989         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14990         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14991         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14992         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14993         Moved ...
14994         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14995         ... here.
14996         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14997         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14998         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14999         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15000         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15001         Moved ...
15002         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15003         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15004         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15005         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15006         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15007         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15008         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15009         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15010         Moved ...
15011         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15012         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15013         Moved ...
15014         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15015         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15016         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15017         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15018         Moved ...
15019         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15020         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15021         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15022         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15023         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15024         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15025         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15026         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15027         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15028         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15029         Moved ...
15030         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15031         ... here.
15032         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15033         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15034         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15035         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15036         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15037         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15038         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15039         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15040         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15041         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15042         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15043         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15045         Moved ...
15046         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15047         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15048         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15049         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15050         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15051         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15052         Moved ...
15053         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15054         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15055         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15056         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15057         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15059         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15060         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15061         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15062         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15063         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15064         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15065         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15066         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15067         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15068         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15069         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15070         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15071         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15072         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15073         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15074         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15075         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15076         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15077         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15078         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15079         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15080         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15081         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15082         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15083         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15084         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15085         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15086         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15088 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15090         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15091         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15092         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15093         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15094         (IPV6_PMTUDISC_INTERFACE): Likewise.
15095         (IPV6_PMTUDISC_OMIT): Likewise.
15097 2014-06-23  Andreas Schwab  <schwab@suse.de>
15099         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15100         Remove unused errout label.
15102 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15104         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15105         macro: hardware supports Vector Crypto instructions.
15107 2014-06-23  Will Newton  <will.newton@linaro.org>
15109         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15110         rather than __builtin_expect.
15112         * elf/dl-lookup.c (undefined_msg): Remove variable.
15113         (_dl_lookup_symbol_x): Replace undefined_msg with string
15114         literal.
15116         * elf/dl-lookup.c (do_lookup_unique): New function.
15117         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15118         to a separate function.
15120 2014-06-23  Andreas Schwab  <schwab@suse.de>
15122         [BZ #17079]
15123         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15124         before reading the next line.
15126 2014-06-23  Will Newton  <will.newton@linaro.org>
15128         * test-skeleton.c (signal_handler): Use printf and %m
15129         rather than perror.  Use printf rather than fprintf to
15130         stderr.  Use puts rather than fputs to stderr.
15131         (main): Likewise.
15133 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15135         * nscd/nscd.c (thread_info_t): Remove typedef.
15136         (thread_info): Remove variable.
15138 2014-06-21  Allan McRae  <allan@archlinux.org>
15140         * NEWS: Mention CVE-2014-4043.
15142 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15144         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15145         * nptl/smp.h: ... here.
15147         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15149         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15150         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15151         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15152         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15154         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15155         * nptl/stack-aliasing.h: New file.
15156         * sysdeps/i386/i686/stack-aliasing.h: New file.
15157         * sysdeps/i386/i686/nptl/Makefile: File removed.
15158         * sysdeps/x86_64/stack-aliasing.h: New file.
15159         * sysdeps/x86_64/nptl/Makefile
15160         (CFLAGS-pthread_create.c): Variable removed.
15162         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15163         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15164         old file.
15165         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15166         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15167         old file.
15169 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15171         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15172         (__ASSUME_SIGFRAME_V2): Remove macro.
15173         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15174         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15175         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15176         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15177         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15178         Declare as function.  Remove conditional macro definitions.
15179         (__default_rt_sa_restorer): Likewise.
15180         (__default_sa_restorer_v1): Remove declaration.
15181         (__default_sa_restorer_v2): Likewise.
15182         (__default_rt_sa_restorer_v1): Likewise.
15183         (__default_rt_sa_restorer_v2): Likewise.
15184         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15185         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15186         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15188 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15190         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15191         (libpthread-routines): Add sysdep.
15192         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15193         * sysdeps/unix/sysv/linux/sparc/Versions
15194         (libpthread: GLIBC_2.3.3): New version set.
15195         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15196         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15197         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15198         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15199         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15200         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15201         Moved ...
15202         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15203         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15204         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15205         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15206         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15207         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15208         * sysdeps/sparc/nptl/sem_init.c: ... here.
15209         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15210         * sysdeps/sparc/nptl/sem_post.c: ... here.
15211         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15212         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15213         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15214         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15215         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15216         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15217         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15218         (libpthread-routines): Add cpu_relax.
15219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15220         File removed.
15221         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15222         (librt: GLIBC_2.3.3): New version set.
15223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15224         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15225         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15226         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15229         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15231         Moved ...
15232         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15234         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15236         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15238         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15240         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15242         Moved ...
15243         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15244         Update #include.
15245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15246         Moved ...
15247         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15248         Update #include.
15249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15250         Moved ...
15251         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15252         Update #include.
15253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15254         Moved ...
15255         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15256         Update #include.
15257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15258         Moved ...
15259         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15260         Update #include.
15261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15262         Moved ...
15263         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15264         Update #include.
15265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15266         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15272         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15274         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15276         Moved ...
15277         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15279         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15281         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15283 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15285         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15286         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15287         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15288         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15289         * nscd/nscd.c: Likewise.
15290         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15291         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15292         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15293         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15295         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15296         <kernel-features.h>.
15297         (init_mq_netlink): Remove conditional have_sock_cloexec
15298         definitions.  Remove code conditional on have_sock_cloexec < 0.
15299         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15300         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15301         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15302         <kernel-features.h>.
15303         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15304         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15306 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15309         Add tests for memset_chk and memset.
15311         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15312         with AVX2_Usable.
15314 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15316         [BZ #16046]
15317         * elf/tst-dl-iter-static.c: New file.
15318         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15320         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15321         error.
15323 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15325         * sysdeps/unix/sysv/linux/kernel-features.h
15326         (__ASSUME_F_GETOWN_EX): Remove macro.
15327         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15328         <kernel-features.h>.
15329         (miss_F_GETOWN_EX): Remove variable or macro.
15330         (do_fcntl): Do not check miss_F_GETOWN_EX.
15331         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15334         Remove macro.
15335         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15336         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15337         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15339         * sysdeps/unix/sysv/linux/kernel-features.h
15340         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15341         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15342         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15343         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15345 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15347         [BZ #17075]
15348         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15349         Fix calculation of the symbol's value.
15350         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15351         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15352         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15353         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15354         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15355         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15356         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15357         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15358         (modules-names): Add `tst-armtlsdescmod',
15359         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15360         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15361         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15362         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15363         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15364         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15365         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15366         ($(objpfx)tst-armtlsdescloc): New dependency.
15367         ($(objpfx)tst-armtlsdescextnow): Likewise.
15368         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15369         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15370         TLS scheme support.
15371         * sysdeps/arm/configure: Regenerate.
15373 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15375         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15376         (__atfct_seterrno_2): Likewise.
15377         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15378         <kernel-features.h>.
15379         (__ASSUME_ATFCTS): Do not undefine and redefine.
15380         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15381         (__have_atfcts): Remove conditional definition.
15382         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15383         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15384         unreachable if [__ASSUME_ATFCTS].
15385         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15386         not undefine and redefine.
15387         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15388         <kernel-features.h>.
15389         (faccessat) [__NR_faccessat]: Make code unconditional.
15390         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15391         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15392         <kernel-features.h>.
15393         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15394         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15395         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15396         <kernel-features.h>.
15397         (fchownat) [__NR_fchownat]: Make code unconditional.
15398         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15399         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15400         <kernel-features.h>.
15401         (futimesat) [__NR_futimesat]: Make code unconditional.
15402         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15403         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15404         <kernel-features.h>.
15405         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15406         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15407         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15408         <kernel-features.h>.
15409         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15410         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15411         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15412         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15413         <kernel-features.h>.
15414         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15415         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15416         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15417         <kernel-features.h>.
15418         (linkat) [__NR_linkat]: Make code unconditional.
15419         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15420         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15421         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15422         <kernel-features.h>.
15423         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15424         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15425         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15426         <kernel-features.h>.
15427         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15428         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15429         * sysdeps/unix/sysv/linux/openat.c: Do not include
15430         <kernel-features.h>.
15431         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15432         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15433         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15434         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15435         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15436         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15437         <kernel-features.h>.
15438         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15439         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15440         result of INLINE_SYSCALL directly, not via int variable.
15441         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15442         <kernel-features.h>.
15443         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15444         (renameat) [__NR_renameat]: Make code unconditional.
15445         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15446         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15447         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15448         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15449         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15450         (__ASSUME_ATFCTS): Do not undefine and redefine.
15451         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15452         <kernel-features.h>.
15453         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15454         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15455         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15456         <kernel-features.h>.
15457         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15458         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15459         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15460         (__ASSUME_ATFCTS): Do not undefine and redefine.
15461         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15462         <kernel-features.h>.
15463         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15464         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15465         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15466         <kernel-features.h>.
15467         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15468         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15470 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15472         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15474 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15476         [BZ #17069]
15477         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15478         constructed tree before returning error.
15479         * posix/bug-regexp36.c: Expand test case.
15481 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15483         [BZ #6803]
15484         * math/libm-test.inc (scalbln_test_date):
15485         Add errno expectations.
15486         * math/w_scalblnf.c: New File.
15487         Add wrapper which checks for setting errno to ERANGE.
15488         Add weak_alias for corresponding scalbln function.
15489         * math/w_scalbln.c: Likewise.
15490         * math/w_scalblnl.c: Likewise.
15491         * math/Makefile (libm-calls): Add w_scalbln.
15492         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15493         Remove weak_alias for corresponding scalbln function.
15494         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15495         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15497         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15498         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15499         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15500         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15501         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15502         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15503         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15504         Remove long_double_symbol for scalblnl function in libm, libc.
15505         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15506         Add wrapper which checks for setting errno to ERANGE.
15507         Add long_double_symbol for scalblnl function in libm, libc.
15508         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15509         Remove long_double_symbol for scalblnl in libm.
15510         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15511         Add wrapper which checks for setting errno to ERANGE.
15512         Add long_double_symbol for scalblnl function in libm.
15513         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15514         Do not use wrapper because of own implementation.
15516 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15518         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15519         3 bytes for __pad1 for x32.
15520         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15522 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15523             H.J. Lu  <hongjiu.lu@intel.com>
15525         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15526         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15527         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15528         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15529         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15531 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15533         [BZ #17069]
15534         * posix/regcomp.c (parse_expression): Deallocate partially
15535         constructed tree before returning error.
15536         * posix/Makefile.c (tests): Add bug-regex36.
15537         (generated): Add bug-regex36.mtrace.
15538         (tests-special): Add $(objpfx)bug-regex36-mem.out
15539         (bug-regex36-ENV): New variable.
15540         ($(objpfx)bug-regex36-mem.out): New rule.
15541         * posix/bug-regex36.c: New file.
15543 2014-06-19  Will Newton  <will.newton@linaro.org>
15545         * malloc/malloc.c (systrim): If extra is zero then return
15546         early.
15548 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15550         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15552 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15554         * sysdeps/aarch64/strchr.S: New file.
15556 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15558         [BZ #17022]
15559         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15560         from arguments -2 or below.
15561         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15562         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15564 2014-06-18  Andreas Schwab  <schwab@suse.de>
15566         [BZ #17062]
15567         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15568         of a bracket expr not to run off the end of the string.
15569         * posix/Makefile (tests): Add tst-fnmatch3.
15570         * posix/tst-fnmatch3.c: New file.
15572 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15574         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15575         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15576         [$(cross-compiling) = no]: Likewise.
15577         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15578         [$(cross-compiling) = no]: Likewise.
15580 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15582         [BZ #17031]
15583         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15584         double, adjusted for any remainder from the high double.
15585         * math/libm-test.inc (nearbyint): Add tests.
15586         (rint): Likewise.
15588 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15590         * nptl/sysdeps/powerpc/Makefile: Moved ...
15591         * sysdeps/powerpc/nptl/Makefile: ... here.
15592         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15593         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15594         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15595         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15596         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15597         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15598         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15599         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15600         * nptl/sysdeps/powerpc/tls.h: Moved ...
15601         * sysdeps/powerpc/nptl/tls.h: ... here.
15603 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15605         [BZ #16681]
15606         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15607         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15608         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15609         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15610         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15611         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15612         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15613         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15614         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15616 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15618         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15620 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15622         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15623         defined operator.
15625         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15626         $TIMEOUTFACTOR.
15628 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15630         [BZ #17058]
15631         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15632         non-executed part of the test.
15634 2014-06-16  Andreas Schwab  <schwab@suse.de>
15636         * string/bits/string2.h (strdup, strndup): Update feature guard.
15638 2014-06-14  David S. Miller  <davem@davemloft.net>
15640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15642 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15644         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15645         that was previously under [RESET_PID].
15646         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15648         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15649         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15650         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15651         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15652         (__libc_vfork): New strong alias.
15653         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15655 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15657         * sysdeps/generic/elide.h: New file.
15659 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15661         * Makefile (installed-headers): Adjust path of pthread.h header.
15663 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15665         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15666         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15667         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15668         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15670         * nptl/sysdeps/s390/Makefile: Moved ...
15671         * sysdeps/s390/nptl/Makefile: ... here.
15672         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15673         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15674         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15675         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15676         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15677         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15678         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15679         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15680         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15681         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15682         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15683         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15684         * nptl/sysdeps/s390/tls.h: Moved ...
15685         * sysdeps/s390/nptl/tls.h: ... here.
15687         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15688         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15690 2014-06-13  David S. Miller  <davem@davemloft.net>
15692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15695         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15699         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15700         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15701         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15702         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15703         Remove RESET_PID cpp guards.
15704         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15705         Remove RESET_PID cpp guards.
15706         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15708 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15710         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15711         __sp to uintptr_t.
15713 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15715         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15716         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15717         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15718         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15720         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15721         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15722         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15723         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15724         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15725         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15726         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15727         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15728         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15729         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15730         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15731         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15732         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15733         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15734         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15736         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15737         (pthread_rwlock_rdlock): Add elision.
15738         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15739         (pthread_rwlock_wrlock): Add elision.
15740         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15741         (pthread_rwlock_trywrlock): Add elision.
15742         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15743         (pthread_rwlock_tryrdlock): Add elision.
15744         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15745         (pthread_rwlock_tryrdlock): Add elision unlock.
15746         * nptl/sysdeps/pthread/pthread.h:
15747         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15748         (PTHREAD_RWLOCK_INITIALIZER,
15749         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15750         Handle new elision field.
15751         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15752         * sysdeps/arm/nptl/bits/pthreadtypes.h
15753         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15754         * sysdeps/sh/nptl/bits/pthreadtypes.h
15755         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15756         * sysdeps/tile/nptl/bits/pthreadtypes.h
15757         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15758         * sysdeps/a/nptl/bits/pthreadtypes.h
15759         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15760         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15761         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15762         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15764         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15765         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15766         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15767         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15768         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15770         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15771         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15772         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15773         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15774         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15776         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15777         (elision_init): Set try_xbegin to zero when no RTM.
15778         * sysdeps/x86/nptl/bits/pthreadtypes.h
15779         (pthread_rwlock_t): Change __pad1 to __rwelision.
15780         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15782 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15784         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15785         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15786         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15787         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15789 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15791         [BZ #16996]
15792         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15793         that the cached result has been set before returning it.
15795 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15797         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15798         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15799         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15800         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15801         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15802         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15804         * nptl/sysdeps/sparc/Makefile: Moved ...
15805         * sysdeps/sparc/nptl/Makefile: ... here.
15806         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15807         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15808         * nptl/sysdeps/sparc/tls.h: Moved ...
15809         * sysdeps/sparc/nptl/tls.h: ... here.
15810         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15811         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15812         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15813         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15814         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15815         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15816         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15817         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15818         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15819         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15820         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15821         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15822         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15823         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15824         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15825         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15826         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15827         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15828         Update #include.
15829         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15830         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15831         Update #include.
15832         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15833         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15834         Update #include.
15835         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15837         Update #include.
15839         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15841         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15842         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15844         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15845         (struct list_links): Type removed.
15846         (struct thread_node, struct timer_node): Replace struct list_links
15847         with struct list_head.
15848         (list_unlink_ip): Likewise.
15849         * sysdeps/pthread/timer_routines.c
15850         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15851         (list_append, list_insbefore): Likewise.
15852         (list_init): Function removed.
15853         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15854         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15855         * sysdeps/pthread/Makefile: ... here, new file.
15857         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15858         * sysdeps/nptl/Implies: ... here.
15859         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15860         * nptl/sysdeps/pthread/list.h: Moved ...
15861         * include/list.h: ... here.
15862         * nptl/sysdeps/pthread/createthread.c: Moved ...
15863         * nptl/createthread.c: ... here.
15864         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15865         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15866         * nptl/pt-longjmp.c: ... here.
15867         * nptl/sysdeps/pthread/Makefile: Moved ...
15868         * sysdeps/nptl/Makefile: ... here.
15869         * nptl/sysdeps/pthread/Subdirs: Moved ...
15870         * sysdeps/nptl/Subdirs: ... here.
15871         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15872         * sysdeps/nptl/aio_misc.h: ... here.
15873         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15874         * sysdeps/nptl/bits/libc-lock.h: ... here.
15875         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15876         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15877         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15878         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15879         * nptl/sysdeps/pthread/configure: Moved ...
15880         * sysdeps/nptl/configure: ... here.
15881         * nptl/sysdeps/pthread/configure.ac: Moved ...
15882         * sysdeps/nptl/configure.ac: ... here.
15883         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15884         * sysdeps/nptl/gai_misc.h: ... here.
15885         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15886         * sysdeps/nptl/librt-cancellation.c: ... here.
15887         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15888         * sysdeps/nptl/malloc-machine.h: ... here.
15889         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15890         * sysdeps/nptl/pthread-functions.h: ... here.
15891         * nptl/sysdeps/pthread/pthread.h: Moved ...
15892         * sysdeps/nptl/pthread.h: ... here.
15893         * nptl/sysdeps/pthread/setxid.h: Moved ...
15894         * sysdeps/nptl/setxid.h: ... here.
15895         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15896         * sysdeps/nptl/sigfillset.c: ... here.
15897         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15898         * sysdeps/nptl/tcb-offsets.h: ... here.
15899         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15900         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15901         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15902         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15903         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15904         * sysdeps/pthread/allocalim.h: ... here.
15905         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15906         * sysdeps/pthread/bits/sigthread.h: ... here.
15907         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15908         * sysdeps/pthread/flockfile.c: ... here.
15909         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15910         * sysdeps/pthread/ftrylockfile.c: ... here.
15911         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15912         * sysdeps/pthread/funlockfile.c: ... here.
15913         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15914         * sysdeps/pthread/posix-timer.h: ... here.
15915         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15916         * sysdeps/pthread/timer_create.c: ... here.
15917         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15918         * sysdeps/pthread/timer_delete.c: ... here.
15919         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15920         * sysdeps/pthread/timer_getoverr.c: ... here.
15921         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15922         * sysdeps/pthread/timer_gettime.c: ... here.
15923         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15924         * sysdeps/pthread/timer_routines.c: ... here.
15925         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15926         * sysdeps/pthread/timer_settime.c: ... here.
15927         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15928         * sysdeps/pthread/tst-timer.c: ... here.
15929         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15930         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15932         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15933         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15935         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15936         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15937         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15938         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15939         Update #include target.
15940         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15941         * sysdeps/i386/i686/nptl/Makefile: ... here.
15942         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15943         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15944         Update #include target.
15945         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15946         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15947         * nptl/sysdeps/i386/Makefile: Moved ...
15948         * sysdeps/i386/nptl/Makefile: ... here.
15949         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15950         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15951         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15952         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15953         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15954         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15955         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15956         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15957         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15958         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15959         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15960         * nptl/sysdeps/i386/tls.h: Moved ...
15961         * sysdeps/i386/nptl/tls.h: ... here.
15963         * sysdeps/sh/Makefile [$(subdir) = csu]
15964         (gen-as-const-headers): Add tcb-offsets.sym.
15965         * nptl/sysdeps/sh/Makefile: File removed.
15966         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15967         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15968         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15969         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15970         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15971         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15972         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15973         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15974         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15975         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15976         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15977         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15978         * nptl/sysdeps/sh/tls.h: Moved ...
15979         * sysdeps/sh/nptl/tls.h: ... here.
15980         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15981         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15982         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15983         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15984         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15985         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15986         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15987         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15988         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15989         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15990         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15991         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15992         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15993         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15994         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15995         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15996         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15997         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15998         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15999         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16000         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16001         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16002         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16003         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16004         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16005         Moved ...
16006         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16008         Moved ...
16009         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16010         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16011         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16012         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16013         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16014         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16015         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16016         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16017         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16018         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16019         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16020         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16021         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16022         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16023         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16024         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16025         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16026         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16027         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16029 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16031         * posix/spawn_faction_addopen.c: Include string.h.
16033 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16035         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16036         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16037         * nptl/sysdeps/x86_64/Makefile: Moved ...
16038         * sysdeps/x86_64/nptl/Makefile: ... here.
16039         * nptl/sysdeps/x86_64/configure: Moved ...
16040         * sysdeps/x86_64/nptl/configure: ... here.
16041         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16042         * sysdeps/x86_64/nptl/configure.ac: ... here.
16043         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16044         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16045         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16046         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16047         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16048         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16049         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16050         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16051         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16052         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16053         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16054         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16055         * nptl/sysdeps/x86_64/tls.h: Moved ...
16056         * sysdeps/x86_64/nptl/tls.h: ... here.
16057         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16058         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16059         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16060         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16062         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16064 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16068 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16070         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16071         type.
16072         [POSIX] (off_t): Likewise.
16073         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16074         [POSIX] (S_ISBLK): Require macro.
16075         [POSIX] (S_ISCHR): Likewise.
16076         [POSIX] (S_ISDIR): Likewise.
16077         [POSIX] (S_ISFIFO): Likewise.
16078         [POSIX] (S_ISREG): Likewise.
16079         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16080         optional-macro.
16081         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16082         type.
16083         [POSIX] (time_t): Likewise.
16084         [POSIX] (timer_t): Likewise.
16086 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16088         [BZ #17048]
16089         * posix/spawn_int.h (struct __spawn_action): Make the path string
16090         non-const to support deallocation.
16091         * posix/spawn_faction_addopen.c
16092         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16093         * posix/spawn_faction_destroy.c
16094         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16095         path in all spawn_do_open actions.
16096         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16097         posix_spawn_file_actions_addopen.
16099 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16101         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16102         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16103         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16104         conditional code always true.
16105         (__libc_vfork): New alias.
16107 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16109         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16110         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16112         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16114         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16115         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16117         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16118         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16120         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16121         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16123 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16125         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16126         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16127         multiarch strcmp for PPC64.
16128         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16129         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16131         multiarch optimizations.
16132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16133         (__libc_ifunc_impl_list): Likewise.
16135 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16137         * benchtests/scripts/validate_benchout.py: New script.
16138         * benchtests/Makefile (bench-func): Call it.
16139         * benchtests/scripts/benchout.schema.json: New file.
16141 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16143         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16144         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16145         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16146         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16147         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16148         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16149         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16150         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16151         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16152         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16153         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16154         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16155         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16156         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16157         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16158         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16160         Moved ...
16161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16162         ... here.
16163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16164         Moved ...
16165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16167         Moved ...
16168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16169         ... here.
16170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16171         Moved ...
16172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16173         ... here.
16174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16175         Moved ...
16176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16178         Moved ...
16179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16180         ... here.
16181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16182         Moved ...
16183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16184         ... here.
16185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16186         Moved ...
16187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16189         Moved ...
16190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16191         ... here.
16192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16193         Moved ...
16194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16195         ... here.
16196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16197         Moved ...
16198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16199         ... here.
16200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16201         Moved ...
16202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16204         Moved ...
16205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16206         ... here.
16207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16208         Moved ...
16209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16210         ... here.
16211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16212         Moved ...
16213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16214         ... here.
16215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16216         Moved ...
16217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16219         Moved ...
16220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16221         ... here.
16222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16223         Moved ...
16224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16225         ... here.
16226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16227         Moved ...
16228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16230         Moved ...
16231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16232         ... here.
16233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16234         Moved ...
16235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16237         Moved ...
16238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16240         Moved ...
16241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16242         ... here.
16243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16244         Moved ...
16245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16246         ... here.
16247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16248         Moved ...
16249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16250         ... here.
16251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16252         Moved ...
16253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16255         Moved ...
16256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16257         ... here.
16258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16259         Moved ...
16260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16261         ... here.
16262         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16263         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16264         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16265         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16266         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16267         Moved ...
16268         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16269         ... here.
16270         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16271         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16272         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16273         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16274         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16275         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16276         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16277         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16278         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16279         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16281         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16282         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16283         Moved ...
16284         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16285         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16286         Moved ...
16287         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16289         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16290         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16291         Moved ...
16292         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16293         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16296         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16297         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16298         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16300 2014-06-10  Wilco  <wdijkstr@arm.com>
16302         * math/test-fenv-return.c: New file.
16303         * math/Makefile: Add new test test-fenv-return.
16305 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16307         [BZ #17042]
16308         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16309         when x - 1 is zero.
16310         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16311         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16312         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16313         0.0L for an argument of 1.0L.
16314         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16315         Likewise.
16316         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16317         value when x - 1 is zero.
16318         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16319         * sysdeps/i386/fpu/libm-test-ulps: Update.
16320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16322 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16324         [BZ #15119]
16325         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16327 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16329         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16330         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16332 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16334         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16335         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16337         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16338         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16340         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16341         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16343         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16344         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16346         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16347         if not already defined.
16348         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16349         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16350         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16351         (TLS_INIT_TP): Use it.
16352         (TLS_DEFINE_INIT_TP): New macro.
16353         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16355 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16357         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16358         constant.
16359         [POSIX] (IXANY): Likewise.
16360         [POSIX] (OLCUC): Likewise.
16361         [POSIX || POSIX2008] (CBAUD): Do not allow.
16362         [POSIX || POSIX2008] (DEFECHO): Likewise.
16363         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16364         [POSIX || POSIX2008] (ECHOKE): Likewise.
16365         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16366         [POSIX || POSIX2008] (EXTA): Likewise.
16367         [POSIX || POSIX2008] (EXTB): Likewise.
16368         [POSIX || POSIX2008] (FLUSHO): Likewise.
16369         [POSIX || POSIX2008] (LOBLK): Likewise.
16370         [POSIX || POSIX2008] (PENDIN): Likewise.
16371         [POSIX || POSIX2008] (SWTCH): Likewise.
16372         [POSIX || POSIX2008] (VDISCARD): Likewise.
16373         [POSIX || POSIX2008] (VDSUSP): Likewise.
16374         [POSIX || POSIX2008] (VLNEXT): Likewise.
16375         [POSIX || POSIX2008] (VREPRINT): Likewise.
16376         [POSIX || POSIX2008] (VSTATUS): Likewise.
16377         [POSIX || POSIX2008] (VWERASE): Likewise.
16378         (B*): Change to B[0123456789]*.
16379         * conform/data/time.h-data [POSIX || UNIX98]
16380         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16381         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16382         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16383         [POSIX] (tm_*): Do not allow.
16385 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16387         * Makefile (install): Don't set LANGUAGE.
16388         * Makefile.in (install): Likewise.
16389         * assert/Makefile (test-assert-ENV): Remove variable.
16390         (test-assert-perr-ENV): Likewise.
16391         * elf/Makefile (neededtest4-ENV): Likewise.
16392         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16393         [$(cross-compiling) = no]: Don't set LANGUAGE.
16394         * io/ftwtest-sh (LANG): Remove variable.
16395         * libio/Makefile (tst-widetext-ENV): Likewise.
16396         * manual/install.texi (Running make install): Don't refer to
16397         environment settings for make install.
16398         * INSTALL: Regenerated.
16399         * nptl/tst-tls6.sh: Don't set LANG.
16400         * posix/globtest.sh (LANG): Remove variable.
16401         * string/Makefile (tester-ENV): Likewise.
16402         (inl-tester-ENV): Likewise.
16403         (noinl-tester-ENV): Likewise.
16404         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16405         [$(cross-compiling) = no]: Don't set LANGUAGE.
16406         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16407         without explicit environment settings.
16409 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16411         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16412         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16413         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16414         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16416 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16418         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16419         other files in the crypt directory.
16420         * crypt/crypt.c: Remove duplicate includes.
16421         * crypt/crypt-entry.c: Likewise.
16422         * crypt/crypt_util.c: Likewise.
16424 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16426         * Makeconfig (run-program-env): New variable.
16427         (run-program-prefix-before-env): Likewise.
16428         (run-program-prefix-after-env): Likewise.
16429         (run-program-prefix): Define in terms of new variables.
16430         (built-program-cmd-before-env): New variable.
16431         (built-program-cmd-after-env): Likewise.
16432         (built-program-cmd): Define in terms of new variables.
16433         (test-program-prefix-before-env): New variable.
16434         (test-program-prefix-after-env): Likewise.
16435         (test-program-prefix): Define in terms of new variables.
16436         (test-program-cmd-before-env): New variable.
16437         (test-program-cmd-after-env): Likewise.
16438         (test-program-cmd): Define in terms of new variables.
16439         * Rules (make-test-out): Use $(run-program-env).
16440         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16441         (help): Do not mention environment variables.  Mention
16442         --timeoutfactor option.
16443         (timeoutfactor): New variable.
16444         (blacklist_exports): Remove function.
16445         (exports): Remove variable.
16446         (command): Do not include ${exports}.
16447         * manual/install.texi (Configuring and compiling): Do not mention
16448         test wrappers preserving environment variables.  Mention that last
16449         assignment to a variable must take precedence.
16450         * INSTALL: Regenerated.
16451         * benchtests/Makefile (run-bench): Use $(run-program-env).
16452         * catgets/Makefile ($(objpfx)test1.cat): Use
16453         $(built-program-cmd-before-env), $(run-program-env) and
16454         $(built-program-cmd-after-env).
16455         ($(objpfx)test2.cat): Do not specify environment variables
16456         explicitly.
16457         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16458         $(run-program-env) and $(built-program-cmd-after-env).
16459         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16460         $(run-program-env) and $(test-program-cmd-after-env).
16461         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16462         explicitly.
16463         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16464         run_program_env and test_program_cmd_after_env arguments.
16465         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16466         * elf/tst-pathopt.sh: Use run_program_env argument.
16467         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16468         $(test-wrapper-env) and $(run-program-env).
16469         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16470         run_program_env arguments.
16471         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16472         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16473         $(test-program-prefix-before-env), $(run-program-env) and
16474         $(test-program-prefix-after-env).
16475         ($(objpfx)tst-gettext2.out): Likewise.
16476         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16477         run_program_env and test_program_prefix_after_env arguments.
16478         * intl/tst-gettext2.sh: Likewise.
16479         * intl/tst-gettext4.sh: Do not set environment variables
16480         explicitly.
16481         * intl/tst-gettext6.sh: Likewise.
16482         * intl/tst-translit.sh: Likewise.
16483         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16484         $(test-program-prefix-before-env), $(run-program-env) and
16485         $(test-program-prefix-after-env).
16486         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16487         run_program_env and test_program_prefix_after_env arguments.
16488         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16489         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16490         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16491         explicitly with each use of ${test_wrapper_env}.
16492         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16493         $(test-program-prefix-before-env), $(run-program-env) and
16494         $(test-program-prefix-after-env).
16495         * posix/tst-getconf.sh: Do not set environment variables
16496         explicitly.
16497         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16498         run_program_env and test_program_prefix_after_env arguments.
16499         * stdio-common/tst-printf.sh: Do not set environment variables
16500         explicitly.
16501         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16502         $(test-program-prefix-before-env), $(run-program-env) and
16503         $(test-program-prefix-after-env).
16504         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16505         run_program_env and test_program_prefix_after_env arguments.
16506         Split $test calls into $test_pre and $test.
16507         * timezone/Makefile (build-testdata): Use
16508         $(built-program-cmd-before-env), $(run-program-env) and
16509         $(built-program-cmd-after-env).
16511 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16513         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16514         strlen for non SHARED builds.
16516 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16518         * nptl/allocatestack.c (check_list): Inlined function...
16519         (__reclaim_stacks): ... here.
16521 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16523         [BZ #15698]
16524         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16525         memory overrun.
16527 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16529         * Rules (make-test-out): Include
16530         LOCPATH=$(common-objpfx)localedata in default environment.
16531         * debug/Makefile (tst-chk1-ENV): Remove variable.
16532         (tst-chk2-ENV): Likewise.
16533         (tst-chk3-ENV): Likewise.
16534         (tst-chk4-ENV): Likewise.
16535         (tst-chk5-ENV): Likewise.
16536         (tst-chk6-ENV): Likewise.
16537         (tst-lfschk1-ENV): Likewise.
16538         (tst-lfschk2-ENV): Likewise.
16539         (tst-lfschk3-ENV): Likewise.
16540         (tst-lfschk4-ENV): Likewise.
16541         (tst-lfschk5-ENV): Likewise.
16542         (tst-lfschk6-ENV): Likewise.
16543         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16544         (tst-iconv7-ENV): Likewise.
16545         * intl/Makefile (LOCPATH-ENV): Likewise.
16546         (tst-codeset-ENV): Likewise.
16547         (tst-gettext3-ENV): Likewise.
16548         (tst-gettext5-ENV): Likewise.
16549         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16550         (tst-fopenloc-ENV): Likewise.
16551         (tst-fgetws-ENV): Remove variable.
16552         (tst-ungetwc1-ENV): Likewise.
16553         (tst-ungetwc2-ENV): Likewise.
16554         (bug-ungetwc2-ENV): Likewise.
16555         (tst-swscanf-ENV): Likewise.
16556         (bug-ftell-ENV): Likewise.
16557         (tst-fgetwc-ENV): Likewise.
16558         (tst-fseek-ENV): Likewise.
16559         (tst-ftell-partial-wide-ENV): Likewise.
16560         (tst-ftell-active-handler-ENV): Likewise.
16561         (tst-ftell-append-ENV): Likewise.
16562         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16563         (tst-regexloc-ENV): Likewise.
16564         (bug-regex1-ENV): Likewise.
16565         (tst-regex-ENV): Likewise.
16566         (tst-regex2-ENV): Likewise.
16567         (bug-regex5-ENV): Likewise.
16568         (bug-regex6-ENV): Likewise.
16569         (bug-regex17-ENV): Likewise.
16570         (bug-regex18-ENV): Likewise.
16571         (bug-regex19-ENV): Likewise.
16572         (bug-regex20-ENV): Likewise.
16573         (bug-regex22-ENV): Likewise.
16574         (bug-regex23-ENV): Likewise.
16575         (bug-regex25-ENV): Likewise.
16576         (bug-regex26-ENV): Likewise.
16577         (bug-regex30-ENV): Likewise.
16578         (bug-regex32-ENV): Likewise.
16579         (bug-regex33-ENV): Likewise.
16580         (bug-regex34-ENV): Likewise.
16581         (bug-regex35-ENV): Likewise.
16582         (tst-rxspencer-ENV): Likewise.
16583         (tst-rxspencer-no-utf8-ENV): Likewise.
16584         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16585         (tst-sscanf-ENV): Likewise.
16586         (tst-swprintf-ENV): Likewise.
16587         (tst-swscanf-ENV): Likewise.
16588         (test-vfprintf-ENV): Likewise.
16589         (scanf13-ENV): Likewise.
16590         (bug14-ENV): Likewise.
16591         (tst-grouping-ENV): Likewise.
16592         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16593         (tst-strtod3-ENV): Likewise.
16594         (tst-strtod4-ENV): Likewise.
16595         (tst-strtod5-ENV): Likewise.
16596         (testmb2-ENV): Likewise./
16597         * string/Makefile (tst-strxfrm-ENV): Likewise.
16598         (tst-strxfrm2-ENV): Likewise.
16599         (bug-strcoll1-ENV): Likewise.
16600         (test-strcasecmp-ENV): Likewise.
16601         (test-strncasecmp-ENV): Likewise.
16602         * time/Makefile (tst-strptime-ENV): Likewise.
16603         (tst-ftime_l-ENV): Likewise.
16604         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16605         (tst-mbrtowc-ENV): Likewise.
16606         (tst-wcrtomb-ENV): Likewise.
16607         (tst-mbrtowc2-ENV): Likewise.
16608         (tst-c16c32-1-ENV): Likewise.
16609         (tst-mbsnrtowcs-ENV): Likewise.
16611 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16613         * manual/resource.texi (How to get information about the memory
16614         subsystem?): Fix typo.
16615         Reported by Peon de la Parra Ivan <peon@keba.com>
16617 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16619         [BZ #16882]
16620         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16621         (pthread_spin_lock): Branch out of spin loop to proper location.
16622         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16623         (pthread_spin_lock): Likewise.
16625         * nptl/tst-spin4.c: New test.
16626         * nptl/Makefile (tests): Add tst-spin4.
16628 2014-06-03  Andreas Schwab  <schwab@suse.de>
16630         [BZ #15946]
16631         * resolv/res_send.c (send_dg): Reload file descriptor after
16632         calling reopen.
16634 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16636         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16638 2014-06-03  Richard Henderson  <rth@redhat.com>
16640         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16641         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16642         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16643         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16644         in the SAVE_PID block.
16645         (__libc_vfork): New alias.
16646         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16648         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16649         child in registers, not on the stack.  Remove RESET_PID conditionals.
16650         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16652 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16654         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16656 2014-06-03  Wilco  <wdijkstr@arm.com>
16658         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16659         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16660         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16661         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16662         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16663         Likewise.
16665 2014-06-03  Wilco  <wdijkstr@arm.com>
16667         * sysdeps/aarch64/fpu/math_private.h
16668         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16669         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16670         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16671         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16672         Fix declarations.
16674 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16676         * crypt/crypt-private.h: Include ufc-crypt.h.
16677         (__b64_from_24bit): Declare extern.
16678         * crypt/crypt_util.c(__b64_from_24bit): New function.
16679         (b64t): New static const variable.
16680         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16681         (b64t): Remove variable.
16682         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16683         * crypt/sha256-crypt.c: Include crypt-private.h.
16684         (b64t): Remove variable.
16685         (__sha256_crypt_r): Remove b64_from_24bit and replace
16686         with __b64_from_24bit.
16687         * crypt/sha512-crypt.c: Likewise.
16689 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16691         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16692         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16693         Label the code __libc_vfork rather than __vfork.
16694         [!NOT_IN_libc] (vfork): Define as weak alias.
16695         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16696         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16697         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16699 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16701         * malloc/malloc.c (malloc_info): Fix format specifier for
16702         n_mmaps.
16704 2014-06-02  Wilco  <wdijkstr@arm.com>
16706         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16707         FPCR write.
16709 2014-06-02  Wilco  <wdijkstr@arm.com>
16711         [BZ #17009]
16712         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16713         Rewrite to reduce FPCR/FPSR accesses.
16715 2014-06-01  David S. Miller  <davem@davemloft.net>
16717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16719 2014-05-31  David S. Miller  <davem@davemloft.net>
16721         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16722         to occur in round to nearest mode when |x| >= 2.0
16724 2014-05-30  Richard Henderson  <rth@twiddle.net>
16726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16727         (PSEUDO_RET_NOERRNO): Remove.
16728         (ret): Don't redefine.
16729         (ret_NOERRNO): Define in terms of ret.
16730         (ret_ERRVAL): Likewise.
16732         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16733         use of PSEUDO_RET; perform the error check directly.
16735 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16737         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16738         with __int128_t.
16740 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16742         * malloc/malloc (malloc_info): Fix formatting.
16744 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16745             Roland McGrath  <roland@hack.frob.com>
16747         * malloc/malloc (malloc_info): Also print mmapped statistics.
16749 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16751         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16752         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16754 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16756         * malloc/malloc.c (malloc_info): Inline mi_arena.
16758 2014-05-29  Richard Henderson  <rth@twiddle.net>
16760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16761         Remove comma before expanding ASM_ARGS_##nr.
16762         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16763         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16764         of ASM_ARGS_##nr.
16765         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16766         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16767         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16768         (ASM_ARGS_1): Add leading comma.
16770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16771         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16772         to __errno_location.
16773         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16774         Remove the expected plt for __errno_location.
16776         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16777         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16778         call to __read_tp.
16780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16781         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16782         it and break it down.
16783         (DOCARGS_0, DOCARGS_1): Do nothing.
16784         (DOCARGS_2): Update to store into the new stack frame.
16785         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16786         (UNDOCARGS_1): Update to restore from the new stack frame.
16787         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16788         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16790         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16791         (SINGLE_THREAD_P): New parameter for result regno.
16792         (PSEUDO): Update to match; use cbz instead of beq.
16794         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16795         Use ENTRY to define the _nocancel entry point.  Share the syscall
16796         and syscall error check paths with the cancel path.
16797         (PSEUDO_END): New.
16799         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16800         whitespace; tabs before and after asm mnemonics.
16802 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16804         [BZ #15132]
16805         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16806         Call fstat64 or stat64 internally, depending on arguments passed.
16807         Replace stat buffer argument with file descriptor argument.
16808         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16809         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16810         Pass fd to __internal_statvfs instead of calling fstat64.
16811         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16812         Pass fd to __internal_statvfs64 instead of calling fstat64.
16813         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16814         Pass -1 to __internal_statvfs instead of calling stat64.
16815         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16816         Pass -1 to __internal_statvfs64 instead of calling stat64.
16818 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16820         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16821         that was previously under [RESET_PID].
16822         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16824         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16825         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16827 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16829         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16831         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16832         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16834 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16836         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16838 2014-05-27  Andreas Schwab  <schwab@suse.de>
16840         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16841         TLS_INIT_TP macro.
16842         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16843         * elf/rtld.c (init_tls, dl_main): Likewise.
16844         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16845         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16846         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16847         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16848         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16849         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16850         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16851         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16852         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16853         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16854         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16855         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16856         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16857         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16858         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16859         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16860         * sysdeps/generic/tls.h: Update description.
16862 2014-05-27  Will Newton  <will.newton@linaro.org>
16864         [BZ #16990]
16865         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16866         and restore r2 rather than just restoring.
16868 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16870         [BZ #16724]
16871         * libio/tst-ftell-append.c: New test case.
16872         * libio/Makefile (tests): Add test case.
16873         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16874         append mode.
16875         * libio/wfileops.c (do_ftell_wide): Likewise.
16877 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16881         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16882         ...
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16885         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16886         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16887         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16888         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16889         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16892         Moved ...
16893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16895         Moved ...
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16897         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16898         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16899         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16900         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16901         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16902         ...
16903         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16904         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16905         Moved ...
16906         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16907         here.
16908         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16909         ...
16910         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16911         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16912         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16914         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16915         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16916         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16917         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16919         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16920         merge into ...
16921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16923         ...
16924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16926         ...
16927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16929         Moved ...
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16931         here.
16932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16933         Moved ...
16934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16936         Moved ...
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16940         conditional [RESET_PID].
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16943         removed.
16944         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16945         removed.
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16948         <tcb-offsets.h>.
16949         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16950         (__libc_vfork): New strong alias.
16951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16952         removed.
16953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16954         Removed.
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16957         <tcb-offsets.h>.
16958         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16959         (__libc_vfork): New strong alias.
16960         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16961         removed.
16962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16963         removed.
16965 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16967         * malloc/malloc.c (mi_arena): New function.
16968         (malloc_info): Remove nested function mi_arena. Call non-nosted
16969         function mi_arena.
16971 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16973         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16974         by insrwi.
16975         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16976         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16977         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16978         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16979         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16980         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16981         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16983 2014-05-26  Andreas Schwab  <schwab@suse.de>
16985         [BZ #16984]
16986         * locale/programs/repertoire.c (repertoire_read): Add slash
16987         between I18NPATH element and file name.
16988         * locale/programs/locfile.c (locfile_read): Likewise.
16990 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16992         * nptl/pthread_mutexattr_settype.c
16993         (__pthread_mutexattr_settype):
16994         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16996 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16998         * nptl/tst-mutex5 (do_test):
16999         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17001 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17003         * benchtests/README: Document 'init' directive.
17004         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17005         BENCH_INIT.
17006         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17007         (parse_file): Recognize 'init' directive.
17009 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17011         [BZ #16796]
17012         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17013         alignment of struct pthread.
17015 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17017         [BZ #16878]
17018         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17019         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17020         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17021         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17023 2014-05-25  Richard Henderson  <rth@twiddle.net>
17025         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17026         (SINGLE_THREAD_P_PIC): Remove.
17027         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17028         (SINGLE_THREAD_P_PIC): Remove.
17030         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17031         branch to syscall error ...
17032         (PSEUDO): ... here.
17033         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17034         from __local_syscall_error to .Lsyscall_error.
17035         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17036         (SYSCALL_ERROR): Update label name.
17038         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17039         Do not use DOARGS/UNDOARGS.
17040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17041         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17042         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17043         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17044         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17046         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17047         block comment.
17049         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17050         define if !NOT_IN_libc.
17051         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17052         define with non-default symbol versions.
17054 2014-05-23  Richard Henderson  <rth@twiddle.net>
17056         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17057         (vfork, __vfork): Define via compat_symbol.
17059         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17060         [!HAVE_IFUNC] (vfork_compat): Remove.
17061         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17063 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #16978]
17066         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17067         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17068         variable.
17070 2014-05-23  Richard Henderson  <rth@twiddle.net>
17072         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17073         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17074         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17075         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17077         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17078         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17079         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17080         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17081         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17082         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17083         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17084         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17085         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17086         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17087         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17088         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17089         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17090         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17091         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17092         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17093         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17094         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17096         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17100         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17101         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17102         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17103         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17104         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17106         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17107         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17108         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17109         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17110         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17111         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17112         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17113         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17114         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17115         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17116         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17117         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17118         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17119         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17120         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17121         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17122         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17123         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17124         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17125         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17126         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17127         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17128         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17129         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17130         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17131         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17132         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17134         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17135         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17136         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17137         before exiting on error.
17138         (__libc_vfork): New strong alias.
17139         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17140         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17142         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17143         that was previously under [RESET_PID].
17144         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17146         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17148 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #16977]
17151         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17152         value when x - 1 is zero.
17153         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17154         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17155         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17156         0.0L for an argument of 1.0L.
17157         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17158         Likewise.
17159         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17160         value when x - 1 is zero.
17161         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17162         * sysdeps/i386/fpu/libm-test-ulps: Update.
17163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17165 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17167         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17168         alphasort and versionsort.
17170 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17172         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17173         macro.
17174         [copysignf]: Likewise.
17176 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17178         * crypt/md5-crypt.c: Fix formatting.
17180 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17182         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17183         (b64_from_24bit): New function.
17185 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17187         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17188         libc_hidden_builtin_def to ifunc.
17189         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17190         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17192 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17194         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17195         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17197 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17199         * nscd/Depend (linuxthreads): Remove.
17200         (nptl): Add.
17201         * resolv/Depend (linuxthreads): Remove.
17202         * rt/Depend (linuxthreads): Remove.
17204         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17205         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17206         $(common-objpfx)elf/.
17207         (link-libc-before-gnulib): Likewise.
17208         (elfobjdir): Remove variable.
17209         * Makefile (install): Use $(elf-objpfx) instead of
17210         $(common-objpfx)elf/.
17211         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17212         $(elfobjdir)/.
17213         (link-libc-deps): Likewise.
17214         ($(common-objpfx)libc.so): Likewise.
17215         ($(common-objpfx)linkobj/libc.so): Likewise.
17216         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17217         instead of $(common-objpfx)elf/.
17218         (symbolic-link-list): Likewise.
17219         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17220         [$(cross-compiling) = no]: Likewise.
17221         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17222         $(elfobjdir)/.
17223         (static-gnulib-arch): Likewise.
17224         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17225         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17226         $(common-objpfx)elf/.
17228 2014-05-21  Richard Henderson  <rth@redhat.com>
17230         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17231         (SINGLE_THREAD_P): Use the correct width load.  Fold
17232         into the ldr offset.
17234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17235         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17237 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17239         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17240         (libgcc_s_resume): Use __attribute_used__.
17241         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17242         Likewise.
17244 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17246         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17247         optimization when used with float constants.
17249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17251 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17253         [BZ #16915]
17254         * locale/nl_langinfo_l.c: Make direct reference to every
17255         _nl_current_CATEGORY symbol.
17256         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17257         (tests-static): Add tst-langinfo-static.
17258         (tests-special): Add tst-langinfo-static.out.
17259         ($(objpfx)tst-langinfo.out): Redirect output.
17260         ($(objpfx)tst-langinfo-static.out): New.
17261         * localedata/tst-langinfo.sh: Send output to stdout.
17262         * localedata/tst-langinfo-static.c: New file.
17264         [BZ #16965]
17265         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17266         when the shift amount is modulo the limb size.
17268 2014-05-20  Richard Henderson  <rth@redhat.com>
17270         [BZ #16967]
17271         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17272         Change type of sa_flags from unsigned int to int.
17274         [BZ #16966]
17275         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17277         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17279 2014-05-20  Will Newton  <will.newton@linaro.org>
17281         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17282         Test the return value of the system call in the nocancel case.
17284 2014-05-20  Will Newton  <will.newton@linaro.org>
17285             Yvan Roux  <yvan.roux@linaro.org>
17287         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17288         #include of asm/ptrace.h.
17289         (PTRACE_GET_THREAD_AREA): Remove #undef.
17290         (PTRACE_GETHBPREGS): Likewise.
17291         (PTRACE_SETHBPREGS): Likewise.
17292         (struct user_regs_struct): New structure.
17293         (struct user_fpsimd_struct): New structure.
17294         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17295         #include of asm/ptrace.h and second #include of sys/user.h.
17296         (PTRACE_GET_THREAD_AREA): Remove #undef.
17297         (PTRACE_GETHBPREGS): Likewise.
17298         (PTRACE_SETHBPREGS): Likewise.
17299         (ELF_NGREG): Use new struct user_regs_struct.
17300         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17302 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17304         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17307 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17309         [BZ #16958]
17310         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17311         membar to avoid block loads/stores to overlap previous stores.
17313 2014-05-17  Richard Henderson  <rth@redhat.com>
17315         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17316         Create the __##syscall_name##_nocancel entry point.
17317         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17318         Remove; let the sysdep-cancel.h code create it.
17320 2014-05-17  David S. Miller  <davem@davemloft.net>
17322         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17323         Protect with __USE_GNU.
17324         (TIOCSET_TEMPT): Likewise.
17325         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17326         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17327         these are already provided in bits/ioctl-types.h
17329 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17331         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17332         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17334         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17335         Use wait4 regardless of [__NR_waitpid].
17337 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17339         PR libgcc/60166
17340         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17341         (_FP_NANSIGN_Q): Set the quiet bit.
17343 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17345         * benchtests/Makefile
17346         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17347         not $(common-objpfx)math/libm.so.
17348         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17349         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17350         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17351         $(common-objpfx)dlfcn/libdl.so.
17352         ($(objpfx)tst-audit8): Depend on $(libm), not
17353         $(common-objpfx)math/libm.so.
17354         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17355         not $(common-objpfx)dlfcn/libdl.so.
17356         * math/Makefile
17357         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17358         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17359         [$(build-shared) = yes].
17360         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17361         $(common-objpfx)nptl/libpthread.so.
17362         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17363         $(common-objpfx)math/libm.so$(libm.so-version) or
17364         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17365         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17366         $(common-objpfx)dlfcn/libdl.so.
17367         * setjmp/Makefile (link-libm): Remove variable.
17368         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17369         * stdio-common/Makefile (link-libm): Remove variable.
17370         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17371         * stdlib/Makefile (link-libm): Remove variable.
17372         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17373         ($(objpfx)tst-strtod-round): Likewise.
17374         ($(objpfx)tst-tininess): Likewise.
17375         ($(objpfx)tst-strtod-underflow): Likewise.
17376         ($(objpfx)tst-strtod6): Likewise.
17377         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17378         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17379         $(common-objpfx)dlfcn/libdl.so.
17381 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17383         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17384         BSD terminal modes definitions.
17386 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17388         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17389         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17391         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17392         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17393         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17394         Don't do #include_next.
17395         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17396         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17397         Don't do #include_next.
17398         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17399         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17400         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17401         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17403 2014-05-16  Allan McRae  <allan@archlinux.org>
17405         * po/sv.po: Update Swedish translation from translation project.
17407         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17408         in sed expression.
17410 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17412         [BZ #16917]
17413         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17414         errno if the TIOCGPTN ioctl fails with an error different than
17415         EINVAL.
17416         * login/tst-ptsname.c: New file.
17417         * login/Makefile (tests): Add tst-ptsname.
17419         [BZ #16943]
17420         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17421         and prlimit64.
17423 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17425         [BZ #16849]
17426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17427         herrno to return EAI_AGAIN.
17429 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17431         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17432         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17433         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17434         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17435         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17436         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17437         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17438         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17440         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17441         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17442         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17443         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17444         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17445         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17446         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17447         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17448         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17449         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17450         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17451         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17452         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17453         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17454         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17455         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17456         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17457         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17458         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17459         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17460         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17462         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17464         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17466         Moved ...
17467         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17469         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17471         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17473         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17475         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17477         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17479         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17481         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17483         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17485         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17487         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17489         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17491         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17493         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17495         Moved ...
17496         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17498         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17500         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17502         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17504         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17506         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17508         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17510         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17512         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17514         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17516         Moved ...
17517         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17519         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17521         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17522         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17523         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17524         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17525         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17526         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17527         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17528         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17529         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17530         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17531         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17532         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17533         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17534         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17535         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17536         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17537         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17538         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17539         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17540         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17541         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17542         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17543         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17544         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17545         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17546         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17547         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17548         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17549         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17550         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17551         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17553         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17554         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17556         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17557         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17558         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17559         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17560         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17561         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17562         Moved ...
17563         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17564         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17565         Moved ...
17566         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17567         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17568         Moved ...
17569         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17571         Moved ...
17572         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17573         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17574         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17575         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17576         Moved ...
17577         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17578         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17579         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17580         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17581         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17582         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17583         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17584         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17585         Moved ...
17586         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17587         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17588         Moved ...
17589         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17590         ... here.
17591         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17592         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17593         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17594         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17595         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17596         Moved ...
17597         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17598         ... here.
17599         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17600         Moved ...
17601         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17602         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17603         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17604         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17605         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17606         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17607         Moved ...
17608         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17609         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17610         Moved ...
17611         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17612         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17613         Moved ...
17614         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17616         Moved ...
17617         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17618         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17619         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17620         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17621         Moved ...
17622         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17623         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17624         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17625         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17626         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17627         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17628         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17629         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17630         Moved ...
17631         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17632         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17633         Moved ...
17634         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17635         ... here.
17636         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17637         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17638         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17639         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17640         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17641         Moved ...
17642         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17643         ... here.
17644         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17645         Moved ...
17646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17647         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17648         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17649         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17650         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17651         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17652         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17653         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17654         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17655         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17656         Moved ...
17657         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17658         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17659         Moved ...
17660         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17661         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17662         Moved ...
17663         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17664         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17665         Moved ...
17666         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17667         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17668         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17669         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17670         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17671         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17672         Moved ...
17673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17674         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17675         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17676         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17677         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17678         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17679         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17680         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17681         Moved ...
17682         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17683         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17684         Moved ...
17685         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17686         ... here.
17687         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17688         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17689         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17690         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17691         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17692         Moved ...
17693         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17694         ... here.
17695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17696         Moved ...
17697         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17698         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17699         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17700         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17701         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17703         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17705         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17707         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17709         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17710         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17712         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17713         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17715         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17716         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17717         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17719         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17721         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17723         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17726         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17727         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17728         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17729         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17731         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17733         Moved ...
17734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17736         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17737         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17738         Moved ...
17739         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17741         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17742         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17743         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17745         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17746         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17747         Moved ...
17748         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17749         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17750         Moved ...
17751         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17753         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17754         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17755         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17756         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17757         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17759         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17760         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17761         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17762         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17763         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17764         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17765         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17766         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17767         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17769         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17770         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17771         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17772         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17773         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17775         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17776         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17777         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17778         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17779         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17780         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17781         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17782         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17783         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17784         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17786         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17789         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17790         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17791         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17792         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17793         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17794         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17795         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17796         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17797         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17798         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17799         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17800         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17801         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17802         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17804         Update #include.
17805         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17806         Likewise.
17807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17808         Likewise.
17809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17810         Likewise.
17811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17812         Likewise.
17813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17814         Likewise.
17815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17816         Likewise.
17817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17818         Likewise.
17819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17820         Likewise.
17821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17822         Likewise.
17823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17824         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17828         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17829         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17830         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17831         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17832         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17833         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17834         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17835         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17836         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17839         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17840         that was previously under [RESET_PID].
17841         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17842         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17843         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17845         * sysdeps/i386/nptl/Implies: New file.
17846         * sysdeps/x86_64/nptl/Implies: New file.
17847         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17848         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17849         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17850         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17852         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17853         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17854         (__libc_vfork): New strong alias.
17855         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17856         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17858         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17859         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17860         (__libc_vfork): New strong alias.
17861         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17862         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17864         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17865         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17866         (__libc_vfork): New strong alias.
17867         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17868         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17869         * nptl/pt-vfork.c: New file.
17870         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17871         (libpthread: GLIBC_2.20): New version set (empty).
17873 2014-05-14  Will Newton  <will.newton@linaro.org>
17875         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17876         rather than #if.
17878 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17880         [BZ #16564]
17881         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17882         arguments with exponent 65 or above.
17883         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17884         arguments 0x1p113L or above.
17885         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17886         to arguments 0x1p107L or above.
17887         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17888         positive arguments with exponent 65 or above.
17889         * math/auto-libm-test-in: Add more tests of log1p.
17890         * math/auto-libm-test-out: Regenerated.
17892         [BZ #16928]
17893         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17894         non-finite arguments is +0.
17895         * math/s_cacosf.c (__cacosf): Likewise.
17896         * math/s_cacosl.c (__cacosl): Likewise.
17897         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17898         * sysdeps/i386/fpu/libm-test-ulps: Update.
17899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901         [BZ #16927]
17902         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17903         value.
17904         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17905         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17906         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17907         for explicit high bit of mantissa when testing for argument equal
17908         to 1.
17909         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17910         * sysdeps/i386/fpu/libm-test-ulps: Update.
17911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17913         [BZ #16516]
17914         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17915         (__erf): Scale by 16 instead of 8 in potentially underflowing
17916         case.  Ensure exception if result actually underflows.
17917         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17918         (__erff): Scale by 16 instead of 8 in potentially underflowing
17919         case.  Ensure exception if result actually underflows.
17920         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17921         (efx8): Remove variable.
17922         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17923         case.  Ensure exception if result actually underflows.
17924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17925         (efx8): Remove variable.
17926         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17927         case.  Ensure exception if result actually underflows.
17928         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17929         (efx8): Remove variable.
17930         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17931         case.  Ensure exception if result actually underflows.
17932         * math/auto-libm-test-in: Add more tests of erf.
17933         * math/auto-libm-test-out: Regenerated.
17935 2014-05-14  Andreas Schwab  <schwab@suse.de>
17937         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17938         Remove code conditionalized on USE___THREAD.
17940         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17941         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17942         not definedness.
17944 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17946         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17947         Define unconditionally.
17948         (__ASSUME_O_CLOEXEC): Likewise.
17949         (__ASSUME_SOCK_CLOEXEC): Likewise.
17950         (__ASSUME_IN_NONBLOCK): Likewise.
17951         (__ASSUME_PIPE2): Likewise.
17952         (__ASSUME_EVENTFD2): Likewise.
17953         (__ASSUME_SIGNALFD4): Likewise.
17954         (__ASSUME_DUP3): Likewise.
17955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17956         (__ASSUME_DUP3): Do not define.
17957         (__ASSUME_EVENTFD2): Likewise.
17958         (__ASSUME_IN_NONBLOCK): Likewise.
17959         (__ASSUME_O_CLOEXEC): Likewise.
17960         (__ASSUME_PIPE2): Likewise.
17961         (__ASSUME_SIGNALFD4): Likewise.
17962         (__ASSUME_SOCK_CLOEXEC): Likewise.
17963         (__ASSUME_UTIMES): Undefine.
17964         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17965         (__ASSUME_UTIMES): Do not define.
17966         (__ASSUME_O_CLOEXEC): Likewise.
17967         (__ASSUME_SOCK_CLOEXEC): Likewise.
17968         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17969         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17970         0x020621].
17971         (__ASSUME_PIPE2): Likewise.
17972         (__ASSUME_EVENTFD2): Likewise.
17973         (__ASSUME_SIGNALFD4): Likewise.
17974         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17975         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17976         Do not define.
17977         (__ASSUME_EVENTFD2): Likewise.
17978         (__ASSUME_SIGNALFD4): Likewise.
17979         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17980         (__ASSUME_32BITUIDS): Likewise.
17981         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17982         (__ASSUME_IPC64): Likewise.
17983         (__ASSUME_ST_INO_64_BIT): Likewise.
17984         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17985         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17986         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17987         (__ASSUME_UTIMES): Do not define.
17988         (__ASSUME_PSELECT): Likewise.
17989         (__ASSUME_PPOLL): Likewise.
17990         (__ASSUME_O_CLOEXEC): Likewise.
17991         (__ASSUME_SOCK_CLOEXEC): Likewise.
17992         (__ASSUME_IN_NONBLOCK): Likewise.
17993         (__ASSUME_PIPE2): Likewise.
17994         (__ASSUME_EVENTFD2): Likewise.
17995         (__ASSUME_SIGNALFD4): Likewise.
17996         (__ASSUME_DUP3): Likewise.
17997         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17998         (__ASSUME_UTIMES): Likewise.
17999         (__ASSUME_O_CLOEXEC): Likewise.
18000         (__ASSUME_SOCK_CLOEXEC): Likewise.
18001         (__ASSUME_IN_NONBLOCK): Likewise.
18002         (__ASSUME_PIPE2): Likewise.
18003         (__ASSUME_EVENTFD2): Likewise.
18004         (__ASSUME_SIGNALFD4): Likewise.
18005         (__ASSUME_DUP3): Likewise.
18006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18007         (__ASSUME_UTIMES): Likewise.
18008         (__ASSUME_O_CLOEXEC): Likewise.
18009         (__ASSUME_SOCK_CLOEXEC): Likewise.
18010         (__ASSUME_IN_NONBLOCK): Likewise.
18011         (__ASSUME_PIPE2): Likewise.
18012         (__ASSUME_EVENTFD2): Likewise.
18013         (__ASSUME_SIGNALFD4): Likewise.
18014         (__ASSUME_DUP3): Likewise.
18015         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18016         Likewise.
18017         (__ASSUME_UTIMES): Likewise.
18018         (__ASSUME_EVENTFD2): Likewise.
18019         (__ASSUME_SIGNALFD4): Likewise.
18020         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18021         (__ASSUME_O_CLOEXEC): Likewise.
18022         (__ASSUME_SOCK_CLOEXEC): Likewise.
18023         (__ASSUME_IN_NONBLOCK): Likewise.
18024         (__ASSUME_PIPE2): Likewise.
18025         (__ASSUME_EVENTFD2): Likewise.
18026         (__ASSUME_SIGNALFD4): Likewise.
18027         (__ASSUME_DUP3): Likewise.
18028         (__ASSUME_UTIMES): Undefine.
18030         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18031         feclearexcept.  Remove symbol versioning code.
18032         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18033         symbol versioning code.
18034         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18035         symbol versioning code.
18036         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18037         feupdateenv.  Remove symbol versioning code.
18038         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18039         fegetexceptflag.  Remove symbol versioning code.
18040         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18041         fesetexceptflag.  Remove symbol versioning code.
18042         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18043         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18044         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18045         (__posix_fadvise64_l32): Remove prototype.
18046         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18047         code.
18049 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18051         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18052         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18053         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18054         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18056 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18058         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18059         current working directory
18061 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18063         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18064         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18065         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18066         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18067         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18068         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18069         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18070         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18071         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18072         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18073         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18074         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18075         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18076         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18077         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18078         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18079         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18080         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18081         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18082         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18083         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18084         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18085         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18086         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18087         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18088         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18089         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18090         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18091         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18092         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18093         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18094         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18095         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18096         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18097         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18098         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18099         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18100         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18101         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18102         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18103         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18104         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18106         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18107         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18109         * sysdeps/unix/sysv/linux/arm/Makefile
18110         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18111         Add rt-aeabi_unwind_cpp_pr1.
18112         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18113         Add nptl-aeabi_unwind_cpp_pr1.
18114         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18115         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18116         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18117         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18118         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18119         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18121         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18122         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18123         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18124         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18126         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18127         Deconditionalize the code that was previously under [RESET_PID].
18128         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18130         * sysdeps/generic/exit-thread.h: New file.
18131         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18132         * include/unistd.h (__exit_thread): Remove declaration.
18133         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18134         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18135         * csu/libc-start.c: Include <exit-thread.h>.
18136         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18137         * nptl/pthread_create.c: Include <exit-thread.h>.
18138         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18139         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18140         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18141         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18142         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18143         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18144         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18145         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18146         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18147         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18148         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18149         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18150         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18151         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18152         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18153         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18154         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18156 2014-05-13  Andreas Schwab  <schwab@suse.de>
18158         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18160 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18162         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18163         (__ASSUME_UTIMES): Do not condition on kernel version.
18164         (__ASSUME_PSELECT): Define unconditionally.
18165         (__ASSUME_PPOLL): Likewise.
18166         (__ASSUME_ATFCTS): Likewise.
18167         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18168         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18169         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18170         (__ASSUME_UTIMENSAT): Define unconditionally.
18171         (__ASSUME_PRIVATE_FUTEX): Likewise.
18172         (__ASSUME_FALLOCATE): Likewise.
18173         (__ASSUME_O_CLOEXEC): Likewise.
18174         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18175         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18176         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18177         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18178         (__ASSUME_IN_NONBLOCK): Likewise.
18179         (__ASSUME_PIPE2): Likewise.
18180         (__ASSUME_EVENTFD2): Likewise.
18181         (__ASSUME_SIGNALFD4): Likewise.
18182         (__ASSUME_DUP3): Likewise.
18183         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18184         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18185         (__ASSUME_AT_RANDOM): Likewise.
18186         (__ASSUME_PREADV): Likewise.
18187         (__ASSUME_PWRITEV): Likewise.
18188         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18189         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18190         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18191         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18192         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18193         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18194         (__ASSUME_O_CLOEXEC): Define unconditionally.
18195         (__ASSUME_PSELECT): Do not undefine conditionally.
18196         (__ASSUME_PPOLL): Likewise.
18197         (__ASSUME_ATFCTS): Likewise.
18198         (__ASSUME_SET_ROBUST_LIST): Likewise.
18199         (__ASSUME_UTIMENSAT): Likewise.
18200         (__ASSUME_FDATASYNC): Define unconditionally.
18201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18202         (__ASSUME_SIGFRAME_V2): Likewise.
18203         )__ASSUME_EVENTFD2): Likewise.
18204         (__ASSUME_SIGNALFD4): Likewise.
18205         (__ASSUME_PSELECT): Do not undefine conditionally.
18206         (__ASSUME_PPOLL): Likewise.
18207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18208         (__ASSUME_PSELECT): Define unconditionally.
18209         (__ASSUME_PPOLL): Likewise.
18210         (__ASSUME_O_CLOEXEC): Likewise.
18211         (__ASSUME_SOCK_CLOEXEC): Likewise.
18212         (__ASSUME_IN_NONBLOCK): Likewise.
18213         (__ASSUME_PIPE2): Likewise.
18214         (__ASSUME_EVENTFD2): Likewise.
18215         (__ASSUME_SIGNALFD4): Likewise.
18216         (__ASSUME_DUP3): Likewise.
18217         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18218         (__ASSUME_O_CLOEXEC): Likewise.
18219         (__ASSUME_SOCK_CLOEXEC): Likewise.
18220         (__ASSUME_IN_NONBLOCK): Likewise.
18221         (__ASSUME_PIPE2): Likewise.
18222         (__ASSUME_EVENTFD2): Likewise.
18223         (__ASSUME_SIGNALFD4): Likewise.
18224         (__ASSUME_DUP3): Likewise.
18225         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18226         (__ASSUME_EVENTFD2): Likewise.
18227         (__ASSUME_SIGNALFD4): Likewise.
18228         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18230 2014-05-12  Andreas Schwab  <schwab@suse.de>
18232         [BZ #16932]
18233         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18234         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18235         than maximum RPC packet size.
18236         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18237         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18238         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18239         (_nss_nis_getservbyport_r): Likewise.
18241 2014-05-12  Will Newton  <will.newton@linaro.org>
18243         * malloc/Makefile (tests): Add tst-mallopt.
18244         * malloc/tst-mallopt.c: New file.
18246 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18248         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18249         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18251 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18253         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18254         (tst-tlsmod6.so): Likewise.
18256 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18258         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18260 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18262         [BZ #16064]
18263         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18264         and <dl-procinfo.h>.
18265         (__fegetenv): Save SSE state in envp->__eip if supported.
18266         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18267         envp->__eip if supported.
18268         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18269         and <dl-procinfo.h>.
18270         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18271         __data_offset and __data_selector in environment to 0.  Set SSE
18272         state if supported.
18273         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18274         test-fenv-sse.
18275         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18276         -mfpmath=sse.
18277         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18279 2014-05-09  Will Newton  <will.newton@linaro.org>
18281         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18282         and libc_relro_required for ARM.
18283         * sysdeps/arm/preconfigure: Regenerate.
18285 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18286             Stefan Liebler  <stli@linux.vnet.ibm.com>
18288         * config.make.in (enable-lock-elision): New Makefile variable.
18289         * configure.ac: Likewise.
18290         * configure: Regenerate.
18291         * sysdeps/s390/configure.ac:
18292         Add check for gcc transactions support.
18293         * sysdeps/s390/configure: Regenerate.
18294         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18295         Build elision files if enabled.
18296         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18297         Add lock elision support for s390.
18298         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18299         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18300         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18301         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18302         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18303         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18304         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18305         Likewise.
18306         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18307         Likewise.
18308         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18309         Likewise.
18310         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18311         Likewise.
18312         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18313         (__lll_timedlock_elision, __lll_lock_elision)
18314         (__lll_unlock_elision, __lll_trylock_elision)
18315         (lll_timedlock_elision, lll_lock_elision)
18316         (lll_unlock_elision, lll_trylock_elision): Add.
18317         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18318         (pthread_mutex_t): Add lock elision support for s390.
18320 2014-05-14  Wilco  <wdijkstr@arm.com>
18322         * sysdeps/arm/fclrexcpt.c: Cleanup.
18323         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18324         * sysdeps/arm/feenablxcpt.c: Cleanup.
18325         * sysdeps/arm/fegetenv.c: Cleanup.
18326         * sysdeps/arm/fegetexcept.c: Cleanup.
18327         * sysdeps/arm/fegetround.c: Cleanup.
18328         * sysdeps/arm/feholdexcpt.c: Cleanup.
18329         * sysdeps/arm/fesetenv.c: Cleanup.
18330         * sysdeps/arm/fesetround.c: Cleanup.
18331         * sysdeps/arm/feupdateenv.c: Cleanup.
18332         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18333         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18334         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18335         * sysdeps/arm/ftestexcept.c: Cleanup.
18336         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18337         * sysdeps/arm/setfpucw.c: Cleanup.
18339 2014-05-09  Will Newton  <will.newton@linaro.org>
18341         * sysdeps/arm/armv7/strcmp.S: New file.
18342         * NEWS: Mention addition of ARMv7 optimized strcmp.
18344 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18346         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18347         look for %.ac rather than %.in.
18349         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18350         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18351         * sysdeps/mach/hurd/configure: Regenerated.
18352         * sysdeps/unix/sysv/linux/configure: Regenerated.
18354         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18356 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18358         [BZ# 16922]
18359         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18360         (LONG_SUB): Ditto.
18361         (PTR_SUB): Ditto.
18363 2014-05-07  Andreas Schwab  <schwab@suse.de>
18365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18366         when skipping over non-matching result from nscd.
18368 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18370         [BZ #16876]
18371         * nptl/sockperf.c (client): Check socket return value.
18373         [BZ #16877]
18374         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18375         nscd security class.
18377 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18379         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18380         * sysdeps/arm/unwind.h: ... here.
18382 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18384         [BZ# 16916]
18385         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18386         Define.
18388 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18390         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18391         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18392         multiarch strncpy for PPC64.
18393         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18394         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18396         multiarch optimizations.
18397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18398         (__libc_ifunc_impl_list): Likewise.
18399         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18400         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18401         multiarch stpncpy for PPC64.
18402         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18403         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18405 2014-05-06  Andreas Schwab  <schwab@suse.de>
18407         [BZ #16912]
18408         * gmon/mcount.c (_MCOUNT_DECL): Use
18409         atomic_compare_and_exchange_bool_acq instead of
18410         catomic_compare_and_exchange_bool_acq.
18412 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18414         * elf/Makefile (others, install-bin): Remove pldd.
18415         (pldd-modules): Variable removed.
18416         ($(objpfx)pldd): Target removed.
18417         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18418         (others, install-bin): Append pldd here.
18419         ($(objpfx)pldd): New target.
18421         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18422         to 0, so the first #if test emitted later doesn't see it undefined.
18423         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18424         * sysdeps/gnu/errlist.c: Regenerated.
18426 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18428         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18429         [libc_hidden_builtin_def]: Define to empty value.
18430         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18431         [libc_hidden_builtin_def]: Likewise.
18432         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18433         [libc_hidden_builtin_def]: Likewise.
18434         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18435         [libc_hidden_builtin_def]: Likewise.
18436         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18437         __redirect_memcpy and define ifunc as default hidden symbol.
18438         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18439         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18441 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18443         * locale/iso-4217.def: Reintroduce XDR currency.
18445 2014-05-04  Allan McRae  <allan@archlinux.org>
18447         * po/eo.po: Update Esperanto translation from translation project.
18449 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18451         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18452         and FEATURE_INDEX_MAX to 1.
18453         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18455 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18457         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18458         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18459         * iconvdata/big5.c (ONE_DIRECTION): Define.
18460         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18461         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18462         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18463         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18464         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18465         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18466         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18467         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18468         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18469         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18470         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18471         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18472         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18473         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18474         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18475         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18476         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18477         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18478         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18479         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18480         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18481         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18482         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18483         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18484         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18485         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18486         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18487         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18488         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18489         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18490         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18491         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18492         * iconvdata/johab.c (ONE_DIRECTION): Define.
18493         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18494         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18495         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18496         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18497         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18498         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18499         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18500         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18501         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18502         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18504 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18506         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18507         (_IO_JUMPS_OFFSET): Define to 0.
18509         * nptl/sysdeps/pthread/bits/libc-lock.h
18510         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18511         (__libc_lock_define_initialized_recursive): Always define using
18512         initializer.  Modern compilers treat uninitialized (implicit zero) and
18513         explicit zero initializers the same (i.e. put the datum in bss).
18515 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18517         * nscd/nscd-client.h: Include <string.h>.
18519 2014-05-01  David S. Miller  <davem@davemloft.net>
18521         [BZ #16885]
18522         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18523         multiple zero bytes exist at the end of a string.
18524         Reported by Aurelien Jarno <aurelien@aurel32.net>
18526         * string/test-strcmp.c (check): Add explicit test for situations where
18527         there are multiple zero bytes after the first.
18529 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18531         [BZ #16890]
18532         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18533         when compiling wprintf.
18534         * stdio-common/tstdiomisc.c (t3): New function.
18535         (main): Call it.
18537 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18539         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18540         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18541         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18542         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18544 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18546         * stdlib/longlong.h: Updated from GCC.
18548 2014-05-01  Will Newton  <will.newton@linaro.org>
18549             Bernard Ogden  <bernie.ogden@linaro.org>
18551         * NEWS: Update fixed bug list.
18553         [BZ #15119]
18554         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18556 2014-04-30  David S. Miller  <davem@davemloft.net>
18558         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18559         (libc_feholdexcept_setround_sparc_ctx): New function.
18560         (libc_fesetenv_sparc_ctx): Likewise.
18561         (libc_feupdateenv_sparc_ctx): Likewise.
18562         (libc_feholdsetround_sparc_ctx): Likewise.
18563         (libc_feholdexcept_setround_ctx): Define.
18564         (libc_feholdexcept_setroundf_ctx): Likewise.
18565         (libc_feholdexcept_setroundl_ctx): Likewise.
18566         (libc_fesetenv_ctx): Likewise.
18567         (libc_fesetenvf_ctx): Likewise.
18568         (libc_fesetenvl_ctx): Likewise.
18569         (libc_feupdateenv_ctx): Likewise.
18570         (libc_feupdateenvf_ctx): Likewise.
18571         (libc_feupdateenvl_ctx): Likewise.
18572         (libc_feresetround_ctx): Likewise.
18573         (libc_feresetroundf_ctx): Likewise.
18574         (libc_feresetroundl_ctx): Likewise.
18575         (libc_feholdsetround_ctx): Likewise.
18576         (libc_feholdsetroundf_ctx): Likewise.
18577         (libc_feholdsetroundl_ctx): Likewise.
18579         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18580         with __USE_GNU instead of XOPEN cpp guards.
18582         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18583         0.
18585         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18586         with XOPEN cpp guards.
18588 2014-04-30  Julian Brown  <julian@codesourcery.com>
18590         [BZ #16888]
18591         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18592         handling.
18594 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18596         [BZ #9894]
18597         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18598         Change to 2.6.32.
18599         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18600         * sysdeps/unix/sysv/linux/configure: Regenerated.
18601         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18602         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18603         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18604         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18605         * README: Update reference to required Linux kernel version.
18606         * manual/install.texi (Linux): Update reference to required Linux
18607         kernel headers version.
18608         * INSTALL: Regenerated.
18610         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18611         header inclusion.
18612         [POSIX] (limits.h): Likewise.
18613         [POSIX] (math.h): Likewise.
18614         [POSIX] (sys/wait.h): Likewise.
18615         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18616         function.
18617         [POSIX] (stddef.h): Do not allow header inclusion.
18619 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18621         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18623 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18625         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18626         Return immediately after lll_futex_wake.
18628 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18630         [BZ #16791]
18631         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18632         structure.
18633         (datahead_init_pos): Call datahead_init_common early.
18634         (datahead_init_neg): Likewise.
18636         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18637         datahead_init_neg): New functions.
18638         * nscd/aicache.c (addhstaiX): Use them.
18639         * nscd/grpcache.c (cache_addgr): Likewise.
18640         * nscd/hstcache.c (cache_addhst): Likewise.
18641         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18642         * nscd/netgroupcache.c (do_notfound): Likewise.
18643         (addgetnetgrentX): Likewise.
18644         (addinnetgrX): Likewise.
18645         * nscd/pwdcache.c (cache_addpw): Likewise.
18646         * nscd/servicescache.c (cache_addserv): Likewise.
18648 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18649             Atsushi Onoe  <atsushi@onoe.org>
18651         [BZ #14308]
18652         [BZ #12994]
18653         [BZ #13651]
18654         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18655         one response is valid.
18656         * resolv/res_send.c (send_dg): Check for validity of other
18657         response if the current response is a referral.
18659 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18661         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18663 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18665         [BZ #16823]
18666         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18667         Always divide by positive zero when computing -Inf result.
18668         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18669         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18671 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18673         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18674         FPSCR if value do not change.
18675         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18676         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18677         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18678         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18679         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18680         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18681         function.
18683 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18685         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18686         * sysdeps/unix/sysv/linux/hppa: Move directory from
18687         ports/systeps/unix/sysv/linux/hppa.
18688         * README: Update listing for hppa-*-linux-gnu.
18690 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18692         [BZ #16754]
18693         * manual/stdio.texi (Hook functions): Fix types of stream hook
18694         functions.
18695         [BZ #16854]
18696         * socket/sys/socket.h: Fix typo in comment.
18698 2014-04-28  Wilco  <wdijkstr@arm.com>
18700         * sysdeps/arm/fenv_private.h: New file.
18701         * sysdeps/arm/math_private.h: New file.
18702         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18704 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18706         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18707         with __int128_t.
18708         (La_x86_64_retval): Likewise.
18710 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18712         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18713         fpsr if value didn't change.
18714         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18715         to fpcr if value didn't change.
18716         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18717         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18718         fpsr or fpcr if value didn't change.
18719         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18720         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18721         fpcr if value didn't change.
18722         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18723         to fpsr if value didn't change.
18725 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18727         * nptl/tst-sem3.c: Use test-skeleton.c
18728         (main): Rename to do_test.  Use return instead of
18729         exit.
18730         * nptl/tst-sem4.c: Use test-skeleton.c
18731         (main): Rename to do_test.
18733 2014-04-22  David S. Miller  <davem@davemloft.net>
18735         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18736         (struct sigaction): New struct member __glibc_reserved0, change
18737         type of sa_flags to int.
18739 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18741         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18742         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18744 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18746         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18747         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18749 2014-04-22  Will Newton  <will.newton@linaro.org>
18750             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18752         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18753         (__longjmp): Add longjmp and longjmp_target SystemTap
18754         probes.
18755         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18756         (__sigsetjmp): Add setjmp SystemTap probe.
18758 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18760         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18761         match manual order.
18763 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18765         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18767         * sysdeps/powerpc/fpu/fenv_private.h
18768         (libc_feholdexcept_setroundl_ctx): Define to
18769         libc_feholdexcept_setround_ppc_ctx.
18770         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18771         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18772         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18773         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18775 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18777         * sysdeps/aarch64/math-tests.h: New file.
18779 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18781         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18782         New.
18783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18784         Check and set bit_AVX2_Usable.
18785         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18786         macro.
18787         (bit_AVX2): Likewise.
18788         (index_AVX2_Usable): Likewise.
18789         (CPUID_AVX2): Likewise.
18790         (HAS_AVX2): Likewise.
18792 2014-04-17  Will Newton  <will.newton@linaro.org>
18794         * manual/setjmp.texi (System V contexts): Add note that
18795         calling setcontext on a context created by a call to a
18796         signal handler is undefined.  Update text to note that
18797         setcontext from a signal handler is possible but not
18798         recommended.
18800         [BZ #16629]
18801         * stdlib/tst-setcontext.c: Include signal.h.
18802         (main): Check that the signal stack before and
18803         after swapcontext is the same.
18805         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18806         Re-implement to restore registers in user code and avoid
18807         rt_sigreturn system call.
18809 2014-04-17  Wilco  <wdijkstr@arm.com>
18811         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18812         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18813         * math/test-fenv.c: Skip exception trap tests on targets which only
18814         support non-stop mode.
18816 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18817             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18819         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18820         (libc_feholdsetround_aarch64_ctx)
18821         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18822         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18823         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18824         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18825         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18826         (libc_feresetround_noexl_ctx): Define.
18828 2014-04-16  Richard Henderson  <rth@redhat.com>
18830         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18832         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18833         unwind tables.
18835         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18836         const from the non-libc, non-ldso copy.
18838         * sysdeps/alpha/libm-test-ulps: Regenerate.
18840 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18841             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18843         * sysdeps/aarch64/fpu/math_private.h: New file.
18845 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18847         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18849 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18851         [BZ #16275]
18852         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18853         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18855         Intel MPX bound registers before _dl_profile_fixup.
18856         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18857         registers after _dl_profile_fixup.  Save and restore bound
18858         registers bnd0/bnd1 when calling _dl_call_pltexit.
18859         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18860         (LR_BND_OFFSET): Likewise.
18861         (LRV_BND0_OFFSET): Likewise.
18862         (LRV_BND1_OFFSET): Likewise.
18864 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18866         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18867         to...
18868         * sysdeps/mach/hurd/i386/tls.h: ... here.
18869         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18870         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18871         fields.
18873 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18875         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18877 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18879         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18881 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18883         [BZ #14770]
18884         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18885         * sysdeps/s390/configure: Regenerate.
18887         [BZ #16824]
18888         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18889         Set round-to-nearest internally to reduce error accumulation.
18891 2014-04-16  Alan Modra  <amodra@gmail.com>
18893         [BZ #16740]
18894         [BZ #16619]
18895         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18896         * math/libm-test.inc (frexp_test_data): Add tests.
18897         * NEWS: Update fixed bug list.
18899 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18901         * benchtests/Makefile: Depend on libraries in build directory.
18902         (bench-math): Separate out math tests.
18903         (bench-pthread): Separate out pthread tests.
18904         (bench): Include math and pthread tests.
18906 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18908         [BZ #16831]
18909         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18910         _dl_debug_initialize.
18912         * configure.ac: Remove SELinux header check.
18913         * configure: Regenerate.
18914         * nscd/selinux.c (perms): Array of const char* to permission names.
18915         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18916         default policy. Call string_to_security_class and string_to_av_perm to
18917         translate strings. Enforce default policy and call avs_has_perm with
18918         results of translated strings.
18920 2014-04-13  David S. Miller  <davem@davemloft.net>
18922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18924 2014-04-12  Allan McRae  <allan@archlinux.org>
18926         [BZ #16838]
18927         * manual/string.texi (Collation Functions): Fix qsort argument
18928         order in example.
18929         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18931 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18933         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18934         Make the test a no-op if there are no exceptions defined.
18936 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18938         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18939         enable-hardcoded-path-in-tests
18941 2014-04-11  Will Newton  <will.newton@linaro.org>
18943         * benchtests/Makefile (extra-objs): Add json-lib.o.
18944         (bench-func): Tidy up JSON output.
18945         * benchtests/bench-skeleton.c: Include json-lib.h.
18946         (main): Use JSON library functions to do output of
18947         benchmark results.
18948         * benchtests/bench-timing-type.c (main): Output the
18949         timing type simply, leaving formatting to the user.
18950         * benchtests/json-lib.c: New file.
18951         * benchtests/json-lib.h: Likewise.
18953 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18955         [BZ #15215]
18956         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18957         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18958         memory barriers.  Add comments.
18959         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18960         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18961         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18962         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18963         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18964         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18966 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18968         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18969         * sysdeps/s390/s390-64/configure.ac: ... this ...
18970         * sysdeps/s390/configure.ac: ... to here.
18971         * sysdeps/s390/s390-32/configure: Delete file.
18972         * sysdeps/s390/s390-64/configure: Delete file.
18973         * sysdeps/s390/configure: Regenerate.
18975 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18977         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18979 2014-04-11  Will Newton  <will.newton@linaro.org>
18981         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18982         to zero if it is not defined elsewhere.  (mtrim): Test
18983         the value of MALLOC_DEBUG with #if rather than #ifdef.
18985 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18987         * benchtests/pthread_once-inputs: New file.
18988         * benchtests/pthread_once-source.c: New file.
18989         * benchtests/README: Update documentation.
18991 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18992             H.J. Lu  <hongjiu.lu@intel.com>
18994         [BZ #16275]
18995         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18996         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18997         * sysdeps/x86_64/configure: Regenerated.
18998         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18999         macro.
19000         (REGISTER_SAVE_RAX): Likewise.
19001         (REGISTER_SAVE_RCX): Likewise.
19002         (REGISTER_SAVE_RDX): Likewise.
19003         (REGISTER_SAVE_RSI): Likewise.
19004         (REGISTER_SAVE_RDI): Likewise.
19005         (REGISTER_SAVE_R8): Likewise.
19006         (REGISTER_SAVE_R9): Likewise.
19007         (REGISTER_SAVE_BND0): Likewise.
19008         (REGISTER_SAVE_BND1): Likewise.
19009         (REGISTER_SAVE_BND2): Likewise.
19010         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19011         bound registers when calling _dl_fixup.
19013 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19015         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19016         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19017         of its definition.
19018         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19019         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19020         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19021         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19022         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19023         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19024         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19026 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19028         [BZ #15514]
19029         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19030         pathconf(_PC_NAME_MAX).
19032 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19034         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19035         Remove macro usage.
19036         (__PTHREAD_SPINS): Move definition to ...
19037         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19038         (__PTHREAD_SPINS): ... here.
19039         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19040         (__PTHREAD_SPIN): Likewise.
19041         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19042         (__PTHREAD_SPIN): Likewise.
19043         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19044         (__PTHREAD_SPIN): Likewise.
19045         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19046         (__PTHREAD_SPIN): Likewise.
19047         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19048         (__PTHREAD_SPIN): Likewise.
19049         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19050         (__PTHREAD_SPIN): Likewise.
19051         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19052         (__PTHREAD_SPIN): Likewise.
19053         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19054         (__PTHREAD_SPIN): Likewise.
19055         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19056         (__PTHREAD_SPIN): Likewise.
19057         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19058         (__PTHREAD_SPIN): Likewise.
19059         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19060         (__PTHREAD_SPIN): Likewise.
19061         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19062         (__PTHREAD_SPIN): Likewise.
19064         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19065         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19066         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19067         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19068         imply folder.
19069         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19070         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19071         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19072         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19073         correct imply path.
19074         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19075         strlen symbol for non multi-arch builds.
19076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19077         missing hidden_def and weak_alias.
19079 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19081         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19083 2014-04-07  Will Newton  <will.newton@linaro.org>
19085         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19086         and contents.  [!_LIBC] Remove #ifndef and contents.
19087         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19088         * string/memccpy.c (__memccpy): Use ANSI prototype.
19089         * string/memfrob.c (memfrob): Likewise.
19090         * string/strcoll.c (STRCOLL): Likewise.
19091         * string/strlen.c (strlen): Likewise.
19092         * string/strtok.c (STRTOK): Likewise.
19093         * string/strcat.c: Remove unused #include of memcopy.h.
19094         (strcat): Use ANSI prototype.
19095         * string/strchr.c: Remove unused #include of memcopy.h.
19096         (strchr): Use ANSI prototype.
19097         * string/strcmp.c: Remove unused #include of memcopy.h.
19098         (strcmp): Use ANSI prototype.
19099         * string/strcpy.c: Remove unused #include of memcopy.h.
19100         (strcpy): Use ANSI prototype.
19102 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19104         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19105         * config.make.in (config-extra-cppflags): Set it from
19106         libc_extra_cppflags.
19107         * configure.ac (libc_extra_cflags): Make it accumulate over
19108         configure fragments.
19109         (libc_extra_cppflags): New flag.
19110         * configure. Regenerate.
19111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19112         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19113         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19116         [BZ #16815]
19117         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19118         result for FE_DOWNWARD rounding mode.
19119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19120         Likewise.
19121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19123 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19125         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19126         in function argument name.
19128 2014-04-03  David Svoboda  <svoboda@cert.org>
19130         [BZ #5666]
19131         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19132         explicitly.
19134 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19136         * elf/dl-unmap-segments.h: New file.
19137         * sysdeps/generic/ldsodefs.h
19138         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19139         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19140         * elf/dl-fptr.c: Likewise.
19141         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19142         * sysdeps/aarch64/tlsdesc.c: Likewise.
19143         * sysdeps/arm/tlsdesc.c: Likewise.
19144         * sysdeps/i386/tlsdesc.c: Likewise.
19145         * sysdeps/tile/dl-runtime.c: Likewise.
19146         * sysdeps/x86_64/tlsdesc.c: Likewise.
19147         * elf/dl-load.h: New file.
19148         * elf/dl-load.c: Include it.
19149         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19150         Macros moved to dl-load.h.
19151         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19152         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19153         Use _dl_unmap_segments in place of __munmap.
19154         Break out segment-mapping loop into ...
19155         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19157 2014-04-03  Will Newton  <will.newton@linaro.org>
19159         * elf/dl-lookup.c (do_lookup_x): Remove comment
19160         referring to nested function and move variable
19161         declarations down to before first use.
19163 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19165         [BZ #16799]
19166         [BZ #16800]
19167         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19168         with 0 numerator.
19169         * math/s_catanf.c (__catanf): Likewise.
19170         * math/s_catanh.c (__catanh): Likewise.
19171         * math/s_catanhf.c (__catanhf): Likewise.
19172         * math/s_catanhl.c (__catanhl): Likewise.
19173         * math/s_catanl.c (__catanl): Likewise.
19174         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19175         by positive zero when computing -Inf result.
19176         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19177         (catanh_test): Likewise.
19178         * sysdeps/i386/fpu/libm-test-ulps: Update.
19179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19181         [BZ #16789]
19182         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19183         instead of using underflowing value in computing result.
19184         * math/s_clog10.c (__clog10): Likewise.
19185         * math/s_clog10f.c (__clog10f): Likewise.
19186         * math/s_clog10l.c (__clog10l): Likewise.
19187         * math/s_clogf.c (__clogf): Likewise.
19188         * math/s_clogl.c (__clogl): Likewise.
19189         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19190         (clog10_test): Likewise.
19191         * sysdeps/i386/fpu/libm-test-ulps: Update.
19192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194 2014-04-02  Alan Modra  <amodra@gmail.com>
19196         [BZ #16739]
19197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19198         output when value is near a power of two.  Use int64_t for lx and
19199         remove casts.  Use decimal rather than hex exponent constants.
19200         Don't use long double multiplication when double will suffice.
19201         * math/libm-test.inc (nextafter_test_data): Add tests.
19202         * NEWS: Add 16739 and 16786 to bug list.
19204         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19206         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19208 2014-04-01  Will Newton  <will.newton@linaro.org>
19210         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19211         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19213 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19215         [BZ #13347]
19216         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19217         * nptl/tst-setuid2.c: New file.
19218         * nptl/Makefile (xtests): Add tst-setuid2.
19220 2014-04-01  Alan Modra  <amodra@gmail.com>
19222         [BZ #16786]
19223         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19225 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19227         [BZ #6803]
19228         [BZ #6804]
19229         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19230         set errno as appropriate.
19231         * math/w_scalbf.c (__scalbf): Likewise.
19232         * math/w_scalbl.c (__scalbl): Likewise.
19233         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19234         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19235         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19236         Add more NaN tests.
19238         [BZ #16349]
19239         * math/w_atan2.c: Include <errno.h>.
19240         (__atan2): Set errno for result underflowing to zero.
19241         * math/w_atan2f.c: Include <errno.h>.
19242         (__atan2f): Set errno for result underflowing to zero.
19243         * math/w_atan2l.c: Include <errno.h>.
19244         (__atan2l): Set errno for result underflowing to zero.
19245         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19246         tests.
19247         * math/auto-libm-test-out: Regenerated.
19249 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19251         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19252         Encode instruction correctly in little endian.
19253         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19254         Likewise.
19255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19256         Likewise.
19257         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19258         Likewise.
19259         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19260         Likewise.
19262 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19264         [BZ #9894]
19265         * sysdeps/unix/sysv/linux/kernel-features.h
19266         [__sparc__ && !__arch64__ && !__sparc_v9__]
19267         (__ASSUME_SET_ROBUST_LIST): Do not define.
19268         [__sparc__ && !__arch64__ && !__sparc_v9__]
19269         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19270         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19271         Likewise.
19272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19273         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19274         (__ASSUME_REQUEUE_PI): Likewise.
19275         (__ASSUME_SET_ROBUST_LIST): Likewise.
19276         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19277         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19278         Undefine.
19279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19280         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19281         Likewise.
19282         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19283         Likewise.
19284         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19285         Likewise.
19286         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19287         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19288         Undefine.
19289         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19290         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19291         Likewise.
19293         [BZ #16648]
19294         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19295         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19296         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19298 2014-03-31  Will Newton  <will.newton@linaro.org>
19300         * benchtests/Makefile (bench): Add ffs and ffsll to list
19301         of tests.
19302         * benchtests/ffs-inputs: New file.
19303         * benchtests/ffsll-inputs: Likewise.
19305 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19307         [BZ #16770]
19308         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19309         too large before casting to int.
19310         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19311         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19312         * math/libm-test.inc (scalb_test_data): Add more tests.
19314 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19316         * benchtests/Makefile (DETAILED_OPT): New make option.
19317         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19318         set.
19319         * benchtests/bench-skeleton.c: Include stdbool.h.
19320         (main): Store and print timings per input.
19321         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19322         member to each argument value.
19323         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19324         (_print_arg_data): Initialize per-input timing to 0.
19326         * benchtests/Makefile (timing-type): New binary.
19327         (bench-clean): Also remove bench-timing-type.
19328         (bench): New target for timing-type.
19329         (bench-func): Print output in JSON format.
19330         * benchtests/bench-skeleton.c (main): Print output in JSON
19331         format.
19332         * benchtests/bench-timing-type.c: New file.
19333         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19334         (TIMING_PRINT_STATS): Remove.
19335         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19336         name separately.
19338         * benchtests/bench-modf.c: Remove.
19339         * benchtests/modf-inputs: New inputs file.
19341 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19343         [BZ #16362]
19344         * math/s_clog10.c (M_PI_LOG10E): New macro.
19345         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19346         imaginary parts are 0.
19347         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19348         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19349         imaginary parts are 0.
19350         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19351         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19352         imaginary parts are 0.
19353         * math/libm-test.inc (clog10_test_data): Update expected results
19354         for when real and imaginary parts are 0.
19356 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19358         * elf/dl-load.c: Finish conversion of __builtin_expect into
19359         __glibc_{un}likely.
19361 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19363         [BZ #16348]
19364         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19365         1+x for argument with exponent below -67.
19366         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19367         Likewise.
19368         * math/auto-libm-test-in: Add more tests of exp.
19369         * math/auto-libm-test-out: Regenerated.
19371 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19373         [BZ #16759]
19374         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19375         (nscd_getnetgrent): Use it.
19377         [BZ #16760]
19378         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19379         of stpcpy.
19381 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19383         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19384         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19385         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19386         (lll_robust_unlock): Remove out of line section. Use cfi
19387         intrinsics.
19388         (LLL_STUB_UNWIND_INFO*): Remove.
19389         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19390         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19391         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19392         (lll_robust_unlock): Remove out of line section. Use cfi
19393         intrinsics.
19394         (LLL_STUB_UNWIND_INFO*): Remove.
19396 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19398         [BZ #16758]
19399         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19400         blank values.
19402 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19404         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19406 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19408         [BZ #16198]
19409         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19410         fnstenv.
19411         * math/test-fenv-preserve.c: New file.
19412         * math/Makefile (tests): Add test-fenv-preserve.
19414 2014-03-26  Will Newton <will.newton@linaro.org>
19416         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19418 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19420         * scripts/versionlist.awk: Partition the version sets and emit all
19421         GLIBC_* (sorted) before all others (sorted).
19423 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19425         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19426         GLIBC_2.2.5 version.
19428 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19430         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19431         calls.
19433         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19434         previous change.
19436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19438 2014-03-25  Andreas Schwab  <schwab@suse.de>
19440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19441         label to be used after in6ailist is initialized.
19443 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19445         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19446         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19448 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19450         [BZ #16357]
19451         [BZ #16599]
19452         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19453         min_plus_half.
19454         (fp_formats): Update initializers.
19455         (init_fp_formats): Initialize new field.
19456         (output_for_one_input_case): Allow underflow for results up to
19457         min_plus_half.
19458         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19459         * math/auto-libm-test-in: Don't mark some underflows from asin and
19460         atanh as spurious.
19461         * math/auto-libm-test-out: Regenerated.
19462         * sysdeps/i386/fpu/libm-test-ulps: Update.
19463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19465 2014-03-25  Andreas Schwab  <schwab@suse.de>
19467         * libio/Makefile (tst-ftell-partial-wide-ENV)
19468         (tst-ftell-active-handler-ENV): Define.
19470 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19472         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19474 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19476         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19478 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19480         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19481         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19482         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19484 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19486         [BZ #16634]
19487         * elf/dl-load.c (open_verify): Add mode parameter.
19488         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19489         (open_path): Change from boolean 'secure' to complete flag 'mode'
19490         (_dl_map_object): Adjust.
19491         * elf/Makefile (tests): Add tst-dlopen-aout.
19492         * elf/tst-dlopen-aout.c: New test.
19494 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19496         [BZ #16714]
19497         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19498         (struct stat): Rename member pad0 to __glibc_reserved0.
19500         [BZ #16712]
19501         * sysdeps/s390/s390-32/bits/wordsize.h
19502         (__WORDSIZE32_SIZE_ULONG): New define.
19503         * sysdeps/s390/s390-64/bits/wordsize.h
19504         (__WORDSIZE32_SIZE_ULONG): Likewise.
19505         * sysdeps/generic/stdint.h (SIZE_MAX):
19506         Define as UL if __WORDSIZE32_SIZE_ULONG.
19508         [BZ #16713]
19509         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19510         (__glibc_reserved0): New variable.
19511         (sa_flags): Change type to int.
19513         * posix/Makefile (before-compile): Use += before-compile instead
19514         of a :=.
19516         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19517         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19519 2014-03-20  Andreas Schwab  <schwab@suse.de>
19521         [BZ #16743]
19522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19523         non-matching result from nscd.
19525 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19527         * scripts/bench.py: Moved to ...
19528         * benchtests/scripts/bench.py: ... here.
19529         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19531 2014-03-24  Andreas Schwab  <schwab@suse.de>
19533         [BZ #16002]
19534         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19535         alloca_account and account alloca use for struct in6ailist.
19537 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19539         [BZ #16284]
19540         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19541         rounding mode to recompute results that overflow to infinity or
19542         underflow to zero.
19543         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19544         bug 16284.
19545         * math/auto-libm-test-out: Regenerated.
19546         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19547         (ccosh_test): Likewise.
19548         (csin_test_data): Use plus_oflow.
19549         (csin_test): Use ALL_RM_TEST.
19550         (csinh_test_data): Use plus_oflow.
19551         (csinh_test): Use ALL_RM_TEST.
19552         * sysdeps/i386/fpu/libm-test-ulps: Update.
19553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19555 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19557         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19558         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19559         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19561         [BZ #16731]
19562         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19563         when x - 1 is zero.
19564         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19565         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19566         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19567         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19568         argument is 1.
19569         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19570         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19571         zero.
19572         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19573         * sysdeps/i386/fpu/libm-test-ulps: Update.
19574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19578         * scripts/bench.pl: Remove file.
19579         * scripts/bench.py: New benchmark script.
19580         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19581         * benchtests/README: Mention python dependency.
19582         * scripts/pylintrc: New file.
19583         * scripts/pylint: New file.
19585         * bits/mathdef.h: Use #ifdef instead of #if.
19586         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19587         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19588         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19589         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19590         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19591         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19593 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19594             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19596         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19598         and strpbrk-ppc64 objects.
19599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19600         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19601         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19602         multiarch strpbrk for POWER7.
19603         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19604         multiarch strpbrk for PPC64.
19605         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19606         ifunc selector.
19607         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19608         strpbrk for POWER7.
19610 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19612         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19613         (atan_test): Likewise.
19614         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19615         (atanh_test): Use ALL_RM_TEST.
19616         (atan2_test_data): Likewise.
19617         (cabs_test): Likewise.
19618         (cacosh_test): Likewise.
19619         (carg_test): Likewise.
19620         (casin_test): Likewise.
19621         (casinh_test): Likewise.
19622         (cbrt_test): Likewise.
19623         (csqrt_test): Likewise.
19624         (erf_test): Likewise.
19625         (erfc_test): Likewise.
19626         (pow10_test): Likewise.
19627         (exp2_test): Likewise.
19628         (hypot_test): Likewise.
19629         (j0_test): Likewise.
19630         (j1_test): Likewise.
19631         (lgamma_test): Likewise.
19632         (gamma_test): Likewise.
19633         (sincos_test): Likewise.
19634         (tanh_test): Likewise.
19635         (y0_test): Likewise.
19636         (y1_test): Likewise.
19637         * sysdeps/i386/fpu/libm-test-ulps: Update.
19638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19640 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19642         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19644         and strcspn-ppc64 objects.
19645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19646         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19647         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19648         multiarch strcspn for POWER7.
19649         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19650         multiarch strcspn for PPC64.
19651         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19652         ifunc selector.
19653         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19654         strcspn for POWER7.
19656 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19658         * math/gen-libm-test.pl (generate_testfile): Expect only function
19659         name as argument to AUTO_TESTS_* and pass results for all rounding
19660         modes to parse_args.
19661         (parse_auto_input): Separate inputs of automatic tests from
19662         outputs before storing in %auto_tests.
19663         * math/libm-test.inc (acos_test_data): Update call to
19664         AUTO_TESTS_f_f.
19665         (acos_test): Use ALL_RM_TEST.
19666         (acos_tonearest_test_data): Remove.
19667         (acos_test_tonearest): Likewise.
19668         (acos_towardzero_test_data): Likewise.
19669         (acos_test_towardzero): Likewise.
19670         (acos_downward_test_data): Likewise.
19671         (acos_test_downward): Likewise.
19672         (acos_upward_test_data): Likewise.
19673         (acos_test_upward): Likewise.
19674         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19675         (asin_test_data): Likewise.
19676         (asin_test): Use ALL_RM_TEST.
19677         (asin_tonearest_test_data): Remove.
19678         (asin_test_tonearest): Likewise.
19679         (asin_towardzero_test_data): Likewise.
19680         (asin_test_towardzero): Likewise.
19681         (asin_downward_test_data): Likewise.
19682         (asin_test_downward): Likewise.
19683         (asin_upward_test_data): Likewise.
19684         (asin_test_upward): Likewise.
19685         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19686         (atan_test_data): Likewise.
19687         (atanh_test_data): Likewise.
19688         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19689         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19690         (carg_test_data): Likewise.
19691         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19692         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19693         (ccosh_test_data): Likewise.
19694         (cexp_test_data): Likewise.
19695         (clog_test_data): Likewise.
19696         (clog10_test_data): Likewise.
19697         (cos_test_data): Update call to AUTO_TESTS_f_f.
19698         (cos_test): Use ALL_RM_TEST.
19699         (cos_tonearest_test_data): Remove.
19700         (cos_test_tonearest): Likewise.
19701         (cos_towardzero_test_data): Likewise.
19702         (cos_test_towardzero): Likewise.
19703         (cos_downward_test_data): Likewise.
19704         (cos_test_downward): Likewise.
19705         (cos_upward_test_data): Likewise.
19706         (cos_test_upward): Likewise.
19707         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19708         (cosh_test): Use ALL_RM_TEST.
19709         (cosh_tonearest_test_data): Remove.
19710         (cosh_test_tonearest): Likewise.
19711         (cosh_towardzero_test_data): Likewise.
19712         (cosh_test_towardzero): Likewise.
19713         (cosh_downward_test_data): Likewise.
19714         (cosh_test_downward): Likewise.
19715         (cosh_upward_test_data): Likewise.
19716         (cosh_test_upward): Likewise.
19717         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19718         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19719         (ctan_test_data): Likewise.
19720         (ctan_test): Use ALL_RM_TEST.
19721         (ctan_tonearest_test_data): Remove.
19722         (ctan_test_tonearest): Likewise.
19723         (ctan_towardzero_test_data): Likewise.
19724         (ctan_test_towardzero): Likewise.
19725         (ctan_downward_test_data): Likewise.
19726         (ctan_test_downward): Likewise.
19727         (ctan_upward_test_data): Likewise.
19728         (ctan_test_upward): Likewise.
19729         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19730         (ctanh_test): Use ALL_RM_TEST.
19731         (ctanh_tonearest_test_data): Remove.
19732         (ctanh_test_tonearest): Likewise.
19733         (ctanh_towardzero_test_data): Likewise.
19734         (ctanh_test_towardzero): Likewise.
19735         (ctanh_downward_test_data): Likewise.
19736         (ctanh_test_downward): Likewise.
19737         (ctanh_upward_test_data): Likewise.
19738         (ctanh_test_upward): Likewise.
19739         (erf_test_data): Update call to AUTO_TESTS_f_f.
19740         (erfc_test_data): Likewise.
19741         (exp_test_data): Likewise.
19742         (exp_test): Use ALL_RM_TEST.
19743         (exp_tonearest_test_data): Remove.
19744         (exp_test_tonearest): Likewise.
19745         (exp_towardzero_test_data): Likewise.
19746         (exp_test_towardzero): Likewise.
19747         (exp_downward_test_data): Likewise.
19748         (exp_test_downward): Likewise.
19749         (exp_upward_test_data): Likewise.
19750         (exp_test_upward): Likewise.
19751         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19752         (exp10_test): Use ALL_RM_TEST.
19753         (exp10_tonearest_test_data): Remove.
19754         (exp10_test_tonearest): Likewise.
19755         (exp10_towardzero_test_data): Likewise.
19756         (exp10_test_towardzero): Likewise.
19757         (exp10_downward_test_data): Likewise.
19758         (exp10_test_downward): Likewise.
19759         (exp10_upward_test_data): Likewise.
19760         (exp10_test_upward): Likewise.
19761         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19762         (expm1_test_data): Likewise.
19763         (expm1_test): Use ALL_RM_TEST.
19764         (expm1_tonearest_test_data): Remove.
19765         (expm1_test_tonearest): Likewise.
19766         (expm1_towardzero_test_data): Likewise.
19767         (expm1_test_towardzero): Likewise.
19768         (expm1_downward_test_data): Likewise.
19769         (expm1_test_downward): Likewise.
19770         (expm1_upward_test_data): Likewise.
19771         (expm1_test_upward): Likewise.
19772         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19773         (fma_test): Use ALL_RM_TEST.
19774         (fma_towardzero_test_data): Remove.
19775         (fma_test_towardzero): Likewise.
19776         (fma_downward_test_data): Likewise.
19777         (fma_test_downward): Likewise.
19778         (fma_upward_test_data): Likewise.
19779         (fma_test_upward): Likewise.
19780         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19781         (j0_test_data): Update call to AUTO_TESTS_f_f.
19782         (j1_test_data): Likewise.
19783         (jn_test_data): Update call to AUTO_TESTS_if_f.
19784         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19785         (log_test_data): Update call to AUTO_TESTS_f_f.
19786         (log10_test_data): Likewise.
19787         (log1p_test_data): Likewise.
19788         (log2_test_data): Likewise.
19789         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19790         (pow_tonearest_test_data): Likewise.
19791         (sin_test_data): Update call to AUTO_TESTS_f_f.
19792         (sin_test): Use ALL_RM_TEST.
19793         (sin_tonearest_test_data): Remove.
19794         (sin_test_tonearest): Likewise.
19795         (sin_towardzero_test_data): Likewise.
19796         (sin_test_towardzero): Likewise.
19797         (sin_downward_test_data): Likewise.
19798         (sin_test_downward): Likewise.
19799         (sin_upward_test_data): Likewise.
19800         (sin_test_upward): Likewise.
19801         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19802         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19803         (sinh_test): Use ALL_RM_TEST.
19804         (sinh_tonearest_test_data): Remove.
19805         (sinh_test_tonearest): Likewise.
19806         (sinh_towardzero_test_data): Likewise.
19807         (sinh_test_towardzero): Likewise.
19808         (sinh_downward_test_data): Likewise.
19809         (sinh_test_downward): Likewise.
19810         (sinh_upward_test_data): Likewise.
19811         (sinh_test_upward): Likewise.
19812         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19813         (sqrt_test): Use ALL_RM_TEST.
19814         (sqrt_tonearest_test_data): Remove.
19815         (sqrt_test_tonearest): Likewise.
19816         (sqrt_towardzero_test_data): Likewise.
19817         (sqrt_test_towardzero): Likewise.
19818         (sqrt_downward_test_data): Likewise.
19819         (sqrt_test_downward): Likewise.
19820         (sqrt_upward_test_data): Likewise.
19821         (sqrt_test_upward): Likewise.
19822         (tan_test_data): Update call to AUTO_TESTS_f_f.
19823         (tan_test): Use ALL_RM_TEST.
19824         (tan_tonearest_test_data): Remove.
19825         (tan_test_tonearest): Likewise.
19826         (tan_towardzero_test_data): Likewise.
19827         (tan_test_towardzero): Likewise.
19828         (tan_downward_test_data): Likewise.
19829         (tan_test_downward): Likewise.
19830         (tan_upward_test_data): Likewise.
19831         (tan_test_upward): Likewise.
19832         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19833         (tgamma_test_data): Likewise.
19834         (y0_test_data): Likewise.
19835         (y1_test_data): Likewise.
19836         (yn_test_data): Update call to AUTO_TESTS_if_f.
19837         (main): Do not call removed functions.
19839 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19841         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19842         (ldexp_test_data): Remove.
19843         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19844         scalbn_test_data.
19845         (scalb_test): Use ALL_RM_TEST.
19847 2014-03-19  Andreas Schwab  <schwab@suse.de>
19849         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19851 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19853         [BZ #16649]
19854         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19855         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19856         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19858         (__ASSUME_PREADV): Undefine.
19859         (__ASSUME_PWRITEV): Likewise.
19861 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19863         * bits/mman-linux.h: Add comment about non-Linux use.
19864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19865         bits/mman-linux.h resting place.
19867         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19868         * bits/mman-linux.h: ... here.
19870 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19872         * conform/conformtest.pl: Add standard definition when calling C
19873         preprocessor on data files.
19874         (checknamespace): Remove unused variable.
19876 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19878         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19879         minus_oflow, plus_uflow and minus_uflow in expected results.
19880         * math/libm-test.inc (scalbn_test_data): Add more tests of
19881         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19882         minus_uflow.
19883         (scalbn_test): Use ALL_RM_TEST.
19884         (scalbln_test_data): Add more tests of negative arguments.  Use
19885         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19886         (scalbln_test): Use ALL_RM_TEST.
19888 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19890         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19892 2014-03-18  Will Newton  <will.newton@linaro.org>
19894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19895         inaccurate comment.
19897 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19899         * Makerules [!subdir] (check-abi): Exit with error status if a
19900         test failed.
19902 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19904         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19905         for rint.  Include results for all rounding modes.
19906         (nearbyint_test): Use ALL_RM_TEST.
19907         (rint_test_data): Include all tests used for nearbyint.
19909 2014-03-17  Will Newton  <will.newton@linaro.org>
19911         * nptl/sysdeps/pthread/pthread.h: Revert previous
19912         change.
19914         * sysdeps/generic/ldsodefs.h: Revert previous
19915         change.
19917         * libio/genops.c: Revert previous change.
19918         * libio/libioP.h: Likewise.
19919         * stdio-common/vfprintf.c: Likewise.
19921         * sysdeps/generic/math_private.h: Revert previous
19922         change.
19924         * sysdeps/generic/math_private.h: Check whether
19925         HAVE_RM_CTX is defined with #ifdef rather
19926         than #if.
19928         * argp/argp-fmtstream.h: Check whether
19929         __STRICT_ANSI__ is defined with #ifdef rather
19930         than #if.
19931         * argp/argp.h: Likewise.
19933         * libio/genops.c: Check whether
19934         _IO_JUMPS_OFFSET is defined with #ifdef rather
19935         than #if.
19936         * libio/libioP.h: Likewise.
19937         * stdio-common/vfprintf.c: Likewise.
19939         * sysdeps/generic/ldsodefs.h: Check whether
19940         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19941         than #if.
19943         * nptl/sysdeps/pthread/pthread.h: Check
19944         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19945         its value.
19947 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19949         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19950         setting O_APPEND.
19951         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19952         test case.
19954         [BZ #16680]
19955         * libio/fileops.c (_IO_file_open): Seek to end of file but
19956         don't cache the offset.
19957         (get_file_offset): Remove function.
19958         (do_ftell): Use cached offset when available.
19959         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19960         don't cache the offset.
19961         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19962         case.
19963         (do_one_test): Call it.
19964         (do_ftell_test): Fix up expected old offset for a+ mode.
19965         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19966         available.
19968         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19969         up test status with function return status.
19970         (do_write_test): Likewise.
19971         (do_append_test): Likewise.
19973         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19974         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19975         Remove.
19977 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19979         * math/gen-libm-test.pl (parse_args): Handle results specified for
19980         each rounding mode separately.
19981         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19982         tests and results from lrint_tonearest_test_data,
19983         lrint_towardzero_test_data, lrint_downward_test_data and
19984         lrint_upward_test_data.
19985         (lrint_test): Use ALL_RM_TEST.
19986         (lrint_tonearest_test_data): Remove.
19987         (lrint_test_tonearest): Likewise.
19988         (lrint_towardzero_test_data): Likewise.
19989         (lrint_test_towardzero): Likewise.
19990         (lrint_downward_test_data): Likewise.
19991         (lrint_test_downward): Likewise.
19992         (lrint_upward_test_data): Likewise.
19993         (lrint_test_upward): Likewise.
19994         (llrint_test_data): Merge in per-rounding-mode tests and results
19995         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19996         llrint_downward_test_data and llrint_upward_test_data.
19997         (llrint_test): Use ALL_RM_TEST.
19998         (llrint_tonearest_test_data): Remove.
19999         (llrint_test_tonearest): Likewise.
20000         (llrint_towardzero_test_data): Likewise.
20001         (llrint_test_towardzero): Likewise.
20002         (llrint_downward_test_data): Likewise.
20003         (llrint_test_downward): Likewise.
20004         (llrint_upward_test_data): Likewise.
20005         (llrint_test_upward): Likewise.
20006         (rint_test_data): Merge in per-rounding-mode tests and results
20007         from rint_tonearest_test_data, rint_towardzero_test_data,
20008         rint_downward_test_data and rint_upward_test_data.  Add
20009         per-rounding-mode results for tests not in those arrays.
20010         (rint_test): Use ALL_RM_TEST.
20011         (rint_tonearest_test_data): Remove.
20012         (rint_test_tonearest): Likewise.
20013         (rint_towardzero_test_data): Likewise.
20014         (rint_test_towardzero): Likewise.
20015         (rint_downward_test_data): Likewise.
20016         (rint_test_downward): Likewise.
20017         (rint_upward_test_data): Likewise.
20018         (rint_test_upward): Likewise.
20019         (main): Don't call removed functions.
20021 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20023         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20024         "Compiled on ..." crapola.  It is anti-useful.
20026 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20028         * scripts/evaluate-test.sh: Handle fourth argument to determine
20029         whether test run should stop on failure.
20030         * Makeconfig (stop-on-test-failure): New variable.
20031         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20032         $(stop-on-test-failure).
20033         * Makefile (tests): Give a summary of results from testing and
20034         exit with failure status if they include an ERROR or FAIL.
20035         (xtests): Likewise.
20036         * manual/install.texi (Configuring and compiling): Mention
20037         stop-on-test-failure=y.
20038         * INSTALL: Regenerated.
20040 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20042         * scripts/versionlist.awk: New file.
20043         * Makerules [$(build-shared) = yes]
20044         (postclean-generated): Add Versions.def, not Versions.def.v and
20045         Versions.def.v.i.
20046         ($(common-objpfx)Versions.def.v.i): Target removed.
20047         ($(common-objpfx)Versions.def): New target.
20048         ($(common-objpfx)Versions.all): Depend on that rather that
20049         $(common-objpfx)Versions.def.v.
20050         * Versions.def: File removed.
20052         * Makeconfig (+gccwarn): Add -Wundef.
20053         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20054         a dl-sysdep.h breaking its contract.
20055         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20056         * include/stackinfo.h: New file.
20057         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20058         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20059         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20060         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20061         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20062         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20063         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20064         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20065         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20066         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20067         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20068         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20069         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20070         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20071         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20073 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075         [BZ #16707]
20076         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20077         implementation.
20078         * math/libm-test.inc (round_test_data): Add more tests.
20080         [BZ #16706]
20081         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20082         implementation.
20083         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20085         [BZ #16701]
20086         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20087         implementation.
20088         * math/libm-test.inc (ceil_test_data): Add more tests.
20090         * math/libm-test.inc (trunc_test_data): Add more tests related to
20091         BZ#16414.
20093 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20095         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20096         with #if rather than #ifdef.
20097         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20099 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20101         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20102         first.  Disable AVX-512 GCC support if assembler doesn't support
20103         it.
20104         * sysdeps/x86_64/configure: Regenerated.
20106 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20108         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20109         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20110         (__old_pthread_attr_setstack): Likewise.
20111         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20112         [!_STACK_GROWS_DOWN]: Likewise.
20114 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20116         * config.make.in (have-bash2): Delete.
20117         * configure.ac (libc_cv_have_bash2): Delete.
20118         * configure: Regenerate.
20119         * elf/Makefile (common-ldd-rewrite): Rename to ...
20120         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20121         (sh-ldd-rewrite): Delete.
20122         (bash-ldd-rewrite): Delete.
20123         (have-bash2): Delete checks.
20124         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20125         ldd-rewrite.
20127         * config.make.in (have-ksh): Delete.
20128         (KSH): Delete.
20129         * configure.ac (libc_cv_have_ksh): Delete.
20130         * configure: Regenerate.
20132         * elf/Makefile: Delete $(have-ksh) check.
20133         ($(objpfx)sotruss): Change KSH to BASH.
20134         * elf/sotruss.ksh: Rename to ...
20135         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20136         function style to match POSIX.  Drop ksh vim mode setting.
20138         * manual/time.texi (Specifying the Time Zone with TZ): Change
20139         Tuesday to Thursday.
20141         * debug/tst-longjmp_chk2.c: Update header comment.
20142         (stackoverflow_handler): Add comment.  Call assert on pass value.
20144 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20146         [BZ #16194]
20147         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20148         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20149         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20150         (La_x86_64_vector): Add zmm.
20151         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20152         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20153         ($(objpfx)tst-audit10): New target.
20154         ($(objpfx)tst-audit10.out): Likewise.
20155         (tst-audit10-ENV): New.
20156         (AVX512-CFLAGS): Likewise.
20157         (CFLAGS-tst-audit10.c): Likewise.
20158         (CFLAGS-tst-auditmod10a.c): Likewise.
20159         (CFLAGS-tst-auditmod10b.c): Likewise.
20160         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20161         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20162         * sysdeps/x86_64/configure: Regenerated.
20163         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20164         AVX-512 zmm register support.
20165         (_dl_x86_64_save_sse): Likewise.
20166         (_dl_x86_64_restore_sse): Likewise.
20167         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20168         size vector registers.
20169         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20170         (ZMM_SIZE): Likewise.
20171         * sysdeps/x86_64/tst-audit10.c: New file.
20172         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20173         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20175 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20177         * configure.ac (HAVE_EHDR_START): New check.
20178         * configure: Regenerated.
20179         * config.h.in (HAVE_EHDR_START): New #undef.
20180         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20181         assuming the lowest-addressed segment maps the start of the file.
20183 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20185         * INSTALL: Regenerated.
20187 2014-03-13  Will Newton  <will.newton@linaro.org>
20189         * manual/setjmp.texi (System V contexts): Improve
20190         clarity and grammar of documentation.
20192 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20194         [BZ #16381]
20195         * elf/Makefile (tests): Add tst-pie2.
20196         (tests-pie): Add tst-pie2.
20197         * elf/tst-pie2.c: New file.
20198         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20199         for ET_EXEC.
20200         * elf/rtld.c (map_doit): Load executable as lt_executable.
20201         (dl_main): Likewise.
20203 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20205         [BZ #16642]
20206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20207         (__ASSUME_PSELECT): Undefine.
20209 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20211         [BZ #16689]
20212         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20213         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20214         static build.
20215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20216         selector for static builds.
20218 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20220         [BZ #16695]
20221         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20222         key in the buffer.
20224 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20226         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20227         IFUNC selector for static builds.
20229 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20231         * sysdeps/mips/math_private.h [__mips_hard_float]
20232         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20233         libc_feresetround_mips_ctx.
20234         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20235         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20236         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20238         [BZ #16677]
20239         * math/s_nextafter.c (__nextafter): Do not return value from
20240         overflowing computation.
20241         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20242         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20243         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20244         Likewise.
20245         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20246         Likewise.
20247         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20248         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20250 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20252         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20253         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20254         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20255         the new mov targetting sp.
20257 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20259         [BZ #16683]
20260         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20261         Define it for static builds as well.
20262         (NO_BZERO_IMPL): Likewise.
20264 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20266         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20267         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20268         multiarch strspn for PPC64.
20269         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20270         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20272         (__libc_ifunc_impl_list): Likewise.
20273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20274         multiarch optimizations
20275         * string/strspn.c (strspn): Using macro to redefine symbol name.
20277 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20280         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20281         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20282         multiarch strncat for PPC64.
20283         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20284         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20286         (__libc_ifunc_impl_list): Likewise.
20287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20288         multiarch optimizations
20290 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20292         [BZ #16639]
20293         * nscd/nscd.service: Make service type forking.
20295 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20297         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20298         sign in non default rounding modes.
20299         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20301 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20303         * math/libm-test.inc (ALL_RM_TEST): New macro.
20304         (ceil_test): Use ALL_RM_TEST.
20305         (cimag_test): Likewise.
20306         (conj_test): Likewise.
20307         (copysign_test): Likewise.
20308         (cproj_test): Likewise.
20309         (creal_test): Likewise.
20310         (fabs_test): Likewise.
20311         (floor_test): Likewise.
20312         (fmax_test): Likewise.
20313         (fmin_test): Likewise.
20314         (fmod_test): Likewise.
20315         (fpclassify_test): Likewise.
20316         (frexp_test): Likewise.
20317         (ilogb_test): Likewise.
20318         (isfinite_test): Likewise.
20319         (finite_test): Likewise.
20320         (isgreater_test): Likewise.
20321         (isgreaterequal_test): Likewise.
20322         (isinf_test): Likewise.
20323         (isless_test): Likewise.
20324         (islessequal_test): Likewise.
20325         (islessgreater_test): Likewise.
20326         (isnan_test): Likewise.
20327         (isnormal_test): Likewise.
20328         (issignaling_test): Likewise.
20329         (isunordered_test): Likewise.
20330         (logb_test): Likewise.
20331         (logb_downward_test_data): Remove.
20332         (logb_test_downward): Likewise.
20333         (lround_test): Use ALL_RM_TEST.
20334         (llround_test): Likewise.
20335         (modf_test): Likewise.
20336         (nexttoward_test): Likewise.
20337         (remainder_test): Likewise.
20338         (drem_test): Likewise.
20339         (remainder_tonearest_test_data): Likewise.
20340         (remainder_test_tonearest): Likewise.
20341         (drem_test_tonearest): Likewise.
20342         (remainder_towardzero_test_data): Likewise.
20343         (remainder_test_towardzero): Likewise.
20344         (drem_test_towardzero): Likewise.
20345         (remainder_downward_test_data): Likewise.
20346         (remainder_test_downward): Likewise.
20347         (drem_test_downward): Likewise.
20348         (remainder_upward_test_data): Likewise.
20349         (remainder_test_upward): Likewise.
20350         (drem_test_upward): Likewise.
20351         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20352         (round_test): Use ALL_RM_TEST.
20353         (signbit_test): Likewise.
20354         (trunc_test): Likewise.
20355         (significand_test): Likewise.
20356         (main): Don't call removed functions.
20358 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20360         [BZ #16674]
20361         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20362         || __USE_XOPEN2K8].
20363         (ILL_ILLOPN): Likewise.
20364         (ILL_ILLADR): Likewise.
20365         (ILL_ILLTRP): Likewise.
20366         (ILL_PRVOPC): Likewise.
20367         (ILL_PRVREG): Likewise.
20368         (ILL_COPROC): Likewise.
20369         (ILL_BADSTK): Likewise.
20370         (FPE_INTDIV): Likewise.
20371         (FPE_INTOVF): Likewise.
20372         (FPE_FLTDIV): Likewise.
20373         (FPE_FLTOVF): Likewise.
20374         (FPE_FLTUND): Likewise.
20375         (FPE_FLTRES): Likewise.
20376         (FPE_FLTINV): Likewise.
20377         (FPE_FLTSUB): Likewise.
20378         (SEGV_MAPERR): Likewise.
20379         (SEGV_ACCERR): Likewise.
20380         (BUS_ADRALN): Likewise.
20381         (BUS_ADRERR): Likewise.
20382         (BUS_OBJERR): Likewise.
20383         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20384         (TRAP_TRACE): Likewise.
20385         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20386         __USE_XOPEN2K8].
20387         (CLD_KILLED): Likewise.
20388         (CLD_DUMPED): Likewise.
20389         (CLD_TRAPPED): Likewise.
20390         (CLD_STOPPED): Likewise.
20391         (CLD_CONTINUED): Likewise.
20392         (POLL_IN): Likewise.
20393         (POLL_OUT): Likewise.
20394         (POLL_MSG): Likewise.
20395         (POLL_ERR): Likewise.
20396         (POLL_PRI): Likewise.
20397         (POLL_HUP): Likewise.
20398         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20399         Likewise.
20400         (ILL_ILLOPN): Likewise.
20401         (ILL_ILLADR): Likewise.
20402         (ILL_ILLTRP): Likewise.
20403         (ILL_PRVOPC): Likewise.
20404         (ILL_PRVREG): Likewise.
20405         (ILL_COPROC): Likewise.
20406         (ILL_BADSTK): Likewise.
20407         (FPE_INTDIV): Likewise.
20408         (FPE_INTOVF): Likewise.
20409         (FPE_FLTDIV): Likewise.
20410         (FPE_FLTOVF): Likewise.
20411         (FPE_FLTUND): Likewise.
20412         (FPE_FLTRES): Likewise.
20413         (FPE_FLTINV): Likewise.
20414         (FPE_FLTSUB): Likewise.
20415         (SEGV_MAPERR): Likewise.
20416         (SEGV_ACCERR): Likewise.
20417         (BUS_ADRALN): Likewise.
20418         (BUS_ADRERR): Likewise.
20419         (BUS_OBJERR): Likewise.
20420         (BUS_MCEERR_AR): Likewise.
20421         (BUS_MCEERR_AO): Likewise.
20422         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20423         (TRAP_TRACE): Likewise.
20424         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20425         __USE_XOPEN2K8].
20426         (CLD_KILLED): Likewise.
20427         (CLD_DUMPED): Likewise.
20428         (CLD_TRAPPED): Likewise.
20429         (CLD_STOPPED): Likewise.
20430         (CLD_CONTINUED): Likewise.
20431         (POLL_IN): Likewise.
20432         (POLL_OUT): Likewise.
20433         (POLL_MSG): Likewise.
20434         (POLL_ERR): Likewise.
20435         (POLL_PRI): Likewise.
20436         (POLL_HUP): Likewise.
20437         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20438         (ILL_ILLOPN): Likewise.
20439         (ILL_ILLADR): Likewise.
20440         (ILL_ILLTRP): Likewise.
20441         (ILL_PRVOPC): Likewise.
20442         (ILL_PRVREG): Likewise.
20443         (ILL_COPROC): Likewise.
20444         (ILL_BADSTK): Likewise.
20445         (FPE_INTDIV): Likewise.
20446         (FPE_INTOVF): Likewise.
20447         (FPE_FLTDIV): Likewise.
20448         (FPE_FLTOVF): Likewise.
20449         (FPE_FLTUND): Likewise.
20450         (FPE_FLTRES): Likewise.
20451         (FPE_FLTINV): Likewise.
20452         (FPE_FLTSUB): Likewise.
20453         (SEGV_MAPERR): Likewise.
20454         (SEGV_ACCERR): Likewise.
20455         (BUS_ADRALN): Likewise.
20456         (BUS_ADRERR): Likewise.
20457         (BUS_OBJERR): Likewise.
20458         (BUS_MCEERR_AR): Likewise.
20459         (BUS_MCEERR_AO): Likewise.
20460         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20461         (TRAP_TRACE): Likewise.
20462         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20463         __USE_XOPEN2K8].
20464         (CLD_KILLED): Likewise.
20465         (CLD_DUMPED): Likewise.
20466         (CLD_TRAPPED): Likewise.
20467         (CLD_STOPPED): Likewise.
20468         (CLD_CONTINUED): Likewise.
20469         (POLL_IN): Likewise.
20470         (POLL_OUT): Likewise.
20471         (POLL_MSG): Likewise.
20472         (POLL_ERR): Likewise.
20473         (POLL_PRI): Likewise.
20474         (POLL_HUP): Likewise.
20475         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20476         Likewise.
20477         (ILL_ILLOPN): Likewise.
20478         (ILL_ILLADR): Likewise.
20479         (ILL_ILLTRP): Likewise.
20480         (ILL_PRVOPC): Likewise.
20481         (ILL_PRVREG): Likewise.
20482         (ILL_COPROC): Likewise.
20483         (ILL_BADSTK): Likewise.
20484         (ILL_BADIADDR): Likewise.
20485         (ILL_BREAK): Likewise.
20486         (FPE_INTDIV): Likewise.
20487         (FPE_INTOVF): Likewise.
20488         (FPE_FLTDIV): Likewise.
20489         (FPE_FLTOVF): Likewise.
20490         (FPE_FLTUND): Likewise.
20491         (FPE_FLTRES): Likewise.
20492         (FPE_FLTINV): Likewise.
20493         (FPE_FLTSUB): Likewise.
20494         (FPE_DECOVF): Likewise.
20495         (FPE_DECDIV): Likewise.
20496         (FPE_DECERR): Likewise.
20497         (FPE_INVASC): Likewise.
20498         (FPE_INVDEC): Likewise.
20499         (SEGV_MAPERR): Likewise.
20500         (SEGV_ACCERR): Likewise.
20501         (SEGV_PSTKOVF): Likewise.
20502         (BUS_ADRALN): Likewise.
20503         (BUS_ADRERR): Likewise.
20504         (BUS_OBJERR): Likewise.
20505         (BUS_MCEERR_AR): Likewise.
20506         (BUS_MCEERR_AO): Likewise.
20507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20508         (TRAP_TRACE): Likewise.
20509         (TRAP_BRANCH): Likewise.
20510         (TRAP_HWBKPT): Likewise.
20511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20512         __USE_XOPEN2K8].
20513         (CLD_KILLED): Likewise.
20514         (CLD_DUMPED): Likewise.
20515         (CLD_TRAPPED): Likewise.
20516         (CLD_STOPPED): Likewise.
20517         (CLD_CONTINUED): Likewise.
20518         (POLL_IN): Likewise.
20519         (POLL_OUT): Likewise.
20520         (POLL_MSG): Likewise.
20521         (POLL_ERR): Likewise.
20522         (POLL_PRI): Likewise.
20523         (POLL_HUP): Likewise.
20524         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20525         (ILL_ILLOPN): Likewise.
20526         (ILL_ILLADR): Likewise.
20527         (ILL_ILLTRP): Likewise.
20528         (ILL_PRVOPC): Likewise.
20529         (ILL_PRVREG): Likewise.
20530         (ILL_COPROC): Likewise.
20531         (ILL_BADSTK): Likewise.
20532         (FPE_INTDIV): Likewise.
20533         (FPE_INTOVF): Likewise.
20534         (FPE_FLTDIV): Likewise.
20535         (FPE_FLTOVF): Likewise.
20536         (FPE_FLTUND): Likewise.
20537         (FPE_FLTRES): Likewise.
20538         (FPE_FLTINV): Likewise.
20539         (FPE_FLTSUB): Likewise.
20540         (SEGV_MAPERR): Likewise.
20541         (SEGV_ACCERR): Likewise.
20542         (BUS_ADRALN): Likewise.
20543         (BUS_ADRERR): Likewise.
20544         (BUS_OBJERR): Likewise.
20545         (BUS_MCEERR_AR): Likewise.
20546         (BUS_MCEERR_AO): Likewise.
20547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20548         (TRAP_TRACE): Likewise.
20549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20550         __USE_XOPEN2K8].
20551         (CLD_KILLED): Likewise.
20552         (CLD_DUMPED): Likewise.
20553         (CLD_TRAPPED): Likewise.
20554         (CLD_STOPPED): Likewise.
20555         (CLD_CONTINUED): Likewise.
20556         (POLL_IN): Likewise.
20557         (POLL_OUT): Likewise.
20558         (POLL_MSG): Likewise.
20559         (POLL_ERR): Likewise.
20560         (POLL_PRI): Likewise.
20561         (POLL_HUP): Likewise.
20562         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20563         (ILL_ILLOPN): Likewise.
20564         (ILL_ILLADR): Likewise.
20565         (ILL_ILLTRP): Likewise.
20566         (ILL_PRVOPC): Likewise.
20567         (ILL_PRVREG): Likewise.
20568         (ILL_COPROC): Likewise.
20569         (ILL_BADSTK): Likewise.
20570         (FPE_INTDIV): Likewise.
20571         (FPE_INTOVF): Likewise.
20572         (FPE_FLTDIV): Likewise.
20573         (FPE_FLTOVF): Likewise.
20574         (FPE_FLTUND): Likewise.
20575         (FPE_FLTRES): Likewise.
20576         (FPE_FLTINV): Likewise.
20577         (FPE_FLTSUB): Likewise.
20578         (SEGV_MAPERR): Likewise.
20579         (SEGV_ACCERR): Likewise.
20580         (BUS_ADRALN): Likewise.
20581         (BUS_ADRERR): Likewise.
20582         (BUS_OBJERR): Likewise.
20583         (BUS_MCEERR_AR): Likewise.
20584         (BUS_MCEERR_AO): Likewise.
20585         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20586         (TRAP_TRACE): Likewise.
20587         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20588         __USE_XOPEN2K8].
20589         (CLD_KILLED): Likewise.
20590         (CLD_DUMPED): Likewise.
20591         (CLD_TRAPPED): Likewise.
20592         (CLD_STOPPED): Likewise.
20593         (CLD_CONTINUED): Likewise.
20594         (POLL_IN): Likewise.
20595         (POLL_OUT): Likewise.
20596         (POLL_MSG): Likewise.
20597         (POLL_ERR): Likewise.
20598         (POLL_PRI): Likewise.
20599         (POLL_HUP): Likewise.
20600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20601         (ILL_ILLOPN): Likewise.
20602         (ILL_ILLADR): Likewise.
20603         (ILL_ILLTRP): Likewise.
20604         (ILL_PRVOPC): Likewise.
20605         (ILL_PRVREG): Likewise.
20606         (ILL_COPROC): Likewise.
20607         (ILL_BADSTK): Likewise.
20608         (FPE_INTDIV): Likewise.
20609         (FPE_INTOVF): Likewise.
20610         (FPE_FLTDIV): Likewise.
20611         (FPE_FLTOVF): Likewise.
20612         (FPE_FLTUND): Likewise.
20613         (FPE_FLTRES): Likewise.
20614         (FPE_FLTINV): Likewise.
20615         (FPE_FLTSUB): Likewise.
20616         (SEGV_MAPERR): Likewise.
20617         (SEGV_ACCERR): Likewise.
20618         (BUS_ADRALN): Likewise.
20619         (BUS_ADRERR): Likewise.
20620         (BUS_OBJERR): Likewise.
20621         (BUS_MCEERR_AR): Likewise.
20622         (BUS_MCEERR_AO): Likewise.
20623         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20624         (TRAP_TRACE): Likewise.
20625         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20626         __USE_XOPEN2K8].
20627         (CLD_KILLED): Likewise.
20628         (CLD_DUMPED): Likewise.
20629         (CLD_TRAPPED): Likewise.
20630         (CLD_STOPPED): Likewise.
20631         (CLD_CONTINUED): Likewise.
20632         (POLL_IN): Likewise.
20633         (POLL_OUT): Likewise.
20634         (POLL_MSG): Likewise.
20635         (POLL_ERR): Likewise.
20636         (POLL_PRI): Likewise.
20637         (POLL_HUP): Likewise.
20638         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20639         (ILL_ILLOPN): Likewise.
20640         (ILL_ILLADR): Likewise.
20641         (ILL_ILLTRP): Likewise.
20642         (ILL_PRVOPC): Likewise.
20643         (ILL_PRVREG): Likewise.
20644         (ILL_COPROC): Likewise.
20645         (ILL_BADSTK): Likewise.
20646         (ILL_DBLFLT): Likewise.
20647         (ILL_HARDWALL): Likewise.
20648         (FPE_INTDIV): Likewise.
20649         (FPE_INTOVF): Likewise.
20650         (FPE_FLTDIV): Likewise.
20651         (FPE_FLTOVF): Likewise.
20652         (FPE_FLTUND): Likewise.
20653         (FPE_FLTRES): Likewise.
20654         (FPE_FLTINV): Likewise.
20655         (FPE_FLTSUB): Likewise.
20656         (SEGV_MAPERR): Likewise.
20657         (SEGV_ACCERR): Likewise.
20658         (BUS_ADRALN): Likewise.
20659         (BUS_ADRERR): Likewise.
20660         (BUS_OBJERR): Likewise.
20661         (BUS_MCEERR_AR): Likewise.
20662         (BUS_MCEERR_AO): Likewise.
20663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20664         (TRAP_TRACE): Likewise.
20665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20666         __USE_XOPEN2K8].
20667         (CLD_KILLED): Likewise.
20668         (CLD_DUMPED): Likewise.
20669         (CLD_TRAPPED): Likewise.
20670         (CLD_STOPPED): Likewise.
20671         (CLD_CONTINUED): Likewise.
20672         (POLL_IN): Likewise.
20673         (POLL_OUT): Likewise.
20674         (POLL_MSG): Likewise.
20675         (POLL_ERR): Likewise.
20676         (POLL_PRI): Likewise.
20677         (POLL_HUP): Likewise.
20678         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20679         (ILL_ILLOPN): Likewise.
20680         (ILL_ILLADR): Likewise.
20681         (ILL_ILLTRP): Likewise.
20682         (ILL_PRVOPC): Likewise.
20683         (ILL_PRVREG): Likewise.
20684         (ILL_COPROC): Likewise.
20685         (ILL_BADSTK): Likewise.
20686         (FPE_INTDIV): Likewise.
20687         (FPE_INTOVF): Likewise.
20688         (FPE_FLTDIV): Likewise.
20689         (FPE_FLTOVF): Likewise.
20690         (FPE_FLTUND): Likewise.
20691         (FPE_FLTRES): Likewise.
20692         (FPE_FLTINV): Likewise.
20693         (FPE_FLTSUB): Likewise.
20694         (SEGV_MAPERR): Likewise.
20695         (SEGV_ACCERR): Likewise.
20696         (BUS_ADRALN): Likewise.
20697         (BUS_ADRERR): Likewise.
20698         (BUS_OBJERR): Likewise.
20699         (BUS_MCEERR_AR): Likewise.
20700         (BUS_MCEERR_AO): Likewise.
20701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20702         (TRAP_TRACE): Likewise.
20703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20704         __USE_XOPEN2K8].
20705         (CLD_KILLED): Likewise.
20706         (CLD_DUMPED): Likewise.
20707         (CLD_TRAPPED): Likewise.
20708         (CLD_STOPPED): Likewise.
20709         (CLD_CONTINUED): Likewise.
20710         (POLL_IN): Likewise.
20711         (POLL_OUT): Likewise.
20712         (POLL_MSG): Likewise.
20713         (POLL_ERR): Likewise.
20714         (POLL_PRI): Likewise.
20715         (POLL_HUP): Likewise.
20716         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20717         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20719         [BZ #16670]
20720         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20721         before #include of <time.h>.
20722         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20723         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20724         (test-xfail-UNIX98/sched.h/conform): Likewise.
20726 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20728         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20729         error absence of trapping exception support.
20730         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20732 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20734         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20735         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20736         * timezone/Makefile (testdata): Move definition above include of
20737         Rules.
20738         (test-zones): New variable.
20739         (tests-special): Add zone files.
20740         (build-testdata): Use $(evaluate-test).
20742         * elf/Makefile (tests-special): Rename tests to end with .out.
20743         ($(objpfx)noload-mem): Likewise.
20744         ($(objpfx)tst-leaks1-mem): Likewise.
20745         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20746         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20747         $(objpfx)test-iconvconfig.out.
20748         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20749         set -e inside subshell and redirect output to file.
20750         * iconvdata/Makefile (generated): Rename tests to end with .out.
20751         Correct type.
20752         (tests-special): Rename tests to end with .out.
20753         ($(objpfx)mtrace-tst-loading): Likewise.
20754         * intl/Makefile (generated): Likewise.
20755         (tests-special): Likewise.
20756         ($(objpfx)mtrace-tst-gettext): Likewise.
20757         * misc/Makefile (generated): Likewise.
20758         (tests-special): Likewise.
20759         ($(objpfx)tst-error1-mem): Likewise.
20760         * nptl/Makefile (tests-special): Likewise.
20761         ($(objpfx)tst-stack3-mem): Likewise.
20762         (generated): Likewise.
20763         * posix/Makefile (generated): Likewise.
20764         (tests-special): Likewise.
20765         (xtests-special): Likewise.
20766         ($(objpfx)tst-fnmatch-mem): Likewise.
20767         ($(objpfx)bug-regex2-mem): Likewise.
20768         ($(objpfx)bug-regex14-mem): Likewise.
20769         ($(objpfx)bug-regex21-mem): Likewise.
20770         ($(objpfx)bug-regex31-mem): Likewise.
20771         ($(objpfx)tst-vfork3-mem): Likewise.
20772         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20773         ($(objpfx)tst-pcre-mem): Likewise.
20774         ($(objpfx)tst-boost-mem): Likewise.
20775         ($(objpfx)bug-ga2-mem): Likewise.
20776         ($(objpfx)bug-glob2-mem): Likewise.
20777         * resolv/Makefile (generate): Likewise.
20778         (tests-special): Likewise.
20779         (xtests-special): Likewise.
20780         (generated): Likewise.
20781         ($(objpfx)mtrace-tst-leaks): Likewise.
20782         ($(objpfx)mtrace-tst-leaks2): Likewise.
20784         * scripts/merge-test-results.sh: New file.
20785         * Makefile (tests-special-notdir): New variable.
20786         (tests): Run merge-test-results.sh.
20787         (xtests): Likewise.
20788         * Rules (tests-special-notdir): New variable.
20789         (xtests-special-notdir): Likewise.
20790         (tests): Run merge-test-results.sh
20791         (xtests): Likewise.
20793         * Makeconfig (test-xfail-name): New variable.
20794         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20795         compute variable name for expected failures.
20796         * conform/Makefile (conformtest-headers-data): New variable.
20797         (conformtest-standards): Likewise.
20798         (conformtest-headers-ISO): Likewise.
20799         (conformtest-headers-ISO99): Likewise.
20800         (conformtest-headers-ISO11): Likewise.
20801         (conformtest-headers-POSIX): Likewise.
20802         (conformtest-headers-XPG3): Likewise.
20803         (conformtest-headers-XPG4): Likewise.
20804         (conformtest-headers-UNIX98): Likewise.
20805         (conformtest-headers-XOPEN2K): Likewise.
20806         (conformtest-headers-POSIX2008): Likewise.
20807         (conformtest-headers-XOPEN2K8): Likewise.
20808         (conformtest-header-list-base): Likewise.
20809         (conformtest-header-list-tests): Likewise.
20810         (conformtest-header-base): Likewise.
20811         (conformtest-header-tests): Likewise.
20812         (tests-special): Add $(conformtest-header-list-tests).  If
20813         [$(fast-check) && !$(cross-compiling)], add
20814         $(conformtest-header-tests) instead of
20815         $(objpfx)run-conformtest.out.
20816         (generated): Add $(conformtest-header-list-base).  If
20817         [$(fast-check) && !$(cross-compiling)], add
20818         $(conformtest-header-base).  Remove previous setting.
20819         ($(conformtest-header-list-tests)): New target.
20820         (test-xfail-run-conformtest): Remove variable.
20821         ($(objpfx)run-conformtest.out): Remove target.
20822         (test-xfail-ISO11/complex.h/conform): New variable.
20823         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20824         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20825         (test-xfail-XPG3/varargs.h/conform): Likewise.
20826         (test-xfail-XPG4/varargs.h/conform): Likewise.
20827         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20828         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20829         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20830         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20831         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20832         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20833         (test-xfail-XPG3/ftw.h/conform): Likewise.
20834         (test-xfail-XPG3/grp.h/conform): Likewise.
20835         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20836         (test-xfail-XPG3/limits.h/conform): Likewise.
20837         (test-xfail-XPG3/pwd.h/conform): Likewise.
20838         (test-xfail-XPG3/search.h/conform): Likewise.
20839         (test-xfail-XPG3/signal.h/conform): Likewise.
20840         (test-xfail-XPG3/stdio.h/conform): Likewise.
20841         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20842         (test-xfail-XPG3/string.h/conform): Likewise.
20843         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20844         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20845         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20846         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20847         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20848         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20849         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20850         (test-xfail-XPG3/termios.h/conform): Likewise.
20851         (test-xfail-XPG3/time.h/conform): Likewise.
20852         (test-xfail-XPG3/unistd.h/conform): Likewise.
20853         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20854         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20855         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20856         (test-xfail-XPG4/netdb.h/conform): Likewise.
20857         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20858         (test-xfail-XPG4/signal.h/conform): Likewise.
20859         (test-xfail-XPG4/stdio.h/conform): Likewise.
20860         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20861         (test-xfail-XPG4/stropts.h/conform): Likewise.
20862         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20863         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20864         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20865         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20866         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20867         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20868         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20869         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20870         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20871         (test-xfail-XPG4/termios.h/conform): Likewise.
20872         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20873         (test-xfail-XPG4/unistd.h/conform): Likewise.
20874         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20875         (test-xfail-POSIX/sched.h/conform): Likewise.
20876         (test-xfail-POSIX/signal.h/conform): Likewise.
20877         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20878         (test-xfail-POSIX/tar.h/conform): Likewise.
20879         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20880         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20881         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20882         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20883         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20884         (test-xfail-UNIX98/sched.h/conform): Likewise.
20885         (test-xfail-UNIX98/signal.h/conform): Likewise.
20886         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20887         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20888         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20889         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20890         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20891         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20892         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20893         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20894         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20895         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20896         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20897         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20898         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20899         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20900         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20901         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20902         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20903         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20904         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20905         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20906         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20907         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20908         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20909         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20910         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20911         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20912         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20913         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20914         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20915         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20916         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20917         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20918         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20919         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20920         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20921         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20922         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20923         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20924         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20925         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20926         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20927         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20928         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20929         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20930         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20931         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20932         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20933         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20934         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20935         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20936         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20937         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20938         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20939         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20940         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20941         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20942         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20943         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20944         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20945         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20946         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20947         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20948         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20949         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20950         (conformtest-cc-flags): Likewise.
20951         ($(conformtest-header-tests): New target.
20952         * conform/check-header-lists.sh: New file.
20953         * conform/run-conformtest.sh: Remove.
20955         * conform/conformtest.pl: Allow ' and \ in values given for
20956         constants.
20957         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20958         inclusion.
20959         [POSIX] (sys/types.h): Likewise.
20960         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20961         inclusion.
20962         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20963         inclusion.
20964         * conform/data/signal.h-data (SIGIO): Remove expectation.
20965         [XPG3] (SIGBUS): Do not expect.
20966         [POSIX || XPG3] (SIGPOLL): Likewise.
20967         [POSIX || XPG3] (SIGPROF): Likewise.
20968         [POSIX || XPG3] (SIGSYS): Likewise.
20969         [XPG3] (SIGTRAP): Likewise.
20970         [POSIX || XPG3] (SIGURG): Likewise.
20971         [POSIX || XPG3] (SIGVTALRM): Likewise.
20972         [POSIX || XPG3] (SIGXCPU): Likewise.
20973         [POSIX || XPG3] (SIGXFSZ): Likewise.
20974         [POSIX] (SA_SIGINFO): Expect.
20975         [XPG3] (siginfo_t): Do not expect type or contents.
20976         [POSIX] (si_pid): Do not expect element.
20977         [POSIX] (si_uid): Likewise.
20978         [POSIX] (si_addr): Likewise.
20979         [POSIX] (si_status): Likewise.
20980         [POSIX] (si_band): Likewise.
20981         [XPG4] (si_value): Likewise.
20982         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20983         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20984         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20985         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20986         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20987         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20988         [POSIX || XPG3] (ILL_COPROC): Likewise.
20989         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20990         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20991         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20992         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20993         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20994         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20995         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20996         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20997         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20998         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20999         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21000         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21001         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21002         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21003         [POSIX || XPG3] (CLD_EXITED): Likewise.
21004         [POSIX || XPG3] (CLD_KILLED): Likewise.
21005         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21006         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21007         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21008         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21009         [POSIX || XPG3] (POLL_IN): Likewise.
21010         [POSIX || XPG3] (POLL_OUT): Likewise.
21011         [POSIX || XPG3] (POLL_MSG): Likewise.
21012         [POSIX || XPG3] (POLL_ERR): Likewise.
21013         [POSIX || XPG3] (POLL_PRI): Likewise.
21014         [POSIX || XPG3] (POLL_HUP): Likewise.
21015         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21016         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21017         (SIG*): Do not allow.
21018         [XPG3] (si_*): Likewise.
21019         [XPG3] (SI_*): Likewise.
21020         [XPG3 || XPG4] (sigev_*): Likewise.
21021         [XPG3 || XPG4] (SIGEV_*): Likewise.
21022         [XPG3 || XPG4] (sival_*): Likewise.
21023         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21024         [POSIX || XPG3] (BUS_*): Likewise.
21025         [POSIX || XPG3] (CLD_*): Likewise.
21026         [POSIX || XPG3] (FPE_*): Likewise.
21027         [POSIX || XPG3] (ILL_*): Likewise.
21028         [POSIX || XPG3] (POLL_*): Likewise.
21029         [POSIX || XPG3] (SEGV_*): Likewise.
21030         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21031         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21032         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21033         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21034         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21035         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21036         Specify type and value.
21037         (TVERSLEN): Likewise.
21038         (REGTYPE): Likewise.
21039         (AREGTYPE): Likewise.
21040         (LNKTYPE): Likewise.
21041         (SYMTYPE): Likewise.
21042         (CHRTYPE): Likewise.
21043         (BLKTYPE): Likewise.
21044         (DIRTYPE): Likewise.
21045         (FIFOTYPE): Likewise.
21046         (CONTTYPE): Likewise.
21047         (TSUID): Likewise.
21048         (TSGID): Likewise.
21049         (TSVTX): Likewise.
21050         (TUREAD): Likewise.
21051         (TUWRITE): Likewise.
21052         (TUEXEC): Likewise.
21053         (TGREAD): Likewise.
21054         (TGWRITE): Likewise.
21055         (TGEXEC): Likewise.
21056         (TOREAD): Likewise.
21057         (TOWRITE): Likewise.
21058         (TOEXEC): Likewise.
21059         [POSIX] (TSVTX): Expect constant.
21061 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21063         * Makefile (tests): Change dependencies to ....
21064         (tests-special): ... additions to this variable.
21065         (tests): Depend on $(tests-special).
21066         * Makerules (check-abi-list): New variable.
21067         (check-abi): Depend on $(check-abi-list).
21068         [$(subdir) = elf] (tests-special): Add
21069         $(objpfx)check-abi-libc.out.
21070         [$(build-shared) = yes && subdir] (tests-special): Add
21071         $(check-abi-list).
21072         [$(build-shared) = yes && subdir] (tests): Do not depend on
21073         check-abi.
21074         * Rules (tests): Depend on $(tests-special).
21075         (xtests): Depend on $(xtests-special).
21076         * catgets/Makefile (tests): Change dependencies to ....
21077         (tests-special): ... additions to this variable.
21078         * conform/Makefile (tests): Change dependencies to ....
21079         (tests-special): ... additions to this variable.
21080         * elf/Makefile (tests): Change dependencies to ....
21081         (tests-special): ... additions to this variable.
21082         * grp/Makefile (tests): Change dependencies to ....
21083         (tests-special): ... additions to this variable.
21084         * iconv/Makefile (xtests): Change dependencies to ....
21085         (xtests-special): ... additions to this variable.
21086         * iconvdata/Makefile (tests): Change dependencies to ....
21087         (tests-special): ... additions to this variable.
21088         * intl/Makefile (tests): Change dependencies to ....
21089         (tests-special): ... additions to this variable.  Also add
21090         $(objpfx)tst-gettext.out.
21091         * io/Makefile (tests): Change dependencies to ....
21092         (tests-special): ... additions to this variable.
21093         * libio/Makefile (tests): Change dependencies to ....
21094         (tests-special): ... additions to this variable.
21095         * malloc/Makefile (tests): Change dependencies to ....
21096         (tests-special): ... additions to this variable.
21097         * misc/Makefile (tests): Change dependencies to ....
21098         (tests-special): ... additions to this variable.
21099         * nptl/Makefile (tests): Change dependencies to ....
21100         (tests-special): ... additions to this variable.
21101         * nptl_db/Makefile (tests): Change dependencies to ....
21102         (tests-special): ... additions to this variable.
21103         * posix/Makefile (tests): Change dependencies to ....
21104         (tests-special): ... additions to this variable.
21105         (xtests): Change dependencies to ....
21106         (xtests-special): ... additions to this variable.
21107         * resolv/Makefile (tests): Change dependencies to ....
21108         (tests-special): ... additions to this variable.
21109         (xtests): Change dependencies to ....
21110         (xtests-special): ... additions to this variable.
21111         * stdio-common/Makefile (tests): Change dependencies to ....
21112         (tests-special): ... additions to this variable.
21113         (do-tst-unbputc): Remove target.
21114         (do-tst-printf): Likewise.
21115         * stdlib/Makefile (tests): Change dependencies to ....
21116         (tests-special): ... additions to this variable.
21117         * string/Makefile (tests): Change dependencies to ....
21118         (tests-special): ... additions to this variable.
21119         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21120         (tests-special): ... additions to this variable.
21122         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21123         whole file.
21124         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21125         whole file.
21126         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21127         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21129         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21130         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21131         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21132         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21133         * conform/data/libgen.h-data [XPG3]: Likewise.
21134         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21135         * conform/data/ndbm.h-data [XPG3]: Likewise.
21136         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21137         * conform/data/netdb.h-data [XPG3]: Likewise.
21138         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21139         * conform/data/poll.h-data [XPG3]: Likewise.
21140         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21141         * conform/data/strings.h-data [XPG3]: Likewise.
21142         * conform/data/stropts.h-data [XPG3]: Likewise.
21143         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21144         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21145         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21146         Likewise.
21147         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21148         * conform/data/sys/time.h-data [XPG3]: Likewise.
21149         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21150         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21151         * conform/data/sys/un.h-data [XPG3]: Likewise.
21152         * conform/data/syslog.h-data [XPG3]: Likewise.
21153         * conform/data/ucontext.h-data [XPG3]: Likewise.
21154         * conform/data/utmpx.h-data [XPG3]: Likewise.
21155         * conform/data/varargs.h-data [UNIX98]: Enable file.
21157         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21159         * math/libm-test.inc (struct test_f_f_data): Move expected results
21160         into structure for each rounding mode.
21161         (struct test_ff_f_data): Likewise.
21162         (struct test_ff_f_data_nexttoward): Likewise.
21163         (struct test_fi_f_data): Likewise.
21164         (struct test_fl_f_data): Likewise.
21165         (struct test_if_f_data): Likewise.
21166         (struct test_fff_f_data): Likewise.
21167         (struct test_c_f_data): Likewise.
21168         (struct test_f_f1_data): Likewise.
21169         (struct test_fF_f1_data): Likewise.
21170         (struct test_ffI_f1_data): Likewise.
21171         (struct test_c_c_data): Likewise.
21172         (struct test_cc_c_data): Likewise.
21173         (struct test_f_i_data): Likewise.
21174         (struct test_ff_i_data): Likewise.
21175         (struct test_f_l_data): Likewise.
21176         (struct test_f_L_data): Likewise.
21177         (struct test_fFF_11_data): Likewise.
21178         (RM_): New macro.
21179         (RM_FE_DOWNWARD): Likewise.
21180         (RM_FE_TONEAREST): Likewise.
21181         (RM_FE_TOWARDZERO): Likewise.
21182         (RM_FE_UPWARD): Likewise.
21183         (RUN_TEST_LOOP_f_f): Update references to expected results.
21184         (RUN_TEST_LOOP_2_f): Likewise.
21185         (RUN_TEST_LOOP_fff_f): Likewise.
21186         (RUN_TEST_LOOP_c_f): Likewise.
21187         (RUN_TEST_LOOP_f_f1): Likewise.
21188         (RUN_TEST_LOOP_fF_f1): Likewise.
21189         (RUN_TEST_LOOP_fI_f1): Likewise.
21190         (RUN_TEST_LOOP_ffI_f1): Likewise.
21191         (RUN_TEST_LOOP_c_c): Likewise.
21192         (RUN_TEST_LOOP_cc_c): Likewise.
21193         (RUN_TEST_LOOP_f_i): Likewise.
21194         (RUN_TEST_LOOP_f_i_tg): Likewise.
21195         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21196         (RUN_TEST_LOOP_f_b): Likewise.
21197         (RUN_TEST_LOOP_f_b_tg): Likewise.
21198         (RUN_TEST_LOOP_f_l): Likewise.
21199         (RUN_TEST_LOOP_f_L): Likewise.
21200         (RUN_TEST_LOOP_fFF_11): Likewise.
21201         * math/gen-libm-test.pl (parse_args): Output four copies of
21202         expected results for each test.
21204         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21205         (__ASSUME_UTIMES): Remove.
21206         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21207         (__ASSUME_UTIMES): Likewise.
21209         * math/gen-auto-libm-tests.c: Update comment on output format.
21210         (output_for_one_input_case): Generate before-rounding and
21211         after-rounding information as conditions on output flags not
21212         floating-point format.
21213         * math/auto-libm-test-out: Regenerated.
21214         * math/gen-libm-test.pl (cond_value): New function.
21215         (or_cond_value): Use cond_value.
21216         (generate_testfile): Handle conditional exceptions.
21218 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21220         * math/libm-test.inc (max_valid_error): New variable.
21221         (init_max_error): Take new argument specifying whether function
21222         results are exactly determined.  Set max_valid_error and bound
21223         other variables for errors based on this argument.
21224         (set_max_error): Do not record results above max_valid_error.
21225         (check_float_internal): Only accept errors of up to 0.5ulps if
21226         also at most max_valid_error.
21227         (START): Take new argument EXACT and pass it to init_max_error.
21228         (acos_test): Update call to START.
21229         (acos_test_tonearest): Likewise.
21230         (acos_test_towardzero): Likewise.
21231         (acos_test_downward): Likewise.
21232         (acos_test_upward): Likewise.
21233         (acosh_test): Likewise.
21234         (asin_test): Likewise.
21235         (asin_test_tonearest): Likewise.
21236         (asin_test_towardzero): Likewise.
21237         (asin_test_downward): Likewise.
21238         (asin_test_upward): Likewise.
21239         (asinh_test): Likewise.
21240         (atan_test): Likewise.
21241         (atanh_test): Likewise.
21242         (atan2_test): Likewise.
21243         (cabs_test): Likewise.
21244         (cacos_test): Likewise.
21245         (cacosh_test): Likewise.
21246         (carg_test): Likewise.
21247         (casin_test): Likewise.
21248         (casinh_test): Likewise.
21249         (catan_test): Likewise.
21250         (catanh_test): Likewise.
21251         (cbrt_test): Likewise.
21252         (ccos_test): Likewise.
21253         (ccosh_test): Likewise.
21254         (ceil_test): Likewise.
21255         (cexp_test): Likewise.
21256         (cimag_test): Likewise.
21257         (clog_test): Likewise.
21258         (clog10_test): Likewise.
21259         (conj_test): Likewise.
21260         (copysign_test): Likewise.
21261         (cos_test): Likewise.
21262         (cos_test_tonearest): Likewise.
21263         (cos_test_towardzero): Likewise.
21264         (cos_test_downward): Likewise.
21265         (cos_test_upward): Likewise.
21266         (cosh_test): Likewise.
21267         (cosh_test_tonearest): Likewise.
21268         (cosh_test_towardzero): Likewise.
21269         (cosh_test_downward): Likewise.
21270         (cosh_test_upward): Likewise.
21271         (cpow_test): Likewise.
21272         (cproj_test): Likewise.
21273         (creal_test): Likewise.
21274         (csin_test): Likewise.
21275         (csinh_test): Likewise.
21276         (csqrt_test): Likewise.
21277         (ctan_test): Likewise.
21278         (ctan_test_tonearest): Likewise.
21279         (ctan_test_towardzero): Likewise.
21280         (ctan_test_downward): Likewise.
21281         (ctan_test_upward): Likewise.
21282         (ctanh_test): Likewise.
21283         (ctanh_test_tonearest): Likewise.
21284         (ctanh_test_towardzero): Likewise.
21285         (ctanh_test_downward): Likewise.
21286         (ctanh_test_upward): Likewise.
21287         (erf_test): Likewise.
21288         (erfc_test): Likewise.
21289         (exp_test): Likewise.
21290         (exp_test_tonearest): Likewise.
21291         (exp_test_towardzero): Likewise.
21292         (exp_test_downward): Likewise.
21293         (exp_test_upward): Likewise.
21294         (exp10_test): Likewise.
21295         (exp10_test_tonearest): Likewise.
21296         (exp10_test_towardzero): Likewise.
21297         (exp10_test_downward): Likewise.
21298         (exp10_test_upward): Likewise.
21299         (pow10_test): Likewise.
21300         (exp2_test): Likewise.
21301         (expm1_test): Likewise.
21302         (expm1_test_tonearest): Likewise.
21303         (expm1_test_towardzero): Likewise.
21304         (expm1_test_downward): Likewise.
21305         (expm1_test_upward): Likewise.
21306         (fabs_test): Likewise.
21307         (fdim_test): Likewise.
21308         (floor_test): Likewise.
21309         (fma_test): Likewise.
21310         (fma_test_towardzero): Likewise.
21311         (fma_test_downward): Likewise.
21312         (fma_test_upward): Likewise.
21313         (fmax_test): Likewise.
21314         (fmin_test): Likewise.
21315         (fmod_test): Likewise.
21316         (fpclassify_test): Likewise.
21317         (frexp_test): Likewise.
21318         (hypot_test): Likewise.
21319         (ilogb_test): Likewise.
21320         (isfinite_test): Likewise.
21321         (finite_test): Likewise.
21322         (isgreater_test): Likewise.
21323         (isgreaterequal_test): Likewise.
21324         (isinf_test): Likewise.
21325         (isless_test): Likewise.
21326         (islessequal_test): Likewise.
21327         (islessgreater_test): Likewise.
21328         (isnan_test): Likewise.
21329         (isnormal_test): Likewise.
21330         (issignaling_test): Likewise.
21331         (isunordered_test): Likewise.
21332         (j0_test): Likewise.
21333         (j1_test): Likewise.
21334         (jn_test): Likewise.
21335         (ldexp_test): Likewise.
21336         (lgamma_test): Likewise.
21337         (gamma_test): Likewise.
21338         (lrint_test): Likewise.
21339         (lrint_test_tonearest): Likewise.
21340         (lrint_test_towardzero): Likewise.
21341         (lrint_test_downward): Likewise.
21342         (lrint_test_upward): Likewise.
21343         (llrint_test): Likewise.
21344         (llrint_test_tonearest): Likewise.
21345         (llrint_test_towardzero): Likewise.
21346         (llrint_test_downward): Likewise.
21347         (llrint_test_upward): Likewise.
21348         (log_test): Likewise.
21349         (log10_test): Likewise.
21350         (log1p_test): Likewise.
21351         (log2_test): Likewise.
21352         (logb_test): Likewise.
21353         (logb_test_downward): Likewise.
21354         (lround_test): Likewise.
21355         (llround_test): Likewise.
21356         (modf_test): Likewise.
21357         (nearbyint_test): Likewise.
21358         (nextafter_test): Likewise.
21359         (nexttoward_test): Likewise.
21360         (pow_test): Likewise.
21361         (pow_test_tonearest): Likewise.
21362         (pow_test_towardzero): Likewise.
21363         (pow_test_downward): Likewise.
21364         (pow_test_upward): Likewise.
21365         (remainder_test): Likewise.
21366         (drem_test): Likewise.
21367         (remainder_test_tonearest): Likewise.
21368         (drem_test_tonearest): Likewise.
21369         (remainder_test_towardzero): Likewise.
21370         (drem_test_towardzero): Likewise.
21371         (remainder_test_downward): Likewise.
21372         (drem_test_downward): Likewise.
21373         (remainder_test_upward): Likewise.
21374         (drem_test_upward): Likewise.
21375         (remquo_test): Likewise.
21376         (rint_test): Likewise.
21377         (rint_test_tonearest): Likewise.
21378         (rint_test_towardzero): Likewise.
21379         (rint_test_downward): Likewise.
21380         (rint_test_upward): Likewise.
21381         (round_test): Likewise.
21382         (scalb_test): Likewise.
21383         (scalbn_test): Likewise.
21384         (scalbln_test): Likewise.
21385         (signbit_test): Likewise.
21386         (sin_test): Likewise.
21387         (sin_test_tonearest): Likewise.
21388         (sin_test_towardzero): Likewise.
21389         (sin_test_downward): Likewise.
21390         (sin_test_upward): Likewise.
21391         (sincos_test): Likewise.
21392         (sinh_test): Likewise.
21393         (sinh_test_tonearest): Likewise.
21394         (sinh_test_towardzero): Likewise.
21395         (sinh_test_downward): Likewise.
21396         (sinh_test_upward): Likewise.
21397         (sqrt_test): Likewise.
21398         (sqrt_test_tonearest): Likewise.
21399         (sqrt_test_towardzero): Likewise.
21400         (sqrt_test_downward): Likewise.
21401         (sqrt_test_upward): Likewise.
21402         (tan_test): Likewise.
21403         (tan_test_tonearest): Likewise.
21404         (tan_test_towardzero): Likewise.
21405         (tan_test_downward): Likewise.
21406         (tan_test_upward): Likewise.
21407         (tanh_test): Likewise.
21408         (tgamma_test): Likewise.
21409         (trunc_test): Likewise.
21410         (y0_test): Likewise.
21411         (y1_test): Likewise.
21412         (yn_test): Likewise.
21413         (significand_test): Likewise.
21415         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21416         individual tests in comment.
21417         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21418         (prev_max_error): New variable.
21419         (prev_real_max_error): Likewise.
21420         (prev_imag_max_error): Likewise.
21421         (compare_ulp_data): Don't refer to test names in comment.
21422         (find_test_ulps): Remove function.
21423         (find_function_ulps): Likewise.
21424         (find_complex_function_ulps): Likewise.
21425         (init_max_error): Take function name as argument.  Look up ulps
21426         for that function.
21427         (print_ulps): Remove function.
21428         (print_max_error): Use prev_max_error instead of calling
21429         find_function_ulps.
21430         (print_complex_max_error): Use prev_real_max_error and
21431         prev_imag_max_error instead of calling find_complex_function_ulps.
21432         (check_float_internal): Take max_ulp parameter instead of calling
21433         find_test_ulps.  Don't call print_ulps.
21434         (check_float): Update call to check_float_internal.
21435         (check_complex): Update calls to check_float_internal.
21436         (START): Pass argument to init_max_error.
21437         * math/gen-libm-test.pl (%results): Don't include "kind"
21438         information.
21439         (parse_ulps): Don't handle ulps of individual tests.
21440         (print_ulps_file): Likewise.
21441         (output_ulps): Likewise.
21442         * math/README.libm-test: Update.
21443         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21444         individual tests.
21445         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21446         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21447         * sysdeps/arm/libm-test-ulps: Likewise.
21448         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21449         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21450         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21451         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21452         * sysdeps/microblaze/libm-test-ulps: Likewise.
21453         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21454         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21455         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21456         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21457         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21458         * sysdeps/sh/libm-test-ulps: Likewise.
21459         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21460         * sysdeps/tile/libm-test-ulps: Likewise.
21461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21465         * math/libm-test.inc (print_complex_max_error): Check separately
21466         whether real and imaginary errors are within allowed range and
21467         pass 0 to print_complex_function_ulps instead of value within
21468         allowed range.
21470 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21472         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21473         formatting.
21474         (get_handles_fopen): Likewise.
21475         (do_write_test): Likewise.
21477         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21479         * libio/fileops.c (do_ftell): Use cached offset when
21480         available.
21481         * libio/iofwide.c (do_ftell_wide): Likewise.
21482         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21483         _IO_file_attach.
21484         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21486         [BZ #16532]
21487         * libio/libioP.h (get_file_offset): New function.
21488         * libio/fileops.c (get_file_offset): Likewise.
21489         (do_ftell): Likewise.
21490         (_IO_new_file_seekoff): Split out ftell logic.
21491         * libio/wfileops.c (do_ftell_wide): Likewise.
21492         (_IO_wfile_seekoff): Split out ftell logic.
21493         * libio/tst-ftell-active-handler.c: New test case.
21494         * libio/Makefile (tests): Add it.
21496 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21498         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21499         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21501 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21503         [BZ #16639]
21504         * nscd/connections.c (nscd_init): Call do_exit.
21505         (start_threads): Call do_exit and notify_parent.
21506         (begin_drop_privileges): Call do_exit.
21507         (finish_drop_privileges): Likewise.
21508         * nscd/selinux.c (preserve_capabilities): Likewise.
21509         (install_real_capabilities): Likewise.
21510         (nscd_selinux_enabled): Likewise.
21511         (avc_create_thread): Likewise.
21512         (avc_alloc_lock): Likewise.
21513         (nscd_avc_init): Likewise.
21514         * nscd/nscd.c (parent_fd): New static variable.
21515         (main): Create a pipe between parent and child processes.
21516         Skip closing parent_fd.
21517         (monitor_child): New function.
21518         (do_exit): Likewise.
21519         (notify_parent): Likewise.
21520         * nscd/nscd.h (notify_parent): Likewise.
21521         (do_exit): Likewise.
21523 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21525         * malloc/malloc.c (__libc_calloc): Revert last change.
21527 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21531 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21533         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21535         implementation.
21536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21537         (__libc_ifunc_impl_list): Likewise.
21538         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21539         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21540         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21541         * string/strrchr.c: Define STRRCHR.
21543 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21545         * benchtest/bench-strtok.c (simple_strtok): Delete.
21546         (strtok_string): Use as benchmark.
21547         * string/strtok (STRTOK): New macro.
21549 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21551         * manual/threads.texi: Add header and standard comments to all
21552         functions.
21554         * elf/dl-lookup.c (check_match): New function.
21555         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21556         (do_lookup_x): Remove nested function check_match. Use non-nested
21557         function check_match.
21559 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21561         * csu/Makefile (generated, before-compile): Use += rather than =.
21562         * catgets/Makefile (generated, generated-dirs): Likewise.
21563         * debug/Makefile (generated): Likewise.
21564         * dlfcn/Makefile (generated): Likewise.
21565         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21566         * iconvdata/Makefile (before-compile, generated): Likewise.
21567         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21568         * libio/Makefile (generated): Likewise.
21569         * malloc/Makefile (generated): Likewise.
21570         * manual/Makefile (generated, generated-dirs): Likewise.
21571         * misc/Makefile (generated): Likewise.
21572         * posix/Makefile (generated): Likewise.
21573         * resolv/Makefile (generated): Likewise.
21574         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21575         * timezone/Makefile (generated, generated-dirs): Likewise.
21577         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21579 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21582         power8 implementation.
21583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21584         file: POWER8 llround ifunc implementation.
21585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21586         (__lllround): Add POWER8 implementation.
21587         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21588         POWER8 llround implementation.
21590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21591         power8 implementation.
21592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21593         file: POWER8 llrint ifunc implementation.
21594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21595         Add POWER8 implementation.
21596         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21597         POWER8 llrint implementation.
21599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21600         power8 implementation.
21601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21602         file: POWER8 finite ifunc implementation.
21603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21604         Add POWER8 implementation.
21605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21606         Likewise.
21607         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21608         POWER8 finite implementation.
21609         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21611         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21612         power8 implementation.
21613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21614         file: POWER8 isinf ifunc implementation.
21615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21616         POWER8 implementation.
21617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21618         Likewise.
21619         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21620         isinf implementation.
21621         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21623         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21624         (INIT_ARCH): Add hwcap2 initialization.
21625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21626         power8 implementation.
21627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21628         file: POWER8 isnan ifunc implementation.
21629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21630         POWER8 implementation.
21631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21632         Likewise.
21633         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21634         isnan implementation.
21635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21637 2014-02-27  Joey Ye  <joey.ye@arm.com>
21639         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21640         (_FP_NANFRAC_Q): Set to zero.
21642 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21644         [BZ #16623]
21645         * math/auto-libm-test-in: New test inputs.
21646         * math/auto-libm-test-out: Regenerate.
21647         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21648         and DA.
21649         (__cos): Likewise.
21650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21652 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21654         * scripts/evaluate-test.sh: Take new argument indicating whether
21655         failure is expected.
21656         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21657         indicating whether failure is expected.
21658         * conform/Makefile (test-xfail-run-conformtest): New variable.
21659         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21660         level.
21661         * posix/Makefile (test-xfail-annexc): New variable.
21662         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21664 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21666         * argp/Makefile: Include Makeconfig immediately after defining
21667         subdir.
21668         * assert/Makefile: Likewise.
21669         * benchtests/Makefile: Likewise.
21670         * catgets/Makefile: Likewise.
21671         * conform/Makefile: Likewise.
21672         * crypt/Makefile: Likewise.
21673         * csu/Makefile: Likewise.
21674         (all): Remove target.
21675         * ctype/Makefile: Include Makeconfig immediately after defining
21676         subdir.
21677         * debug/Makefile: Likewise.
21678         * dirent/Makefile: Likewise.
21679         * dlfcn/Makefile: Likewise.
21680         * gmon/Makefile: Likewise.
21681         * gnulib/Makefile: Likewise.
21682         * grp/Makefile: Likewise.
21683         * gshadow/Makefile: Likewise.
21684         * hesiod/Makefile: Likewise.
21685         * hurd/Makefile: Likewise.
21686         (all): Remove target.
21687         * iconvdata/Makefile: Include Makeconfig immediately after
21688         defining subdir.
21689         * inet/Makefile: Likewise.
21690         * intl/Makefile: Likewise.
21691         * io/Makefile: Likewise.
21692         * libio/Makefile: Likewise.
21693         (all): Remove target.
21694         * locale/Makefile: Include Makeconfig immediately after defining
21695         subdir.
21696         * login/Makefile: Likewise.
21697         * mach/Makefile: Likewise.
21698         (all): Remove target.
21699         * malloc/Makefile: Include Makeconfig immediately after defining
21700         subdir.
21701         (all): Remove target.
21702         * manual/Makefile: Include Makeconfig immediately after defining
21703         subdir.
21704         * math/Makefile: Likewise.
21705         * misc/Makefile: Likewise.
21706         * nis/Makefile: Likewise.
21707         * nss/Makefile: Likewise.
21708         * po/Makefile: Likewise.
21709         (all): Remove target.
21710         * posix/Makefile: Include Makeconfig immediately after defining
21711         subdir.
21712         * pwd/Makefile: Likewise.
21713         * resolv/Makefile: Likewise.
21714         * resource/Makefile: Likewise.
21715         * rt/Makefile: Likewise.
21716         * setjmp/Makefile: Likewise.
21717         * shadow/Makefile: Likewise.
21718         * signal/Makefile: Likewise.
21719         * socket/Makefile: Likewise.
21720         * soft-fp/Makefile: Likewise.
21721         * stdio-common/Makefile: Likewise.
21722         * stdlib/Makefile: Likewise.
21723         * streams/Makefile: Likewise.
21724         * string/Makefile: Likewise.
21725         * sunrpc/Makefile: Likewise.
21726         (all): Remove target.
21727         * sysvipc/Makefile: Include Makeconfig immediately after defining
21728         subdir.
21729         * termios/Makefile: Likewise.
21730         * time/Makefile: Likewise.
21731         * timezone/Makefile: Likewise.
21732         (all): Remove target.
21733         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21734         subdir.
21735         * wctype/Makefile: Likewise.
21737 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21739         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21740         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21741         (libc_feholdexcept_setround_mips): Ditto.
21742         (libc_feholdsetround): New.
21743         (libc_feholdsetroundf): New.
21744         (libc_feholdsetroundl): New.
21745         (libc_feupdateenv_test_mips): New.
21746         (libc_feupdateenv_test): New.
21747         (libc_feupdateenv_testf): New.
21748         (libc_feupdateenv_testl): New.
21749         (libc_feresetround): New.
21750         (libc_feresetroundf): New.
21751         (libc_feresetroundl): New.
21752         (libc_fetestexcept_mips): New.
21753         (libc_fetestexcept): New.
21754         (libc_fetestexceptf): New.
21755         (libc_fetestexceptl): New.
21756         (HAVE_RM_CTX): New.
21757         (libc_feholdexcept_setround_mips_ctx): New.
21758         (libc_feholdexcept_setround_ctx): New.
21759         (libc_feholdexcept_setroundf_ctx): New.
21760         (libc_feholdexcept_setroundl_ctx): New.
21761         (libc_fesetenv_mips_ctx): New.
21762         (libc_fesetenv_ctx): New.
21763         (libc_fesetenv_ctxf): New.
21764         (libc_fesetenv_ctxl): New.
21765         (libc_feupdateenv_mips_ctx): New.
21766         (libc_feupdateenv_ctx): New.
21767         (libc_feupdateenvf_ctx): New.
21768         (libc_feupdateenvl_ctx): New.
21769         (libc_feholdsetround_mips_ctx): New.
21770         (libc_feholdsetround_ctx): New.
21771         (libc_feholdsetroundf_ctx): New.
21772         (libc_feholdsetroundl_ctx): New.
21773         (libc_feresetround_mips_ctx): New.
21774         (libc_feresetround_ctx): New.
21775         (libc_feresetroundf_ctx): New.
21776         (libc_feresetroundl_ctx): New.
21778 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21780         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21782         * manual/ipc.texi: New file.
21783         * manual/Makefile (chapters): Add ipc.
21784         * manual/job.texi: Add "Inter-Process Communication" to next.
21785         * manual/process.texi: Add "Inter-Process Communication" to prev.
21787 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21791 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21793         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21795         * manual/arith.texi: Fix spaces after sentences.
21796         * manual/charset.texi: Likewise.
21797         * manual/errno.texi: Likewise.
21798         * manual/install.texi: Likewise.
21799         * manual/llio.texi: Likewise.
21800         * manual/locale.texi: Likewise.
21801         * manual/maint.texi: Likewise.
21802         * manual/math.texi: Likewise.
21803         * manual/memory.texi: Likewise.
21804         * manual/message.texi: Likewise.
21805         * manual/probes.texi: Likewise.
21806         * manual/resource.texi: Likewise.
21807         * manual/signal.texi: Likewise.
21808         * manual/socket.texi: Likewise.
21809         * manual/stdio.texi: Likewise.
21810         * manual/string.texi: Likewise.
21811         * manual/time.texi: Likewise.
21812         * manual/users.texi: Likewise.
21814 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21816         [BZ #16632]
21817         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21818         _DEFAULT_SOURCE is defined.
21820 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21821             Carlos O'Donell  <carlos@redhat.com>
21823         [BZ #16613]
21824         * elf/dl-tls.c (_dl_count_modids): New function.
21825         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21826         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21827         audit library and increment generation counter.
21828         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21829         * elf/tst-audit9.c: New file.
21830         * elf/tst-auditmod9a.c: New file.
21831         * elf/tst-auditmod9b.c: New file.
21832         * elf/Makefile: Add rules to build and run tst-audit9.
21834 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21836         [BZ #15347]
21837         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21839 2014-02-25  Will Newton  <will.newton@linaro.org>
21841         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21842         (__longjmp): Restore sp and lr before restoring callee
21843         saved registers.  Add longjmp and longjmp_target
21844         SystemTap probe point.
21845         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21846         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21847         Define to zero to match jmpbuf layout.
21848         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21849         (__sigsetjmp): Save sp and lr before saving callee
21850         saved registers.  Add setjmp SystemTap probe point.
21852 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21854         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21856 2014-02-24  Andreas Schwab  <schwab@suse.de>
21858         [BZ #15804]
21859         * elf/pldd.c (wait_for_ptrace_stop): New function.
21860         (main): Call it after attaching.
21862 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21864         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21865         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21866         Versions files is now verboten.
21867         * hurd/Versions (libc: GLIBC_2.0):
21868         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21869         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21870         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21871         * mach/Versions: Likewise.
21873         * csu/Versions: Remove unused %include.
21874         * resolv/Versions: Likewise.
21876 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21878         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21879         ($(objpfx)check-local-headers.out): Likewise.
21880         ($(objpfx)begin-end-check.out): Likewise.
21881         * Makerules (check-abi-%.out): Likewise.
21882         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21883         ($(objpfx)test2.cat): Likewise.
21884         ($(objpfx)de/libc.cat): Likewise.
21885         ($(objpfx)test-gencat.out): Likewise.
21886         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21887         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21888         ($(objpfx)noload-mem): Likewise.
21889         ($(objpfx)tst-pathopt.out): Likewise.
21890         ($(objpfx)tst-rtld-load-self.out): Likewise.
21891         ($(objpfx)tst-array1-cmp.out): Likewise.
21892         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21893         ($(objpfx)tst-array2-cmp.out): Likewise.
21894         ($(objpfx)tst-array3-cmp.out): Likewise.
21895         ($(objpfx)tst-array4-cmp.out): Likewise.
21896         ($(objpfx)tst-array5-cmp.out): Likewise.
21897         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21898         ($(objpfx)check-textrel.out): Likewise.
21899         ($(objpfx)check-execstack.out): Likewise.
21900         ($(objpfx)check-localplt.out): Likewise.
21901         ($(objpfx)order2-cmp.out): Likewise.
21902         ($(objpfx)tst-leaks1-mem): Likewise.
21903         ($(objpfx)tst-leaks1-static-mem): Likewise.
21904         ($(objpfx)tst-initorder-cmp.out): Likewise.
21905         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21906         ($(objpfx)tst-unused-dep.out): Likewise.
21907         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21908         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21909         * iconv/Makefile (test-iconvconfig): Likewise.
21910         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21911         ($(objpfx)iconv-test.out): Likewise.
21912         ($(objpfx)tst-tables.out): Likewise.
21913         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21914         ($(objpfx)tst-gettext.out): Likewise.
21915         ($(objpfx)tst-translit.out): Likewise.
21916         ($(objpfx)tst-gettext2.out): Likewise.
21917         ($(objpfx)tst-gettext4.out): Likewise.
21918         ($(objpfx)tst-gettext6.out): Likewise.
21919         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21920         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21921         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21922         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21923         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21924         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21925         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21926         ($(objpfx)wordexp-tst.out): Likewise.
21927         ($(objpfx)annexc.out): Likewise.
21928         ($(objpfx)tst-fnmatch-mem): Likewise.
21929         ($(objpfx)bug-regex2-mem): Likewise.
21930         ($(objpfx)bug-regex14-mem): Likewise.
21931         ($(objpfx)bug-regex21-mem): Likewise.
21932         ($(objpfx)bug-regex31-mem): Likewise.
21933         ($(objpfx)tst-vfork3-mem): Likewise.
21934         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21935         ($(objpfx)tst-pcre-mem): Likewise.
21936         ($(objpfx)tst-boost-mem): Likewise.
21937         ($(objpfx)tst-getconf.out): Likewise.
21938         ($(objpfx)bug-ga2-mem): Likewise.
21939         ($(objpfx)bug-glob2-mem): Likewise.
21940         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21941         ($(objpfx)mtrace-tst-leaks2): Likewise.
21942         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21943         ($(objpfx)tst-printf.out): Likewise.
21944         ($(objpfx)tst-setvbuf1.out): Likewise.
21945         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21946         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21947         ($(objpfx)tst-fmtmsg.out): Likewise.
21948         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21949         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21951         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21952         * bits/sigaction.h [__USE_MISC]: Likewise.
21953         * bits/waitstatus.h: Update #endif comments.
21954         * ctype/ctype.h: Likewise.
21955         * dirent/dirent.h: Likewise.
21956         [__USE_MISC]: Remove redundant conditionals.
21957         * grp/grp.h: Update #endif comments.
21958         [__USE_GNU]: Remove redundant conditionals.
21959         [__USE_MISC]: Likewise.
21960         * inet/netinet/in.h [__USE_GNU]: Likewise.
21961         * io/sys/stat.h [__USE_MISC]: Likewise.
21962         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21963         * libio/bits/stdio.h: Update #endif comments.
21964         [__USE_MISC]: Remove redundant conditionals.
21965         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21966         * libio/stdio.h: Update #endif comments.
21967         [__USE_MISC]: Remove redundant conditionals.
21968         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21969         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21970         * math/math.h: Update #else and #endif comments.
21971         [__USE_MISC]: Remove redundant conditionals.
21972         * misc/sys/uio.h: Update #endif comments.
21973         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21974         * posix/glob.h [__USE_MISC]: Likewise.
21975         * posix/sys/types.h: Update #endif comments.
21976         [__USE_MISC]: Remove redundant conditionals.
21977         * posix/sys/wait.h: Update #endif comments.
21978         [__USE_MISC]: Remove redundant conditionals.
21979         * posix/unistd.h: Update #endif comments.
21980         [__USE_MISC]: Remove redundant conditionals.
21981         * pwd/pwd.h [__USE_GNU]: Likewise.
21982         [__USE_MISC]: Likewise.
21983         * resolv/netdb.h [__USE_GNU]: Likewise.
21984         * signal/signal.h: Update #endif comments.
21985         [__USE_MISC]: Remove redundant conditionals.
21986         * stdlib/stdlib.h: Update #else and #endif comments.
21987         [__USE_MISC]: Remove redundant conditionals.
21988         [__USE_GNU]: Likewise.
21989         * string/bits/string2.h [__USE_MISC]: Likewise.
21990         * string/string.h: Update #endif comments.
21991         [__USE_MISC]: Remove redundant conditionals.
21992         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21993         Likewise.
21994         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21995         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21996         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21997         Likewise.
21998         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21999         Likewise.
22000         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22001         comments.
22002         [__USE_MISC]: Remove redundant conditionals.
22003         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22004         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22005         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22006         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22007         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22008         Likewise.
22009         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22010         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22011         Likewise.
22012         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22013         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22014         Likewise.
22015         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22016         Likewise.
22017         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22018         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22019         Likewise.
22020         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22021         Likewise.
22022         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22023         * sysdeps/x86/bits/string.h: Update #endif comments.
22024         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22025         conditionals.
22026         * time/sys/time.h: Update #endif comments.
22027         * time/time.h: Likewise.
22028         [__USE_MISC]: Remove redundant conditionals.
22030 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22032         [BZ #16600]
22033         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22035 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22037         * Versions.def (librt): Add GLIBC_2.17.
22039 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22041         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22042         synonym for _SYS_AUXV_H to allow direct inclusion.
22043         * sysdeps/sparc/bits/hwcap.h: Likewise.
22044         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22045         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22046         * sysdeps/sparc/sysdep.h: Likewise.
22048 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22050         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22052 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22054         * benchtests/bench-strrchr.c: Print length instead of position.
22056 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22058         [BZ #16611]
22059         * sysdeps/unix/sysv/linux/kernel-features.h
22060         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22061         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22062         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22063         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22064         Likewise.
22065         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22066         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22067         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22068         (__ASSUME_SENDMMSG): Define instead of using previous
22069         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22070         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22071         (__ASSUME_SENDMMSG_SYSCALL): Define.
22072         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22073         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22074         Likewise.
22075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22076         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22077         Likewise.
22078         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22079         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22080         Likewise.
22081         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22082         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22083         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22084         [__ASSUME_SENDMMSG]: Change conditionals to
22085         [__ASSUME_SENDMMSG_SOCKETCALL].
22086         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22087         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22088         Define.
22089         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22090         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22091         Likewise.
22092         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22093         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22094         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22095         [!__ASSUME_SENDMMSG]: Change conditional to
22096         [!__ASSUME_SENDMMSG_SOCKETCALL].
22097         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22098         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22099         Define.
22101         [BZ #16610]
22102         * sysdeps/unix/sysv/linux/kernel-features.h
22103         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22104         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22105         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22106         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22107         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22108         [__i386__ || __sparc__]
22109         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22110         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22111         (__ASSUME_RECVMMSG): Define instead of using previous
22112         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22113         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22114         (__ASSUME_RECVMMSG_SYSCALL): Define.
22115         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22116         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22117         Likewise.
22118         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22119         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22120         Likewise.
22121         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22122         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22123         Likewise.
22124         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22125         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22126         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22127         [__ASSUME_RECVMMSG]: Change condition to
22128         [__ASSUME_RECVMMSG_SOCKETCALL].
22129         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22130         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22131         Define.
22132         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22133         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22134         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22135         Likewise.
22136         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22137         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22138         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22139         [!__ASSUME_RECVMMSG]: Change condition to
22140         [!__ASSUME_RECVMMSG_SOCKETCALL].
22141         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22142         (__ASSUME_RECVMMSG_SYSCALL): Define.
22144         [BZ #16609]
22145         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22146         __powerpc__ || __s390__ || __sh__ || __sparc__]
22147         (__ASSUME_SOCKETCALL): Define.
22148         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22149         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22150         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22151         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22152         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22153         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22154         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22155         (__ASSUME_ACCEPT4): Define instead of using previous
22156         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22157         __powerpc__ || __sparc__ || __s390__)] condition.
22158         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22159         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22160         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22161         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22162         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22163         [!__ASSUME_ACCEPT4]: Change condition to
22164         [!__ASSUME_ACCEPT4_SOCKETCALL].
22165         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22166         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22167         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22169         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22170         __ASSUME_ACCEPT4_SYSCALL.
22171         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22172         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22173         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22174         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22175         __ASSUME_ACCEPT4_SYSCALL.
22176         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22177         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22178         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22179         [__ASSUME_ACCEPT4]: Change condition to
22180         [__ASSUME_ACCEPT4_SOCKETCALL].
22181         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22182         (__ASSUME_SOCKETCALL): Define.
22183         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22185         (__ASSUME_SOCKETCALL): Define.
22186         (__ASSUME_ACCEPT4): Remove.
22187         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22188         Define.
22189         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22190         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22191         Likewise.
22192         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22193         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22195         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22196         macro.
22197         (HWCAP_ARM_LPAE): Likewise.
22198         (HWCAP_ARM_EVTSTRM): Likewise.
22199         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22200         Add vpfd32, lpae and evtstrm.
22201         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22202         Increase to 22.
22204 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22206         * math/auto-libm-test-in: Add tests of clog10.
22207         * math/auto-libm-test-out: Regenerated.
22208         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22209         * sysdeps/i386/fpu/libm-test-ulps: Update.
22210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22212 2014-02-18  Andreas Schwab  <schwab@suse.de>
22214         [BZ #16574]
22215         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22216         Store non-zero if the second buffer was newly allocated.
22217         (send_dg): Likewise.
22218         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22219         to send_vc and send_dg.
22220         (res_nsend): Pass NULL for ansp2_malloced.
22221         * resolv/res_query.c (__libc_res_nquery): Add parameter
22222         answerp2_malloced and pass it down to __libc_res_nsend.
22223         (res_nquery): Pass additional NULL to __libc_res_nquery.
22224         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22225         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22226         second answer buffer if answerp2_malloced was set.
22227         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22228         (__libc_res_nquerydomain): Add parameter
22229         answerp2_malloced and pass it down to __libc_res_nquery.
22230         (res_nquerydomain): Pass additional NULL to
22231         __libc_res_nquerydomain.
22232         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22233         additional NULL to __libc_res_nsend and __libc_res_nquery.
22234         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22235         additional NULL to __libc_res_nsearch.
22236         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22237         parameter of __libc_res_nsearch to check for separately allocated
22238         second buffer.
22239         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22240         __libc_res_nquery.
22241         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22242         additional NULL to __libc_res_nquery.
22243         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22244         __libc_res_nsearch.
22245         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22246         * include/resolv.h: Update prototypes of __libc_res_nquery,
22247         __libc_res_nsearch, __libc_res_nsend.
22249 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22251         * math/auto-libm-test-in: Add tests of fma.
22252         * math/auto-libm-test-out: Regenerated.
22253         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22254         (fma_towardzero_test_data): Likewise.
22255         (fma_downward_test_data): Likewise.
22256         (fma_upward_test_data): Likewise.
22257         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22258         mpc_mode.
22259         (rounding_modes): Add values for new field.
22260         (func_calc_method): Add value mpfr_fff_f.
22261         (func_calc_desc): Add mpfr_fff_f union field.
22262         (test_function): Add field exact_args.
22263         (FUNC): Add macro argument EXACT_ARGS.
22264         (FUNC_mpfr_f_f): Update call to FUNC.
22265         (FUNC_mpfr_f_f): Likewise.
22266         (FUNC_mpfr_ff_f): Likewise.
22267         (FUNC_mpfr_if_f): Likewise.
22268         (FUNC_mpc_c_f): Likewise.
22269         (FUNC_mpc_c_c): Likewise.
22270         (test_functions): Add fma.  Update calls to FUNC.
22271         (handle_input_arg): Add argument exact_args.
22272         (add_test): Update call to handle_input_arg.
22273         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22274         (output_for_one_input_case): Update call to calc_generic_results.
22275         Recalculate exact zero results in each rounding mode.
22277         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22278         non-negative before setting low bit.
22279         * math/auto-libm-test-in: Mark one asin test possibly having
22280         spurious underflow.
22281         * math/auto-libm-test-out: Regenerated.
22282         * sysdeps/i386/fpu/libm-test-ulps: Update.
22283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22285 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22287         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22288         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22289         ports/sysdeps/unix/sysv/linux/microblaze.
22290         * README: Add missing listing for microblaze*-*-linux-gnu.
22292 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22294         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22295         duplicate code
22297 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22299         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22300         * sysdeps/unix/sysv/linux/ia64: Move directory from
22301         ports/sysdeps/unix/sysv/linux/ia64.
22302         * README: Update listing for ia64-*-linux-gnu.
22304 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22305             Joseph Myers  <joseph@codesourcery.com>
22307         * Makeconfig (test-name): New variable.
22308         (evaluate-test): Likewise.
22309         * Makerules (do-test-clean): Remove .test-result files.
22310         (common-mostlyclean): Likewise.
22311         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22312         * scripts/evaluate-test.sh: New file.
22314 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22316         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22317         separate $(objpfx)tst-fopenloc-cmp.out and
22318         $(objpfx)tst-fopenloc-mem.out targets.
22319         (tests): Update dependencies.
22320         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22321         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22322         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22323         (tst-rxspencer-no-utf8-ARGS): New variable.
22324         (tst-rxspencer-no-utf8-ENV): Likewise.
22325         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22326         instead of $(objpfx)tst-rxspencer-mem.
22327         ($(objpfx)tst-rxspencer-mem): Change target to
22328         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22329         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22330         * posix/tst-rxspencer-no-utf8.c: New file.
22332         * elf/Makefile ($(objpfx)order.out): Remove rule.
22333         [$(run-built-tests) = yes] (tests): Depend on
22334         $(objpfx)order-cmp.out.
22335         ($(objpfx)order-cmp.out): New rule.
22336         [$(run-built-tests) = yes] (tests): Depend on
22337         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22338         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22339         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22340         $(objpfx)tst-array5-static-cmp.out.
22341         ($(objpfx)tst-array1.out): Remove rule.
22342         ($(objpfx)tst-array1-cmp.out): New rule.
22343         ($(objpfx)tst-array1-static.out): Remove rule.
22344         ($(objpfx)tst-array1-static-cmp.out): New rule.
22345         ($(objpfx)tst-array2.out): Remove rule.
22346         ($(objpfx)tst-array2-cmp.out): New rule.
22347         ($(objpfx)tst-array3.out): Remove rule.
22348         ($(objpfx)tst-array3-cmp.out): New rule.
22349         ($(objpfx)tst-array4.out): Remove rule.
22350         ($(objpfx)tst-array4-cmp.out): New rule.
22351         ($(objpfx)tst-array5.out): Remove rule.
22352         ($(objpfx)tst-array5-cmp.out): New rule.
22353         ($(objpfx)tst-array5-static.out): Remove rule.
22354         ($(objpfx)tst-array5-static-cmp.out): New rule.
22355         [$(run-built-tests) = yes] (tests): Depend on
22356         $(objpfx)order2-cmp.out.
22357         ($(objpfx)order2.out): Remove rule.
22358         ($(objpfx)order2-cmp.out): New rule.
22359         ($(objpfx)tst-initorder.out): Remove rule.
22360         [$(run-built-tests) = yes] (tests): Depend on
22361         $(objpfx)tst-initorder-cmp.out.
22362         ($(objpfx)tst-initorder-cmp.out): New rule.
22363         ($(objpfx)tst-initorder2.out): Remove rule.
22364         [$(run-built-tests) = yes] (tests): Depend on
22365         $(objpfx)tst-initorder2-cmp.out.
22366         ($(objpfx)tst-initorder2-cmp.out): New rule.
22367         [$(run-built-tests) = yes] (tests): Depend on
22368         $(objpfx)tst-unused-dep-cmp.out.
22369         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22370         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22371         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22372         on $(objpfx)tst-setvbuf1-cmp.out.
22373         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22374         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22375         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22376         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22377         ($(objpfx)tst-svc.out): Remove rule.
22378         ($(objpfx)tst-svc-cmp.out): New rule.
22380 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22382         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22383         * ctype/ctype.h [__USE_MISC]: Likewise.
22384         * dirent/dirent.h [__USE_MISC]: Likewise.
22385         * grp/grp.h [__USE_MISC]: Likewise.
22386         * io/fcntl.h [__USE_MISC]: Likewise.
22387         * io/sys/stat.h [__USE_MISC]: Likewise.
22388         * libio/stdio.h [__USE_MISC]: Likewise.
22389         * posix/unistd.h [__USE_MISC]: Likewise.
22390         * pwd/pwd.h [__USE_MISC]: Likewise.
22391         * stdlib.h [__USE_MISC]: Likewise.
22392         * string/bits/string2.h [__USE_MISC]: Likewise.
22393         * string/string.h [__USE_MISC]: Likewise.
22394         * time/time.h [__USE_MISC]: Likewise.
22396 2014-02-13  Andreas Schwab  <schwab@suse.de>
22398         [BZ #16574]
22399         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22400         second answer buffer if it was separately allocated.
22402 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22404         * sysdeps/mips/math-tests.h: Include <features.h>.
22405         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22406         (ROUNDING_TESTS_long_double): Do not define.
22407         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22408         (EXCEPTION_TESTS_long_double): Likewise.
22409         * sysdeps/mips/mips64/libm-test-ulps: Update.
22411         * include/features.h (__USE_BSD): Remove macro definitions.
22412         (__USE_SVID): Likewise.
22413         (_BSD_SOURCE): Likewise.
22414         (_SVID_SOURCE): Likewise.
22415         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22416         from definition of _DEFAULT_SOURCE.
22417         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22418         [_DEFAULT_SOURCE].
22419         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22420         * bits/mman.h [__USE_BSD]: Likewise.
22421         * bits/termios.h [__USE_BSD]: Likewise.
22422         * bits/waitstatus.h [__USE_BSD]: Likewise.
22423         * ctype/ctype.h [__USE_SVID]: Likewise.
22424         * dirent/dirent.h [__USE_BSD]: Likewise.
22425         * grp/grp.h [__USE_SVID]: Likewise.
22426         [__USE_BSD]: Likewise.
22427         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22428         * io/fcntl.h [__USE_BSD]: Likewise.
22429         * io/ftw.h [__USE_BSD]: Likewise.
22430         * io/sys/stat.h [__USE_BSD]: Likewise.
22431         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22432         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22433         * libio/stdio.h [__USE_SVID]: Likewise.
22434         [__USE_BSD]: Likewise.
22435         * math/math.h [__USE_SVID]: Likewise.
22436         [__USE_BSD]: Likewise.
22437         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22438         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22439         * misc/search.h [__USE_SVID]: Likewise.
22440         * misc/sys/mman.h [__USE_BSD]: Likewise.
22441         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22442         * misc/sys/uio.h [__USE_BSD]: Likewise.
22443         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22444         * posix/glob.h [__USE_BSD]: Likewise.
22445         * posix/regex.h [__USE_BSD]: Likewise.
22446         * posix/sys/types.h [__USE_BSD]: Likewise.
22447         [__USE_SVID]: Likewise.
22448         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22449         * posix/sys/wait.h [__USE_BSD]: Likewise.
22450         [__USE_SVID]: Likewise.
22451         * posix/unistd.h [__USE_BSD]: Likewise.
22452         [__USE_SVID]: Likewise.
22453         * pwd/pwd.h [__USE_SVID]: Likewise.
22454         * resolv/netdb.h [__USE_BSD]: Likewise.
22455         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22456         * signal/signal.h [__USE_BSD]: Likewise.
22457         [__USE_SVID]: Likewise.
22458         * socket/sys/socket.h [__USE_BSD]: Likewise.
22459         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22460         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22461         [__USE_SVID]: Likewise.
22462         * string/bits/string2.h [__USE_BSD]: Likewise.
22463         [__USE_SVID]: Likewise.
22464         * string/bits/string3.h [__USE_BSD]: Likewise.
22465         * string/endian.h [__USE_BSD]: Likewise.
22466         * string/string.h [__USE_SVID]: Likewise.
22467         [__USE_BSD]: Likewise.
22468         * string/strings.h [__USE_BSD]: Likewise.
22469         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22470         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22471         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22472         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22473         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22474         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22475         Likewise.
22476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22477         Likewise.
22478         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22479         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22480         Likewise.
22481         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22482         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22483         Likewise.
22484         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22485         Likewise.
22486         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22487         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22488         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22489         Likewise.
22490         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22491         Likewise.
22492         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22493         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22494         * termios/termios.h [__USE_BSD]: Likewise.
22495         * time/sys/time.h [__USE_BSD]: Likewise.
22496         * time/time.h [__USE_BSD]: Likewise.
22497         [__USE_SVID]: Likewise.
22499         * Makefile (subdir_targets): Remove subdir_lint.out.
22501         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22502         (do-tst-printf): Likewise.
22503         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22504         $(objpfx)tst-printf.out.
22506         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22508         * Makerules (check-abi-%): Change target to
22509         $(objpfx)check-abi-%.out.
22510         (check-abi target): Update dependencies.
22511         (check-abi-pattern variable): Redirect output of diff to $@.
22512         (check-abi variable): Likewise.
22513         * elf/Makefile (check-abi): Update dependencies.
22515         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22516         unused.
22517         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22518         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22519         subnormal range.
22520         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22521         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22522         value has largest subnormal exponent.
22523         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22524         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22525         * sysdeps/aarch64/soft-fp/sfp-machine.h
22526         (_FP_TININESS_AFTER_ROUNDING): New macro.
22527         * sysdeps/alpha/soft-fp/sfp-machine.h
22528         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22529         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22530         Likewise.
22531         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22532         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22533         * sysdeps/mips/soft-fp/sfp-machine.h
22534         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22535         * sysdeps/powerpc/soft-fp/sfp-machine.h
22536         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22537         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22538         Likewise.
22539         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22540         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22541         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22542         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22543         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22544         Likewise.
22546 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22548         [BZ #16545]
22549         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22550         model 1.
22552 2014-02-12  Richard Henderson  <rth@redhat.com>
22554         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22555         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22556         * sysdeps/unix/sysv/linux/alpha: Move directory from
22557         ports/sysdeps/unix/sysv/linux/alpha.
22558         * README: Update listing for alpha-*-linux-gnu.
22560 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22562         * include/features.h: Update comment documenting feature test
22563         macros.
22564         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22565         _DEFAULT_SOURCE.
22566         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22567         (_SVID_SOURCE): Likewise.
22568         (_DEFAULT_SOURCE): Update description of default features.
22569         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22570         with _GNU_SOURCE.
22571         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22572         (S_ISVTX): Likewise.
22573         * manual/math.texi (Mathematical Constants): Likewise.
22574         * manual/signal.texi (Interrupted Primitives): Likewise.
22575         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22576         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22577         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22578         Don't refer to _SVID_SOURCE in warning text.
22580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22582         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22583         already defined.
22584         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22585         * sysdeps/mips/dl-lookup.c: Remove.
22586         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22588 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22590         [BZ #16447]
22591         * math/auto-libm-test-in: Add testcase for expl.
22592         * math/auto-libm-test-out: Regenerate.
22593         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22594         calculation of unsafe.
22595         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22597 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22599         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22600         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22601         ports/sysdeps/unix/sysv/linux/aarch64.
22602         * README: Update listing for aarch64*-*-linux-gnu.
22604 2014-02-11  Will Newton  <will.newton@linaro.org>
22606         * manual/probes.texi (Mathematical Function Probes): Use
22607         "triggered" instead of "hit".
22609         * manual/probes.texi (Internal Probes): Add documentation
22610         of setjmp, longjmp and longjmp_target probes.
22612         * include/stap-probe.h: Add comment about probe argument
22613         format.
22615         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22616         definition.  (tr_where, tr_freehook, tr_mallochook,
22617         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22619 2014-02-11  David S. Miller  <davem@davemloft.net>
22621         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22622         processing int_tests.
22624 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22626         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22627         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22628         * sysdeps/unix/sysv/linux/mips: Move directory from
22629         ports/sysdeps/unix/sysv/linux/mips.
22630         * README: Update listing for mips-*-linux-gnu and
22631         mips64-*-linux-gnu.
22633 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22635         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22636         * sysdeps/unix/sysv/linux/m68k: Move directory from
22637         ports/sysdeps/unix/sysv/linux/m68k.
22638         * README: Update listing for m68k-*-linux-gnu.
22640 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22642         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22643         * sysdeps/unix/sysv/linux/generic: Move directory from
22644         ports/sysdeps/unix/sysv/linux/generic.
22645         * sysdeps/unix/sysv/linux/tile: Move directory from
22646         ports/sysdeps/unix/sysv/linux/tile.
22647         * README: Update listing for tile*-*-linux-gnu.
22649 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22651         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22652         __builtin_expect.
22653         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22654         * catgets/open_catalog.c (__open_catalog): Likewise.
22655         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22656         * debug/confstr_chk.c: Likewise.
22657         * debug/fread_chk.c (__fread_chk): Likewise.
22658         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22659         * debug/getgroups_chk.c: Likewise.
22660         * debug/mbsnrtowcs_chk.c: Likewise.
22661         * debug/mbsrtowcs_chk.c: Likewise.
22662         * debug/mbstowcs_chk.c: Likewise.
22663         * debug/memcpy_chk.c: Likewise.
22664         * debug/memmove_chk.c: Likewise.
22665         * debug/mempcpy_chk.c: Likewise.
22666         * debug/memset_chk.c: Likewise.
22667         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22668         * debug/strcat_chk.c (__strcat_chk): Likewise.
22669         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22670         * debug/strncat_chk.c (__strncat_chk): Likewise.
22671         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22672         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22673         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22674         * debug/wcpncpy_chk.c: Likewise.
22675         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22676         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22677         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22678         * debug/wcsncpy_chk.c: Likewise.
22679         * debug/wcsnrtombs_chk.c: Likewise.
22680         * debug/wcsrtombs_chk.c: Likewise.
22681         * debug/wcstombs_chk.c: Likewise.
22682         * debug/wmemcpy_chk.c: Likewise.
22683         * debug/wmemmove_chk.c: Likewise.
22684         * debug/wmempcpy_chk.c: Likewise.
22685         * debug/wmemset_chk.c: Likewise.
22686         * dirent/scandirat.c (SCANDIRAT): Likewise.
22687         * dlfcn/dladdr1.c (dladdr1): Likewise.
22688         * dlfcn/dladdr.c (dladdr): Likewise.
22689         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22690         * dlfcn/dlerror.c (__dlerror): Likewise.
22691         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22692         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22693         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22694         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22695         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22696         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22697         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22698         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22699         Likewise.
22700         * elf/dl-conflict.c: Likewise.
22701         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22702         * elf/dl-dst.h: Likewise.
22703         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22704         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22705         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22706         * elf/dl-init.c (call_init, _dl_init): Likewise.
22707         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22708         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22709         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22710         Likewise.
22711         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22712         Likewise.
22713         * elf/dl-minimal.c (__libc_memalign): Likewise.
22714         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22715         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22716         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22717         * elf/dl-sym.c (do_sym): Likewise.
22718         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22719         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22720         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22721         * elf/dl-writev.h (_dl_writev): Likewise.
22722         * elf/ldconfig.c (search_dir): Likewise.
22723         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22724         (dl_main): Likewise.
22725         * elf/setup-vdso.h (setup_vdso): Likewise.
22726         * grp/compat-initgroups.c (compat_call): Likewise.
22727         * grp/fgetgrent.c (fgetgrent): Likewise.
22728         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22729         * grp/putgrent.c (putgrent): Likewise.
22730         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22731         Likewise.
22732         * hurd/hurdinit.c: Likewise.
22733         * iconvdata/8bit-gap.c (struct): Likewise.
22734         * iconvdata/ansi_x3.110.c : Likewise.
22735         * iconvdata/big5.c : Likewise.
22736         * iconvdata/big5hkscs.c : Likewise.
22737         * iconvdata/cp1255.c: Likewise.
22738         * iconvdata/cp1258.c : Likewise.
22739         * iconvdata/cp932.c : Likewise.
22740         * iconvdata/euc-cn.c: Likewise.
22741         * iconvdata/euc-jisx0213.c : Likewise.
22742         * iconvdata/euc-jp.c: Likewise.
22743         * iconvdata/euc-jp-ms.c : Likewise.
22744         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22745         * iconvdata/gb18030.c : Likewise.
22746         * iconvdata/gbbig5.c (const): Likewise.
22747         * iconvdata/gbgbk.c: Likewise.
22748         * iconvdata/gbk.c : Likewise.
22749         * iconvdata/ibm1364.c : Likewise.
22750         * iconvdata/ibm930.c : Likewise.
22751         * iconvdata/ibm932.c: Likewise.
22752         * iconvdata/ibm933.c : Likewise.
22753         * iconvdata/ibm935.c : Likewise.
22754         * iconvdata/ibm937.c : Likewise.
22755         * iconvdata/ibm939.c : Likewise.
22756         * iconvdata/ibm943.c: Likewise.
22757         * iconvdata/iso_11548-1.c: Likewise.
22758         * iconvdata/iso-2022-cn.c : Likewise.
22759         * iconvdata/iso-2022-cn-ext.c : Likewise.
22760         * iconvdata/iso-2022-jp-3.c: Likewise.
22761         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22762         * iconvdata/iso-2022-kr.c : Likewise.
22763         * iconvdata/iso646.c (gconv_end): Likewise.
22764         * iconvdata/iso_6937-2.c : Likewise.
22765         * iconvdata/iso_6937.c : Likewise.
22766         * iconvdata/iso8859-1.c: Likewise.
22767         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22768         * iconvdata/shift_jisx0213.c : Likewise.
22769         * iconvdata/sjis.c : Likewise.
22770         * iconvdata/t.61.c : Likewise.
22771         * iconvdata/tcvn5712-1.c : Likewise.
22772         * iconvdata/tscii.c: Likewise.
22773         * iconvdata/uhc.c : Likewise.
22774         * iconvdata/unicode.c (gconv_end): Likewise.
22775         * iconvdata/utf-16.c (gconv_end): Likewise.
22776         * iconvdata/utf-32.c (gconv_end): Likewise.
22777         * iconvdata/utf-7.c (base64): Likewise.
22778         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22779         * iconv/gconv_close.c (__gconv_close): Likewise.
22780         * iconv/gconv_open.c (__gconv_open): Likewise.
22781         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22782         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22783         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22784         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22785         (ucs4le_internal_loop_single): Likewise.
22786         * iconv/iconv.c (iconv): Likewise.
22787         * iconv/iconv_close.c: Likewise.
22788         * iconv/loop.c (SINGLE): Likewise.
22789         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22790         * include/atomic.h: Likewise.
22791         * inet/inet6_option.c (option_alloc): Likewise.
22792         * intl/bindtextdom.c (set_binding_values): Likewise.
22793         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22794         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22795         * intl/localealias.c (read_alias_file): Likewise.
22796         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22797         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22798         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22799         * libio/fmemopen.c (fmemopen): Likewise.
22800         * libio/iofgets.c (_IO_fgets): Likewise.
22801         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22802         * libio/iofgetws.c (fgetws): Likewise.
22803         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22804         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22805         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22806         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22807         * locale/findlocale.c (_nl_find_locale): Likewise.
22808         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22809         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22810         Likewise.
22811         * locale/setlocale.c (setlocale): Likewise.
22812         * login/programs/pt_chown.c (main): Likewise.
22813         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22814         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22815         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22816         (mmap, mmap64, mremap, munmap): Likewise.
22817         * math/e_exp2l.c: Likewise.
22818         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22819         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22820         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22821         * math/s_catan.c (__catan): Likewise.
22822         * math/s_catanf.c (__catanf): Likewise.
22823         * math/s_catanh.c (__catanh): Likewise.
22824         * math/s_catanhf.c (__catanhf): Likewise.
22825         * math/s_catanhl.c (__catanhl): Likewise.
22826         * math/s_catanl.c (__catanl): Likewise.
22827         * math/s_ccosh.c (__ccosh): Likewise.
22828         * math/s_ccoshf.c (__ccoshf): Likewise.
22829         * math/s_ccoshl.c (__ccoshl): Likewise.
22830         * math/s_cexp.c (__cexp): Likewise.
22831         * math/s_cexpf.c (__cexpf): Likewise.
22832         * math/s_cexpl.c (__cexpl): Likewise.
22833         * math/s_clog10.c (__clog10): Likewise.
22834         * math/s_clog10f.c (__clog10f): Likewise.
22835         * math/s_clog10l.c (__clog10l): Likewise.
22836         * math/s_clog.c (__clog): Likewise.
22837         * math/s_clogf.c (__clogf): Likewise.
22838         * math/s_clogl.c (__clogl): Likewise.
22839         * math/s_csin.c (__csin): Likewise.
22840         * math/s_csinf.c (__csinf): Likewise.
22841         * math/s_csinh.c (__csinh): Likewise.
22842         * math/s_csinhf.c (__csinhf): Likewise.
22843         * math/s_csinhl.c (__csinhl): Likewise.
22844         * math/s_csinl.c (__csinl): Likewise.
22845         * math/s_csqrt.c (__csqrt): Likewise.
22846         * math/s_csqrtf.c (__csqrtf): Likewise.
22847         * math/s_csqrtl.c (__csqrtl): Likewise.
22848         * math/s_ctan.c (__ctan): Likewise.
22849         * math/s_ctanf.c (__ctanf): Likewise.
22850         * math/s_ctanh.c (__ctanh): Likewise.
22851         * math/s_ctanhf.c (__ctanhf): Likewise.
22852         * math/s_ctanhl.c (__ctanhl): Likewise.
22853         * math/s_ctanl.c (__ctanl): Likewise.
22854         * math/w_pow.c: Likewise.
22855         * math/w_powf.c: Likewise.
22856         * math/w_powl.c: Likewise.
22857         * math/w_scalb.c (sysv_scalb): Likewise.
22858         * math/w_scalbf.c (sysv_scalbf): Likewise.
22859         * math/w_scalbl.c (sysv_scalbl): Likewise.
22860         * misc/error.c (error_tail): Likewise.
22861         * misc/pselect.c (__pselect): Likewise.
22862         * nis/nis_callback.c (__nis_create_callback): Likewise.
22863         * nis/nis_call.c (__nisfind_server): Likewise.
22864         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22865         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22866         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22867         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22868         * nis/nis_lookup.c (nis_lookup): Likewise.
22869         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22870         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22871         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22872         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22873         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22874         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22875         * nis/nss_compat/compat-initgroups.c (add_group)
22876         (internal_getgrent_r): Likewise.
22877         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22878         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22879         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22880         (internal_getspnam_r): Likewise.
22881         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22882         (_nss_nis_getaliasbyname_r): Likewise.
22883         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22884         (_nss_nis_getntohost_r): Likewise.
22885         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22886         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22887         (_nss_nis_getgrgid_r): Likewise.
22888         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22889         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22890         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22891         (_nss_nis_gethostbyname4_r): Likewise.
22892         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22893         (initgroups_netid): Likewise.
22894         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22895         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22896         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22897         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22898         (_nss_nis_getprotobynumber_r): Likewise.
22899         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22900         (_nss_nis_getsecretkey): Likewise.
22901         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22902         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22903         (_nss_nis_getpwuid_r): Likewise.
22904         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22905         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22906         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22907         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22908         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22909         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22910         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22911         Likewise.
22912         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22913         (_nss_nisplus_getntohost_r): Likewise.
22914         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22915         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22916         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22917         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22918         Likewise.
22919         * nis/nss_nisplus/nisplus-initgroups.c
22920         (_nss_nisplus_initgroups_dyn): Likewise.
22921         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22922         (_nss_nisplus_getnetbyaddr_r): Likewise.
22923         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22924         (_nss_nisplus_getprotobynumber_r): Likewise.
22925         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22926         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22927         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22928         Likewise.
22929         * nis/nss_nisplus/nisplus-service.c
22930         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22931         (_nss_nisplus_getservbyport_r): Likewise.
22932         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22933         (_nss_nisplus_getspnam_r): Likewise.
22934         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22935         Likewise.
22936         * nscd/aicache.c (addhstaiX): Likewise.
22937         * nscd/cache.c (cache_search, prune_cache): Likewise.
22938         * nscd/connections.c (register_traced_file, send_ro_fd)
22939         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22940         (main_loop_epoll): Likewise.
22941         * nscd/grpcache.c (addgrbyX): Likewise.
22942         * nscd/hstcache.c (addhstbyX): Likewise.
22943         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22944         * nscd/mem.c (gc, mempool_alloc): Likewise.
22945         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22946         (addinnetgrX): Likewise.
22947         * nscd/nscd-client.h (__nscd_acquire_maplock)
22948         (__nscd_drop_map_ref): Likewise.
22949         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22950         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22951         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22952         Likewise.
22953         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22954         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22955         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22956         (__nscd_get_map_ref): Likewise.
22957         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22958         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22959         Likewise.
22960         * nscd/pwdcache.c (addpwbyX): Likewise.
22961         * nscd/selinux.c (preserve_capabilities): Likewise.
22962         * nscd/servicescache.c (addservbyX): Likewise.
22963         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22964         * posix/fnmatch.c (fnmatch): Likewise.
22965         * posix/getopt.c (_getopt_internal_r): Likewise.
22966         * posix/glob.c (glob, glob_in_dir): Likewise.
22967         * posix/wordexp.c (exec_comm_child): Likewise.
22968         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22969         (getanswer_r, gaih_getanswer_slice): Likewise.
22970         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22971         * resolv/res_init.c: Likewise.
22972         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22973         * resolv/res_query.c (__libc_res_nquery): Likewise.
22974         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22975         Likewise.
22976         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22977         * stdio-common/perror.c (perror): Likewise.
22978         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22979         * stdio-common/tmpnam.c (tmpnam): Likewise.
22980         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22981         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22982         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22983         Likewise.
22984         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22985         * stdlib/putenv.c (putenv): Likewise.
22986         * stdlib/setenv.c (__add_to_environ): Likewise.
22987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22988         * stdlib/strtol_l.c (INTERNAL): Likewise.
22989         * string/memmem.c (memmem): Likewise.
22990         * string/strerror.c (strerror): Likewise.
22991         * string/strnlen.c (__strnlen): Likewise.
22992         * string/test-memmem.c (simple_memmem): Likewise.
22993         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22994         * sunrpc/pm_getport.c (__get_socket): Likewise.
22995         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22996         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22997         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22998         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22999         Likewise.
23000         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23001         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23002         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23003         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23004         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23005         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23006         Likewise.
23007         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23008         Likewise.
23009         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23010         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23012         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23013         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23015         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23016         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23017         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23018         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23019         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23020         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23021         Likewise.
23022         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23023         Likewise.
23024         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23025         Likewise.
23026         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23028         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23029         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23030         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23031         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23032         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23034         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23035         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23036         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23038         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23039         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23041         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23042         Likewise.
23043         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23044         Likewise.
23045         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23046         Likewise.
23047         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23048         Likewise.
23049         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23050         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23051         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23052         Likewise.
23053         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23054         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23055         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23056         * sysdeps/posix/sleep.c: Likewise.
23057         * sysdeps/posix/tempname.c: Likewise.
23058         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23059         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23060         Likewise.
23061         * sysdeps/powerpc/powerpc32/dl-machine.h
23062         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23063         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23064         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23065         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23066         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23067         Likewise.
23068         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23069         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23070         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23071         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23072         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23073         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23074         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23075         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23076         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23077         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23078         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23079         (elf_machine_lazy_rel): Likewise.
23080         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23082         (elf_machine_lazy_rel): Likewise.
23083         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23084         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23085         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23086         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23087         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23088         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23089         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23091         Likewise.
23092         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23093         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23094         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23095         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23096         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23097         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23098         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23099         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23100         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23101         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23102         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23103         Likewise.
23104         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23105         (__posix_fallocate64_l64): Likewise.
23106         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23107         (posix_fallocate): Likewise.
23108         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23111         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23112         (getifaddrs_internal): Likewise.
23113         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23114         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23115         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23116         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23117         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23118         (__posix_fallocate64_l64): Likewise.
23119         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23120         Likewise.
23121         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23122         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23123         (__get_clockfreq): Likewise.
23124         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23125         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23126         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23129         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23130         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23131         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23132         Likewise.
23133         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23134         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23135         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23136         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23137         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23138         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23139         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23140         Likewise.
23141         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23142         (posix_fallocate): Likewise.
23143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23144         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23145         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23146         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23147         (elf_machine_rela, elf_machine_rela_relative)
23148         (elf_machine_lazy_rel): Likewise.
23149         * time/asctime.c (asctime_internal): Likewise.
23150         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23151         * time/tzset.c (__tzset_parse_tz): Likewise.
23152         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23153         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23154         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23155         * wcsmbs/wcsmbsload.h: Likewise.
23157         [BZ #15894]
23158         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23160         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23161         (arena_get2): Remove THREAD_STATS conditionals.
23162         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23163         (__malloc_stats, int): Likewise.
23165 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23167         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23168         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23170         * manual/setjmp.texi: Fix typos/grammar errors.
23172         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23173         Only return early when n is <= 0.  Delete unused return statement.
23175         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23176         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23177         * debug/tst-longjmp_chk3.c: New file.
23179         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23180         (test_main): Replace code with set_fortify_handler call.
23181         * debug/test-strcpy_chk.c: Likewise.
23182         * debug/tst-chk1.c: Likewise.
23183         * debug/tst-longjmp_chk.c: Likewise.
23184         * test-skeleton.c: Include fcntl.h & paths.h
23185         (set_fortify_handler): Define.
23187         * debug/tst-longjmp_chk.c: Add header comment and include
23188         ../test-skeleton.c.
23189         (do_test): Mark static.
23190         (TEST_FUNCTION): Define.
23192         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23193         (IP_PMTUDISC_INTERFACE): Likewise.
23194         (IP_MULTICAST_IF): Likewise.
23195         (IP_MULTICAST_TTL): Likewise.
23196         (IP_MULTICAST_LOOP): Likewise.
23197         (IP_ADD_MEMBERSHIP): Likewise.
23198         (IP_DROP_MEMBERSHIP): Likewise.
23199         (IP_UNBLOCK_SOURCE): Likewise.
23200         (IP_BLOCK_SOURCE): Likewise.
23201         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23202         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23203         (IP_MSFILTER): Likewise.
23204         (MCAST_JOIN_GROUP): Likewise.
23205         (MCAST_BLOCK_SOURCE): Likewise.
23206         (MCAST_UNBLOCK_SOURCE): Likewise.
23207         (MCAST_LEAVE_GROUP): Likewise.
23208         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23209         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23210         (MCAST_MSFILTER): Likewise.
23211         (IP_MULTICAST_ALL): Likewise.
23212         (IP_UNICAST_IF): Likewise.
23214         * timezone/Makefile: Delete $(have-ksh) check.
23215         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23216         * timezone/tzselect.ksh: Add +x mode bits.
23218         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23219         (ANON_INODE_FS_MAGIC): Likewise.
23220         (BDEVFS_MAGIC): Likewise.
23221         (BINFMTFS_MAGIC): Likewise.
23222         (BTRFS_TEST_MAGIC): Likewise.
23223         (CRAMFS_MAGIC_WEND): Likewise.
23224         (DEBUGFS_MAGIC): Likewise.
23225         (ECRYPTFS_SUPER_MAGIC): Likewise.
23226         (EXT3_SUPER_MAGIC): Likewise.
23227         (EXT4_SUPER_MAGIC): Likewise.
23228         (FUTEXFS_SUPER_MAGIC): Likewise.
23229         (HOSTFS_SUPER_MAGIC): Likewise.
23230         (HUGETLBFS_MAGIC): Likewise.
23231         (MINIX3_SUPER_MAGIC): Likewise.
23232         (MTD_INODE_FS_MAGIC): Likewise.
23233         (NILFS_SUPER_MAGIC): Likewise.
23234         (OPENPROM_SUPER_MAGIC): Likewise.
23235         (PIPEFS_MAGIC): Likewise.
23236         (PSTOREFS_MAGIC): Likewise.
23237         (QNX6_SUPER_MAGIC): Likewise.
23238         (RAMFS_MAGIC): Likewise.
23239         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23240         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23241         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23242         (SECURITYFS_MAGIC): Likewise.
23243         (SELINUX_MAGIC): Likewise.
23244         (SMACK_MAGIC): Likewise.
23245         (SOCKFS_MAGIC): Likewise.
23246         (SQUASHFS_MAGIC): Likewise.
23247         (STACK_END_MAGIC): Likewise.
23248         (TMPFS_MAGIC): Likewise.
23249         (USBDEVICE_SUPER_MAGIC): Likewise.
23250         (V9FS_MAGIC): Likewise.
23251         (XENFS_SUPER_MAGIC): Likewise.
23252         (CRAMFS_MAGIC): Fix typo in comment.
23253         (EXT2_SUPER_MAGIC): Update comment.
23254         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23256 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23258         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23259         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23260         * sysdeps/unix/sysv/linux/arm: Move directory from
23261         ports/sysdeps/unix/sysv/linux/arm.
23262         * README: Update listing for arm-*-linux-gnueabi.
23264         * README: Remove mention of am33.
23266 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23268         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23269         than the comma operator, to avoid "rhs of comma has no effect"
23270         compiler warnings.
23271         (__sigfillset, __sigandset, __sigorset): Likewise.
23272         * include/signal.h (__sigemptyset): Likewise.
23273         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23275 2014-02-07  Allan McRae  <allan@archlinux.org>
23277         * version.h (RELEASE): Set to "development".
23278         (VERSION): Set to "2.19.90"
23279         * NEWS: Add 2.20 section.
23281 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23283         [BZ #16529]
23284         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23286 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23288         * manual/contrib.texi: Update entry for Carlos O'Donell,
23289         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23291 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23293         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23295         * sysdeps/unix/sysv/linux/kernel-features.h
23296         [__LINUX_KERNEL_VERSION >= 0x020621]
23297         (__ASSUME_PROC_PID_TASK_COMM): Define.
23299 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23301         [BZ #16398]
23302         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23303         conversion when destination buffer does not have enough space.
23304         * libio/tst-ftell-partial-wide.c: New test case.
23305         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23307         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23308         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23309         Leonard and Allan McRae.
23311 2014-02-04  David S. Miller  <davem@davemloft.net>
23313         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23314         32-bit.
23316 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23319         New file
23320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23321         New file
23322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23323         New file.
23324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23325         New file.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23327         New file.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23329         New file.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23331         New file.
23332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23333         New file.
23334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23335         New file.
23336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23337         New file.
23338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23339         New file.
23340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23341         New file.
23342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23343         New file.
23345 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23347         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23348         * shlib-versions: Likewise.
23350 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23351             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23353         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23354         (abilist-pattern): New variable, set to %-le.abilist.
23356         * Makerules (abilist-pattern): New variable.
23357         (vpath): Use $(abilist-pattern) in place of %.abilist.
23358         (check-abi-% pattern rule): Likewise.
23359         (check-abi, update-abi): Likewise.
23361 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23365 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23367         * manual/startup.texi: Add next, previous, and top entries for
23368         the `Program Arguments' and `Environment Variables' nodes.
23370 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23372         * manual/macros.texi: Add comments before MTASC-safety macros.
23374         * manual/users.texi: Document MTASC-safety properties.
23376         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23377         (pthread_getspecific, pthread_setspecific): Format with
23378         @deftypefun, and add @safety note.
23379         * manual/signal.texi: Move comments that analyze the above
23380         functions to their home place.
23382 2014-02-03  Allan McRae  <allan@archlinux.org>
23384         * po/sl.po: Update Slovenian translation from translation project.
23386 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23388         * manual/time.texi (timegm): Add missing blank after @c.
23389         Reported by Joseph Myers <joseph@codesourcery.com>.
23391 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23393         * manual/check-safety.sh: New.
23394         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23396         * manual/terminal.texi: Document MTASC-safety properties.
23398         * manual/filesys.texi: Document MTASC-safety properties.
23400         * manual/errno.texi: Document MTASC-safety properties.
23402         * manual/intro.texi: Document safety identifiers and
23403         conditionals.
23405         * manual/string.texi (wcstok): Fix prototype.
23406         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23408         * manual/time.texi: Document MTASC-safety properties.
23410         * manual/string.texi: Document MTASC-safety properties.
23412         * manual/threads.texi: Document MTASC-safety properties.
23414         * manual/stdio.texi: Document MTASC-safety properties.
23416         * manual/syslog.texi: Document MTASC-safety properties.
23418         * manual/sysinfo.texi: Document MTASC-safety properties.
23420         * manual/startup.texi: Document MTASC-safety properties.
23422         * manual/socket.texi: Document MTASC-safety properties.
23424         * manual/signal.texi: Document MTASC-safety properties.
23426 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23428         * manual/setjmp.texi: Document MTASC-safety properties.
23430         * manual/search.texi: Document MTASC-safety properties.
23432         * manual/resource.texi: Document MTASC-safety properties.
23434         * manual/process.texi: Document MTASC-safety properties.
23436         * manual/platform.texi: Document MTASC-safety properties.
23438         * manual/pipe.texi: Document MTASC-safety properties.
23440         * manual/pattern.texi: Document MTASC-safety properties.
23442         * manual/message.texi: Document MTASC-safety properties.
23444         [BZ #12751]
23445         * manual/memory.texi: Document MTASC-safety properties.
23447         * manual/math.texi: Document MTASC-safety properties.
23449         * manual/locale.texi: Document MTASC-safety properties.
23451         * manual/llio.texi: Document MTASC-safety properties.
23453         * manual/libdl.texi: New.
23455         * manual/lang.texi: Document MTASC-safety properties.
23457         * manual/job.texi: Document MTASC-safety properties.
23459         * manual/getopt.texi: Document MTASC-safety properties.
23461         * manual/ctype.texi: Document MTASC-safety properties.
23463 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23465         [BZ #16046]
23466         * csu/libc-tls.c (static_map): Remove variable.
23467         (__libc_setup_tls): Use main executable's link map for TLS data.
23468         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23469         casing for LM_ID_BASE and GL(dl_nns).
23470         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23471         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23472         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23473         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23474         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23475         member.
23476         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23477         l_phnum members.
23479 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23481         * manual/debug.texi: Document MTASC-safety properties.
23483 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23485         [BZ #16510]
23486         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23487         of __x86_64__ when disabling x87 inline functions.
23489 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23491         * manual/charset.texi: Document MTASC-safety properties.
23493         * manual/crypt.texi: Document MTASC-safety properties.
23495         * manual/conf.texi: Document MTASC-safety properties.
23497         * manual/arith.texi: Document MTASC-safety properties.
23499         * manual/argp.texi: Document MTASC-safety properties.
23501         * manual/macros.texi: Introduce macros to document multi
23502         thread, asynchronous signal and asynchronous cancellation
23503         safety properties.
23504         * manual/intro.texi: Introduce the properties themselves.
23506 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23508         * sysdeps/sh/sh4/Makefile: New file.
23510 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23512         * math/gen-libm-test.pl ($srcdir): New variable.
23513         ($auto_input): Use it.
23515 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23517         [BZ #16506]
23518         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23519         access beyond array bounds when parsing netgroups file.
23521         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23522         the old buffer before realloc.
23524 2014-01-27  Allan McRae  <allan@archlinux.org>
23526         * po/fr.po: Update French translation from translation project.
23528 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23530         * sysdeps/sh/libm-test-ulps: Regenerate.
23532 2014-01-24  David S. Miller  <davem@davemloft.net>
23534         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23536 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23538         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23539         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23541 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23543         [BZ #16474]
23544         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23545         string pointers after reallocation.
23547 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23549         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23550         __SH4A__ instead of __SH_FPU_ANY__.
23552 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23554         * sysdeps/sh/fpu_control.h: New file.
23555         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23556         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23557         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23558         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23559         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23560         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23561         * sysdeps/sh/sys/ucontext.h: Remove.
23562         * sysdeps/sh/sys: Remove directory.
23564 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23566         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23567         s390/sys/ucontext.h.
23568         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23569         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23571 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23573         [BZ #15605]
23574         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23576 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23578         [BZ#16431]
23579         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23580         Adjust the vDSO correctly for internal calls.
23581         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23583 2014-01-20  Allan McRae  <allan@archlinux.org>
23585         * po/ca.po: Update Catalan translation from translation project.
23587 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23589         * sysdeps/s390/sotruss-lib.c: New file.
23591 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23593         [BZ#16430]
23594         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23595         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23596         local calls issues by not having a PLT stub required for IFUNC calls.
23597         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23599 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23601         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23602         * math/test-fpucw-static.c: Likewise.
23604 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23606         [BZ #16453]
23607         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23609 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23611         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23612         implementation for powerpc.
23614 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23616         [BZ #14782]
23617         * sysdeps/posix/system.c (__libc_system): Do not enable
23618         asynchronous cancellation.
23620 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23622         [BZ #16427]
23623         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23624         handling only for numbers special also in the IEEE case.
23626 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23628         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23630 2014-01-11  Allan McRae  <allan@archlinux.org>
23632         * po/bg.po: Update Bulgarian translation from translation project.
23634         * po/de.po: Update German translation from translation project.
23636 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23638         * sysdeps/generic/gcc-compat.h: New file.
23640 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23642         * benchtests/asin-inputs: Correct slow inputs.
23643         * benchtests/acos-inputs: Likewise.
23645 2014-01-10  Allan McRae  <allan@archlinux.org>
23647         * po:sv.po: Update Swedish translation from translation project.
23649         * po/vi.po: Update Vietnamese translation from translation project.
23651         * po/eo.po: Update Esperanto translation from translation project.
23653         * po/cs.po: Update Czech translation from translation project.
23655         * po/nl.po: Update Dutch translation from translation project.
23657         * po/pl.po: Update Polish translation from translation project.
23659         * po/ru.po: Update Russian translation from translation project.
23661         * po/uk.po: Update Ukrainian translation from translation project.
23663 2014-01-08  Brooks Moses  <bmoses@google.com>
23665         * elf/dl-load.c: Fix comment typo.
23667 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23669         * po/header.pot: Rename to...
23670         * po/pot.header: ... this.
23671         * po/Makefile: Use pot.header.
23673 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23674             Maxim Kuvyrkov  <maxim@kugelworks.com>
23676         [BZ #16394]
23677         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23678         SRC and DEST against LEN.
23680 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23682         [BZ #16414]
23683         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23684         implementation.
23685         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23687 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23691 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23693         [BZ #16408]
23694         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23695         for large positive arguments.
23697 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23699         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23701         * math/auto-libm-test-in: Mark various tests with
23702         xfail-rounding:ldbl-128ibm.
23703         * math/auto-libm-test-out: Regenerated.
23705         [BZ #16407]
23706         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23707         Increase overflow threshold.
23709 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23711         [BZ #14286]
23712         * stdio-common/vfprintf.c: Check for integer overflow.
23714 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23716         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23717         the first argument and return value of __tls_get_addr_internal.
23719 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23721         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23722         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23724 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23726         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23727         * sysdeps/s390/rtld-global-offsets.sym: New file.
23728         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23729         GLIBC_2.19 symbol.
23730         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23731         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23732         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23733         ... this.
23734         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23735         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23736         ... this.
23737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23738         Regenerate.
23739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23740         Regenerate.
23741         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23742         halfs of GPRs for high_gprs contexts.
23743         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23744         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23745         field.
23746         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23747         uc_flags field.
23748         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23749         64 bit versions:
23750         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23751         for high GPRs (uc_high_gprs) and for future extensions
23752         (__reserved).
23753         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23754         for future extensions (__reserved).
23755         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23756         64 bit versions:
23757         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23758         SC_HIGHGPRS offset definition.
23759         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23760         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23762         * Versions.def: Add GLIBC_2.19 for libpthread.
23763         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23764         siglongjmp for libpthread with GLIBC_2.19 symver.
23765         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23766         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23767         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23768         * sysdeps/s390/__longjmp.c: New file.
23769         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23770         * sysdeps/s390/longjmp.c: New file.
23771         * sysdeps/s390/setjmp.S: New file.
23772         * sysdeps/s390/sigjmp.S: New file.
23773         * sysdeps/s390/v1-longjmp.c: New file.
23774         * sysdeps/s390/v1-setjmp.h: New file.
23775         * sysdeps/s390/v1-sigjmp.c: New file.
23776         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23777         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23778         GLIBC_2.19 version.
23779         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23780         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23781         versioned symbols for ____longjmp_chk.
23782         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23783         Likewise.
23784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23785         Regenerate.
23786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23787         Regenerate.
23788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23789         Regenerate.
23790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23791         Regenerate.
23792         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23793         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23794         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23795         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23796         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23797         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23798         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23799         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23800         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23801         * sysdeps/s390/rtld-__longjmp.c: New file.
23802         * sysdeps/s390/rtld-setjmp.S: New file.
23804 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23806         [BZ #16400]
23807         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23808         Return -__logl (x) for small positive arguments without evaluating
23809         a polynomial.
23811 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23813         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23814         Rename to ...
23815         (__ptrace_peeksiginfo_args): ... this.
23816         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23817         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23818         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23820 2014-01-06  Allan McRae  <allan@archlinux.org>
23822         * inet/netinet/in.h: Fix typo in comment.
23824 2014-01-05  Andreas Jaeger  <aj@suse.de>
23826         * sysdeps/i386/fpu/libm-test-ulps: Update.
23828 2014-01-05  Allan McRae  <allan@archlinux.org>
23830         * po/libc.pot: Regenerated.
23832         * malloc/memusagestat.c: Fix gettext call formatting.
23834 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23836         * nscd/nscd.c: Improve usage() output.
23838 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23840         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23841         * sysdeps/unix/sysv/linux/configure: Regenerated.
23842         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23843         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23845 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23847         [BZ #16390]
23848         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23849         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23851 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23853         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23854         extra tokens at end of #undef directive.
23855         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23856         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23857         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23859 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23861         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23863         * math/auto-libm-test-in: Mark various tests with
23864         xfail-rounding:ldbl-128ibm.
23865         * math/auto-libm-test-out: Regenerated.
23867 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23869         [BZ #16386]
23870         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23871         numbers with subnormal high part when calculating exponent.
23873         [BZ #16385]
23874         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23875         fabs.
23877         [BZ #16384]
23878         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23879         M_LN2l.
23880         (__ieee754_acoshl): Use __log1pl not __log1p.
23882 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23884         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23885         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23886         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23887         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23888         (reused_arena, arena_get2): Convert to GNU style.
23889         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23890         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23891         (memalign_check, __malloc_set_state): Likewise.
23892         * malloc/mallocbug.c (main): Likewise.
23893         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23894         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23895         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23896         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23897         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23898         (__posix_memalign, malloc_info): Likewise.
23899         * malloc/malloc.h: Likewise.
23900         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23901         (mallochook, memalignhook, reallochook, mabort): Likewise.
23902         * malloc/mcheck.h: Likewise.
23903         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23904         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23905         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23906         * malloc/morecore.c (__default_morecore): Likewise.
23907         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23908         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23909         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23910         (print_and_abort): Likewise.
23911         * malloc/obstack.h: Likewise.
23912         * malloc/set-freeres.c (__libc_freeres): Likewise.
23913         * malloc/tst-mallocstate.c (main): Likewise.
23914         * malloc/tst-mtrace.c (main): Likewise.
23915         * malloc/tst-realloc.c (do_test): Likewise.
23917 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23919         [BZ #16366]
23920         * nscd/netgroupcache.c (do_notfound): New function.
23921         (addgetnetgrentX): Use it.
23923         [BZ # 16365]
23924         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23925         NSS_STATUS_NOTFOUND.
23927 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23929         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23932 2014-01-01  Allan McRae  <allan@archlinux.org>
23934         * scripts/update-copyrights: Update configure input file suffix.
23936         * NEWS: Update copyright year.
23937         * catgets/gencat.c: Likewise.
23938         * csu/version.c: Likewise.
23939         * debug/catchsegv.sh: Likewise.
23940         * debug/pcprofiledump.c: Likewise.
23941         * debug/xtrace.sh: Likewise.
23942         * elf/ldconfig.c: Likewise.
23943         * elf/ldd.bash.in: Likewise.
23944         * elf/pldd.c: Likewise.
23945         * elf/sotruss.ksh: Likewise.
23946         * elf/sprof.c: Likewise.
23947         * iconv/iconv_prog.c: Likewise.
23948         * iconv/iconvconfig.c: Likewise.
23949         * locale/programs/locale.c: Likewise.
23950         * locale/programs/localedef.c: Likewise.
23951         * login/programs/pt_chown.c: Likewise.
23952         * malloc/memusage.sh: Likewise.
23953         * malloc/memusagestat.c: Likewise.
23954         * malloc/mtrace.pl: Likewise.
23955         * manual/libc.texinfo: Likewise.
23956         * nscd/nscd.c: Likewise.
23957         * nss/getent.c: Likewise.
23958         * nss/makedb.c: Likewise.
23959         * posix/getconf.c: Likewise.
23960         * scripts/test-installation.pl: Likewise.
23962         * All files with FSF copyright notices: Update copyright dates
23963         using scripts/update-copyrights.
23964         * intl/plural.c: Regenerated.
23965         * locale/programs/charmap-kw.h: Likewise.
23966         * locale/programs/locfile-kw.h: Likewise.
23968 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23970         * sysdeps/unix/sysv/linux/configure: Regenerated.
23971         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23972         the linux/fanotify.h header.
23973         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23974         HAVE_LINUX_FANOTIFY_H is defined.
23976 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23978         * benchtests/cos-inputs: New inputs.
23979         * benchtests/sin-inputs: Likewise.
23981         * benchtests/atan-inputs: New inputs. Fix name of multiple
23982         precision fallback inputs.
23984         * benchtests/atanh-inputs: New inputs.
23985         * benchtests/tanh-inputs: Likewise.
23987         * benchtests/acosh-inputs: New inputs.
23988         * benchtests/asinh-inputs: Likewise.
23990         * benchtests/cosh-inputs: New inputs.
23991         * benchtests/sinh-inputs: Likewise.
23993         * benchtests/acos-inputs: Add more inputs.
23994         * benchtests/asin-inputs: Likewise.
23996 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23998         [BZ #16375]
23999         * manual/arith.texi: Fix spelling.
24000         * manual/charset.texi: Likewise.
24001         * manual/errno.texi: Likewise.
24002         * manual/filesys.texi: Likewise.
24003         * manual/lang.texi: Likewise.
24004         * manual/llio.texi: Likewise.
24005         * manual/locale.texi: Likewise.
24006         * manual/message.texi: Likewise.
24007         * manual/resource.texi: Likewise.
24008         * manual/search.texi: Likewise.
24009         * manual/setjmp.texi: Likewise.
24010         * manual/stdio.texi: Likewise.
24011         * manual/string.texi: Likewise.
24012         * manual/sysinfo.texi: Likewise.
24013         * manual/time.texi: Likewise.
24015 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24017         * po/sl.po: New file.
24019 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24021         * .gitignore: Add core/.gdbinit/.gdb_history.
24023 2013-12-27  Allan McRae  <allan@archlinux.org>
24025         [BZ #16369]
24026         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24027         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24029 2013-12-24  Brooks Moses  <bmoses@google.com>
24031         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24032         all compilers that claim C++98 compliance, not just GCC.
24033         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24034         Likewise.
24036 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24038         * NEWS: Restore accidentally deleted bug-fix entries.
24040 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24041             Ondřej Bílka  <neleai@seznam.cz>
24043         [BZ #15073]
24044         * malloc/malloc.c (_int_free): Perform sanity check only if we
24045         have_lock.
24047 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24049         [BZ #12986]
24050         * manual/stdio.texi (String Input Conversions): Clarify that character
24051         classes are not supported.
24053 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24057 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24059         [BZ #16337]
24060         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24061         Calculate results for small negative arguments directly rather
24062         than using reflection formula with special underflow handling.
24064         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24065         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24066         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24067         (fchflags): Likewise.
24068         (revoke): Likewise.
24069         (setlogin): Likewise.
24070         (sigaltstack): Likewise.
24071         (wait4): Likewise.
24072         (sigblock): Remove.
24073         (sigsetmask): Likewise.
24074         (wait3): Likewise.
24075         (waitpid): Likewise.
24076         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24077         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24078         file.
24079         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24080         * sysdeps/unix/bsd/Makefile: ... here.
24081         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24082         * sysdeps/unix/bsd/Versions: ... here.
24083         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24084         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24085         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24086         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24087         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24088         * sysdeps/unix/bsd/sigblock.c: ... here.
24089         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24090         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24091         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24092         * sysdeps/unix/bsd/sigvec.c: ... here.
24093         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24094         * sysdeps/unix/bsd/tcdrain.c: ... here.
24095         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24096         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24097         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24098         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24099         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24100         * sysdeps/unix/bsd/wait.c: ... here.
24101         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24102         * sysdeps/unix/bsd/wait3.c: ... here.
24103         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24104         * sysdeps/unix/bsd/waitpid.c: ... here.
24106 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24108         [BZ #16356]
24109         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24110         round-to-nearest for [!USE_AS_EXPM1L].
24111         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24112         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24113         more tests of exp and exp10.  Expect some exp10 tests to miss
24114         exceptions or fail in directed rounding modes.
24115         * math/auto-libm-test-out: Regenerated.
24116         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24117         (exp10_test_tonearest): New function.
24118         (exp10_towardzero_test_data): New array.
24119         (exp10_test_towardzero): New function.
24120         (exp10_downward_test_data): New array.
24121         (exp10_test_downward): New function.
24122         (exp10_upward_test_data): New array.
24123         (exp10_test_upward): New function.
24124         (main): Call the new functions.
24125         * sysdeps/i386/fpu/libm-test-ulps: Update.
24126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24128 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24130         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24131         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24132         * math/auto-libm-test-out: Regenerated.
24133         * math/libm-test.inc (acosh_test_data): Add more tests.
24134         (atanh_test_data): Likewise.
24135         (ceil_test_data): Likewise.
24136         (copysign_test_data): Likewise.
24137         * sysdeps/i386/fpu/libm-test-ulps: Update.
24138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24140         * timezone/checktab.awk: Update from tzcode 2013i.
24141         * timezone/private.h: Likewise.
24142         * timezone/scheck.c: Likewise.
24143         * timezone/tzfile.h: Likewise.
24144         * timezone/tzselect.ksh: Likewise.
24145         * timezone/zdump.c: Likewise.
24146         * timezone/zic.c: Likewise.
24148         * math/auto-libm-test-in: Add tests of cpow.
24149         * math/auto-libm-test-out: Regenerated.
24150         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24151         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24152         mpc_cc_c.
24153         (func_calc_desc): Add mpc_cc_c union field.
24154         (test_functions): Add cpow.
24155         (special_fill_2pi): New function.
24156         (special_real_inputs): Add 2pi.
24157         (calc_generic_results): Handle mpc_cc_c.
24158         * sysdeps/i386/fpu/libm-test-ulps: Update.
24159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24161         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24162         csqrt, ctan and ctanh.
24163         * math/auto-libm-test-out: Regenerated.
24164         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24165         (TEST_COND_x86): Likewise.
24166         (ccos_test_data): Use AUTO_TESTS_c_c.
24167         (ccosh_test_data): Likewise.
24168         (cexp_test_data): Likewise.
24169         (clog_test_data): Likewise.
24170         (csqrt_test_data): Likewise.
24171         (ctan_test_data): Likewise.
24172         (ctan_tonearest_test_data): Likewise.
24173         (ctan_towardzero_test_data): Likewise.
24174         (ctan_downward_test_data): Likewise.
24175         (ctan_upward_test_data): Likewise.
24176         (ctanh_test_data): Likewise.
24177         (ctanh_tonearest_test_data): Likewise.
24178         (ctanh_towardzero_test_data): Likewise.
24179         (ctanh_downward_test_data): Likewise.
24180         (ctanh_upward_test_data): Likewise.
24181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24182         mpc_c_c.
24183         (func_calc_desc): Add mpc_c_c union field.
24184         (FUNC_mpc_c_c): New macro.
24185         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24186         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24187         ctanh.
24188         (special_fill_min_subnorm_p120): New function.
24189         (special_real_inputs): Add min_subnorm_p120.
24190         (calc_generic_results): Handle mpc_c_c.
24191         * sysdeps/i386/fpu/libm-test-ulps: Update.
24192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24196         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24197         (do_sin_slow): New functions.
24198         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24199         (cslow2, csloww1, csloww2): Use the new functions.
24201         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24202         Use M to change sign of result instead of X.  Assume X is
24203         positive.
24204         (csloww1): Likewise.
24205         (__sin): Adjust.
24206         (__cos): Adjust.
24208         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24209         arguments A and DA.
24210         (__sin): Adjust.
24211         (__cos): Likewise.
24213         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24214         (__cos): Likewise.
24215         (sloww1): Don't adjust sign of DX.
24216         (csloww1): Likewise.
24217         (sloww2): Use X directly and don't adjust sign of DX.
24218         (csloww2): Likewise.
24220 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24222         * math/auto-libm-test-in: Add tests of cabs and carg.
24223         * math/auto-libm-test-out: Regenerated.
24224         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24225         (carg_test_data): Likewise.
24226         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24227         mpc_c_f.
24228         (func_calc_desc): Add mpc_c_f union field.
24229         (test_functions): Add cabs and carg.
24230         (calc_generic_results): Handle mpc_c_f.
24232         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24233         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24234         as a macro and a compat symbol.
24235         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24236         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24237         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24238         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24239         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24240         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24241         not use .hidden.
24242         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24243         Likewise.
24244         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24245         Likewise.
24246         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24247         Likewise.
24248         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24249         Likewise.
24250         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24251         Likewise.
24252         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24253         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24254         from GLIBC_2.3.2.
24256 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24260 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24262         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24263         trailing whitespace removed.
24264         * scripts/config.guess: Update to version 2013-11-29.
24265         * scripts/config.sub: Update to version 2013-10-01.
24267         * math/auto-libm-test-in: Add tests of sincos.
24268         * math/auto-libm-test-out: Regenerated.
24269         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24270         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24271         mpfr_f_11.
24272         (func_calc_desc): Add mpfr_f_11 union field.
24273         (test_functions): Add sincos.
24274         (calc_generic_results): Handle mpfr_f_11.
24275         * sysdeps/i386/fpu/libm-test-ulps: Update.
24276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24278 2013-12-19  Andreas Schwab  <schwab@suse.de>
24280         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24281         CALL_MCOUNT.
24282         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24283         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24284         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24286 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24288         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24289         * sysdeps/i386/fpu/libm-test-ulps: Update.
24290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24292         [BZ #16293]
24293         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24294         round-to-nearest mode when using frndint.
24295         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24296         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24297         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24298         Likewise.
24299         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24300         sinh test to fail.
24301         * math/auto-libm-test-out: Regenerated.
24302         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24303         (TEST_COND_x86): Likewise.
24304         (expm1_tonearest_test_data): New array.
24305         (expm1_test_tonearest): New function.
24306         (expm1_towardzero_test_data): New array.
24307         (expm1_test_towardzero): New function.
24308         (expm1_downward_test_data): New array.
24309         (expm1_test_downward): New function.
24310         (expm1_upward_test_data): New array.
24311         (expm1_test_upward): New function.
24312         (main): Run the new test functions.
24313         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316         * include/features.h: Update comment documenting feature test
24317         macros.  Mention _DEFAULT_SOURCE in comment.
24318         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24319         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24320         _BSD_SOURCE and _SVID_SOURCE.
24321         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24322         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24323         !_SVID_SOURCE]: Likewise.
24324         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24325         (__USE_POSIX_IMPLICITLY): Define.
24326         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24327         (_POSIX_SOURCE): Undefine and redefine.
24328         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24329         (_POSIX_C_SOURCE): Likewise.
24330         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24331         (Feature Test Macros): Update documentation of default features.
24333 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24335         * benchtests/Makefile: Add bench-strtok.
24336         * benchtests/bench-strtok.c: New file: strtok benchtest.
24338 2013-12-19  Allan McRae  <allan@archlinux.org>
24340         * manual/install.texi: Suppress menu for plain text output.
24341         * INSTALL: Regenerated.
24343 2013-12-18  Brooks Moses  <bmoses@google.com>
24345         [BZ #15846]
24346         * misc/getauxval.c: Include errno.h.
24347         (__getauxval): Set errno to ENOENT if the requested type is not
24348         found.
24349         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24350         don't declare with __attribute_const__.
24351         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24352         * manual/startup.texi: Document that getauxval sets errno.
24354 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24356         * math/auto-libm-test-in: Add tests of jn and yn.
24357         * math/auto-libm-test-out: Regenerated.
24358         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24359         (yn_test_data): Likewise.
24360         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24361         mpfr_if_f.
24362         (func_calc_desc): Add mpfr_if_f union field.
24363         (FUNC_mpfr_if_f): New macro.
24364         (test_functions): Add jn and yn.
24365         (calc_generic_results): Assert type of second input for
24366         mpfr_ff_f.  Handle mpfr_if_f.
24367         (output_for_one_input_case): Disable all checking for arguments
24368         fitting floating-point types in case of an integer argument.
24369         * sysdeps/i386/fpu/libm-test-ulps: Update.
24370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24373         Don't expect fegetround reference in libm.so.
24375 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24377         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24378         $(config-cflags-nofma).
24380 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24382         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24383         * math/auto-libm-test-out: Regenerated.
24385         [BZ #16338]
24386         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24387         to determine exponent and adjust argument to have exponent of -1.
24388         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24389         log2.
24390         * math/auto-libm-test-out: Regenerated.
24391         * sysdeps/i386/fpu/libm-test-ulps: Update.
24392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24394 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24396         * manual/probes.texi: Remove cases when per-thread arenas are
24397         disabled.
24399 2013-12-18  Andreas Schwab  <schwab@suse.de>
24401         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24402         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24403         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24404         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24405         * sysdeps/i386/i686/multiarch/Makefile: Update.
24406         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24408 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24410         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24411         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24413 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24415         [BZ #15968]
24416         Support TZ transition times < 00:00:00.
24417         This is needed for version-3 tz-format files; it supports time
24418         stamps past 2037 for America/Godthab (the only entry in the tz
24419         database for which this change is relevant).
24420         * manual/time.texi (TZ Variable): Document transition times
24421         from -167:59:59 through -00:00:01.
24422         * time/tzset.c (tz_rule): Time of day is now signed.
24423         (__tzset_parse_tz): Parse negative time of day.
24425         Document TZ transition times >= 25:00:00.
24426         * manual/time.texi (TZ Variable): Document transition times from
24427         25:00:00 through 167:59:59.  These are already supported, and this
24428         support will help with version-3 tz-format files.
24430         * manual/time.texi (TZ Variable): Modernize North America example
24431         to reflect current (i.e., 2007-and-later) daylight saving rules.
24433         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24435 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24437         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24438         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24441         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24442         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24443         * sysdeps/unix/bsd/clock.c: Likewise.
24444         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24445         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24446         * sysdeps/unix/bsd/init-posix.c: Likewise.
24447         * sysdeps/unix/bsd/poll.c: Likewise.
24448         * sysdeps/unix/bsd/ptsname.c: Likewise.
24449         * sysdeps/unix/bsd/seekdir.c: Likewise.
24450         * sysdeps/unix/bsd/setegid.c: Likewise.
24451         * sysdeps/unix/bsd/seteuid.c: Likewise.
24452         * sysdeps/unix/bsd/setgid.c: Likewise.
24453         * sysdeps/unix/bsd/setrgid.c: Likewise.
24454         * sysdeps/unix/bsd/setruid.c: Likewise.
24455         * sysdeps/unix/bsd/setsid.c: Likewise.
24456         * sysdeps/unix/bsd/setuid.c: Likewise.
24457         * sysdeps/unix/bsd/sigaction.c: Likewise.
24458         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24459         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24460         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24461         * sysdeps/unix/bsd/telldir.c: Likewise.
24462         * sysdeps/unix/bsd/times.c: Likewise.
24463         * sysdeps/unix/bsd/usleep.c: Likewise.
24465         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24466         ($(objpfx)libbsd-compat.a): Remove rule.
24468         * include/features.h (__FAVOR_BSD): Do not define.
24469         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24470         features conflicting with POSIX.
24471         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24472         (_BSD_SOURCE): Remove description of not being a subset of other
24473         feature test macros.
24474         * manual/job.texi (getpgrp): Do not document BSD version.
24475         (getpgid): Do not document by reference to BSD getpgrp.
24476         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24477         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24478         * signal/signal.h [__FAVOR_BSD]: Likewise.
24479         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24480         instead of making contents conditional on [__FAVOR_BSD].
24481         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24483 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24487 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24489         [BZ #16314]
24490         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24491         values below 2**-450, not 2**-500.
24492         * math/auto-libm-test-in: Don't allow spurious underflow from
24493         hypot.
24494         * math/auto-libm-test-out: Regenerated.
24496         [BZ #16316]
24497         [BZ #16330]
24498         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24499         values of ha and hb and sort them after adjusting subnormal
24500         arguments.
24501         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24502         Likewise.
24503         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24504         values of ea and eb and sort them after adjusting subnormal
24505         arguments.
24506         * math/auto-libm-test-in: Do not expect some hypot tests of
24507         subnormals to fail.  Add more hypot tests.
24508         * math/auto-libm-test-out: Regenerated.
24510 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24512         [BZ #13304]
24513         * sysdeps/sh/s_fma.c: New file.
24514         * sysdeps/sh/s_fmaf.c: New file.
24515         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24516         version.
24517         * sysdeps/sh/Implies: Add sh/soft-fp.
24519 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24521         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24522         level of indirection to members `objname', `errstring', `malloced'.
24523         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24524         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24525         it as the __longjmp argument (just pass 1 instead).
24526         (_dl_catch_error): Initialize C with argument pointers and address of
24527         volatile local ERRCODE rather than copying values out of C at return.
24529 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24531         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24532         * math/auto-libm-test-out: Regenerated.
24533         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24534         (hypot_test_data): Likewise.
24535         (pow_test_data): Likewise.
24536         (pow_tonearest_test_data): Likewise.
24537         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24538         mpfr_ff_f.
24539         (func_calc_desc): Add mpfr_ff_f union field.
24540         (FUNC_mpfr_ff_f): New macro.
24541         (test_functions): Add atan2, hypot and pow.
24542         (special_fill_min): New function.
24543         (special_fill_minus_min): Likewise.
24544         (special_fill_min_subnorm): Likewise.
24545         (special_fill_minus_min_subnorm): Likewise.
24546         (special_real_inputs): Add min, -min, min_subnorm and
24547         -min_subnorm.
24548         (calc_generic_results): Handle mpfr_ff_f.
24549         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24552 2013-12-16  Will Newton  <will.newton@linaro.org>
24554         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24555         (Aligned Memory Blocks): Add documentation for aligned_alloc
24556         and suggest it as an alternative to posix_memalign.
24557         (Hooks for Malloc): Document __memalign_hook is also called
24558         for aligned_alloc.  (Summary of Malloc): Add summary for
24559         aligned alloc.  Document __memalign_hook is also called
24560         for aligned_alloc.
24562 2013-12-16  Will Newton  <will.newton@linaro.org>
24564         * manual/memory.texi (Malloc Examples): Clarify default
24565         alignment documentation.  Suggest posix_memalign rather
24566         than memalign or valloc.
24567         (Aligned Memory Blocks): Remove suggestion to use memalign
24568         or valloc.  Remove obsolete comment about BSD.
24569         Document memalign errno values and mark the function obsolete.
24570         Document posix_memalign returned error codes.  Mark valloc
24571         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24572         called for posix_memalign and valloc.
24573         (Summary of Malloc): Add posix_memalign to function summary.
24574         __memalign_hook is also called for posix_memalign and valloc.
24576 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24578         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24579         TAYLOR_SIN.
24580         (__sin): Adjust.
24581         (__cos): Likewise.
24582         (sloww): Use mynumber union.  Expand ternary operator into
24583         if-else statements.
24584         (cslow): use mynumber union.
24586 2013-12-16  Allan McRae  <allan@archlinux.org>
24588         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24589         * configure: Regenerated.
24591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24593         [BZ #14120]
24594         * configure.ac: Added --enable-maintainer-mode. Check for
24595         autoconf when enabled.
24596         * configure: Regenerated.
24598         * nscd/nscd.service: New file.
24599         * nscd/nscd.tmpfiles: New file.
24601 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24603         [BZ #12100]
24604         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24605         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24606         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24607         (strstr): Add __strstr_sse2_unaligned ifunc.
24608         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24609         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24610         (strcasestr): Remove __strcasestr_sse42 ifunc.
24611         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24615 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24617         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24618         * sysdeps/sh/bits/fenv.h: ... here.
24619         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24621 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24623         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24626         hypotf multiarch implementations.
24627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24629         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24630         multiarch hypot for PPC64.
24631         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24632         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24633         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24634         multiarch hypotf for PPC64.
24636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24637         modff multiarch implementations.
24638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24641         multiarch modf for PPC64.
24642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24645         multiarch modff for PPC64.
24647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24648         and logl multiarch implementations.
24649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24652         multiarch logb for PPC64.
24653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24656         multiarch logb for PPC64.
24657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24660         multiarch logb for PPC64.
24662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24663         isinff multiarch implementation.
24664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24665         file.
24666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24668         multiarch isinf for PPC64.
24669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24670         file.
24671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24672         multiarch isinff for PPC64.
24674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24675         finitef multiarch implementation.
24676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24677         file.
24678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24680         multiarch finite for PPC64.
24681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24682         file.
24683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24684         multiarch finitef for PPC64.
24686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24687         lrint multiarch implementation.
24688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24689         file.
24690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24692         multiarch llrint for PPC64.
24693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24694         multiarch lrint for PPC64.
24696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24697         copysignf multiarch implementation.
24698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24699         file.
24700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24701         file.
24702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24703         multiarch copysign for PPC64.
24704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24705         multiarch copysignf for PPC64.
24707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24708         multiarch implementation.
24709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24710         file.
24711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24712         file.
24713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24714         file.
24715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24716         file.
24717         multiarch llround for PPC64.
24718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24719         multiarch trunc for PPC64.
24720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24721         multiarch truncf for PPC64.
24723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24724         multiarch implementation.
24725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24726         file.
24727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24728         file.
24729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24730         file.
24731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24732         file.
24733         multiarch llround for PPC64.
24734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24735         multiarch round for PPC64.
24736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24737         multiarch roundf for PPC64.
24739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24740         multiarch implementation.
24741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24742         file.
24743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24744         file.
24745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24746         file.
24747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24748         file.
24749         multiarch llround for PPC64.
24750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24751         multiarch floor for PPC64.
24752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24753         multiarch floorf for PPC64.
24755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24756         multiarch implementation.
24757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24758         file.
24759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24760         file.
24761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24762         file.
24763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24764         file.
24765         multiarch llround for PPC64.
24766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24767         multiarch ceil for PPC64.
24768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24769         multiarch ceilf for PPC64.
24771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24772         multiarch implementation.
24773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24774         file.
24775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24776         file.
24777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24778         file.
24779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24780         multiarch llround for PPC64.
24781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24782         multiarch lround for PPC64.
24784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24785         multiarch implementation.
24786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24789         file.
24790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24793         multiarch isnan for PPC64.
24794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24795         multiarch isnanf for PPC64.
24797         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24798         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24799         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24800         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24801         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24804         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24805         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24810         multiarch implementations.
24811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24812         (__libc_ifunc_impl_list): Likewise.
24813         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24814         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24815         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24816         multiarch stpcpy for PPC64.
24818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24819         multiarch implementations.
24820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24821         (__libc_ifunc_impl_list): Likewise.
24822         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24823         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24824         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24825         multiarch strcpy for PPC64.
24827         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24828         redefine function name.
24829         (_wordcopy_fwd_dest_aligned): Likewise.
24830         (_wordcopy_bwd_aligned): Likewise.
24831         (_wordcopy_bwd_dest_aligned): Likewise.
24832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24833         multiarch implementations.
24834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24835         (__libc_ifunc_impl_list): Likewise.
24836         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24837         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24838         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24840         multiarch wcscpy for PPC64.
24842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24843         multiarch implementations.
24844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24845         (__libc_ifunc_impl_list): Likewise.
24846         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24847         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24848         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24849         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24850         multiarch wcscpy for PPC64.
24852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24853         multiarch implementations.
24854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24855         (__libc_ifunc_impl_list): Likewise.
24856         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24857         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24858         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24859         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24860         multiarch wcsrchr for PPC64.
24862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24863         multiarch implementations.
24864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24865         (__libc_ifunc_impl_list): Likewise.
24866         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24867         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24868         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24869         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24870         multiarch wcschr for PPC64.
24872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24873         multiarch implementations.
24874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24875         (__libc_ifunc_impl_list): Likewise.
24876         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24877         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24878         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24879         multiarch strchrnul for PPC64.
24881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24882         implementations.
24883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24884         (__libc_ifunc_impl_list): Likewise.
24885         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24886         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24887         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24888         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24889         strchr for PPC64.
24891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24892         implementations.
24893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24894         (__libc_ifunc_impl_list): Likewise.
24895         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24896         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24897         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24898         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24899         strncmp for PPC64.
24901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24902         multiarch implementations.
24903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24904         (__libc_ifunc_impl_list): Likewise.
24905         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24906         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24907         strncasecmp for PPC64.
24908         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24909         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24910         multiarch strncasecmp_l for PPC64.
24912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24913         multiarch implementations.
24914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24915         (__libc_ifunc_impl_list): Likewise.
24916         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24917         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24918         multiarch strcasecmp for PPC64.
24919         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24920         file.
24921         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24922         multiarch strcasecmp_l for PPC64.
24924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24925         implementations.
24926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24927         (__libc_ifunc_impl_list): Likewise.
24928         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24929         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24930         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24931         strnlen for PPC64.
24933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24934         implementations.
24935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24936         (__libc_ifunc_impl_list): Likewise.
24937         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24938         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24939         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24940         strlen for PPC64.
24942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24943         implementations.
24944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24945         (__libc_ifunc_impl_list): Likewise.
24946         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24947         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24948         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24949         rawmemrchr for PPC64.
24951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24952         implementation.
24953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24954         (__libc_ifunc_impl_list): Likewise.
24955         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24956         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24957         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24958         memrchr for PPC64.
24960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24961         implementation.
24962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24963         (__libc_ifunc_impl_list): Likewise.
24964         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24965         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24966         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24967         memchr for PPC64.
24969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24970         implementation.
24971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24972         (__libc_ifunc_impl_list): Likewise.
24973         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24974         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24975         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24976         mempcpy for PPC64.
24978         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24979         avoid cretion of __bzero symbol.
24980         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24981         Likewise.
24982         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24983         Likewise.
24984         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24985         Likewise.
24986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24987         multiarch implementations.
24988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24989         (__libc_ifunc_impl_list): Likewise.
24990         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24991         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24992         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24993         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24994         bzero for PPC32.
24995         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24996         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24997         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24998         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24999         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25000         memset for PPC64.
25001         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25003         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25005         implementations.
25006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25007         (__libc_ifunc_impl_list): Likewise.
25008         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25009         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25010         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25011         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25012         memcmp for PPC64.
25014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25015         multiarch for POWER/PPC64.
25016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25017         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25018         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25019         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25020         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25021         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25022         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25023         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25024         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25025         memcpy for PPC64.
25027         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25028         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25029         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25030         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25031         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25032         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25033         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25034         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25035         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25036         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25037         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25038         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25039         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25040         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25041         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25050 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25052         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25054 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25056         * benchtests/Makefile (bench): Add exp2 and log2.
25057         (LDLIBS-bench-exp2): Add -lm.
25058         (LDLIBS-bench-log2): Likewise.
25059         * benchtests/exp2-inputs: New inputs file.
25060         * benchtests/log2-inputs: New inputs file.
25061         * benchtests/log-inputs: Add new inputs.
25062         * benchtests/tan-inputs: Likewise.
25064 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25066         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25067         definition...
25068         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25069         (csloww2): ... from here.
25071         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25072         instead of structures.
25073         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25074         (POLYNOMIAL): Likewise.
25075         (TAYLOR_SLOW): Likewise.
25076         (__sin): Likewise.
25077         (__cos): Likewise.
25078         (slow1): Likewise.
25079         (slow2): Likewise.
25080         (sloww): Likewise.
25081         (sloww1); Likewise.
25082         (sloww2): Likewise.
25083         (bsloww1): Likewise.
25084         (bsloww2): Likewise.
25085         (cslow2): Likewise.
25086         (csloww): Likewise.
25087         (csloww1): Likewise.
25088         (csloww2): Likewise.
25090 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25092         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25093         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25094         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25095         * malloc/hooks.c (realloc_check): Likewise.
25097         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25098         * malloc/arena.c: Remove PER_THREAD conditional.
25099         [!PER_THREAD]: Remove code.
25100         (ptmalloc_unlock_all2): Likewise.
25101         (ptmalloc_init): Likewise.
25102         (_int_new_arena): Likewise.
25103         (arena_get2): Likewise.
25104         * malloc/hooks.c (__malloc_get_state): Likewise.
25105         (__malloc_set_state): Likewise.
25106         * malloc/malloc.c: Likewise.
25107         (struct malloc_state): Likewise.
25108         (struct malloc_par): Likewise.
25109         (__libc_realloc): Likewise.
25110         (__libc_mallopt): Likewise.
25112 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25114         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25116 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25118         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25119         macro to a function.  Check for zero perturb_byte.
25120         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25122         * malloc/malloc.c: (force_reg): Remove.
25123         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25124         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25125         force_reg by atomic_forced_read.
25126         * malloc/arena.c (ptmalloc_init): Likewise.
25127         * malloc/hooks.c (top_check): Likewise.
25129 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25133 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25137 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25139         * math/auto-libm-test-in: Add tests of lgamma.
25140         * math/auto-libm-test-out: Regenerated.
25141         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25142         (M_LOG_2_SQRT_PIl): Likewise.
25143         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25144         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25145         mpfr_f_f1.
25146         (func_calc_desc): Add mpfr_f_f1 union field.
25147         (ARGS1): New macro.
25148         (ARGS2): Likewise.
25149         (ARGS3): Likewise.
25150         (ARGS4): Likewise.
25151         (RET1): Likewise.
25152         (RET2): Likewise.
25153         (CALC): Likewise.
25154         (FUNC): Likewise.
25155         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25156         (test_functions): Add lgamma.
25157         (calc_generic_results): Handle mpfr_f_f1.
25158         * sysdeps/i386/fpu/libm-test-ulps: Update.
25159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25163         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25164         __mpn_add_n for PowerPC64/POWER7.
25165         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25166         __mpn_sub_n for PowerPC64/POWER7.
25168         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25169         __mpn_addmul_1 for PowerPC64.
25170         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25171         __mpn_submul_1 for PowerPC64.
25172         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25173         for PowerPC64.
25174         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25175         for PowerPC64.
25177 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25179         [BZ #15089]
25180         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25182 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25184         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25186         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25187         add multiarch folders.
25188         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25189         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25190         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25191         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25192         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25193         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25194         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25195         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25196         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25197         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25198         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25207         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25209         New file.
25210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25211         New file.
25212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25213         multiarch __ieee754_hypot for PowerPC32.
25214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25215         New file.
25216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25217         New file.
25218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25219         multiarch __ieee754_hypotf for PowerPC32.
25221         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25222         long_double_symbol only if __logbl is defined.
25223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25224         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25225         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25226         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25228         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25229         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25230         path for implementation.
25231         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25232         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25234         logb, and logbl multiarch implementations for PowerPC32.
25235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25236         file.
25237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25238         file.
25239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25240         multiarch logb for PowerPC32.
25241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25242         file.
25243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25244         file.
25245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25246         multiarch logbf for PowerPC32.
25247         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25249         file.
25250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25251         multiarch logbl implementation for PowerPC32.
25253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25254         and modff multiarch implementations.
25255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25256         New file.
25257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25258         New file.
25259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25260         multiarch modf for PowerPC32.
25261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25262         New file.
25263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25264         New file.
25265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25266         multiarch modff for PowerPC32.
25268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25269         and lrintf multiarch implementations.
25270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25271         New file.
25272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25273         New file.
25274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25275         multiarch lrint for PowerPC32.
25276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25277         file: multiarch lrintf for PowerPC32.
25279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25280         and lroundf multiarch implementations.
25281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25282         New file.
25283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25284         New file.
25285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25286         New file.
25287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25288         multiarch lround for PowerPC32.
25289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25290         file: multiarch lroundf for PowerPC32.
25292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25293         copysign and copysignf multiarch implementations.
25294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25295         New file.
25296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25297         New file.
25298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25299         file: multiarch copysign for PowerPC32.
25300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25301         file: multiarch copysignf for PowerPC32.
25303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25304         and truncf multiarch implementations.
25305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25306         New file.
25307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25308         file.
25309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25310         multiarch trunc for PowerPC32.
25311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25312         New file.
25313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25314         New file.
25315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25316         multiarch truncf for PowerPC32.
25318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25319         and roundf multiarch implementations.
25320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25321         New file.
25322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25323         file.
25324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25325         multiarch round for PowerPC32.
25326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25327         New file.
25328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25329         New file.
25330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25331         multiarch roundf for PowerPC32.
25333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25334         and floorf multiarch implementations.
25335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25336         New file.
25337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25338         file.
25339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25340         multiarch floor for PowerPC32.
25341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25342         New file.
25343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25344         New file.
25345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25346         multiarch floorf for PowerPC32.
25348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25349         and ceilf multiarch implementations.
25350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25351         New file.
25352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25353         file.
25354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25355         multiarch ceil for PowerPC32.
25356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25357         New file.
25358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25359         file.
25360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25361         multiarch ceilf for PowerPC32.
25363         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25364         is defined.
25365         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25366         FINITEF is defined.
25367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25368         and finitef multiarch implementations.
25369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25370         New file.
25371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25372         file.
25373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25374         multiarch finite for PowerPC32.
25375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25376         New file.
25377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25378         file: multiarch finitef for PowerPC32.
25380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25381         and isinff multiarch implementations.
25382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25383         file.
25384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25385         file.
25386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25387         multiarch isinf for PowerPC32.
25388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25389         New file.
25390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25391         multiarch isinff for PowerPC32.
25393         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25394         alias when __isnan is defined.
25395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25396         and isnanf multiarch implementations.
25397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25398         file.
25399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25400         file.
25401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25402         file.
25403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25404         file.
25405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25406         multiarch isnan for PowerPC32.
25407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25408         New file.
25409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25410         New file.
25411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25412         multiarch isnanf for PowerPC32.
25414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25415         and sqrtf multiarch implementations.
25416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25417         file.
25418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25419         file.
25420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25421         multiarch sqrt for PowerPC32.
25422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25423         file.
25424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25425         file.
25426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25427         multiarch sqrtf for PowerPC32.
25429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25430         and llroundf multiarch implementations.
25431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25432         New file.
25433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25434         New file.
25435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25436         New file.
25437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25438         file: multiarch llround for PowerPC32.
25439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25440         file: multiarch llroundf for PowerPC32.
25442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25443         multiarch PowerPC32 fpu implementations.
25444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25445         New file.
25446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25447         New file.
25448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25449         multiarch llrint for PowerPC32.
25450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25451         New file.
25452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25453         New file.
25454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25455         file.
25457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25459         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25460         file.
25461         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25462         file.
25463         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25464         file.
25465         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25466         multiarch wordcopy for PPC32.
25467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25468         wordcopy objects.
25469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25470         (__libc_ifunc_impl_list): Likewise.
25471         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25472         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25473         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25474         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25475         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25476         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25478         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25480         file.
25481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25482         file.
25483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25484         file.
25485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25486         multiarch wcscpy for PPC32.
25487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25488         multiarch objects.
25489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25490         (__libc_ifunc_impl_list): Likewise.
25491         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25492         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25493         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25494         sysdeps/powerpc/power6/wcscpy.c.
25496         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25497         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25498         file.
25499         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25500         file.
25501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25502         file.
25503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25504         multiarch wcsrchr for PPC32.
25505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25506         multiarch objects.
25507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25508         (__libc_ifunc_impl_list): Likewise.
25509         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25510         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25511         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25512         sysdeps/powerpc/power6/wcsrchr.c.
25514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25515         file.
25516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25517         file.
25518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25520         multiarch wcschr for PPc32.
25521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25522         multiarch objects.
25523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25524         (__libc_ifunc_impl_list): Likewise.
25525         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25526         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25527         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25528         sysdeps/powerpc/power6/wcschr.c.
25530         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25531         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25532         file.
25533         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25534         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25535         file: multiarch strchr for PPC32.
25536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25537         multiarch objects.
25538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25539         (__libc_ifunc_impl_list): Likewise.
25541         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25542         name.
25543         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25544         file.
25545         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25546         file.
25547         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25548         multiarch strchrnul for PPC32.
25549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25550         multiarch objects.
25551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25552         (__libc_ifunc_impl_list): Likewise.
25554         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25555         file.
25556         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25557         multiarch strncasecmp for PPC32.
25558         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25559         file.
25560         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25561         multiarch strncasecmp_l for PPC32.
25562         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25563         strncasecmp multiarch objects.
25564         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25565         (__libc_ifunc_impl_list): Likewise.
25567         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25568         file.
25569         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25570         multiarch strncasecmp for PPC32.
25571         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25572         New file.
25573         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25574         multiarch strcasecmp_l for PPC32.
25575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25576         multiarch objects.
25577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25578         (__libc_ifunc_impl_list): Likewise.
25580         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25581         file.
25582         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25583         file.
25584         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25585         multiarch strncmp for PPC32.
25586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25587         multiarch objects.
25588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25589         (__libc_ifunc_impl_list): Likewise.
25591         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25592         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25593         file.
25594         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25595         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25597         multiarch objects.
25598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25599         (__libc_ifunc_impl_list): Likewise.
25601         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25602         file.
25603         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25604         file.
25605         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25607         multiarch objects.
25608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25609         (__libc_ifunc_impl_list): Likewise.
25611         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25612         file.
25613         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25614         file.
25615         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25616         multiarch rawmemchr for PPC32.
25617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25618         multiarch objects.
25619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25620         (__libc_ifunc_impl_list): Likewise.
25622         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25623         file.
25624         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25625         file.
25626         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25627         file: memrchr multiarch for PPC32.
25628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25629         multiarch objects.
25630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25631         (__libc_ifunc_impl_list): Likewise.
25633         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25634         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25635         file.
25636         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25637         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25638         multiarch memchr for PPC32.
25639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25640         multiarch objects.
25641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25642         (__libc_ifunc_impl_list): Likewise.
25644         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25645         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25646         file.
25647         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25648         file.
25649         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25650         file: multiarch mempcpy for PPC32.
25651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25652         multiarch objects.
25653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25654         (__libc_ifunc_impl_list): Likewise.
25656         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25657         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25658         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25659         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25660         multiarch bzero for PPC32.
25661         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25662         file.
25663         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25664         file.
25665         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25666         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25667         file: multiarch memset for PPC32.
25668         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25670         memset multiarch objects.
25671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25672         (__libc_ifunc_impl_list): Likewise.
25674         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25675         file.
25676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25677         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25678         memcmp for PPC32.
25679         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25681         multiarch objects.
25682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25683         (__libc_ifunc_impl_list): Likewise.
25685         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25686         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25687         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25688         file.
25689         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25690         file.
25691         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25692         file.
25693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25694         multiarch memcpy for PPC32.
25695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25696         multiarch objects.
25697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25698         (__libc_ifunc_impl_list): Likewise.
25700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25701         support multiarch for POWER/PPC32.
25702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25703         Likewise.
25704         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25706         Implies file to make multiarch folder appers before the fpu and
25707         default folder for power4 configuration.
25709 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25711         * scripts/bench.pl: Append volatile keyword to type.
25713 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25715         * sysdeps/sh/sotruss-lib.c: New file.
25716         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25718 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25722 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25724         [BZ #6810]
25725         * math/w_tgamma.c: Include <errno.h>.
25726         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25727         * math/w_tgammaf.c: Include <errno.h>.
25728         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25729         * math/w_tgammal.c: Include <errno.h>.
25730         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25731         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25732         underflow.  Add more tgamma tests.
25733         * math/auto-libm-test-out: Regenerated.
25734         * sysdeps/i386/fpu/libm-test-ulps: Update.
25735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25737         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25738         sin, sinh, tan, tanh, tgamma, y0 and y1.
25739         * math/auto-libm-test-out: Regenerated.
25740         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25741         (TEST_COND_x86): Likewise.
25742         (M_E2l): Remove macro.
25743         (M_E3l): Likewise.
25744         (M_2_SQRT_PIl): Likewise.
25745         (M_SQRT_PIl): Likewise.
25746         (M_1_DIV_El): Likewise.
25747         (log_test_data): Use AUTO_TESTS_f_f.
25748         (log10_test_data): Likewise.
25749         (log1p_test_data): Likewise.
25750         (log2_test_data): Likewise.
25751         (sin_test_data): Likewise.
25752         (sin_tonearest_test_data): Likewise.
25753         (sin_towardzero_test_data): Likewise.
25754         (sin_downward_test_data): Likewise.
25755         (sin_upward_test_data): Likewise.
25756         (sinh_test_data): Likewise.
25757         (sinh_tonearest_test_data): Likewise.
25758         (sinh_towardzero_test_data): Likewise.
25759         (sinh_downward_test_data): Likewise.
25760         (sinh_upward_test_data): Likewise.
25761         (tan_test_data): Likewise.
25762         (tan_tonearest_test_data): Likewise.
25763         (tan_towardzero_test_data): Likewise.
25764         (tan_downward_test_data): Likewise.
25765         (tan_upward_test_data): Likewise.
25766         (tanh_test_data): Likewise.
25767         (tgamma_test_data): Likewise.
25768         (y0_test_data): Likewise.
25769         (y1_test_data): Likewise.
25770         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25771         (special_real_inputs): Add pi/4.
25772         * sysdeps/i386/fpu/libm-test-ulps: Update.
25773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25775 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25777         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25778         "longjmp_target" static probes.
25779         (__longjmp): Rename to __longjmp_symbol.
25780         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25781         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25782         on which longjmp to generate.
25783         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25784         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25785         probe.
25786         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25787         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25788         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25789         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25790         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25791         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25793         __longjmp_symbol based on which __longjmp to generate.
25794         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25795         probe.
25796         (setjmp): Rename to setjmp_symbol.
25797         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25798         (_setjmp): Rename to _setjmp_symbol.
25799         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25800         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25801         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25802         which setjmp to generate.
25803         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25804         "longjmp_target" static probes.
25806 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25808         * benchtests/README: Add note about output arguments.
25809         * benchtests/bench-sincos.c: Remove file.
25810         * benchtests/sincos-inputs: New file.
25811         * scripts/bench.pl: Identify output arguments and define
25812         static variables for them.
25814         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25816         [BZ #15941]
25817         * Makefile (INSTALL): Add install-plain.texi as the primary
25818         dependency.
25819         * manual/install-plain.texi: New file.
25820         * manual/install.texi: Include node directive only for
25821         non-plaintext output.
25823 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25825         * stdlib/longlong.h: Update from GCC.
25827         [BZ #6807]
25828         [BZ #15901]
25829         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25830         * math/w_j0f.c (y0f): Likewise.
25831         * math/w_j0l.c (__y0l): Likewise.
25832         * math/w_j1.c (y1): Likewise.
25833         * math/w_j1f.c (y1f): Likewise.
25834         * math/w_j1l.c (__y1l): Likewise
25835         * math/w_jn.c (yn): Likewise.
25836         * math/w_jnf.c (ynf): Likewise.
25837         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25838         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25839         value for Bessel function domain errors outside _SVID_ mode.
25840         Adjust sign of return value for yn (negative integer, 0).
25841         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25842         by zero in return for negative x and set sign appropriately for
25843         negative n.
25844         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25845         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25846         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25847         expectations in error cases.
25848         (y1_test_data): Likewise.
25849         (yn_test_data): Likewise.
25850         * sysdeps/i386/fpu/libm-test-ulps: Update.
25851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25853 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25855         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25856         "64" to "64-v1".  Add "64-v2".
25857         (abi-64-options): Rename to ...
25858         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25859         (abi-64-condition): Rename to ...
25860         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25861         (abi-64-ld-soname): Rename to ...
25862         (abi-64-v1-ld-soname): ... this.
25863         (abi-64-v2-options): Define.
25864         (abi-64-v2-condition): Likewise.
25865         (abi-64-v2-ld-soname): Likewise.
25866         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25867         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25872 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25873             Alan Modra  <amodra@gmail.com>
25875         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25876         New versions for use with the ELFv2 ABI.
25877         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25878         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25879         declaration.
25880         (struct La_ppc64v2_retval): Likewise.
25881         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25882         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25883         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25884         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25885         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25886         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25887         Do not save or restore CR.
25888         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25889         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25890         return values for ELFv2 ABI.  Fix location of FPR return registers.
25891         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25892         updated values for _CALL_ELF == 2.
25893         (La_regs, La_retval, int_retval): Likewise.
25895 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25897         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25898         (FRAME_MIN_SIZE_PARM): Likewise.
25899         (FRAME_BACKCHAIN): Likewise.
25900         (FRAME_CR_SAVE): Likewise.
25901         (FRAME_LR_SAVE): Likewise.
25902         (FRAME_TOC_SAVE): Likewise.
25903         (FRAME_PARM_SAVE): Likewise.
25904         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25905         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25906         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25907         (call_mcount_parm_offset): New macro.
25908         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25909         (PROF): Use symbolic stack frame offsets.
25910         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25911         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25912         Redefine in terms of FRAME_MIN_SIZE.
25913         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25914         (_dl_profile_resolve): Likewise.  Update comment.
25915         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25916         symbols stack frame offsets.
25917         (__sigsetjmp): Likewise.
25918         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25919         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25920         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25921         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25924         (FRAME_BACKCHAIN): Remove.
25925         (FRAME_CR_SAVE): Likewise.
25926         (FRAME_LR_SAVE): Likewise.
25927         (FRAME_COMPILER_DW): Likewise.
25928         (FRAME_LINKER_DW): Likewise.
25929         (FRAME_TOC_SAVE): Likewise.
25930         (FRAME_PARM_SAVE): Likewise.
25931         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25932         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25933         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25935         (CHECK_SP): Use symbolic stack frame offsets.
25936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25937         zone" instead of caller's parameter save area for temp storage.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25939         Likewise.  Also, use symbolic stack frame offsets.
25940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25941         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25942         our own stack frame instead of the caller's.
25943         (__socket): Use symbolic stack frame offsets.
25945 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25946             Alan Modra  <amodra@gmail.com>
25948         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25949         Define.
25950         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25951         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25952         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25953         New function.
25954         (elf_machine_fixup_plt): Call it.
25955         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25956         reloc arguments.
25957         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25958         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25959         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25960         r2 before calling target.
25962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25963             Alan Modra  <amodra@gmail.com>
25965         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25966         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25967         versions of macros to support ELFv2 ABI.
25968         (LOCALENTRY): New macro.
25969         (ENTRY, EALIGN): Use it.
25970         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25971         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25972         fall through into ENTRY entry point.
25973         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25974         Only define if _CALL_ELF != 2.
25976         (elf_machine_matches_host): Verify ABI version matches.
25977         (RTLD_START): Use LOCALENTRY.
25978         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25979         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25980         (PLT_ENTRY_WORDS): New macro.
25981         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25982         (elf_machine_runtime_setup): Support ELFv2 ABI.
25983         (elf_machine_fixup_plt): Likewise.
25984         (elf_machine_plt_conflict): Likewise.
25985         (resolve_ifunc): Likewise.
25986         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25988         Likewise.
25989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25990         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25992         (makecontext): Support ELFv2 ABI.
25993         * elf/elf.h (EF_PPC64_ABI): Define.
25995 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25997         * sysdeps/powerpc/powerpc64/sysdep.h
25998         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25999         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26000         (ENTRY) [ASSEMBLER]: ... but instead here ...
26001         (EALIGN) [ASSEMBLER]: ... and here.
26002         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26003         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26004         (ENTRY_2) [!ASSEMBLER]: Use it.
26005         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26006         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26007         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26008         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26009         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26011         Use PPC64_LOAD_FUNCPTR.
26013         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26015 2013-12-04  Alan Modra  <amodra@gmail.com>
26017         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26018         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26019         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26020         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26022         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26023         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26024         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26025         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26026         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26027         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26029 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26032         (__makecontext): Fix incorrect CFI when backtracing out of
26033         context created via makecontext.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26035         (__setcontext): Fix incorrect CFI during switch to new context.
26036         (__novec_setcontext): Likewise.
26038 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26040         [BZ #4772]
26041         * time/strptime_l.c (__strptime_internal): Allow modifiers
26042         in strptime.
26043         * time/tst-strptime.c (day_tests): Add testcase.
26045 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26047         * scripts/bench.pl: Skip over blank lines.
26049 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26051         [BZ #926]
26052         * manual/time.texi (Calendar Time): Clarify what timezone functions
26053         use.
26055 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26059 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26061         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26062         implementation.
26063         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26064         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26065         * debug/memset_chk.c (__memset_chk): Likewise.
26066         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26067         * debug/strncpy_chk.c: Likewise.
26069 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26071         [BZ #15268]
26072         [BZ #15425]
26073         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26074         (__ieee754_exp): For possibly underflowing results, check size of
26075         result and force underflow exception if required.
26076         * math/auto-libm-test-in: Add more tests of exp.
26077         * math/auto-libm-test-out: Regenerated.
26078         * sysdeps/i386/fpu/libm-test-ulps: Update.
26079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26081         [BZ #16283]
26082         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26083         * math/w_exp2f.c (__exp2f): Likewise.
26084         * math/w_exp2l.c (__exp2l): Likewise.
26085         * math/auto-libm-test-in: Do not allow missing errno on exp2
26086         underflow.
26087         * math/auto-libm-test-out: Regenerated.
26089 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26091         [BZ #16274]
26092         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26093         handle filename validation.
26094         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26095         (do_open): Delete.
26097 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26099         [BZ #6786]
26100         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26101         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26102         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26103         <float.h>.
26104         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26105         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26106         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26108         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26109         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26110         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26111         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26112         Add more erfc tests.
26113         * math/auto-libm-test-out: Regenerated.
26114         * sysdeps/i386/fpu/libm-test-ulps: Update.
26115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26117         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26118         exp2, expm1, j0 and j1.
26119         * math/auto-libm-test-out: Regenerated.
26120         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26121         (erfc_test_data): Likewise.
26122         (exp_test_data): Likewise.
26123         (exp_tonearest_test_data): Likewise.
26124         (exp_towardzero_test_data): Likewise.
26125         (exp_downward_test_data): Likewise.
26126         (exp_upward_test_data): Likewise.
26127         (exp10_test_data): Likewise.
26128         (exp2_test_data): Likewise.
26129         (expm1_test_data): Likewise.
26130         (j0_test_data): Likewise.
26131         (j1_test_data): Likewise.
26132         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26133         (input_flag_type): Add flag_xfail_rounding.
26134         (input_flags): Add xfail-rounding.
26135         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26136         (output_for_one_input_case): Handle flag_xfail_rounding.
26137         * sysdeps/i386/fpu/libm-test-ulps: Update.
26138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26140 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26142         [BZ #16289]
26143         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26144         division by 0.
26146 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26148         [BZ #16195]
26149         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26150         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26151         (STAP_PROBE0): New macro.
26152         (STAP_PROBE1): Likewise.
26153         (STAP_PROBE2): Likewise.
26154         (STAP_PROBE3): Likewise.
26155         (STAP_PROBE4): Likewise.
26157 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26159         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26161 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26163         * benchtests/Makefile (bench): Add sqrt.
26164         (LDLIBS-bench-sqrt): New.
26165         * benchtests/sqrt-input: New.
26167 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26169         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26170         (GAIH_EAI): Likewise.
26171         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26172         (gaih_inet): Likewise.
26173         (getaddrinfo): Don't use GAIH_EAI.
26175         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26176         (struct gaih): Remove definition.
26178 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26180         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26181         Use HERRNOP directly.
26183 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26187 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26189         * math/gen-auto-libm-tests.c (test_functions): Add more
26190         single-argument functions.
26191         (special_fill_pi_2): New function.
26192         (special_fill_minus_pi_2): Likewise.
26193         (special_fill_pi_6): Likewise.
26194         (special_fill_minus_pi_6): Likewise.
26195         (special_fill_pi_3): Likewise.
26196         (special_fill_2pi_3): Likewise.
26197         (special_fill_e): Likewise.
26198         (special_fill_1_e): Likewise.
26199         (special_fill_e_minus_1): Likewise.
26200         (special_real_inputs): Add more special inputs.
26201         (output_for_one_input_case): Do not require ERANGE on underflow to
26202         zero if round-to-nearest result does not underflow to zero, unless
26203         exact results required.
26204         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26205         atan, atanh, cbrt, cos and cosh.
26206         * math/auto-libm-test-out: Regenerated.
26207         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26208         (acos_tonearest_test_data): Likewise.
26209         (acos_towardzero_test_data): Likewise.
26210         (acos_downward_test_data): Likewise.
26211         (acos_upward_test_data): Likewise.
26212         (acosh_test_data): Likewise.
26213         (asin_test_data): Likewise.
26214         (asin_tonearest_test_data): Likewise.
26215         (asin_towardzero_test_data): Likewise.
26216         (asin_upward_test_data): Likewise.
26217         (asinh_test_data): Likewise.
26218         (atan_test_data): Likewise.
26219         (atanh_test_data): Likewise.
26220         (cbrt_test_data): Likewise.
26221         (cos_test_data): Likewise.
26222         (cos_tonearest_test_data): Likewise.
26223         (cos_towardzero_test_data): Likewise.
26224         (cos_downward_test_data): Likewise.
26225         (cos_upward_test_data): Likewise.
26226         (cosh_test_data): Likewise.
26227         (cosh_tonearest_test_data): Likewise.
26228         (cosh_towardzero_test_data): Likewise.
26229         (cosh_downward_test_data): Likewise.
26230         (cosh_upward_test_data): Likewise.
26231         * sysdeps/i386/fpu/libm-test-ulps: Update.
26232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26234 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26236         [BZ #6787]
26237         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26238         * math/w_exp10f.c (__exp10f): Likewise.
26239         * math/w_exp10l.c (__exp10l): Likewise.
26240         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26241         errno settings in existing tests.
26243         [BZ #14032]
26244         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26245         precision control set to double precision.
26246         * sysdeps/i386/fpu/w_sqrt.c: New file.
26247         * math/auto-libm-test-in: Add more tests.
26248         * math/auto-libm-test-out: Update.
26250         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26251         (sqrt_test_tonearest): New function.
26252         (sqrt_towardzero_test_data): New variable.
26253         (sqrt_test_towardzero): New function.
26254         (sqrt_downward_test_data): New variable.
26255         (sqrt_test_downward): New function.
26256         (sqrt_upward_test_data): New variable.
26257         (sqrt_test_upward): New function.
26258         (main): Call the new functions.
26260         * math/gen-auto-libm-tests.c: New file.
26261         * math/auto-libm-test-in: Likewise.
26262         * math/auto-libm-test-out: New generated file.
26263         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26264         variables.
26265         (%beautify): Add generated representations of zero.
26266         (top level): Set $auto_input and call parse_auto_input.
26267         (beautify): Remove trailing "f" from hex float constants.
26268         (parse_args): Handle XFAIL_TEST.
26269         (convert_condition): New function.
26270         (or_value): Likewise.
26271         (or_cond_value): Likewise.
26272         (generate_testfile): Handle AUTO_TESTS_* lines.
26273         (parse_auto_input): New function.
26274         * math/libm-test.inc (XFAIL_TEST): New macro.
26275         (ERRNO_UNCHANGED): Update value.
26276         (ERRNO_EDOM): Likewise.
26277         (ERRNO_ERANGE): Likewise.
26278         (IGNORE_RESULT): Likewise.
26279         (TEST_COND_flt_32): New macro.
26280         (TEST_COND_dbl_64): Likewise.
26281         (TEST_COND_ldbl_96_intel): Likewise.
26282         (TEST_COND_ldbl_96_m68k): Likewise.
26283         (TEST_COND_ldbl_128): Likewise.
26284         (TEST_COND_ldbl_128ibm): Likewise.
26285         (TEST_COND_long32): Likewise.
26286         (TEST_COND_long64): Likewise.
26287         (TEST_COND_before_rounding): Likewise.
26288         (TEST_COND_after_rounding): Likewise.
26289         (enable_test): Handle XFAIL_TEST flag.
26290         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26291         with finite results.
26292         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26293         auto-libm-test-out.
26295 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26296             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26298         [BZ #16214]
26299         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26300         __tls_get_addr_internal instead of __tls_get_offset in order to
26301         avoid GOT pointer dependency.  Make rtld export
26302         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26303         __tls_get_addr since we are a __tls_get_offset platform.
26304         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26305         GOT pointer being set up before.
26306         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26308 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26310         * manual/math.texi (Errors in Math Functions): Document accuracy
26311         goals.
26313         [BZ #15004]
26314         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26315         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26316         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26317         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26318         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26319         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26320         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26321         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26322         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26323         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26324         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26325         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26326         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26327         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26328         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26329         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26331         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26332         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26333         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26334         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26335         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26336         Likewise.
26337         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26338         Likewise.
26339         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26340         Likewise.
26341         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26342         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26343         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26344         atomic-feupdateenv and flt-rounds.
26345         * sysdeps/powerpc/nofpu/Versions (libc): Add
26346         __atomic_feholdexcept, __atomic_feclearexcept,
26347         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26348         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26349         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26350         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26351         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26352         here.
26353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26354         Update.
26356         * manual/arith.texi (FP Exceptions): Document that exceptions may
26357         not be raised when matherr is used.
26358         (Math Error Reporting): Document overflow in directed rounding
26359         modes.  Document that errno may not be set when finite values are
26360         returned on overflow.  Document intent to set errno on underflow
26361         only for underflow to zero.
26363         [BZ #16271]
26364         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26365         round-to-nearest then adjust result for other rounding modes.
26366         * include/fenv.h (fegetround): Use libm_hidden_proto.
26367         * math/fegetround.c (fegetround): Use libm_hidden_def.
26368         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26369         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26370         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26371         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26372         Likewise.
26373         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26374         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26375         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26376         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26378 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26380         [BZ #16077]
26381         * nss/Versions (libnss_files): Add
26382         _nss_files_gethostbyname3_r.
26383         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26384         New function.
26385         (HOST_DB_LOOKUP): Remove macro.
26386         (_nss_files_gethostbyname_r): Implement function without the
26387         HOST_DB_LOOKUP macro.
26388         (_nss_files_gethostbyname2_r): Likewise.
26390 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26392         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26394 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26396         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26397         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26398         warning.
26400 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26402         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26403         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26404         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26405         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26406         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26407         __fe_nomask_env_priv and attribute_hidden.
26408         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26409         (libc_feupdateenv_test_ppc): Likewise.
26410         (libc_feresetround_ppc): Likewise.
26411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26412         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26413         compat_symbol macro.
26414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26415         (__fe_nomask_env): Likewise.
26416         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26418 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26420         * string/Makefile: Remove ifunc tests.
26421         * string/test-string.h: Define TEST_IFUNC.
26422         * string/test-bcopy-ifunc.c: Remove.
26423         * string/test-bzero-ifunc.c: Likewise.
26424         * string/test-memccpy-ifunc.c: Likewise.
26425         * string/test-memchr-ifunc.c: Likewise.
26426         * string/test-memcmp-ifunc.c: Likewise.
26427         * string/test-memcpy-ifunc.c: Likewise.
26428         * string/test-memmem-ifunc.c: Likewise.
26429         * string/test-memmove-ifunc.c: Likewise.
26430         * string/test-mempcpy-ifunc.c: Likewise.
26431         * string/test-memrchr-ifunc.c: Likewise.
26432         * string/test-memset-ifunc.c: Likewise.
26433         * string/test-rawmemchr-ifunc.c: Likewise.
26434         * string/test-stpcpy-ifunc.c: Likewise.
26435         * string/test-stpncpy-ifunc.c: Likewise.
26436         * string/test-strcasecmp-ifunc.c: Likewise.
26437         * string/test-strcasestr-ifunc.c: Likewise.
26438         * string/test-strcat-ifunc.c: Likewise.
26439         * string/test-strchr-ifunc.c: Likewise.
26440         * string/test-strchrnul-ifunc.c: Likewise.
26441         * string/test-strcmp-ifunc.c: Likewise.
26442         * string/test-strcpy-ifunc.c: Likewise.
26443         * string/test-strcspn-ifunc.c: Likewise.
26444         * string/test-strlen-ifunc.c: Likewise.
26445         * string/test-strncasecmp-ifunc.c: Likewise.
26446         * string/test-strncat-ifunc.c: Likewise.
26447         * string/test-strncmp-ifunc.c: Likewise.
26448         * string/test-strncpy-ifunc.c: Likewise.
26449         * string/test-strnlen-ifunc.c: Likewise.
26450         * string/test-strpbrk-ifunc.c: Likewise.
26451         * string/test-strrchr-ifunc.c: Likewise.
26452         * string/test-strspn-ifunc.c: Likewise.
26453         * string/test-strstr-ifunc.c: Likewise.
26455 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26457         * benchtests/Makefile: Remove ifunc tests.
26458         * benchtests/bench-string.h: Define TEST_IFUNC.
26459         * benchtests/bench-bcopy-ifunc.c: Remove.
26460         * benchtests/bench-bzero-ifunc.c: Likewise.
26461         * benchtests/bench-memccpy-ifunc.c: Likewise.
26462         * benchtests/bench-memchr-ifunc.c: Likewise.
26463         * benchtests/bench-memcmp-ifunc.c: Likewise.
26464         * benchtests/bench-memcpy-ifunc.c: Likewise.
26465         * benchtests/bench-memmem-ifunc.c: Likewise.
26466         * benchtests/bench-memmove-ifunc.c: Likewise.
26467         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26468         * benchtests/bench-memrchr-ifunc.c: Likewise.
26469         * benchtests/bench-memset-ifunc.c: Likewise.
26470         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26471         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26472         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26473         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26474         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26475         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26476         * benchtests/bench-strcat-ifunc.c: Likewise.
26477         * benchtests/bench-strchr-ifunc.c: Likewise.
26478         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26479         * benchtests/bench-strcmp-ifunc.c: Likewise.
26480         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26481         * benchtests/bench-strcpy-ifunc.c: Likewise.
26482         * benchtests/bench-strcspn-ifunc.c: Likewise.
26483         * benchtests/bench-strlen-ifunc.c: Likewise.
26484         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26485         * benchtests/bench-strncat-ifunc.c: Likewise.
26486         * benchtests/bench-strncmp-ifunc.c: Likewise.
26487         * benchtests/bench-strncpy-ifunc.c: Likewise.
26488         * benchtests/bench-strnlen-ifunc.c: Likewise.
26489         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26490         * benchtests/bench-strrchr-ifunc.c: Likewise.
26491         * benchtests/bench-strsep-ifunc.c: Likewise.
26492         * benchtests/bench-strspn-ifunc.c: Likewise.
26493         * benchtests/bench-strstr-ifunc.c: Likewise.
26495 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26497         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26499 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26501         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26502         * rt/aio.h: Likewise.
26503         * sysdeps/gnu/bits/utmp.h: Likewise.
26504         * sysdeps/gnu/bits/utmpx.h: Likewise.
26505         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26506         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26507         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26508         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26509         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26510         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26511         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26512         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26513         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26514         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26515         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26516         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26517         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26519         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26520         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26521         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26522         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26523         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26524         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26525         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26526         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26527         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26528         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26529         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26530         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26531         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26532         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26533         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26534         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26535         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26536         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26537         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26538         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26539         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26540         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26541         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26542         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26543         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26544         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26545         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26546         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26548 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26550         [BZ #16245]
26551         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26552         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26554 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26556         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26557         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26558         Likewise.
26560 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26562         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26563         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26564         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26565         (__fesetround): Remove define.
26566         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26567         rounding and exceptions handling.
26568         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26569         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26570         (__fe_nomask_env): Likewise.
26571         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26572         __fegetround instead of fegetround.
26573         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26574         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26576 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26578         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26579         it's there.
26581         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26583 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26585         [BZ #11157]
26586         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26587         (encrypt_r): Likewise.
26588         * malloc/obstack.h (obstack_free): Likewise.
26589         * posix/unistd.h (encrypt): Likewise.
26591 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26593         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26594         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26595         DL_CALL_DT_FINI() that call the functions directly.
26596         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26597         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26598         * elf/dl-fini.c: Likewise.
26600 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26602         * malloc/hooks.c (memalign_check): Add alignment rounding.
26603         * malloc/malloc.c (_mid_memalign): New function.
26604         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26605         Implement by calling _mid_memalign.
26606         * manual/probes.texi (Memory Allocation Probes): Remove
26607         memory_valloc_retry and memory_pvalloc_retry.
26609 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26611         * locale/programs/locarchive.c (open_archive): Add const
26612         qualifier to ARCHIVEFNAME and copy default fname to
26613         DEFAULT_FNAME.
26615         [BZ #15601]
26616         * libio/tst-widetext.input: Rename Oriya to Odia.
26617         * locale/iso-639.def: Likewise.
26619         * manual/probes.texi (Mathematical Function Probes): Add
26620         documentation for sin, cos, asin and acos probes.
26621         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26622         (__sin32): Add slowasin probe.
26623         (__cos32): Add slowacos probe.
26624         (__mpsin): Add slowsin probe.
26625         (__mpcos): Add slowcos probe.
26627 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26629         [BZ #15483]
26630         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26631         thread-local __sim_exceptions_thread and global
26632         __sim_exceptions_global.
26633         (__sim_disabled_exceptions): Change to thread-local
26634         __sim_disabled_exceptions_thread and global
26635         __sim_disabled_exceptions_global.
26636         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26637         and global __sim_round_mode_global.
26638         (__simulate_exceptions): Use thread-local floating-point state and
26639         set global state from it as needed.
26640         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26641         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26642         __sim_round_mode_thread.
26643         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26644         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26645         and global __sim_exceptions_global.
26646         (__sim_disabled_exceptions): Change to thread-local
26647         __sim_disabled_exceptions_thread and global
26648         __sim_disabled_exceptions_global.
26649         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26650         and global __sim_round_mode_global.
26651         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26652         (SIM_SET_GLOBAL): Likewise.
26653         * sysdeps/powerpc/soft-fp/sfp-machine.h
26654         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26655         __sim_round_mode_thread.
26656         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26657         __sim_disabled_exceptions_thread.
26658         (__sim_exceptions): Change to __sim_exceptions_thread.
26659         (__sim_disabled_exceptions): Change to
26660         __sim_disabled_exceptions_thread.
26661         (__sim_round_mode): Change to __sim_round_mode_thread.
26662         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26663         thread-local floating-point state and set global state from it as
26664         needed.
26665         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26666         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26667         (__sim_disabled_exceptions): Remove extern declaration.
26668         (feenableexcept): Use thread-local floating-point state and set
26669         global state from it as needed.
26670         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26671         extern declaration.
26672         (__sim_disabled_exceptions): Likewise.
26673         (__sim_round_mode): Likewise.
26674         (__fegetenv): Use thread-local floating-point state.
26675         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26676         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26677         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26678         floating-point state and set global state from it as needed.
26679         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26680         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26681         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26682         Likewise.
26683         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26684         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26685         Likewise.
26686         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26687         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26688         Use __sim_round_mode_thread.
26689         * math/test-fenv-tls.c: New file.
26690         * math/Makefile (tests): Add test-fenv-tls.
26691         ($(objpfx)test-fenv-tls): Depend on
26692         $(common-objpfx)nptl/libpthread.so.
26694 2013-11-19  Andreas Schwab  <schwab@suse.de>
26696         * locale/programs/locale.c (show_info): Decode wordarray elements.
26697         * locale/categories.def (LC_MONETARY): Add element for
26698         _NL_MONETARY_CRNCYSTR.
26699         * locale/C-monetary.c (conversion_rate): New variable.
26700         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26701         element.
26703 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26705         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26706         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26708 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26710         * elf/Makefile (tst-auxv): New test.
26711         * elf/tst-auxv.c: New
26712         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26714 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26716         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26717         (hidden_proto): Caller changed.
26718         (hidden_tls_proto): New macro.
26719         (libc_hidden_tls_proto): Likewise.
26720         (rtld_hidden_tls_proto): Likewise.
26721         (libm_hidden_tls_proto): Likewise.
26722         (libresolv_hidden_tls_proto): Likewise.
26723         (librt_hidden_tls_proto): Likewise.
26724         (libdl_hidden_tls_proto): Likewise.
26725         (libnss_files_hidden_tls_proto): Likewise.
26726         (libnsl_hidden_tls_proto): Likewise.
26727         (libnss_nisplus_hidden_tls_proto): Likewise.
26728         (libutil_hidden_tls_proto): Likewise.
26730 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26732         [BZ #10253]
26733         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26734         (decompose_rpath): Defer expansion to fillin_rpath.
26735         (_dl_init_paths): Pass linkmap to fillin_rpath.
26737 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26739         * benchtests/Makefile: Add strsep.
26740         * benchtests/bench-strsep.c: New file: strsep benchtest.
26741         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26743 2013-11-18  Andreas Schwab  <schwab@suse.de>
26745         * locale/programs/locale.c (show_info) [case byte]: Check for
26746         '\377' instead of '\177'.
26747         * locale/C-monetary.c (not_available): Always use "\377".
26748         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26749         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26750         detect unavailable sign_posn locale elements.
26751         * locale/localeconv.c (__localeconv): For grouping and
26752         mon_grouping handle "\177" and "\377" like no grouping.
26753         (INT_ELEM): New macro.  Use it to set all numeric members.
26754         * locale/programs/ld-monetary.c (monetary_read)
26755         <tok_mon_grouping>: Normalize single -1 to the empty string.
26756         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26757         Likewise.
26759 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26761         [BZ #16055]
26762         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26763         when we match (nil).
26764         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26766 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26768         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26769         (NO_TEST_INLINE): Update value.
26770         (ERRNO_UNCHANGED): Likewise.
26771         (ERRNO_EDOM): Likewise.
26772         (ERRNO_ERANGE): Likewise.
26773         (IGNORE_RESULT): Likewise.
26774         (check_float_internal): Check signs of NaN results if
26775         TEST_NAN_SIGN used.
26776         (check_complex): Pass TEST_NAN_SIGN flag through to second
26777         check_float_internal call.
26778         (copysign_test_data): Add tests with quiet NaNs as second
26779         argument.  Use TEST_NAN_SIGN.
26780         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26781         TEST_NAN_SIGN.
26782         (signbit_test_data): Add tests of quiet NaN argument.
26783         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26785         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26786         $ignore_result.
26787         (parse_args): Handle function results specified as IGNORE.
26788         * math/libm-test.inc (IGNORE_RESULT): New macro.
26789         (check_float_internal): Do not check numerical result if flag
26790         IGNORE_RESULT set.
26791         (check_complex): Pass through IGNORE_RESULT to second
26792         check_float_internal call.
26793         (check_int): Do not check numerical result if flag IGNORE_RESULT
26794         set.
26795         (check_long): Likewise.
26796         (check_bool): Likewise.
26797         (check_longlong): Likewise.
26798         (lrint_test_data): Add tests of infinite and NaN arguments.
26799         (lrint_tonearest_test_data): Likewise.
26800         (lrint_towardzero_test_data): Likewise.
26801         (lrint_downward_test_data): Likewise.
26802         (lrint_upward_test_data): Likewise.
26803         (llrint_test_data): Likewise.
26804         (llrint_tonearest_test_data): Likewise.
26805         (llrint_towardzero_test_data): Likewise.
26806         (llrint_downward_test_data): Likewise.
26807         (llrint_upward_test_data): Likewise.
26808         (lround_test_data): Likewise.
26809         (llround_test_data): Likewise.
26811         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26812         (ERRNO_UNCHANGED): Update value.
26813         (ERRNO_EDOM): Likewise.
26814         (ERRNO_ERANGE): Likewise.
26815         (NO_TEST_INLINE_FLOAT): New macro.
26816         (NO_TEST_INLINE_DOUBLE): Likewise.
26817         (enable_test): New function.
26818         (RUN_TEST_f_f): Check enable_test before running test.
26819         (RUN_TEST_2_f): Likewise.
26820         (RUN_TEST_fff_f): Likewise.
26821         (RUN_TEST_c_f): Likewise.
26822         (RUN_TEST_f_f1): Likewise.
26823         (RUN_TEST_fF_f1): Likewise.
26824         (RUN_TEST_fI_f1): Likewise.
26825         (RUN_TEST_ffI_f1): Likewise.
26826         (RUN_TEST_c_c): Likewise.
26827         (RUN_TEST_cc_c): Likewise.
26828         (RUN_TEST_f_i): Likewise.
26829         (RUN_TEST_f_i_tg): Likewise.
26830         (RUN_TEST_ff_i_tg): Likewise.
26831         (RUN_TEST_f_b): Likewise.
26832         (RUN_TEST_f_b_tg): Likewise.
26833         (RUN_TEST_f_l): Likewise.
26834         (RUN_TEST_f_L): Likewise.
26835         (RUN_TEST_fFF_11): Likewise.
26836         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26837         conditionals.
26838         (cosh_test_data): Likewise.
26839         (exp_test_data): Likewise.
26840         (expm1_test_data): Likewise.
26841         (hypot_test_data): Likewise.
26842         (pow_test_data): Likewise.
26843         (sinh_test_data): Likewise.
26844         (tanh_test_data): Likewise.
26845         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26846         flags argument.
26848         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26849         tests with quiet NaN input and output.
26850         (acosh_test_data): Likewise.
26851         (asin_test_data): Likewise.
26852         (asinh_test_data): Likewise.
26853         (atan_test_data): Likewise.
26854         (atanh_test_data): Likewise.
26855         (atan2_test_data): Likewise.
26856         (cbrt_test_data): Likewise.
26857         (cos_test_data): Likewise.
26858         (cosh_test_data): Likewise.
26859         (erf_test_data): Likewise.
26860         (erfc_test_data): Likewise.
26861         (exp_test_data): Likewise.
26862         (exp10_test_data): Likewise.
26863         (exp2_test_data): Likewise.
26864         (expm1_test_data): Likewise.
26865         (hypot_test_data): Likewise.
26866         (j0_test_data): Likewise.
26867         (j1_test_data): Likewise.
26868         (jn_test_data): Likewise.
26869         (lgamma_test_data): Likewise.
26870         (log_test_data): Likewise.
26871         (log10_test_data): Likewise.
26872         (log1p_test_data): Likewise.
26873         (log2_test_data): Likewise.
26874         (pow_test_data): Likewise.
26875         (scalb_test_data): Likewise.
26876         (sin_test_data): Likewise.
26877         (sincos_test_data): Likewise.
26878         (sinh_test_data): Likewise.
26879         (tan_test_data): Likewise.
26880         (tanh_test_data): Likewise.
26881         (tgamma_test_data): Likewise.
26882         (y0_test_data): Likewise.
26883         (y1_test_data): Likewise.
26884         (yn_test_data): Likewise.
26886         [BZ #16167]
26887         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26888         argument being NaN and avoid computations with second argument in
26889         that case.
26890         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26891         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26892         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26894 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26896         * locale/iso-639.def: Add Chitwani Tharu (the).
26898 2013-11-14  Andreas Schwab  <schwab@suse.de>
26900         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26901         word instead of empty string.
26903 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26906         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26908         (__fe_nomask_env): Likewise.
26910 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26912         * benchtests/bench-timing.h: Include time.h.
26914 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26916         [BZ #15997]
26917         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26918         to 3.4.0 for x32.
26919         * sysdeps/unix/sysv/linux/configure: Regenerated.
26921 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26923         [BZ #16151]
26924         * stdlib/strtod_l.c (round_and_return): Do not consider
26925         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26926         exponent one less than half the least subnormal exponent.
26927         * stdlib/test-strtod-round-data: Add more tests.
26928         * stdlib/tst-strtod-round.c (tests): Regenerated.
26930 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26932         [BZ #14143]
26933         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26934         (__fe_mask_env): Likewise.
26935         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26936         libm_hidden_proto and add function prototype.
26937         (__fe_mask_env): Add function prototype.
26938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26939         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26941         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26943         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26945 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26947         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26948         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26950 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26952         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26953         of htab_find_slot().
26955 2013-11-11  David S. Miller  <davem@davemloft.net>
26957         [BZ #16150]
26958         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26959         symbol in the non-vis3 case in static builds.
26960         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26961         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26962         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26963         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26965 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26967         [BZ #387]
26968         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26969         it is empty.
26971 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26973         * benchtests/Makefile: Add bench-strtod.
26974         * benchtests/bench-strtod.c: New file: strtod benchtest
26976 2013-11-11  Andreas Schwab  <schwab@suse.de>
26978         [BZ #16153]
26979         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26980         terminating NUL in key length.
26982 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26984         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26985         Add artificial ODP entry for vDSO symbol for PPC64.
26986         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26987         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26989 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26991         [BZ #15374]
26992         * nss/getent.c (services_keys): Recognize services starting with digit.
26994 2013-11-06  David S. Miller  <davem@davemloft.net>
26996         [BZ #15985]
26997         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26998         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27000 2013-11-06  Will Newton  <will.newton@linaro.org>
27002         * manual/memory.texi (Malloc Examples): Remove register
27003         keyword from examples.
27005 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27007         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27009 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27011         [BZ #6981]
27012         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27013         depending on [__GCC_IEC_559 > 0].
27014         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27015         depending on [__GCC_IEC_559_COMPLEX > 0].
27017 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27019         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27020         to iso-639.def.
27022 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27024         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27026 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27028         [BZ #16112]
27029         * malloc/malloc (malloc_info): Do not handle first bin as
27030         special case.
27032 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27034         * locale/iso-639.def: Add Central Nahuatl (nhn).
27036 2013-11-01  Bruno Haible  <bruno@clisp.org>
27038         [BZ #7003]
27039         * manual/math.texi (BSD Random): Specify range upper bound as
27040         in POSIX.
27042 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27044         * locale/iso-639.def: Add Meadow Mari (mhr).
27046 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27048         [BZ #14752], [BZ #15763]
27049         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27050         Validate name.
27051         * rt/tst_shm.c: Add test for escaping directory.
27053 2013-10-31  Andreas Schwab  <schwab@suse.de>
27055         [BZ #15917]
27056         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27057         followed by 'x' as part of digit sequence.
27058         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27060 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27062         [BZ #16037]
27063         * configure.ac: allow GNU Make 4.0 and greater.
27064         * configure: Regenerated.
27066 2013-10-30  Will Newton  <will.newton@linaro.org>
27068         [BZ #16038]
27069         * malloc/hooks.c (memalign_check): Limit alignment to the
27070         maximum representable power of two.
27071         * malloc/malloc.c (__libc_memalign): Likewise.
27072         * malloc/tst-memalign.c (do_test): Add test for very
27073         large alignment values.
27074         * malloc/tst-posix_memalign.c (do_test): Likewise.
27076 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27078         [BZ #11087]
27079         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27080         (munmap_chunk): Likewise.
27081         (mremap_chunk): Likewise.
27083 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27085         [BZ #15799]
27086         * stdlib/div.c (div): Remove obsolete code.
27087         * stdlib/ldiv.c (ldiv): Likewise.
27088         * stdlib/lldiv.c (lldiv): Likewise.
27090 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27092         [BZ #16071]
27093         * nss/nss_files/files-XXX.c (get_contents_ret): New
27094         enumerator.
27095         (get_contents): New function.
27096         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27098 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27100         * configure.in: Moved to ...
27101         * configure.ac: ... here. Change reference to configure.in
27102         to configure.ac.
27103         * sysdeps/arm/preconfigure.ac: ... here.
27104         configure.in to configure.ac.
27105         * sysdeps/gnu/configure.in: Moved to ...
27106         * sysdeps/gnu/configure.ac: ... here.
27107         * sysdeps/i386/configure.in: Moved to ...
27108         * sysdeps/i386/configure.ac: ... here.
27109         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27110         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27111         * sysdeps/mach/configure.in: Moved to ...
27112         * sysdeps/mach/configure.ac: ... here.
27113         * sysdeps/mach/hurd/configure.in: Moved to ...
27114         * sysdeps/mach/hurd/configure.ac: ... here.
27115         * sysdeps/powerpc/configure.in: Moved to ...
27116         * sysdeps/powerpc/configure.ac: ... here.
27117         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27118         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27119         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27120         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27121         * sysdeps/s390/s390-32/configure.in: Moved to ...
27122         * sysdeps/s390/s390-32/configure.ac: ... here.
27123         * sysdeps/s390/s390-64/configure.in: Moved to ...
27124         * sysdeps/s390/s390-64/configure.ac: ... here.
27125         * sysdeps/sh/configure.in: Moved to ...
27126         * sysdeps/sh/configure.ac: ... here.
27127         * sysdeps/sparc/configure.in: Moved to ...
27128         * sysdeps/sparc/configure.ac: ... here.
27129         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27130         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27131         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27132         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27133         * sysdeps/x86_64/configure.in: Moved to ...
27134         * sysdeps/x86_64/configure.ac: ... here.
27135         * sysdeps/x86_64/preconfigure.in: Moved to ...
27136         * sysdeps/x86_64/preconfigure.ac: ... here.
27137         * aclocal.m4: Change reference to configure.in to configure.ac.
27138         * config.h.in: Likewise.
27139         * manual/install.texi: Likewise.
27140         * manual/maint.texi: Likewise.
27141         * Makefile: Likewise.
27142         * malloc/Makefile: Likewise.
27143         * nscd/Makefile: Likewise.
27144         * Makeconfig: Change reference to configure.in and
27145         preconfigure.in to configure.ac and preconfigure.ac
27146         respectively.
27147         * INSTALL: Regenerated.
27148         * configure: Likewise.
27149         * sysdeps/gnu/configure: Likewise.
27150         * sysdeps/i386/configure: Likewise.
27151         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27152         * sysdeps/mach/configure: Likewise.
27153         * sysdeps/mach/hurd/configure: Likewise.
27154         * sysdeps/powerpc/configure: Likewise.
27155         * sysdeps/powerpc/powerpc32/configure: Likewise.
27156         * sysdeps/powerpc/powerpc64/configure: Likewise.
27157         * sysdeps/s390/s390-32/configure: Likewise.
27158         * sysdeps/s390/s390-64/configure: Likewise.
27159         * sysdeps/sh/configure: Likewise.
27160         * sysdeps/sparc/configure: Likewise.
27161         * sysdeps/unix/sysv/linux/configure: Likewise.
27162         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27163         * sysdeps/x86_64/configure: Likewise.
27164         * sysdeps/x86_64/preconfigure: Likewise.
27166 2013-10-29  Andreas Schwab  <schwab@suse.de>
27168         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27170 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27172         * benchtests/pow-inputs: Add new inputs.
27174         * benchtests/exp-inputs: Add new inputs.
27176         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27177         conditional check for return value.
27178         (__cos32): Likewise.
27180 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27182         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27183         to provide a boost for large inputs with word alignment.
27184         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27185         implementation based on optimized PPC64 strcpy.
27186         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27187         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27188         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27189         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27191 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27193         [BZ #2801]
27194         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27196 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27198         [BZ #14876]
27199         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27200         * time/tst-strptime.c (day_tests): Add testcase.
27202 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27204         [BZ #14029]
27205         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27207 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27209         [BZ #16074]
27210         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27211         MAP_FAILED on error.
27213 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27215         [BZ #16072]
27216         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27217         heap for large requests.
27219 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27221         [BZ #9954]
27222         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27223         result if the result has no associated interface.
27224         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27225         interface for all 127.X.Y.Z addresses.
27227 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27229         * locale/iso-639.def: Add Ligurian (lij)
27231 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27233         [BZ #15825]
27234         * sunrpc/rpc_main.c: Document rpcgen -5.
27236 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27238         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27240 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27242         [BZ #10278]
27243         * posix/glob.c: Match only directories when trailing slash is present.
27244         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27245         (main): Add testcase.
27247 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27249         [BZ #15670]
27250         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27252 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27254         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27255         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27256         AUTH_DES and cindex for FIPS 140-2.
27257         (DES Encryption): Add cindex FIPS 46-3.
27259         * locale/locarchive.h (struct locarhandle): Add fname.
27260         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27261         if an optional argument was specified to --list-archive,
27262         otherwise NULL.
27263         * locale/programs/locarchive.c (show_archive_content): Take new
27264         argument fname and pass it via ah.fname to open_archive.
27265         * locale/programs/localedef.h: Update decl.
27266         (open_archive): If AH->fname is non-null, open that file
27267         rather than the default file name, and don't ignore ENOENT.
27268         (create_archive): Set AH.fname to NULL.
27269         (delete_locales_from_archive): Likewise.
27270         (add_locales_to_archive): Likewise.
27271         * locale/programs/locfile.c (write_all_categories): Likewise.
27273 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27274             Aldy Hernandez  <aldyh@redhat.com>
27276         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27277         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27278         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27279         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27280         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27281         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27282         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27283         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27284         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27285         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27286         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27287         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27288         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27289         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27290         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27291         Likewise.
27292         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27293         Likewise.
27294         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27295         Likewise.
27296         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27297         Likewise.
27298         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27299         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27300         Likewise.
27301         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27302         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27303         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27304         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27305         Likewise.
27306         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27307         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27308         * sysdeps/powerpc/preconfigure: Likewise.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27310         Likewise.
27311         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27312         Replace contents of file by #include of <fenv_libc.h>.
27313         * sysdeps/powerpc/soft-fp/sfp-machine.h
27314         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27315         and <sys/prctl.h>.
27316         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27317         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27318         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27319         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27320         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27321         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27323         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27324         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27325         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27326         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27327         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27329         Allow copysignl PLT reference to be missing.
27331 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27332             Joseph Myers  <joseph@codesourcery.com
27334         [BZ #15948]
27335         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27336         single character.
27337         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27339 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27341         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27342         * elf/tst-tls1.c: Likewise.
27343         * elf/tst-tls10.h: Likewise.
27344         * elf/tst-tls14.c: Likewise.
27345         * elf/tst-tls2.c: Likewise.
27346         * elf/tst-tls3.c: Likewise.
27347         * elf/tst-tls4.c: Likewise.
27348         * elf/tst-tls5.c: Likewise.
27349         * elf/tst-tls6.c: Likewise.
27350         * elf/tst-tls7.c: Likewise.
27351         * elf/tst-tls8.c: Likewise.
27352         * elf/tst-tls9.c: Likewise.
27353         * elf/tst-tlsmod1.c: Likewise.
27354         * elf/tst-tlsmod13.c: Likewise.
27355         * elf/tst-tlsmod13a.c: Likewise.
27356         * elf/tst-tlsmod14a.c: Likewise.
27357         * elf/tst-tlsmod16a.c: Likewise.
27358         * elf/tst-tlsmod16b.c: Likewise.
27359         * elf/tst-tlsmod2.c: Likewise.
27360         * elf/tst-tlsmod3.c: Likewise.
27361         * elf/tst-tlsmod4.c: Likewise.
27362         * elf/tst-tlsmod5.c: Likewise.
27363         * elf/tst-tlsmod6.c: Likewise.
27365 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27367         [BZ #12486]
27368         * malloc/malloc.c: remove checks for statistics.
27370 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27372         [BZ #15277]
27373         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27374         * inet/tst-network.c: Add testcase.
27376 2013-10-17  Andreas Schwab  <schwab@suse.de>
27378         [BZ #15218]
27379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27380         to determine canonical name.
27382 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27384         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27385         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27387         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27389         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27390         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27391         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27392         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27393         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27394         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27395         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27396         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27397         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27398         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27399         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27400         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27401         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27402         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27403         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27407         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27408         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27409         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27410         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27411         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27412         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27413         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27414         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27415         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27416         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27417         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27418         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27419         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27420         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27421         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27422         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27423         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27424         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27425         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27426         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27427         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27428         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27429         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27430         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27431         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27432         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27433         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27434         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27435         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27436         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27437         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27438         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27439         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27440         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27441         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27443 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27445         [BZ #16041]
27446         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27447         make result into a quiet NaN.
27449 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27451         * soft-fp/adddf3.c: Fix horizontal whitespace.
27452         * soft-fp/addsf3.c: Likewise.
27453         * soft-fp/addtf3.c: Likewise.
27454         * soft-fp/divdf3.c: Likewise.
27455         * soft-fp/divsf3.c: Likewise.
27456         * soft-fp/divtf3.c: Likewise.
27457         * soft-fp/double.h: Likewise.
27458         * soft-fp/eqdf2.c: Likewise.
27459         * soft-fp/eqsf2.c: Likewise.
27460         * soft-fp/eqtf2.c: Likewise.
27461         * soft-fp/extenddftf2.c: Likewise.
27462         * soft-fp/extended.h: Likewise.
27463         * soft-fp/extendsfdf2.c: Likewise.
27464         * soft-fp/extendsftf2.c: Likewise.
27465         * soft-fp/extendxftf2.c: Likewise.
27466         * soft-fp/fixdfdi.c: Likewise.
27467         * soft-fp/fixdfsi.c: Likewise.
27468         * soft-fp/fixdfti.c: Likewise.
27469         * soft-fp/fixsfdi.c: Likewise.
27470         * soft-fp/fixsfsi.c: Likewise.
27471         * soft-fp/fixsfti.c: Likewise.
27472         * soft-fp/fixtfdi.c: Likewise.
27473         * soft-fp/fixtfsi.c: Likewise.
27474         * soft-fp/fixtfti.c: Likewise.
27475         * soft-fp/fixunsdfdi.c: Likewise.
27476         * soft-fp/fixunsdfsi.c: Likewise.
27477         * soft-fp/fixunsdfti.c: Likewise.
27478         * soft-fp/fixunssfdi.c: Likewise.
27479         * soft-fp/fixunssfsi.c: Likewise.
27480         * soft-fp/fixunssfti.c: Likewise.
27481         * soft-fp/fixunstfdi.c: Likewise.
27482         * soft-fp/fixunstfsi.c: Likewise.
27483         * soft-fp/fixunstfti.c: Likewise.
27484         * soft-fp/floatdidf.c: Likewise.
27485         * soft-fp/floatdisf.c: Likewise.
27486         * soft-fp/floatditf.c: Likewise.
27487         * soft-fp/floatsidf.c: Likewise.
27488         * soft-fp/floatsisf.c: Likewise.
27489         * soft-fp/floatsitf.c: Likewise.
27490         * soft-fp/floattidf.c: Likewise.
27491         * soft-fp/floattisf.c: Likewise.
27492         * soft-fp/floattitf.c: Likewise.
27493         * soft-fp/floatundidf.c: Likewise.
27494         * soft-fp/floatundisf.c: Likewise.
27495         * soft-fp/floatunditf.c: Likewise.
27496         * soft-fp/floatunsidf.c: Likewise.
27497         * soft-fp/floatunsisf.c: Likewise.
27498         * soft-fp/floatunsitf.c: Likewise.
27499         * soft-fp/floatuntidf.c: Likewise.
27500         * soft-fp/floatuntisf.c: Likewise.
27501         * soft-fp/floatuntitf.c: Likewise.
27502         * soft-fp/fmadf4.c: Likewise.
27503         * soft-fp/fmasf4.c: Likewise.
27504         * soft-fp/fmatf4.c: Likewise.
27505         * soft-fp/gedf2.c: Likewise.
27506         * soft-fp/gesf2.c: Likewise.
27507         * soft-fp/getf2.c: Likewise.
27508         * soft-fp/ledf2.c: Likewise.
27509         * soft-fp/lesf2.c: Likewise.
27510         * soft-fp/letf2.c: Likewise.
27511         * soft-fp/muldf3.c: Likewise.
27512         * soft-fp/mulsf3.c: Likewise.
27513         * soft-fp/multf3.c: Likewise.
27514         * soft-fp/negdf2.c: Likewise.
27515         * soft-fp/negsf2.c: Likewise.
27516         * soft-fp/negtf2.c: Likewise.
27517         * soft-fp/op-1.h: Likewise.
27518         * soft-fp/op-2.h: Likewise.
27519         * soft-fp/op-4.h: Likewise.
27520         * soft-fp/op-8.h: Likewise.
27521         * soft-fp/op-common.h: Likewise.
27522         * soft-fp/quad.h: Likewise.
27523         * soft-fp/single.h: Likewise.
27524         * soft-fp/soft-fp.h: Likewise.
27525         * soft-fp/sqrtdf2.c: Likewise.
27526         * soft-fp/sqrtsf2.c: Likewise.
27527         * soft-fp/sqrttf2.c: Likewise.
27528         * soft-fp/subdf3.c: Likewise.
27529         * soft-fp/subsf3.c: Likewise.
27530         * soft-fp/subtf3.c: Likewise.
27531         * soft-fp/truncdfsf2.c: Likewise.
27532         * soft-fp/trunctfdf2.c: Likewise.
27533         * soft-fp/trunctfsf2.c: Likewise.
27534         * soft-fp/trunctfxf2.c: Likewise.
27535         * soft-fp/unorddf2.c: Likewise.
27536         * soft-fp/unordsf2.c: Likewise.
27537         * soft-fp/unordtf2.c: Likewise.
27539 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27541         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27542         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27544 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27546         * elf/dl-libc.c: Clear initfini list after freeing.
27548 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27550         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27551         * soft-fp/addsf3.c: Likewise.
27552         * soft-fp/addtf3.c: Likewise.
27553         * soft-fp/divdf3.c: Likewise.
27554         * soft-fp/divsf3.c: Likewise.
27555         * soft-fp/divtf3.c: Likewise.
27556         * soft-fp/double.h: Likewise.
27557         * soft-fp/eqdf2.c: Likewise.
27558         * soft-fp/eqsf2.c: Likewise.
27559         * soft-fp/eqtf2.c: Likewise.
27560         * soft-fp/extenddftf2.c: Likewise.
27561         * soft-fp/extended.h: Likewise.
27562         * soft-fp/extendsfdf2.c: Likewise.
27563         * soft-fp/extendsftf2.c: Likewise.
27564         * soft-fp/extendxftf2.c: Likewise.
27565         * soft-fp/fixdfdi.c: Likewise.
27566         * soft-fp/fixdfsi.c: Likewise.
27567         * soft-fp/fixdfti.c: Likewise.
27568         * soft-fp/fixsfdi.c: Likewise.
27569         * soft-fp/fixsfsi.c: Likewise.
27570         * soft-fp/fixsfti.c: Likewise.
27571         * soft-fp/fixtfdi.c: Likewise.
27572         * soft-fp/fixtfsi.c: Likewise.
27573         * soft-fp/fixtfti.c: Likewise.
27574         * soft-fp/fixunsdfdi.c: Likewise.
27575         * soft-fp/fixunsdfsi.c: Likewise.
27576         * soft-fp/fixunsdfti.c: Likewise.
27577         * soft-fp/fixunssfdi.c: Likewise.
27578         * soft-fp/fixunssfsi.c: Likewise.
27579         * soft-fp/fixunssfti.c: Likewise.
27580         * soft-fp/fixunstfdi.c: Likewise.
27581         * soft-fp/fixunstfsi.c: Likewise.
27582         * soft-fp/fixunstfti.c: Likewise.
27583         * soft-fp/floatdidf.c: Likewise.
27584         * soft-fp/floatdisf.c: Likewise.
27585         * soft-fp/floatditf.c: Likewise.
27586         * soft-fp/floatsidf.c: Likewise.
27587         * soft-fp/floatsisf.c: Likewise.
27588         * soft-fp/floatsitf.c: Likewise.
27589         * soft-fp/floattidf.c: Likewise.
27590         * soft-fp/floattisf.c: Likewise.
27591         * soft-fp/floattitf.c: Likewise.
27592         * soft-fp/floatundidf.c: Likewise.
27593         * soft-fp/floatundisf.c: Likewise.
27594         * soft-fp/floatunsidf.c: Likewise.
27595         * soft-fp/floatunsisf.c: Likewise.
27596         * soft-fp/floatuntidf.c: Likewise.
27597         * soft-fp/floatuntisf.c: Likewise.
27598         * soft-fp/floatuntitf.c: Likewise.
27599         * soft-fp/fmadf4.c: Likewise.
27600         * soft-fp/fmasf4.c: Likewise.
27601         * soft-fp/fmatf4.c: Likewise.
27602         * soft-fp/gedf2.c: Likewise.
27603         * soft-fp/gesf2.c: Likewise.
27604         * soft-fp/getf2.c: Likewise.
27605         * soft-fp/ledf2.c: Likewise.
27606         * soft-fp/lesf2.c: Likewise.
27607         * soft-fp/letf2.c: Likewise.
27608         * soft-fp/muldf3.c: Likewise.
27609         * soft-fp/mulsf3.c: Likewise.
27610         * soft-fp/multf3.c: Likewise.
27611         * soft-fp/negdf2.c: Likewise.
27612         * soft-fp/negsf2.c: Likewise.
27613         * soft-fp/negtf2.c: Likewise.
27614         * soft-fp/op-1.h: Likewise.
27615         * soft-fp/op-2.h: Likewise.
27616         * soft-fp/op-4.h: Likewise.
27617         * soft-fp/op-8.h: Likewise.
27618         * soft-fp/op-common.h: Likewise.
27619         * soft-fp/quad.h: Likewise.
27620         * soft-fp/single.h: Likewise.
27621         * soft-fp/soft-fp.h: Likewise.
27622         * soft-fp/sqrtdf2.c: Likewise.
27623         * soft-fp/sqrtsf2.c: Likewise.
27624         * soft-fp/sqrttf2.c: Likewise.
27625         * soft-fp/subdf3.c: Likewise.
27626         * soft-fp/subsf3.c: Likewise.
27627         * soft-fp/subtf3.c: Likewise.
27628         * soft-fp/truncdfsf2.c: Likewise.
27629         * soft-fp/trunctfdf2.c: Likewise.
27630         * soft-fp/trunctfsf2.c: Likewise.
27631         * soft-fp/trunctfxf2.c: Likewise.
27632         * soft-fp/unorddf2.c: Likewise.
27633         * soft-fp/unordsf2.c: Likewise.
27634         * soft-fp/unordtf2.c: Likewise.
27636 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27638         [BZ #15672]
27639         * misc/error.c (error_tail): Fix possible buffer overflow.
27641 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27643         [BZ #13028]
27644         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27645         address.
27647 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27649         [BZ #832]
27650         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27651         testing pipefail option.
27653 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27655         * soft-fp/double.h: Indent preprocessor directives inside #if.
27656         * soft-fp/extended.h: Likewise.
27657         * soft-fp/op-2.h: Likewise.
27658         * soft-fp/op-4.h: Likewise.
27659         * soft-fp/op-common.h: Likewise.
27660         * soft-fp/quad.h: Likewise.
27661         * soft-fp/single.h: Likewise.
27662         * soft-fp/soft-fp.h: Likewise.
27664 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27666         * iconv/iconv_prog.c: Fix typos.
27667         * stdio-common/psiginfo-data.h: Likewise.
27669 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27671         [BZ #15764]
27672         * locale/setlocale.c: Fix typo.
27674 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27676         [BZ #16036]
27677         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27678         signaling NaN arguments.
27679         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27680         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27682         [BZ #14910]
27683         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27684         unordered operands.
27685         * soft-fp/gesf2.c (__gesf2): Likewise.
27686         * soft-fp/getf2.c (__getf2): Likewise.
27687         * soft-fp/ledf2.c (__ledf2): Likewise.
27688         * soft-fp/lesf2.c (__lesf2): Likewise.
27689         * soft-fp/letf2.c (__letf2): Likewise.
27691         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27692         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27693         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27694         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27695         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27696         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27697         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27698         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27699         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27700         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27701         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27702         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27703         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27704         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27705         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27706         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27707         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27708         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27709         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27710         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27711         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27712         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27713         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27714         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27715         * soft-fp/floattidf.c (__floattidf): Likewise.
27716         * soft-fp/floattisf.c (__floattisf): Likewise.
27717         * soft-fp/floattitf.c (__floattitf): Likewise.
27718         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27719         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27720         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27721         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27722         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27723         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27724         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27725         * soft-fp/gesf2.c (__gesf2): Likewise.
27726         * soft-fp/getf2.c (__getf2): Likewise.
27727         * soft-fp/ledf2.c (__ledf2): Likewise.
27728         * soft-fp/lesf2.c (__lesf2): Likewise.
27729         * soft-fp/letf2.c (__letf2): Likewise.
27731         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27732         Undefine and redefine.
27733         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27734         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27735         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27736         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27737         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27738         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27739         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27740         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27741         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27742         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27743         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27744         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27745         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27746         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27747         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27749         [BZ #16032]
27750         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27751         without decrementing exponent if mantissa >= that for the
27752         denominator, not >.
27753         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27754         denominator, not >.  Decrement exponent in < case instead of
27755         incrementing in >= case.
27756         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27757         without decrementing exponent if mantissa >= that for the
27758         denominator, not >.
27760         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27761         computing saturated result for unsigned overflow.
27763 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27764             Jeff Law  <law@redhat.com>
27766         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27767         (atan2Mp): Add systemtap probe marker.
27768         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27769         (__ieee754_log): Add systemtap probe marker.
27770         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27771         (atanMp): Add systemtap probe marker.
27772         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27773         (tanMp): Add systemtap probe marker.
27774         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27775         (__slowexp): Add systemtap probe marker.
27776         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27777         (__slowpow): Add systemtap probe marker.
27778         * manual/probes.texi: Document probes.
27780 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27782         [BZ #15362]
27783         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27784         written.
27785         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27786         written.
27787         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27788         written to buffer but not flushed.
27789         * libio/iofwrite_u.c:  Likewise.
27790         * libio/iopadn.c:  Return bytes returned even if EOF was
27791         encountered.
27792         * libio/iowpadn.c:  Likewise.
27793         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27794         if _IO_padn does not write the whole buffer.
27795         [!COMPILE_WPRINTF] (PAD): Likewise.
27797 2013-10-10  David S. Miller  <davem@davemloft.net>
27799         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27800         directory block.
27802 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27804         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27805         instead of FSF address.
27806         * soft-fp/fixdfti.c: Likewise.
27807         * soft-fp/fixsfti.c: Likewise.
27808         * soft-fp/fixtfti.c: Likewise.
27809         * soft-fp/fixunsdfti.c: Likewise.
27810         * soft-fp/fixunssfti.c: Likewise.
27811         * soft-fp/fixunstfti.c: Likewise.
27812         * soft-fp/floattidf.c: Likewise.
27813         * soft-fp/floattisf.c: Likewise.
27814         * soft-fp/floattitf.c: Likewise.
27815         * soft-fp/floatuntidf.c: Likewise.
27816         * soft-fp/floatuntisf.c: Likewise.
27817         * soft-fp/floatuntitf.c: Likewise.
27818         * soft-fp/trunctfxf2.c: Likewise.
27820         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27821         * soft-fp/fixdfti.c: Likewise.
27822         * soft-fp/fixsfti.c: Likewise.
27823         * soft-fp/fixtfti.c: Likewise.
27824         * soft-fp/fixunsdfti.c: Likewise.
27825         * soft-fp/fixunssfti.c: Likewise.
27826         * soft-fp/fixunstfti.c: Likewise.
27827         * soft-fp/floattidf.c: Likewise.
27828         * soft-fp/floattisf.c: Likewise.
27829         * soft-fp/floattitf.c: Likewise.
27830         * soft-fp/floatuntidf.c: Likewise.
27831         * soft-fp/floatuntisf.c: Likewise.
27832         * soft-fp/floatuntitf.c: Likewise.
27833         * soft-fp/trunctfxf2.c: Likewise.
27835 2013-10-10  David S. Miller  <davem@davemloft.net>
27837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27839 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27841         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27842         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27843         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27844         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27845         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27846         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27847         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27849         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27850         for NaNs before doing comparisons on argument.
27851         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27852         Likewise.
27854 2013-10-10  Will Newton  <will.newton@linaro.org>
27856         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27857         passed to _int_memalign does not overflow.
27859 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27861         * scripts/bench.pl: Add include-sources directive.
27862         * benchtests/README: Update documentation.
27864 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27866         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27867         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27868         instead of FP_INIT_ROUNDMODE.
27869         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27870         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27872         [BZ #16034]
27873         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27874         copy class of input value.
27875         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27876         not handle exceptions.
27877         * soft-fp/negsf2.c (__negsf2): Likewise.
27878         * soft-fp/negtf2.c (__negtf2): Likewise.
27879         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27881 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27883         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27884         semicolon.  From Linux kernel.
27886 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27888         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27890 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27892         [BZ #156]
27893         * manual/socket.texi: Added statement about buffer
27894         for gethostbyname2_r.
27896 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27898         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27899         Use .p2align directive instead, throughout.
27900         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27901         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27902         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27903         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27904         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27905         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27906         * sysdeps/x86_64/strchr.S: Likewise.
27907         * sysdeps/x86_64/strrchr.S: Likewise.
27909 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27911         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27913         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27915         * sysdeps/generic/math_private.h (__mpsin1): Remove
27916         declaration.
27917         (__mpcos1): Likewise.
27918         (__mpsin): New argument __range_reduce.
27919         (__mpcos): Likewise.
27920         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27921         (slow): Use __mpsin and __mpcos.
27922         (slow1): Likewise.
27923         (slow2): Likewise.
27924         (sloww): Likewise.
27925         (sloww1): Likewise.
27926         (sloww2): Likewise.
27927         (bsloww): Likewise.
27928         (bsloww1): Likewise.
27929         (bsloww2): Likewise.
27930         (cslow2): Likewise.
27931         (csloww): Likewise.
27932         (csloww1): Likewise.
27933         (csloww2): Likewise.
27934         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27935         range_reduce.  Merge in __mpsin1.
27936         (__mpcos): Likewise.
27937         (__mpsin1): Remove.
27938         (__mpcos1): Likewise.
27940 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27942         * locale/loadlocale.c (_nl_intern_locale_data): Use
27943         LOCFILE_ALIGNED_P.
27944         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27945         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27946         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27947         obstack data is appropriately aligned.
27948         (obstack_int32_grow_fast): Likewise.
27949         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27950         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27951         (add_locale_uint32_array): Likewise.
27953 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27955         * benchtests/Makefile: Remove ARGLIST and RET variables.
27956         ($(objpfx)bench-%.c): Pass only function name to the script.
27957         * benchtests/README: Update documentation.
27958         * benchtests/acos-inputs: Add new directives.
27959         * benchtests/acosh-inputs: Likewise.
27960         * benchtests/asin-inputs: Likewise.
27961         * benchtests/asinh-inputs: Likewise.
27962         * benchtests/atan-inputs: Likewise.
27963         * benchtests/atanh-inputs: Likewise.
27964         * benchtests/cos-inputs: Likewise.
27965         * benchtests/cosh-inputs: Likewise.
27966         * benchtests/exp-inputs: Likewise.
27967         * benchtests/log-inputs: Likewise.
27968         * benchtests/pow-inputs: Likewise.
27969         * benchtests/rint-inputs: Likewise.
27970         * benchtests/sin-inputs: Likewise.
27971         * benchtests/sinh-inputs: Likewise.
27972         * benchtests/tan-inputs: Likewise.
27973         * benchtests/tanh-inputs: Likewise.
27974         * scripts/bench.pl: Add support for new directives.
27976 2013-10-07  Alan Modra  <amodra@gmail.com>
27978         * README: Fix careless merge.
27980 2013-10-05  Alan Modra  <amodra@gmail.com>
27982         * NEWS: Mention powerpc64le support and bugs fixed.
27983         * README: Both big-endian and little-endian powerpc64 supported.
27985 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27987         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27988         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27989         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27990         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27992 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27994         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27995         match prototype.
27997 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27999         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28000         Move -mhard-float appending from
28001         ports/sysdeps/powerpc/powerpc32/Makefile.
28002         [$(with-fp) = yes] (ASFLAGS): Likewise.
28003         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28004         * sysdeps/powerpc/nofpu: Move directory from
28005         ports/sysdeps/powerpc/nofpu.
28006         * sysdeps/powerpc/soft-fp: Move directory from
28007         ports/sysdeps/powerpc/soft-fp.
28008         * sysdeps/powerpc/powerpc32/405: Move directory from
28009         ports/sysdeps/powerpc/powerpc32/405.
28010         * sysdeps/powerpc/powerpc32/440: Move directory from
28011         ports/sysdeps/powerpc/powerpc32/440.
28012         * sysdeps/powerpc/powerpc32/464: Move directory from
28013         ports/sysdeps/powerpc/powerpc32/464.
28014         * sysdeps/powerpc/powerpc32/476: Move directory from
28015         ports/sysdeps/powerpc/powerpc32/476.
28016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28017         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28019         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28021         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28023         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28025         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28026         * README: Update for powerpc-*-linux-gnu software floating point
28027         support in libc.
28029         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28030         case to powerpc/powerpc32*.
28031         * sysdeps/unix/sysv/linux/configure: Regenerated.
28033         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28034         (_FPU_MASK_OM): Define as 0x04.
28035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28037         0x00c10080.
28038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28039         0x0000003c.
28040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28043         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28044         getcontext_e500.
28045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28046         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28047         setcontext_e500.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28049         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28050         and setcontext_e500.
28052 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28054         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28056 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28058         * manual/threads.texi (Default Thread Attributes): Fix typo.
28060 2013-10-04  Will Newton  <will.newton@linaro.org>
28062         * malloc/Makefile: Add tst-memalign.
28063         * malloc/tst-memalign.c: New file.
28065         * malloc/tst-posix_memalign.c: Add comments.
28066         (do_test): Add comments and call free on all potentially
28067         allocated pointers. Add space after cast.
28069         * malloc/tst-pvalloc.c: Add comments.
28070         (do_test): Add comments and call free on all potentially
28071         allocated pointers. Remove duplicate check for NULL pointer.
28072         Add space after cast.
28074         * malloc/tst-valloc.c: Add comments.
28075         (do_test): Add comments and call free on all potentially
28076         allocated pointers. Remove duplicate check for NULL pointer.
28077         Add space after cast.
28079 2013-10-04  Alan Modra  <amodra@gmail.com>
28081         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28082         Use stdint types in rather than __attribute__((mode())).
28083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28085 2013-10-04  Alan Modra  <amodra@gmail.com>
28087         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28088         Correct handling of unaligned relocs for little-endian.
28089         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28091 2013-10-04  Alan Modra  <amodra@gmail.com>
28093         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28094         * configure: Regenerate.
28095         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28096         * shlib-versions: Likewise.
28098 2013-10-04  Alan Modra  <amodra@gmail.com>
28100         * string/tester.c (test_memrchr): Increment reported test cycle.
28102 2013-10-04  Alan Modra  <amodra@gmail.com>
28104         * string/test-memcpy.c (do_one_test): When reporting errors, print
28105         string address and don't overrun end of string.
28107 2013-10-04  Alan Modra  <amodra@gmail.com>
28109         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28110         insrdi.  Make better use of reg selection to speed exit slightly.
28111         Schedule entry path a little better.  Remove useless "are we done"
28112         checks on entry to main loop.  Handle wrapping around zero address.
28113         Correct main loop count.  Handle single left-over word from main
28114         loop inline rather than by using loop_small.  Remove extra word
28115         case in loop_small caused by wrong loop count.  Add little-endian
28116         support.
28117         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28118         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28119         cache hint.
28120         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28121         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28122         support.  Avoid rlwimi.
28123         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28125 2013-10-04  Alan Modra  <amodra@gmail.com>
28127         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28128         insrdi.  Formatting.
28129         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28130         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28131         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28132         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28133         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28134         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28136 2013-10-04  Alan Modra  <amodra@gmail.com>
28138         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28139         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28141         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28142         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28143         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28144         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28145         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28146         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28147         use of regs.  Use power7 mtocrf.  Tidy function tails.
28149 2013-10-04  Alan Modra  <amodra@gmail.com>
28151         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28152         Formatting.  Consistently use rXXX register defines or rN defines.
28153         Use early exit labels that avoid restoring unused non-volatile regs.
28154         Make cr field use more consistent with rWORDn compares.  Rename
28155         regs used as shift registers for unaligned loop, using rN defines
28156         for short lifetime/multiple use regs.
28157         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28158         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28159         addi 1,1,64 to pop stack frame.  Simplify return value code.
28160         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28162 2013-10-04  Alan Modra  <amodra@gmail.com>
28164         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28165         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28166         rather than rlwimi.
28167         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28168         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28169         little-endian support.  Correct typos.
28170         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28171         rather than rlwimi.
28172         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28173         in loop and entry code to keep "and." results.
28174         (strchr): Add little-endian support.  Comment.  Move cntlzd
28175         earlier in tail.
28176         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28178 2013-10-04  Alan Modra  <amodra@gmail.com>
28180         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28181         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28182         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28183         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28185 2013-10-04  Alan Modra  <amodra@gmail.com>
28187         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28188         (rTMP): Define as r11.
28189         (strcmp): Add little-endian support.  Optimise tail.
28190         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28191         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28192         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28193         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28194         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28195         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28196         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28198 2013-10-04  Alan Modra  <amodra@gmail.com>
28200         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28201         little-endian support.  Remove unnecessary "are we done" tests.
28202         Handle "s" wrapping around zero and extremely large "size".
28203         Correct main loop count.  Handle single left-over word from main
28204         loop inline rather than by using small_loop.  Correct comments.
28205         Delete "zero" tail, use "end_max" instead.
28206         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28208 2013-10-04  Alan Modra  <amodra@gmail.com>
28210         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28211         support.  Don't branch over align.
28212         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28213         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28214         support.  Rearrange tmp reg use to suit.  Comment.
28215         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28217 2013-10-04  Alan Modra  <amodra@gmail.com>
28219         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28221 2013-10-04  Alan Modra  <amodra@gmail.com>
28223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28224         conditional form of branch and link when obtaining pc.
28225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28227 2013-10-04  Alan Modra  <amodra@gmail.com>
28229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28230         HIWORD/LOWORD.
28231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28234 2013-10-04  Alan Modra  <amodra@gmail.com>
28236         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28237         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28238         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28239         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28240         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28241         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28242         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28243         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28244         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28245         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28247 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28248             Alistair Popple <alistair@ozlabs.au.ibm.com>
28249             Alan Modra <amodra@gmail.com>
28251         [BZ #15723]
28252         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28253         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28254         _dl_hwcap access for little-endian.
28255         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28256         destroy vmx regs when saving unaligned.
28257         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28258         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28259         destroy vmx regs when saving unaligned.
28261 2013-10-04  Alan Modra  <amodra@gmail.com>
28263         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28264         Don't use a union to pack hi/low value.
28266 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28268         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28269         for little-endian.
28270         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28271         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28272         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28273         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28274         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28276 2013-10-04  Alan Modra  <amodra@gmail.com>
28278         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28279         constants to usual value for .cst8 section, and remove redundant
28280         high address load.
28281         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28282         constant for 0x1p52.  Load little-endian words of double from
28283         correct stack offsets.
28285 2013-10-04  Alan Modra  <amodra@gmail.com>
28287         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28288         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28289         words of double from correct stack offsets.
28290         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28291         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28292         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28293         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28294         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28295         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28296         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28297         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28298         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28299         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28301         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28302         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28303         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28304         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28305         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28306         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28308 2013-10-04  Alan Modra  <amodra@gmail.com>
28310         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28311         64-bit int/double union.
28312         (_FPU_SETCW): Likewise.
28313         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28314         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28316 2013-10-04  Alan Modra  <amodra@gmail.com>
28318         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28319         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28321 2013-10-04  Alan Modra  <amodra@gmail.com>
28323         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28324         use vector int constants.
28325         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28327 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28329         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28330         array with long long.
28331         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28332         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28333         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28334         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28335         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28336         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28337         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28338         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28339         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28340         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28341         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28342         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28343         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28345 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28347         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28348         (__signbit): Likewise.  Correct for little-endian.
28349         (__signbitl): Call __signbit.
28350         (lrint): Correct for little-endian.
28351         (lrintf): Call lrint.
28353 2013-10-04  Alan Modra  <amodra@gmail.com>
28355         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28356         union 32-bit int array member with 64-bit int array.
28357         (t515, tm256): Double rather than long double.
28358         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28360 2013-10-04  Alan Modra  <amodra@gmail.com>
28362         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28363         Delete.
28364         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28366         version of math_ldbl.h.
28368 2013-10-04  Alan Modra  <amodra@gmail.com>
28370         [BZ #15734], [BZ #15735]
28371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28372         all uses of ieee875 long double macros and unions.  Simplify test
28373         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28374         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28375         normalize after ldbl_extract_mantissa, and don't add hidden bit
28376         already handled.  Don't treat low word of ieee854 mantissa like
28377         low word of IBM long double and mask off bit when testing for
28378         zero.
28379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28380         all uses of ieee875 long double macros and unions.  Simplify tests
28381         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28382         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28383         two1022, instead use their values.  Recognise that tests for large
28384         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28385         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28386         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28387         test for 0.0L and nan.  Correct negation.
28388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28389         ieee875 long double macros and unions.  Correct output for large
28390         magnitude x.  Correct absolute value calculation.
28391         (__erfcl): Likewise.
28392         * math/libm-test.inc: Add tests for errors discovered in IBM long
28393         double versions of fmodl, remainderl, erfl and erfcl.
28395 2013-10-04  Alan Modra  <amodra@gmail.com>
28397         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28398         all uses of ieee854 long double macros and unions.  Simplify tests
28399         for long doubles that are fully specified by the high double.
28400         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28401         Likewise.
28402         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28403         Remove dead code too.
28404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28405         (__ieee754_ynl): Likewise.
28406         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28407         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28408         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28409         Remove dead code too.
28410         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28412         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28413         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28414         Simplify.
28415         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28416         Simplify.
28417         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28418         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28420         Comment on variable precision.
28421         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28422         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28423         Likewise.
28424         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28425         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28426         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28427         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28428         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28430 2013-10-04  Alan Modra  <amodra@gmail.com>
28432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28433         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28434         all uses of ieee854 long double macros and unions.
28435         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28437         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28438         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28439         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28440         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28441         Likewise.
28442         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28443         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28444         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28445         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28446         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28447         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28448         Simplify sign and nan test too.
28449         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28450         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28451         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28452         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28453         Likewise.
28454         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28455         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28456         Likewise.
28457         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28458         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28459         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28460         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28461         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28464 2013-10-04  Alan Modra  <amodra@gmail.com>
28466         * stdio-common/printf_size.c (__printf_size): Don't use
28467         union ieee854_long_double in fpnum union.
28468         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28469         signbit macro to retrieve sign from long double.
28470         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28471         retrieve sign from long double.
28472         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28473         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28474         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28475         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28476         * math/test-misc.c (main): Don't use union ieee854_long_double.
28478 2013-10-04  Alan Modra  <amodra@gmail.com>
28480         [BZ #15680]
28481         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28482         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28483         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28484         calculation.  Remove unnecessary test for denormal exponent.
28485         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28486         Correct handling of denormals.  Avoid undefined shift behaviour.
28487         Correct normalisation of low mantissa when low double is denormal.
28488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28489         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28490         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28491         Correct normalisation of low mantissa.  Test for overflow of high
28492         mantissa and normalise.
28493         (ldbl_nearbyint): Use more readable constant for two52.
28494         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28495         (__mpn_construct_long_double): Fix test for overflow of high
28496         mantissa and correct normalisation.  Avoid undefined shift.
28498 2013-10-04  Alan Modra  <amodra@gmail.com>
28500         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28501         (union ibm_extended_long_double): Define as an array of ieee754_double.
28502         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28503         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28504         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28505         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28506         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28507         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28508         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28509         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28510         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28511         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28512         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28514 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28516         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28517         page size instead of calling getpagesize.
28519         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28520         (LOCFILE_ALIGN_MASK): Likewise.
28521         (LOCFILE_ALIGN_UP): Likewise.
28522         (LOCFILE_ALIGNED_P): Likewise.
28523         * locale/programs/ld-collate.c (collate_output): Use the new
28524         macros instead of __alignof__ (int32_t).
28525         * locale/weight.h (findidx): Likewise.
28527 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28529         [BZ #431]
28530         * manual/string.texi: Fix strncat and wcsncat.
28532 2013-10-03  Brooks Moses  <bmoses@google.com>
28534         [BZ #15915]
28535         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28536         * Makerules: ...here, and adjust associated comments.
28538 2013-10-02  Will Newton  <will.newton@linaro.org>
28540         * malloc/Makefile: Add tst-pvalloc.
28541         * malloc/tst-pvalloc.c: New file.
28543 2013-10-02  Will Newton  <will.newton@linaro.org>
28545         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28546         improve test coverage.
28548 2013-10-02  Will Newton  <will.newton@linaro.org>
28550         * malloc/Makefile: Add tst-posix_memalign.
28551         * malloc/tst-posix_memalign.c: New file.
28553 2013-10-01  Eric Blake  <eblake@redhat.com>
28555         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28556         Use __THROWNL rather than __THROW on static functions.
28558 2013-09-30  Petr Machata  <pmachata@redhat.com>
28560         * elf/elf.h (R_AARCH64_ABS16): New macro.
28561         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28562         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28563         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28564         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28565         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28566         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28567         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28568         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28569         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28570         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28571         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28572         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28573         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28574         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28575         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28576         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28577         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28578         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28579         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28580         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28581         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28582         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28583         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28584         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28585         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28586         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28587         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28588         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28589         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28590         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28591         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28592         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28593         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28594         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28595         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28596         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28597         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28598         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28599         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28600         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28601         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28602         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28603         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28604         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28605         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28606         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28607         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28608         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28609         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28610         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28611         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28612         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28613         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28614         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28615         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28616         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28617         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28618         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28619         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28620         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28621         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28622         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28623         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28624         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28625         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28626         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28627         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28628         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28629         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28630         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28631         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28632         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28633         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28634         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28635         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28636         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28637         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28638         (R_AARCH64_TLSDESC_LDR): Likewise.
28639         (R_AARCH64_TLSDESC_ADD): Likewise.
28640         (R_AARCH64_TLSDESC_CALL): Likewise.
28642 2013-09-30  Andreas Schwab  <schwab@suse.de>
28644         [BZ #15048]
28645         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28646         the nss database lookup.
28647         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28650 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28652         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28654 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28656         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28657         ${Bash-specific parameter/pattern/string} parameter expansion.
28658         * sysdeps/unix/make-syscalls.sh: Likewise.
28660 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28662         * sysdeps/sh/stackguard-macros.h: New file.
28664 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28668         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28669         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28670         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28671         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28673 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28675         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28676         Fix thread ID register.
28678 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28680         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28681         [POSIX || UNIX98]: Require rather than permitting all symbols from
28682         <time.h>.
28683         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28684         element of struct sched_param.
28685         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28686         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28687         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28688         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28689         constant.
28691 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28693         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28694         argument calculation.
28696 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28698         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28699         Expect macro.
28700         [POSIX] (pthread_attr_t): Do not require type.
28701         [POSIX] (pthread_cond_t): Likewise.
28702         [POSIX] (pthread_condattr_t): Likewise.
28703         [POSIX] (pthread_key_t): Likewise.
28704         [POSIX] (pthread_mutex_t): Likewise.
28705         [POSIX] (pthread_mutexattr_t): Likewise.
28706         [POSIX] (pthread_once_t): Likewise.
28707         [POSIX] (pthread_t): Likewise.
28708         [POSIX-based standards] (pthread_atfork): Expect function.
28710 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28711             Richard Sandiford  <richard@codesourcery.com>
28713         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28714         (swap_endianness_p): New extern variable.
28715         (set_big_endian): New inline function.
28716         (maybe_swap_uint32): Likewise.
28717         (maybe_swap_uint32_array): Likewise.
28718         (maybe_swap_uint32_obstack): Likewise.
28719         * locale/programs/locfile.c: Include <stdbool.h>.
28720         (swap_endianness_p): New variable.
28721         (add_locale_uint32): Call maybe_swap_uint32.
28722         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28723         (write_locale_data): Call maybe_swap_uint32_array.
28724         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28725         maybe_swap_uint32.
28726         (obstack_int32_grow_fast): Likewise.
28727         (output_weightwc): Call maybe_swap_uint32_obstack.
28728         (collate_output): Likewise.
28729         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28730         (OPT_LITTLE_ENDIAN): Likewise.
28731         (options): Add --little-endian and --big-endian options.
28732         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28733         * locale/programs/locarchive.c: Include "locfile.h".
28734         (GET): New macro.
28735         (SET): Likewise.
28736         (INC): Likewise.
28737         (create_archive): Use the new macros to access fields of
28738         structures directly mapped from or written to locale archives.
28739         (oldlocrecentcmp): Likewise.
28740         (enlarge_archive): Likewise.
28741         (insert_name): Likewise.
28742         (add_alias): Likewise.
28743         (add_locale): Likewise.
28744         (delete_locales_from_archive): Likewise.
28745         (show_archive_content): Likewise.
28746         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28747         locale data.
28749 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28751         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28752         http://www.gnu.org/doc/freemanuals.texi.
28753         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28755 2013-09-24  Will Newton  <will.newton@linaro.org>
28757         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28758         macro.
28760 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28762         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28763         unsigned char.
28765 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28767         * manual/threads.texi (POSIX Threads): Fix a typo.
28769 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28771         [BZ #14547]
28772         * string/tst-strcoll-overflow.c: New test case.
28773         * string/Makefile (xtests): Add tst-strcoll-overflow.
28774         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28775         cache if string sizes may cause integer overflow.
28777         [BZ #14547]
28778         * string/strcoll_l.c (coll_seq): New members rule, idx,
28779         save_idx and back_us.
28780         (get_next_seq_nocache): New function.
28781         (do_compare_nocache): New function.
28782         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28783         when malloc fails.
28785 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28787         [BZ #15754]
28788         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28789         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28790         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28792         [BZ #15754]
28793         * elf/Makefile (tests): Add tst-ptrguard1.
28794         (tests-static): Add tst-ptrguard1-static.
28795         (tst-ptrguard1-ARGS): Define.
28796         (tst-ptrguard1-static-ARGS): Define.
28797         * elf/tst-ptrguard1.c: New file.
28798         * elf/tst-ptrguard1-static.c: New file.
28799         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28800         * sysdeps/i386/stackguard-macros.h: Likewise.
28801         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28802         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28803         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28804         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28805         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28806         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28808 2013-09-23  Hector Marco  <hecmargi@upv.es>
28809             Ismael Ripoll  <iripoll@disca.upv.es>
28810             Carlos O'Donell  <carlos@redhat.com>
28812         [BZ #15754]
28813         * sysdeps/generic/stackguard-macros.h: Define
28814         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28815         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28816         Define __pointer_chk_guard_local.
28817         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28818         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28820 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28822         [BZ #15859]
28823         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28825 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28827         * include/string.h (__ffs): Declare as hidden.
28828         * string/ffs.c (__ffs): Define as hidden.
28829         * sysdeps/i386/ffs.c (__ffs): Likewise.
28830         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28831         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28832         * sysdeps/s390/ffs.c (__ffs): Likewise.
28833         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28835 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28837         * NEWS: Mention malloc probes.
28839         * malloc/arena.c (new_heap): New memory_heap_new probe.
28840         (grow_heap): New memory_heap_more probe.
28841         (shrink_heap): New memory_heap_less probe.
28842         (heap_trim): New memory_heap_free probe.
28843         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28844         (systrim): New memory_sbrk_less probe.
28845         * manual/probes.texi: Document them.
28847         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28848         * manual/probes.texi: Document it.
28850         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28851         (__libc_realloc): Add memory_realloc_retry probe.
28852         (__libc_memalign): Add memory_memalign_retry probe.
28853         (__libc_valloc): Add memory_valloc_retry probe.
28854         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28855         (__libc_calloc): Add memory_calloc_retry probe.
28856         * manual/probes.texi: Document them.
28858         * malloc/arena.c (get_free_list): Add probe
28859         memory_arena_reuse_free_list.
28860         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28861         and memory_arena_reuse.
28862         (arena_get2) [!PER_THREAD]: Likewise.
28863         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28864         memory_arena_reuse_realloc.
28865         * manual/probes.texi: Document them.
28867         * malloc/malloc.c (__libc_free): Add
28868         memory_mallopt_free_dyn_thresholds probe.
28869         (__libc_mallopt): Add multiple memory_mallopt probes.
28870         * manual/probes.texi: Document them.
28872         * malloc/malloc.c: Include stap-probe.h.
28873         (__libc_mallopt): Add memory_mallopt probe.
28874         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28875         * manual/probes.texi: New.
28876         * manual/Makefile (chapters): Add probes.
28877         * manual/threads.texi: Set next node.
28879 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28881         [BZ #15963, #13985]
28882         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28883         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28884         Add `Chinese' to `nan' entry name.
28886 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28888         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28889         (POLYNOMIAL): Likewise.
28890         (TAYLOR_SINCOS): Likewise.
28891         (TAYLOR_SLOW): Likewise.
28892         (__sin): Use TAYLOR_SINCOS.
28893         (__cos): Likewise.
28894         (slow): Use TAYLOR_SLOW.
28895         (sloww): Likewise.
28896         (bsloww): Likewise.
28897         (csloww): Likewise.
28899 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28901         * stdlib/strtod_l.c: Fix buffer overrun.
28903 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28905         * benchtests/Makefile (bench): Add sincos.
28906         * benchtests/bench-sincos.c: New file.
28908         * math/libm-test.inc (cos_test_data): New test inputs.
28909         (sin_test_data): Likewise.
28911         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28912         macro.
28913         (__sin): Use it.
28914         (__cos): Likewise.
28915         (slow1): Likewise.
28916         (slow2): Likewise.
28917         (sloww1): Likewise.
28918         (sloww2): Likewise.
28919         (bsloww1): Likewise.
28920         (bsloww2): Likewise.
28921         (cslow2): Likewise.
28922         (csloww1): Likewise.
28923         (csloww2): Likewise.
28925         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28926         function.
28927         (__sin): Use it.
28928         (__cos): Likewise.
28930         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28931         gotos.
28932         (__cos): Likewise.
28934 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28936         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28937         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28938         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28939         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28940         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28941         * elf/cache.c (print_entry): Handle the new cache flags.
28943 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28944             Aldy Hernandez  <aldyh@redhat.com>
28946         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28947         Change condition to [_SOFT_FLOAT].
28948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28950         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28954         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28960         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28963         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28964         declaration.
28966 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28968         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28969         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28970         (__longjmp): Use LOAD_GP to load saved GPRs.
28971         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28972         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28973         (__sigsetjmp): Use SAVE_GP to save GPRs.
28975         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28976         Do not append -msoft-float.
28977         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28979 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28981         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28983 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28985         [BZ #15966]
28986         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28987         (_FPU_GETCW): Use initial "__" on variable and field names but not
28988         on macro parameter name.
28989         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28990         parentheses around reference to macro parameter.
28992 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28994         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28995         prototype.
28996         (ctype_startup): Use uint32_t in cast and sizeof for
28997         ctype->charnames.
28999 2013-09-11  Jia Liu  <proljc@gmail.com>
29001         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29002         __daddr_t_defined.
29003         [__FreeBSD__]: Likewise.
29005 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29008         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29009         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29010         (strchr): Remove __strchr_sse42 ifunc selection.
29011         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29012         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29014 2013-09-11  Will Newton  <will.newton@linaro.org>
29016         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29017         parameter to RES. Remove hardcoded 1000 value.
29018         * benchtests/bench-skeleton.c (main): Pass RES parameter
29019         to TIMING_INIT and multiply result by 1000.
29021 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29025 2013-09-11  Andreas Schwab  <schwab@suse.de>
29027         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29028         if not defined.
29029         (O_TMPFILE) [__USE_GNU]: Define.
29030         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29031         Define.
29033 2013-09-11  Will Newton  <will.newton@linaro.org>
29035         [BZ #15857]
29036         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29037         does not overflow.
29039 2013-09-11  Will Newton  <will.newton@linaro.org>
29041         [BZ #15856]
29042         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29043         does not overflow.
29045 2013-09-11  Will Newton  <will.newton@linaro.org>
29047         [BZ #15855]
29048         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29049         does not overflow.
29051 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29053         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29054         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29055         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29056         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29057         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29059 2013-09-10  Allan McRae  <allan@archlinux.org>
29061         [BZ #15748]
29062         * manual/arith.texi (Parsing of Floats): Clarify
29063         cross-reference.
29065         [BZ #15849]
29066         * manual/install.texi (Running make install): Mention
29067         --enable-pt-chown.
29068         * INSTALL: Regenerated.
29070 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29072         * csu/init-first.c (_init): Remove the !SHARED condition around
29073         FPU control word initialization.
29074         * elf/dl-support.c (_dl_fpu_control): New variable.
29075         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29076         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29077         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29078         * math/test-fpucw-static.c: New file.
29079         * math/test-fpucw-ieee.c: New file.
29080         * math/test-fpucw-ieee-static.c: New file.
29081         * math/Makefile (tests): Add `test-fpucw-ieee' and
29082         `$(tests-static)'.
29083         (tests-static): New variable.
29084         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29085         dependency to...
29086         [($(build-shared),yes)]
29087         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29088         ... this.
29089         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29090         New dependency.
29092 2013-09-09  Allan McRae  <allan@archlinux.org>
29094         [BZ #15939]
29095         * manual/string.texi (Collation Functions): Fix typo in
29096         strcoll example.
29097         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29099         [BZ #15893]
29100         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29102         [BZ #15892]
29103         * libio/memstream.c (open_memstream): Fix memory leak.
29104         * libio/wmemstream.c (open_wmemstream): Likewise.
29106         [BZ #15895]
29107         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29109 2013-09-09  Will Newton  <will.newton@linaro.org>
29111         * malloc/Makefile: Add tst-realloc to tests.
29112         * malloc/tst-realloc.c: New file.
29114 2013-09-09  Allan McRae  <allan@archlinux.org>
29116         [BZ #15844]
29117         * COPYING: Update from GNU website to fix FSF address.
29118         * COPYING.LIB: Likewise.
29120 2013-09-06  David S. Miller  <davem@davemloft.net>
29122         * po/zh_TW.po: Update Chinese (traditional) translation from
29123         translation project.
29125 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29126             Joseph Myers  <joseph@codesourcery.com>
29128         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29129         "localeinfo.h".
29130         (obstack_chunk_alloc): New macro.
29131         (obstack_chunk_free): Likewise.
29132         (record_offset): New function.
29133         (init_locale_data): Likewise.
29134         (align_locale_data): Likewise.
29135         (add_locale_empty): Likewise.
29136         (add_locale_raw_data): Likewise.
29137         (add_locale_raw_obstack): Likewise.
29138         (add_locale_string): Likewise.
29139         (add_locale_wstring): Likewise.
29140         (add_locale_uint32): Likewise.
29141         (add_locale_uint32_array): Likewise.
29142         (add_locale_char): Likewise.
29143         (start_locale_structure): Likewise.
29144         (end_locale_structure): Likewise.
29145         (start_locale_prelude): Likewise.
29146         (end_locale_prelude): Likewise.
29147         (write_locale_data): Take locale_file structure rather than an
29148         iovec.
29149         * locale/programs/locfile.h: Include "obstack.h".
29150         (struct locale_file): Change to store locale file contents instead
29151         of header.
29152         (init_locale_data): New prototype.
29153         (align_locale_data): Likewise.
29154         (add_locale_empty): Likewise.
29155         (add_locale_raw_data): Likewise.
29156         (add_locale_raw_obstack): Likewise.
29157         (add_locale_string): Likewise.
29158         (add_locale_wstring): Likewise.
29159         (add_locale_uint32): Likewise.
29160         (add_locale_uint32_array): Likewise.
29161         (add_locale_char): Likewise.
29162         (start_locale_structure): Likewise.
29163         (end_locale_structure): Likewise.
29164         (start_locale_prelude): Likewise.
29165         (end_locale_prelude): Likewise.
29166         (write_locale_data): Update prototype.
29167         * locale/programs/3level.h (struct TABLE): Remove result field.
29168         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29169         Use new locale_file interface.
29170         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29171         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29172         * locale/programs/ld-address.c (address_output): Use new
29173         locale_file interface.
29174         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29175         NO_ADD_LOCALE.
29176         (collate_finish): Don't call collseq_table_finalize.
29177         (collate_output): Use new locale_file interface.
29178         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29179         in file.
29180         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29181         (TABLE): Move defines earlier in file.
29182         (ELEMENT): Likewise.
29183         (DEFAULT): Likewise.
29184         (wctrans_table_add): Move macro and inline function earlier in
29185         file.
29186         (struct wctype_table): Move type earlier in file.
29187         (add_locale_wctype_table): New static prototype.
29188         (struct locale_ctype_t): Use logical types instead of struct iovec
29189         pointers for members.
29190         (ctype_output): Use new locale_file interface.
29191         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29192         new locale_file interface.
29193         (allocate_arrays): Update for use of new locale_file interface.
29194         * locale/programs/ld-identification.c (identification_output): Use
29195         new locale_file interface.
29196         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29197         * locale/programs/ld-messages.c (messages_output): Likewise.
29198         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29199         * locale/programs/ld-name.c (name_output): Likewise.
29200         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29201         * locale/programs/ld-paper.c (paper_output): Likewise.
29202         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29203         * locale/programs/ld-time.c (time_output): Likewise.
29205 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29207         * benchtests/Makefile: Add memrchr benchmark.
29208         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29209         benchmark as memrchr.
29210         * benchtests/bench-memrchr-ifunc.c: New file.
29211         * benchtests/bench-memrchr.c: New file.
29213 2013-09-06   Will Newton  <will.newton@linaro.org>
29215         * benchtests/Makefile (string-bench): Add memcpy.
29217 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29218             Cong Wang  <amwang@redhat.com>
29220         [BZ #15850]
29221         * sysdeps/unix/sysv/linux/bits/in.h
29222         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29223         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29224         before __USE_KERNEL_IPV6_DEFS uses.
29225         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29226         IPPROTO_BEETPH.
29227         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29228         sockaddr_in6, or ipv6_mreq.
29230 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29232         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29233         memory access for final bytes in some large inputs.
29234         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29236 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29238         * string/test-memrchr.c: New file.
29239         * string/test-memrchr-ifunc.c: New file.
29240         * string/Makefile: Add new memrchr testcase.
29242 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29244         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29245         fanotify_init returns EPERM.
29247 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29249         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29250         errors.
29251         (top level): Treat second token from macro or constant entries for
29252         allowed headers as allowed.
29253         * include/complex.h: Condition internal declarations on
29254         [!_ISOMAC].
29255         * include/fenv.h: Condition include of <stdbool.h> and internal
29256         declarations on [!_ISOMAC].
29258 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29260         [BZ #15923]
29261         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29263 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29265         * configure.in (--enable-versioning): Remove configure option.
29266         (libc_cv_asm_symver_directive): Remove configure test.
29267         (libc_cv_ld_version_script_option): Likewise.
29268         (VERSIONING): Remove variable and AC_SUBST.
29269         (DO_VERSIONING): Remove AC_DEFINE.
29270         * configure: Regenerated.
29271         * config.h.in (DO_VERSIONING): Remove macro.
29272         * Makerules [$(versioning) = yes]: Change conditionals to
29273         [$(build-shared) = yes].
29274         * config.make.in (versioning): Remove variable.
29275         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29276         [$(build-shared) = yes].
29277         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29278         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29279         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29280         [$(build-shared) = yes].
29281         * extra-lib.mk [$(versioning) = yes]: Likewise.
29282         * hurd/Makefile [$(versioning) = yes]: Likewise.
29283         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29284         [SHARED].
29285         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29286         [SHARED].
29287         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29288         [SHARED && !NO_HIDDEN].
29289         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29290         [SHARED].
29291         [SHARED && DO_VERSIONING]: Likewise..
29292         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29293         [$(build-shared) = yes].
29294         * manual/install.texi (--disable-versioning): Remove
29295         documentation.
29296         * INSTALL: Regenerated.
29297         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29298         to [SHARED].
29299         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29300         [$(build-shared) = yes].
29301         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29302         * sysdeps/i386/i686/multiarch/strstr-c.c
29303         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29304         [SHARED && !NO_HIDDEN].
29305         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29306         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29307         * sysdeps/powerpc/powerpc32/dl-machine.c
29308         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29309         * sysdeps/powerpc/powerpc32/sysdep.h
29310         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29311         to [SHARED && PIC && !NO_HIDDEN].
29312         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29313         conditional to [SHARED].
29315 2013-09-04   Will Newton  <will.newton@linaro.org>
29317         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29318         * benchtests/bench-string.h: Include bench-timing.h instead
29319         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29320         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29321         call to HP_TIMING_DIFF_INIT.
29322         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29323         instead of hp-timing.h macros.
29324         * benchtests/bench-memchr.c: Likewise.
29325         * benchtests/bench-memcmp.c: Likewise.
29326         * benchtests/bench-memcpy.c: Likewise.
29327         * benchtests/bench-memmem.c: Likewise.
29328         * benchtests/bench-memmove.c: Likewise.
29329         * benchtests/bench-memset.c: Likewise.
29330         * benchtests/bench-rawmemchr.c: Likewise.
29331         * benchtests/bench-strcasecmp.c: Likewise.
29332         * benchtests/bench-strcasestr.c: Likewise.
29333         * benchtests/bench-strcat.c: Likewise.
29334         * benchtests/bench-strchr.c: Likewise.
29335         * benchtests/bench-strcmp.c: Likewise.
29336         * benchtests/bench-strcpy.c: Likewise.
29337         * benchtests/bench-strcpy_chk.c: Likewise.
29338         * benchtests/bench-strlen.c: Likewise.
29339         * benchtests/bench-strncasecmp.c: Likewise.
29340         * benchtests/bench-strncat.c: Likewise.
29341         * benchtests/bench-strncmp.c: Likewise.
29342         * benchtests/bench-strncpy.c: Likewise.
29343         * benchtests/bench-strnlen.c: Likewise.
29344         * benchtests/bench-strpbrk.c: Likewise.
29345         * benchtests/bench-strrchr.c: Likewise.
29346         * benchtests/bench-strspn.c: Likewise.
29347         * benchtests/bench-strstr.c: Likewise.
29349 2013-09-04  Will Newton  <will.newton@linaro.org>
29351         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29353 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29355         [BZ #15427]
29356         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29357         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29358         * math/libm-test.inc (lgamma_test_data): Add more tests.
29359         * sysdeps/i386/fpu/libm-test-ulps: Update.
29360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29362 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29364         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29366         Add ifunc.
29367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29368         Add strcmp-sse2-unaligned
29369         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29371 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29373         * Versions.def (libc): Add GLIBC_2.19.
29375 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29377         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29378         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29380 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29382         [BZ #14155]
29383         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29384         intermediate calculations in recurrence.
29385         (__ieee754_ynf): Likewise.
29386         * math/libm-test.inc (jn_test_data): Do not allow spurious
29387         underflow exception.  Add more tests.
29388         (yn_test_data): Add more tests.
29389         * sysdeps/i386/fpu/libm-test-ulps: Update.
29390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29392 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29394         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29396 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29398         * csu/init-first.c: Fix then/than typos.
29399         * locale/programs/ld-collate.c: Likewise.
29400         * locale/programs/linereader.h: Likewise.
29401         * manual/charset.texi: Likewise.
29402         * manual/filesys.texi: Likewise.
29403         * manual/stdio.texi: Likewise.
29404         * manual/string.texi: Likewise.
29405         * stdlib/fmtmsg.c: Likewise.
29406         * sysdeps/i386/stpncpy.S: Likewise.
29407         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29408         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29409         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29410         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29412 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29414         * elf/dl-open.c: Fix typos.
29415         * iconvdata/gbbig5.c: Likewise.
29416         * iconvdata/iso-2022-jp.c: Likewise.
29417         * iconv/gconv_int.h: Likewise.
29418         * iconv/loop.c: Likewise.
29419         * nis/rpcsvc/nis.h: Likewise.
29420         * resolv/ns_name.c: Likewise.
29421         * stdio-common/vfscanf.c: Likewise.
29422         * streams/stropts.h: Likewise.
29423         * sunrpc/rpc_thread.c: Likewise.
29424         * sysdeps/i386/strpbrk.S: Likewise.
29425         * sysdeps/ieee754/k_standard.c: Likewise.
29426         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29428         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29429         * sysdeps/mach/hurd/profil.c: Likewise.
29430         * sysdeps/s390/dl-procinfo.h: Likewise.
29431         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29432         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29433         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29434         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29435         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29437 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29439         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29442 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29444         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29445         aix specific files.
29446         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29447         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29448         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29449         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29450         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29451         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29452         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29453         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29455 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29456             Roland McGrath  <roland@hack.frob.com>
29458         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29459         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29461 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29463         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29464         __executable_start symbol instead of _start.
29466 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29468         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29469         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29470         Move macros to...
29471         * sysdeps/gnu/ldsodefs.h: ... this new file.
29473         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29474         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29475         instead of ELFOSABI_LINUX.
29477         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29478         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29479         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29480         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29481         Likewise.
29482         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29483         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29484         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29485         Likewise.
29486         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29487         (ibm_extended_long_double): Add ieee_nan member.
29488         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29489         (do_test): New function.
29491         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29492         TEST_TRUNC.
29493         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29494         functions, renamed from truncdfsf_test, trunctfsf_test,
29495         trunctfdf_test.
29496         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29497         functions.
29498         (do_test): Run all these.
29500 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29502         * argp/argp-help.c: Fix typos.
29503         * argp/argp-parse.c: Likewise.
29504         * debug/backtracesyms.c: Likewise.
29505         * elf/elf.h: Likewise.
29506         * malloc/malloc.c: Likewise.
29507         * nis/nis_print.c: Likewise.
29508         * resolv/res_comp.c: Likewise.
29509         * stdlib/stdlib.h: Likewise.
29510         * sunrpc/clnt_tcp.c: Likewise.
29511         * sunrpc/clnt_udp.c: Likewise.
29512         * sunrpc/clnt_unix.c: Likewise.
29513         * sysdeps/unix/bsd/ptsname.c: Likewise.
29514         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29515         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29517         Likewise.
29518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29519         Likewise.
29520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29521         Likewise.
29522         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29524 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29526         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29529 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29531         [BZ #15897]
29532         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29533         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29534         ($(objpfx)bug-dl-leaf): New rule.
29535         ($(objpfx)bug-dl-leaf.so): Likewise.
29536         ($(objpfx)bug-dl-leaf.out): Likewise.
29537         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29538         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29539         * dlfcn/bug-dl-leaf.c: New test.
29540         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29541         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29542         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29543         (dlclose): Likewise.
29544         (dlmopen): Likewise.
29546 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29548         * include/netdb.h [!_ISOMAC]:
29549         Don't include <tls.h>.
29550         (h_errno, __libc_h_errno): Move declaration and macros out of
29551         [_LIBC_REENTRANT].
29553         * include/resolv.h [_RESOLV_H_]:
29554         Don't include <tls.h>.
29555         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29556         * resolv/res_libc.c: Don't include <tls.h>.
29557         (_res): Use __attribute__ ((nocommon)) in place of
29558         __attribute__ ((section (".bss"))).
29560         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29561         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29563         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29565         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29566         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29568         * resolv/res_mkquery.c: Include <sys/time.h>.
29570         * inet/ifreq.c: Moved to ...
29571         * sysdeps/unix/ifreq.c: ... here.
29572         * inet/ifreq.c: New file, true stub version.
29574         * socket/sa_len.c: New file.
29575         * socket/Makefile (aux): Add it.
29576         * sysdeps/unix/sysv/linux/Makefile
29577         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29578         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29579         and #include <socket/sa_len.c>.
29580         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29581         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29583         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29584         * bits/socket.h: ... here.
29586         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29587         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29588         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29590 2013-08-27  Andreas Schwab  <schwab@suse.de>
29592         [BZ #15736]
29593         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29594         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29595         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29596         * string/test-strcasecmp.c (test_main): Run tests in several
29597         locales.
29598         * string/test-strncasecmp.c (test_main): Likewise.
29600         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29601         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29602         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29603         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29604         (__strncasecmp_ssse3) [PIC]: Likewise.
29606 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29608         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29610         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29611         instead of explicitly declaring xdecrypt.
29612         * nis/nss_nis/nis-publickey.c: Likewise.
29614 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29616         [BZ #15890]
29617         * nscd/aicache.c: Include res_hconf.h.
29618         (addhstaiX): Initialize res_hconf.
29620 2013-08-26  Andreas Schwab  <schwab@suse.de>
29622         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29623         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29625 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29627         * nscd/aicache.c (addhstaiX): Fix indentation.
29629 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29631         * configure.ac: Quote $build_pt_chown test.
29632         * configure: Regenerated.
29634 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29636         [BZ #15532]
29637         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29638         * math/s_cexpf.c (__cexpf): Likewise.
29639         * math/s_cexpl.c (__cexpl): Likewise.
29640         * math/libm-test.inc (cexp_test_data): Correct expected return
29641         value for NaN + i0.  Add another test.
29643 2013-08-22  David S. Miller  <davem@davemloft.net>
29645         * po/ca.po: Update Catalan translation from translation project.
29646         * po/uk.po: Add Ukrainian translations from translation project.
29648 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29650         [BZ #15797]
29651         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29652         is infinite, not alongside NaN test.
29653         * math/s_fdimf.c (__fdimf): Likewise.
29654         * math/s_fdiml.c (__fdiml): Likewise.
29655         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29656         errno is unchanged.
29658 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29660         * argp/argp-help.c: Fix typos.
29661         * crypt/speeds.c: Likewise.
29662         * csu/check_fds.c: Likewise.
29663         * elf/dl-load.c: Likewise.
29664         * elf/dl-open.c: Likewise.
29665         * elf/reldep3.c: Likewise.
29666         * elf/reldep.c: Likewise.
29667         * elf/sprof.c: Likewise.
29668         * iconv/iconv_charmap.c: Likewise.
29669         * iconv/skeleton.c: Likewise.
29670         * iconv/strtab.c: Likewise.
29671         * io/lockf64.c: Likewise.
29672         * libio/libioP.h: Likewise.
29673         * resolv/gai_notify.c: Likewise.
29674         * resolv/ns_name.c: Likewise.
29675         * resolv/ns_samedomain.c: Likewise.
29676         * resolv/res_send.c: Likewise.
29677         * stdlib/random.c: Likewise.
29678         * sunrpc/rpc/xdr.h: Likewise.
29679         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29680         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29681         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29682         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29684         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29685         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29686         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29687         * sysdeps/mach/hurd/check_fds.c: Likewise.
29688         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29689         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29690         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29691         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29692         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29693         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29694         * sysdeps/pthread/aio_notify.c: Likewise.
29695         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29696         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29697         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29698         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29699         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29701 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29703         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29704         version if bit_Slow_SSE4_2 is set.
29705         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29706         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29708 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29710         [BZ #15867]
29711         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29712         trampoline stack frame information.
29713         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29714         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29715         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29716         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29717         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29718         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29719         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29720         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29721         sa_flags value.
29722         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29723         interrupting a syscall and set with option SA_SIGINFO.
29725 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29727         [BZ #15531]
29728         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29729         argument is infinite.
29730         * math/s_cprojf.c (__cprojf): Likewise.
29731         * math/s_cprojl.c (__cprojl): Likewise.
29732         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29733         * math/libm-test.inc (cproj_test_data): Add more tests.
29735         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29737         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29738         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29739         size.  Use __ffs to determine corresponding shift.
29741 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29742             Roland McGrath  <roland@hack.frob.com>
29744         * Makefile (INSTALL): Remove trailing blank lines from output of
29745         makeinfo.
29747 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29749         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29750         Align 32 bit compat elf_greg to 8 bytes.
29752 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29754         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29756 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29758         * string/strcoll_l.c (coll_seq): New structure.
29759         (get_next_seq_cached): New function.
29760         (get_next_seq): New function.
29761         (do_compare): New function.
29762         (STRCOLL): Use GNU style definition.  Simplify implementation
29763         by using get_next_seq, get_next_seq_cached and do_compare.
29765 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29767         [BZ #14699]
29768         CVE-2013-4237
29769         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29770         member.
29771         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29772         member.
29773         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29774         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29775         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29776         conditional.
29777         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29778         GETDENTS_64BIT_ALIGNED.
29779         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29780         * manual/filesys.texi (Reading/Closing Directory): Document
29781         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29782         strongly.
29783         * manual/conf.texi (Limits for Files): Add portability note to
29784         NAME_MAX, PATH_MAX.
29785         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29787 2013-08-13  Andreas Schwab  <schwab@suse.de>
29789         [BZ #15749]
29790         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29791         of fabs.
29792         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29793         LDBL_MAX_EXP >= 16384]: Add tests for it.
29795 2013-08-12  David S. Miller  <davem@davemloft.net>
29797         * version.h (RELEASE): Set to "development".
29798         (VERSION): Set to "2.18.90".
29799         * NEWS: Add 2.19 section.
29801 2013-08-03  David S. Miller  <davem@davemloft.net>
29803         * po/ko.po: Update Korean translation from translation project.
29805 2013-08-01  David S. Miller  <davem@davemloft.net>
29807         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29808         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29809         Bilka.
29811 2013-07-30  David S. Miller  <davem@davemloft.net>
29813         * po/fr.po: Update French translation from translation project.
29815 2013-07-28  David S. Miller  <davem@davemloft.net>
29817         * po/cs.po: Update Czech translation from translation project.
29819         * po/sv.po: Update Swedish translation from translation project.
29821 2013-07-27  David S. Miller  <davem@davemloft.net>
29823         * po/eo.po: Update Esperanto translation from translation project.
29825         * po/vi.po: Update Vietnamese translation from translation project.
29827         * po/de.po: Update German translation from translation project.
29829 2013-07-26  David S. Miller  <davem@davemloft.net>
29831         * po/bg.po: Update Bulgarian translation from translation project.
29833         * po/nl.po: Update Dutch translation from translation project.
29834         * po/pl.po: Update Polish translation from translation project.
29835         * po/ru.po: Update Russian translation from translation project.
29837 2013-07-24  David S. Miller  <davem@davemloft.net>
29839         * po/libc.pot: Update.
29841 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29843         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29844         variable page size.
29845         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29846         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29847         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29849 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29851         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29853 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29854             Andreas Schwab  <schwab@suse.de>
29855             Roland McGrath  <roland@hack.frob.com>
29856             Joseph Myers  <joseph@codesourcery.com>
29857             Carlos O'Donell  <carlos@redhat.com>
29859         [BZ #15755]
29860         * config.h.in: Define HAVE_PT_CHOWN.
29861         * config.make.in (build-pt-chown): New variable.
29862         * configure.in (--enable-pt_chown): New configure option.
29863         * configure: Regenerate.
29864         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29865         build-pt-chown is enabled.
29866         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29867         pt_chown to fix pty ownership.
29868         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29869         CLOSE_ALL_FDS.
29870         * manual/install.texi (Configuring and compiling): Mention
29871         --enable-pt_chown. Add @findex for grantpt.
29872         * INSTALL: Regenerate.
29874 2013-07-20  David S. Miller  <davem@davemloft.net>
29876         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29877         difference between 32-bit and 64-bit.
29879 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29881         [BZ #15711]
29882         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29883         Avoid system header dependency with -ffreestanding.
29884         ($(objpfx)bits/syscall%d): Likewise.
29886 2013-07-13  David S. Miller  <davem@davemloft.net>
29888         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29889         underflows from atanl/atan2l due to bug 15319.
29890         (casinh_test_data): Likewise.
29892 2013-07-07  David S. Miller  <davem@davemloft.net>
29894         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29896 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29898         * sysdeps/i386/fpu/libm-test-ulps: Update.
29899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29901 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29903         * configure.in (--enable-lock-elision): Fix message text.
29904         * INSTALL: Regenerate.
29905         * configure: Regenerate.
29907 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29911 2013-07-03  Andreas Jaeger  <aj@suse.de>
29913         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29914         define.
29915         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29916         (ptrace_peeksiginfo_args): Add.
29917         (__ptrace_peeksiginfo_flags): Add.
29918         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29919         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29920         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29922 2013-07-03  Allan McRae  <allan@archlinux.org>
29924         * sysdeps/i386/fpu/libm-test-ulps: Update.
29926 2013-07-02  David S. Miller  <davem@davemloft.net>
29928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29930 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29934 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29936         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29939 2013-07-02  Andi Kleen <ak@linux.intel.com>
29941         * config.h.in (ENABLE_LOCK_ELISION): Add.
29942         * configure.in (--enable-lock-elision): Add option.
29943         * manual/install.texi: Document --enable lock elision.
29944         * configure: Regenerate
29945         * INSTALL: Regenerate.
29947 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29949         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29950         SSE4.2 strcasecmp for libc.a.
29951         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29953 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29955         [BZ #13304]
29956         * soft-fp/op-common.h (_FP_FMA): New macro.
29957         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29958         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29959         (_FP_MUL_MEAT_1_imm): ... here.
29960         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29961         (_FP_MUL_MEAT_1_wide): ... here.
29962         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29963         (_FP_MUL_MEAT_1_hard): ... here.
29964         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29965         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29966         (_FP_MUL_MEAT_2_wide): ... here.
29967         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29968         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29969         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29970         (_FP_MUL_MEAT_2_gmp): ... here.
29971         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29972         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29973         (_FP_MUL_MEAT_4_wide): ... here.
29974         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29975         (_FP_MUL_MEAT_4_gmp): ... here.
29976         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29977         (_FP_WFRACBITS_DW_S): Likewise.
29978         (_FP_WFRACXBITS_DW_S): Likewise.
29979         (_FP_HIGHBIT_DW_S): Likewise.
29980         (FP_FMA_S): Likewise.
29981         (_FP_FRAC_HIGH_DW_S): Likewise.
29982         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29983         (_FP_WFRACBITS_DW_D): Likewise.
29984         (_FP_WFRACXBITS_DW_D): Likewise.
29985         (_FP_HIGHBIT_DW_D): Likewise.
29986         (FP_FMA_D): Likewise.
29987         (_FP_FRAC_HIGH_DW_D): Likewise.
29988         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29989         (_FP_WFRACBITS_DW_E): Likewise.
29990         (_FP_WFRACXBITS_DW_E): Likewise.
29991         (_FP_HIGHBIT_DW_E): Likewise.
29992         (FP_FMA_E): Likewise.
29993         (_FP_FRAC_HIGH_DW_E): Likewise.
29994         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29995         (_FP_WFRACBITS_DW_Q): Likewise.
29996         (_FP_WFRACXBITS_DW_Q): Likewise.
29997         (_FP_HIGHBIT_DW_Q): Likewise.
29998         (FP_FMA_Q): Likewise.
29999         (_FP_FRAC_HIGH_DW_Q): Likewise.
30000         * soft-fp/fmasf4.c: New file.
30001         * soft-fp/fmadf4.c: Likewise.
30002         * soft-fp/fmatf4.c: Likewise.
30004 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30007         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30008         Silvermont.
30009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30010         macro.
30011         (index_Slow_SSE4_2): Likewise.
30012         (index_Prefer_PMINUB_for_stringop): Likewise.
30013         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30014         bit_Slow_SSE4_2 is set.
30015         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30016         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30018 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30020         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30021         rtld_global._dl_hwcap2.
30022         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30023         POWER8.
30024         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30025         POWER8 feature descriptions defined in _dl_hwcap2.
30026         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30027         string handling for POWER8 feature bits.
30028         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30029         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30030         _dl_powerpc_cap_flags.
30031         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30032         * sysdeps/powerpc/rtld-global-offsets.sym
30033         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30034         _dl_hwcap2 in the rtld_global_ro structure.
30036 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30038         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30039         hardware capabilities in support of AT_HWCAP2.
30040         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30041         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30042         GLRO(dl_hwcap2).
30043         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30044         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30045         explicitly the unknown a_type display mechanism is used.
30046         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30047         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30048         struct member.
30049         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30050         to macro prototype for AT_HWCAP2 support.
30051         * sysdeps/i386/dl-procinfo.h: Likewise.
30052         * sysdeps/s390/dl-procinfo.h: Likewise.
30053         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30054         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30055         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30056         return -1 for unknown a_type display fallback.
30057         * sysdeps/sparc/dl-procinfo.h: Likewise.
30058         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30059         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30061 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30063         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30064         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30066 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30068         [BZ #12492]
30069         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30070         mprotect making __stack_prot writable.
30072 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30073             Joseph Myers  <joseph@codesourcery.com>
30075         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30076         as being properly aligned.
30078 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30080         * dlfcn/modstatic5.c: New file.
30081         * dlfcn/tststatic5.c: New file.
30082         * dlfcn/Makefile (tests): Add tststatic5.
30083         (tests-static): Likewise.
30084         (modules-names): Add modstatic5.
30085         (tststatic5-ENV): New variable.
30086         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30088         [BZ #15022]
30089         * elf/dl-support.c (_dl_main_map): New variable.
30090         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30091         (_dl_nns, _dl_load_adds): Set to 1.
30092         (_dl_initial_searchlist): Refer to _dl_main_map.
30093         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30094         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30095         call to _dl_get_origin.
30096         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30097         around call_map.
30098         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30099         * dlfcn/modstatic3.c: New file.
30100         * dlfcn/tststatic3.c: New file.
30101         * dlfcn/tststatic4.c: New file.
30102         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30103         (tests-static): Likewise.
30104         (modules-names): Add modstatic3.
30105         (tststatic3-ENV, tststatic4-ENV): New variables.
30106         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30107         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30109 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30111         * configure.in (CC): Require GCC version 4.4 or later.
30112         * configure: Regenerated.
30113         * manual/install.texi (Tools for Compilation): Update GCC version
30114         requirement.
30115         * INSTALL: Regenerated.
30117 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30119         [BZ #15674]
30120         * string/test-memcmp.c (check2): New.
30121         (main): Call check2.
30123         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30125 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30127         [BZ #15022]
30128         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30129         over to...
30130         (dl_open_worker) [!SHARED]: ... here.
30132 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30134         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30136 2013-06-25  Richard Henderson  <rth@redhat.com>
30138         * locale/programs/locarchive.c: Include <libc-internal.h>
30140 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30142         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30143         trailing whitespace removed.
30145 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30147         [BZ #10283]
30148         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30149         * locale/programs/locarchive.c: Include libc-mmap.h.
30150         (prepare_address_space): Take two new outputs (the mmap base and len).
30151         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30152         values.
30153         (create_archive): Declare new mmap base and len values for
30154         prepare_address_space, and store the result in ah.
30155         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30156         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30157         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30158         Declare new mmap base and len values for
30159         prepare_address_space, and store the result in new_ah.
30160         (open_archive): Declare new mmap base and len values for
30161         prepare_address_space, and store the result in ah.
30162         (close_archive): If ah->mmap_base is not NULL, use that and
30163         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30164         * sysdeps/generic/libc-mmap.h: New file.
30166 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30168         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30169         (ALIGN_UP): Likewise.
30170         (PTR_ALIGN_DOWN): Likewise.
30171         (PTR_ALIGN_UP): Likewise.
30173 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30175         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30176         entry mapped to PPC_PLATFORM_POWER8.
30177         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30178         POWER8.
30179         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30180         (_dl_string_platform): Add case for exporting platform position for
30181         POWER8.
30182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30183         search path to sysdeps/powerpc/powerpc32/power8 directory.
30184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30185         search path to sysdeps/powerpc/powerpc64/power8 directory.
30186         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30187         power7 directories.
30188         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30189         power7 directories.
30191 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30193         * INSTALL: Regenerate.
30195         * nscd/connections.c (nscd_init): Fix comment.
30197 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30199         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30201         [BZ #15667]
30202         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30203         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30205 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30207         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30208         DL_DST_REQ_STATIC.
30209         (DL_DST_REQ_STATIC): Remove macro.
30211 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30213         [BZ #7006]
30214         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30215         with a shift of 0 bits.
30217 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30219         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30220         $(tststatic-ENV).
30222 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30224         [BZ #15655]
30225         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30227 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30229         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30230         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30231         accepts -fno-tree-loop-distribute-patterns.
30232         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30233         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30234         recursive call.
30235         * string/memset.c (memset): Likewise.
30236         * string/test-memmove.c (simple_memmove): Disable loop transformation
30237         to library calls.
30238         * string/test-memset.c (simple_memset): Likewise.
30239         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30240         * benchtests/bench-memset.c (simple_memset): Likewise.
30241         * configure: Regenerated.
30243 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30245         * math/test-misc.c (main): Ignore fesetround failure when failures
30246         of subsequent rounding tests would be ignored.
30248         [BZ #15654]
30249         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30250         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30251         * math/fegetenv.c (__fegetenv): Return 0.
30252         * math/fegetexcept.c (fegetexcept): Return 0.
30253         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30254         FE_TONEAREST.
30255         * math/feholdexcpt.c (feholdexcept): Return 0.
30256         * math/fesetenv.c (__fesetenv): Return 0.
30257         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30258         argument FE_TONEAREST.
30259         * math/feupdateenv.c (__feupdateenv): Return 0.
30260         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30262 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30264         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30265         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30266         ($(objpfx)rtld-%.os rules): Use them.
30268 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30270         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30271         fields.
30273 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30275         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30276         length of target pattern, then descending length of dependency pattern.
30277         * configure.in (AWK): Require gawk 3.1.2 or newer.
30278         * manual/install.texi (Tools for Compilation): Say that we do.
30279         * configure: Regenerated.
30281         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30282         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30283         * scripts/sysd-rules.awk: ... this new script.
30284         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30285         than a glob-style pattern.
30287 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30289         * math/test-misc.c (main): Do not treat incorrectly rounded
30290         conversions as failure unless ROUNDING_TESTS passes.
30292 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30294         [BZ #15631]
30295         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30296         restore exception state around main square root computation, then
30297         check for inexactness explicitly.
30299         * math/libm-test.inc (fma_test_data): Add another test.
30301 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30303         * manual/threads.texi (Non-POSIX Extensions): New document
30304         node.  Document pthread_getattr_default_np and
30305         pthread_setattr_default_np.
30307         * Versions.def (libpthread): Add GLIBC_2.18.
30308         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30310         Likewise.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30312         Likewise.
30313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30314         Likewise.
30315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30316         Likewise.
30317         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30318         Likewise.
30319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30320         Likewise.
30321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30322         Likewise.
30323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30324         Likewise.
30325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30326         Likewise.
30328 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30331         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30333 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30334             H.J. Lu  <hjl.tools@gmail.com>
30336         [BZ #15627]
30337         * sysdeps/x86_64/rtld-memset.c: Remove file.
30338         * sysdeps/x86_64/rtld-memset.S: New file.
30340 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30342         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30343         (test_in_one_mode): Take arguments for whether the rounding mode
30344         is supported for each floating-point type.
30345         (do_test): Pass new arguments to test_in_one_mode using
30346         ROUNDING_TESTS.
30348 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30350         * posix/tst-waitid.c (do_test): Distinguish different instances of
30351         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30352         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30353         before entering the kernel for waitpid.
30355 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30357         * NEWS: Fix note on clock function precision.  Text by Roland
30358         McGrath.
30360 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30362         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30363         it into place only when and if the sanity check passes.
30365 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30367         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30368         output for whether conversion result is exact.  Take argument
30369         indicating whether type is IBM long double.
30370         (round_for_all): Change need_exact field to ibm_ld.
30371         * stdlib/tst-strtod-round.c (struct exactness): New type.
30372         (struct test): Change bool ld_ok field to struct exactness exact.
30373         (TEST): Update all definitions for change to field.
30374         (tests): Regenerate array contents.
30375         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30376         field value.  Check for IBM long double here.
30377         (do_test): Update calls to test_in_one_mode.
30379 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30381         [BZ #12515]
30382         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30383         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30385 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30387         [BZ #15605]
30388         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30389         generated by the compiler on loop optimizations.
30390         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30391         general definitions.
30393 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30395         * math/bug-nextafter.c: Include <math-tests.h>.
30396         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30397         the relevant type.
30398         * math/bug-nexttoward.c: Include <math-tests.h>.
30399         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30400         the relevant type.
30401         * math/test-misc.c: Include <math-tests.h>.
30402         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30403         the relevant type.
30405 2013-06-12  Andreas Jaeger  <aj@suse.de>
30407         * po/ia.po: Update Interlingua translation from translation
30408         project.
30410 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30412         * include/fenv.h: Include stdbool.h.
30413         (struct rm_ctx): New structure.
30414         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30415         Define macro.
30416         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30417         (SET_RESTORE_ROUNDF): Likewise.
30418         (SET_RESTORE_ROUNDL): Likewise.
30419         (SET_RESTORE_ROUND_NOEX): Likewise.
30420         (SET_RESTORE_ROUND_NOEXF): Likewise.
30421         (SET_RESTORE_ROUND_NOEXL): Likewise.
30422         (SET_RESTORE_ROUND_53BIT): Likewise.
30423         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30424         (libc_feresetround_noexf_ctx): Likewise.
30425         (libc_feresetround_noexl_ctx): Likewise.
30426         (libc_feholdsetround_53bit_ctx): Likewise.
30427         (libc_feresetround_53bit_ctx): Likewise.
30428         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30429         (libc_feholdexcept_setround_sse_ctx): New function.
30430         (libc_fesetenv_sse_ctx): Likewise.
30431         (libc_feupdateenv_sse_ctx): Likewise.
30432         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30433         (libc_feholdexcept_setround_387_ctx): Likewise.
30434         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30435         (libc_feholdsetround_387_prec_ctx): Likewise.
30436         (libc_feholdsetround_387_ctx): Likewise.
30437         (libc_feholdsetround_387_53bit_ctx): Likewise.
30438         (libc_feholdsetround_sse_ctx): Likewise.
30439         (libc_feresetround_sse_ctx): Likewise.
30440         (libc_feresetround_387_ctx): Likewise.
30441         (libc_feupdateenv_387_ctx): Likewise.
30442         (libc_feholdexcept_setroundf_ctx): Define macro.
30443         (libc_fesetenvf_ctx): Likewise.
30444         (libc_feupdateenvf_ctx): Likewise.
30445         (libc_feholdsetroundf_ctx): Likewise.
30446         (libc_feresetroundf_ctx): Likewise.
30447         (libc_feholdexcept_setround_ctx): Likewise.
30448         (libc_fesetenv_ctx): Likewise.
30449         (libc_feupdateenv_ctx): Likewise.
30450         (libc_feholdsetround_ctx): Likewise.
30451         (libc_feresetround_ctx): Likewise.
30452         (libc_feholdexcept_setroundl_ctx): Likewise.
30453         (libc_feupdateenvl_ctx): Likewise.
30454         (libc_feholdsetroundl_ctx): Likewise.
30455         (libc_feresetroundl_ctx): Likewise.
30456         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30457         (libc_feresetround_53bit_ctx): Likewise.
30459 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30461         * locale/iso-639.def: Convert to UTF-8.
30463 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30465         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30466         (EXCEPTION_TESTS_double): Likewise.
30467         (EXCEPTION_TESTS_long_double): Likewise.
30468         (EXCEPTION_TESTS): Likewise.
30469         * math/libm-test.inc (test_exceptions): Only test exceptions if
30470         EXCEPTION_TESTS (FLOAT).
30472 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30474         * benchtests/Makefile (string-bench): Add strcpy_chk and
30475         stpcpy_chk.
30476         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30477         * benchtests/bench-stpcpy_chk.c: New file.
30478         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30479         * benchtests/bench-strcpy_chk.c: New file.
30480         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30481         code.
30482         (do_test): Likewise.
30484 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30486         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30487         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30488         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30489         with tabs where appropriate.
30490         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30491         dl-procinfo.h.
30492         [PPC_PLATFORM_PPC440]: Likewise.
30493         [PPC_PLATFORM_PPC464]: Likewise.
30494         [PPC_PLATFORM_PPC476]: Likewise.
30495         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30496         ppc464, and ppc476 platform strings merging from ports/
30497         dl-procinfo.h.
30499 2013-06-11  Andreas Schwab  <schwab@suse.de>
30501         [BZ #14991]
30502         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30503         (from_ucs4_idx): Regenerate.
30504         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30505         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30506         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30507         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30508         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30509         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30510         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30511         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30512         from FROM_LOOP and TO_LOOP specific macros.
30513         (BODY): Handle combining characters.
30514         * iconvdata/BIG5HKSCS.irreversible: Update.
30515         * iconvdata/BIG5HKSCS.precomposed: New file.
30516         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30517         characters.
30518         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30520 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30522         * include/sys/time.h: Fix indentation and add copyright header.
30524         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30525         (do_test): Likewise.
30526         * string/test-memchr.c (do_one_test): Likewise.
30527         (do_test): Likewise.
30528         * string/test-memcmp.c (do_one_test): Likewise.
30529         (do_test): Likewise.
30530         * string/test-memcpy.c (do_one_test): Likewise.
30531         (do_test): Likewise.
30532         * string/test-memmem.c (do_one_test): Likewise.
30533         (do_test): Likewise.
30534         (do_random_tests): Likewise.
30535         * string/test-memmove.c (do_one_test): Likewise.
30536         (do_test): Likewise.
30537         * string/test-memset.c (do_one_test): Likewise.
30538         (do_test): Likewise.
30539         * string/test-rawmemchr.c (do_one_test): Likewise.
30540         (do_test): Likewise.
30541         * string/test-strcasecmp.c (do_one_test): Likewise.
30542         (do_test): Likewise.
30543         * string/test-strcasestr.c (do_one_test): Likewise.
30544         (do_test): Likewise.
30545         * string/test-strcat.c (do_one_test): Likewise.
30546         (do_test): Likewise.
30547         * string/test-strchr.c (do_one_test): Likewise.
30548         (do_test): Likewise.
30549         * string/test-strcmp.c (do_one_test): Likewise.
30550         (do_test): Likewise.
30551         * string/test-strcpy.c (do_one_test): Likewise.
30552         (do_test): Likewise.
30553         * string/test-string.h: Likewise.
30554         (test_init): Likewise.
30555         * string/test-strlen.c (do_one_test): Likewise.
30556         (do_test): Likewise.
30557         * string/test-strncasecmp.c (do_one_test): Likewise.
30558         (do_test): Likewise.
30559         * string/test-strncat.c (do_one_test): Likewise.
30560         (do_test): Likewise.
30561         * string/test-strncmp.c (do_one_test): Likewise.
30562         (do_test_limit): Likewise.
30563         (do_test): Likewise.
30564         * string/test-strncpy.c (do_one_test): Likewise.
30565         (do_test): Likewise.
30566         * string/test-strnlen.c (do_one_test): Likewise.
30567         (do_test): Likewise.
30568         * string/test-strpbrk.c (do_one_test): Likewise.
30569         (do_test): Likewise.
30570         * string/test-strrchr.c (do_one_test): Likewise.
30571         (do_test): Likewise.
30572         * string/test-strspn.c (do_one_test): Likewise.
30573         (do_test): Likewise.
30574         * string/test-strstr.c (do_one_test): Likewise.
30575         (do_test): Likewise.
30577         * benchtests/Makefile (string-bench): Add string benchmarks.
30578         * benchtests/bench-bcopy-ifunc.c: New file.
30579         * benchtests/bench-bcopy.c: New file.
30580         * benchtests/bench-bzero-ifunc.c: New file.
30581         * benchtests/bench-bzero.c: New file.
30582         * benchtests/bench-memccpy-ifunc.c: New file.
30583         * benchtests/bench-memccpy.c: New file.
30584         * benchtests/bench-memchr-ifunc.c: New file.
30585         * benchtests/bench-memchr.c: New file.
30586         * benchtests/bench-memcmp-ifunc.c: New file.
30587         * benchtests/bench-memcmp.c: New file.
30588         * benchtests/bench-memmem-ifunc.c: New file.
30589         * benchtests/bench-memmem.c: New file.
30590         * benchtests/bench-memmove-ifunc.c: New file.
30591         * benchtests/bench-memmove.c: New file.
30592         * benchtests/bench-mempcpy-ifunc.c: New file.
30593         * benchtests/bench-mempcpy.c: New file.
30594         * benchtests/bench-memset-ifunc.c: New file.
30595         * benchtests/bench-memset.c: New file.
30596         * benchtests/bench-rawmemchr-ifunc.c: New file.
30597         * benchtests/bench-rawmemchr.c: New file.
30598         * benchtests/bench-stpcpy-ifunc.c: New file.
30599         * benchtests/bench-stpcpy.c: New file.
30600         * benchtests/bench-stpncpy-ifunc.c: New file.
30601         * benchtests/bench-stpncpy.c: New file.
30602         * benchtests/bench-strcasecmp-ifunc.c: New file.
30603         * benchtests/bench-strcasecmp.c: New file.
30604         * benchtests/bench-strcasestr-ifunc.c: New file.
30605         * benchtests/bench-strcasestr.c: New file.
30606         * benchtests/bench-strcat-ifunc.c: New file.
30607         * benchtests/bench-strcat.c: New file.
30608         * benchtests/bench-strchr-ifunc.c: New file.
30609         * benchtests/bench-strchr.c: New file.
30610         * benchtests/bench-strchrnul-ifunc.c: New file.
30611         * benchtests/bench-strchrnul.c: New file.
30612         * benchtests/bench-strcmp-ifunc.c: New file.
30613         * benchtests/bench-strcmp.c: New file.
30614         * benchtests/bench-strcpy-ifunc.c: New file.
30615         * benchtests/bench-strcpy.c: New file.
30616         * benchtests/bench-strcspn-ifunc.c: New file.
30617         * benchtests/bench-strcspn.c: New file.
30618         * benchtests/bench-strlen-ifunc.c: New file.
30619         * benchtests/bench-strlen.c: New file.
30620         * benchtests/bench-strncasecmp-ifunc.c: New file.
30621         * benchtests/bench-strncasecmp.c: New file.
30622         * benchtests/bench-strncat-ifunc.c: New file.
30623         * benchtests/bench-strncat.c: New file.
30624         * benchtests/bench-strncmp-ifunc.c: New file.
30625         * benchtests/bench-strncmp.c: New file.
30626         * benchtests/bench-strncpy-ifunc.c: New file.
30627         * benchtests/bench-strncpy.c: New file.
30628         * benchtests/bench-strnlen-ifunc.c: New file.
30629         * benchtests/bench-strnlen.c: New file.
30630         * benchtests/bench-strpbrk-ifunc.c: New file.
30631         * benchtests/bench-strpbrk.c: New file.
30632         * benchtests/bench-strrchr-ifunc.c: New file.
30633         * benchtests/bench-strrchr.c: New file.
30634         * benchtests/bench-strspn-ifunc.c: New file.
30635         * benchtests/bench-strspn.c: New file.
30636         * benchtests/bench-strstr-ifunc.c: New file.
30637         * benchtests/bench-strstr.c: New file.
30639         * benchtests/Makefile: Disable parallel execution of targets.
30640         (string-bench): Add memcpy.
30641         (benchset): New variable to store a list of benchmark sets.
30642         (bench-func): Renamed from bench.
30643         (bench-set): New target.
30644         (bench): Depend on bench-func and bench-set.
30645         * benchtests/README: Add section on benchmark sets.
30646         * benchtests/bench-memcpy-ifunc.c: New file.
30647         * benchtests/bench-memcpy.c: New file.
30648         * benchtests/bench-string.h: New file.
30650 2013-06-11  Andreas Schwab  <schwab@suse.de>
30652         [BZ #15577]
30653         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30654         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30655         values in the triple.
30656         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30657         terminator in the group key.
30659 2013-06-11  Andreas Jaeger  <aj@suse.de>
30661         * po/zh_TW.po: Update Chinese (traditional) translation from
30662         translation project.
30664 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30666         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30667         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30668         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30669         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30670         (clock_getcpuclockid): Likewise.
30671         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30672         Add weak_alias and libc_hidden_def.
30673         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30674         * rt/clock_gettime.c (clock_gettime): Rename to
30675         __clock_gettime.  Add weak_alias and libc_hidden_def.
30676         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30677         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30678         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30679         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30680         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30681         Likewise.
30682         * rt/clock_settime.c (clock_settime): Rename to
30683         __clock_settime.  Add weak_alias and libc_hidden_def.
30684         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30686 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30688         * mach/err_boot.sub: Remove trailing whitespace.
30689         * mach/err_ipc.sub: Likewise.
30690         * mach/err_mach.sub: Likewise.
30692         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30693         (ROUNDING_TESTS_double): Likewise.
30694         (ROUNDING_TESTS_long_double): Likewise.
30695         (ROUNDING_TESTS): Likewise.
30696         * math/libm-test.inc: Include <math-tests.h>.
30697         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30698         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30699         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30700         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30702 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30704         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30705         of assigning.
30707 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30709         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30710         otherwise empty TRANS lines.
30711         * sysdeps/gnu/errlist.c: Regenerated.
30713         * catgets/gencat.c (error_print): Use (void) in function
30714         definition.
30715         * crypt/crypt_util.c (__init_des): Likewise.
30716         * crypt/speeds.c (Stop): Likewise.
30717         (main): Likewise.
30718         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30719         * inet/ruserpass.c (token): Likewise.
30720         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30721         * intl/localealias.c (extend_alias_table): Likewise.
30722         * intl/plural-exp.c (init_germanic_plural): Likewise.
30723         * libio/fcloseall.c (__fcloseall): Likewise.
30724         * libio/genops.c (_IO_flush_all): Likewise.
30725         (_IO_flush_all_linebuffered): Likewise.
30726         (_IO_cleanup): Likewise.
30727         (_IO_iter_begin): Likewise.
30728         (_IO_iter_end): Likewise.
30729         (_IO_list_lock): Likewise.
30730         (_IO_list_unlock): Likewise.
30731         (_IO_list_resetlock): Likewise.
30732         * libio/getchar.c (getchar): Likewise.
30733         * libio/getchar_u.c (getchar_unlocked): Likewise.
30734         * libio/getwchar.c (getwchar): Likewise.
30735         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30736         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30737         * login/getpt.c (__getpt): Likewise.
30738         * login/tst-utmp.c (main): Likewise.
30739         * malloc/hooks.c (__malloc_check_init): Likewise.
30740         * malloc/malloc.c (__malloc_stats): Likewise.
30741         * malloc/mtrace.c (tr_break): Likewise.
30742         (mtrace): Likewise.
30743         (muntrace): Likewise.
30744         * misc/fstab.c (endfsent): Likewise.
30745         * misc/getclktck.c (__getclktck): Likewise.
30746         * misc/getdtsz.c (__getdtablesize): Likewise.
30747         * misc/gethostid.c (gethostid): Likewise.
30748         * misc/getpagesize.c (__getpagesize): Likewise.
30749         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30750         (__get_nprocs): Likewise.
30751         (__get_phys_pages): Likewise.
30752         (__get_avphys_pages): Likewise.
30753         * misc/getttyent.c (getttyent): Likewise.
30754         (setttyent): Likewise.
30755         (endttyent): Likewise.
30756         * misc/getusershell.c (getusershell): Likewise.
30757         (endusershell): Likewise.
30758         (setusershell): Likewise.
30759         (initshells): Likewise.
30760         * misc/hsearch.c (__hdestroy): Likewise.
30761         * misc/sync.c (sync): Likewise.
30762         * misc/syslog.c (closelog_internal): Likewise.
30763         (closelog): Likewise.
30764         * misc/ttyslot.c (ttyslot): Likewise.
30765         * misc/vhangup.c (vhangup): Likewise.
30766         * posix/fork.c (__fork): Likewise.
30767         * posix/getegid.c (__getegid): Likewise.
30768         * posix/geteuid.c (__geteuid): Likewise.
30769         * posix/getgid.c (__getgid): Likewise.
30770         * posix/getpid.c (__getpid): Likewise.
30771         * posix/getppid.c (__getppid): Likewise.
30772         * posix/getuid.c (__getuid): Likewise.
30773         * posix/pause.c (pause): Likewise.
30774         * posix/setpgrp.c (setpgrp): Likewise.
30775         * posix/setsid.c (__setsid): Likewise.
30776         * posix/test-vfork.c (noop): Likewise.
30777         * resolv/gethnamaddr.c (_endhtent): Likewise.
30778         (_gethtent): Likewise.
30779         (ht_endhostent): Likewise.
30780         (gethostent): Likewise.
30781         (dns_service): Likewise.
30782         * stdlib/drand48.c (drand48): Likewise.
30783         * stdlib/lrand48.c (lrand48): Likewise.
30784         * stdlib/mrand48.c (mrand48): Likewise.
30785         * stdlib/rand.c (rand): Likewise.
30786         * stdlib/random.c (__random): Likewise.
30787         * stdlib/setenv.c (clearenv): Likewise.
30788         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30789         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30790         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30791         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30792         (__get_nprocs): Likewise.
30793         (__get_phys_pages): Likewise.
30794         (__get_avphys_pages): Likewise.
30795         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30796         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30797         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30798         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30799         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30800         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30801         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30802         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30803         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30804         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30805         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30806         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30807         * sysdeps/posix/clock.c (clock): Likewise.
30808         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30809         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30810         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30811         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30812         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30813         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30814         (__get_nprocs_conf): Likewise.
30815         (__get_phys_pages): Likewise.
30816         (__get_avphys_pages): Likewise.
30817         * time/clock.c (clock): Likewise.
30818         * time/tzset.c (__tzname_max): Likewise.
30820 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30822         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30823         (__bswap_32): Do not use "register".
30824         * crypt/crypt.c (_ufc_doit_r): Likewise.
30825         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30826         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30827         * gmon/gmon.c (__monstartup): Likewise.
30828         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30829         * hurd/hurdmalloc.c (more_memory): Likewise.
30830         (malloc): Likewise.
30831         (free): Likewise.
30832         (realloc): Likewise.
30833         (malloc_fork_prepare): Likewise.
30834         (malloc_fork_parent): Likewise.
30835         (malloc_fork_child): Likewise.
30836         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30837         (_svcauth_des): Likewise.
30838         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30839         * inet/inet_net.c (inet_network): Likewise.
30840         * inet/inet_netof.c (inet_netof): Likewise.
30841         * inet/rcmd.c (__validuser2_sa): Likewise.
30842         * io/fts.c (fts_open): Likewise.
30843         (fts_load): Likewise.
30844         (fts_close): Likewise.
30845         (fts_read): Likewise.
30846         (fts_children): Likewise.
30847         (fts_build): Likewise.
30848         (fts_stat): Likewise.
30849         (fts_sort): Likewise.
30850         (fts_alloc): Likewise.
30851         (fts_lfree): Likewise.
30852         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30853         (_IO_file_xsgetn): Likewise.
30854         (_IO_file_xsgetn_mmap): Likewise.
30855         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30856         (_IO_cookie_write): Likewise.
30857         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30858         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30859         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30860         * malloc/obstack.c (_obstack_begin): Likewise.
30861         (_obstack_begin_1): Likewise.
30862         (_obstack_newchunk): Likewise.
30863         (_obstack_allocated_p): Likewise.
30864         (obstack_free): Likewise.
30865         (_obstack_memory_used): Likewise.
30866         * misc/getttyent.c (getttynam): Likewise.
30867         (getttyent): Likewise.
30868         (skip): Likewise.
30869         (value): Likewise.
30870         * misc/getusershell.c (initshells): Likewise.
30871         * misc/syslog.c (__vsyslog_chk): Likewise.
30872         * misc/ttyslot.c (ttyslot): Likewise.
30873         * nis/nis_hash.c (__nis_hash): Likewise.
30874         * posix/fnmatch_loop.c (FCT): Likewise.
30875         * posix/getconf.c (print_all): Likewise.
30876         (main): Likewise.
30877         * posix/getopt.c (exchange): Likewise.
30878         * posix/glob.c (globfree): Likewise.
30879         (prefix_array): Likewise.
30880         (__glob_pattern_type): Likewise.
30881         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30882         (NS_GET32): Likewise.
30883         (NS_PUT16): Likewise.
30884         (NS_PUT32): Likewise.
30885         * resolv/gethnamaddr.c (getanswer): Likewise.
30886         (gethostbyname2): Likewise.
30887         (gethostbyaddr): Likewise.
30888         (_gethtent): Likewise.
30889         (_gethtbyname2): Likewise.
30890         (_gethtbyaddr): Likewise.
30891         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30892         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30893         * resolv/res_init.c (__res_vinit): Likewise.
30894         (net_mask): Likewise.
30895         * resolv/res_mkquery.c (outchar): Likewise.
30896         (PRINT): Likewise.
30897         * stdio-common/printf_fp.c (outchar): Likewise.
30898         (PRINT): Likewise.
30899         * stdio-common/printf_fphex.c (outchar): Likewise.
30900         (PRINT): Likewise.
30901         * stdio-common/printf_size.c (outchar): Likewise.
30902         (PRINT): Likewise.
30903         * stdio-common/test_rdwr.c (main): Likewise.
30904         * stdio-common/tfformat.c (matches): Likewise.
30905         * stdio-common/vfprintf.c (outchar): Likewise.
30906         (printf_unknown): Likewise.
30907         (buffered_vfprintf): Likewise.
30908         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30909         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30910         (ReadFile): Likewise.
30911         * stdlib/qsort.c (SWAP): Likewise.
30912         (_quicksort): Likewise.
30913         * stdlib/setenv.c (__add_to_environ): Likewise.
30914         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30915         * stdlib/strtol_l.c (__strtol_l): Likewise.
30916         * stdlib/tst-strtod.c (main): Likewise.
30917         * stdlib/tst-strtol.c (main): Likewise.
30918         * stdlib/tst-strtoll.c (main): Likewise.
30919         * string/bits/string2.h (__strcmp_cc): Likewise.
30920         (__strcmp_cg): Likewise.
30921         (__strcspn_c1): Likewise.
30922         (__strcspn_c2): Likewise.
30923         (__strcspn_c3): Likewise.
30924         (__strspn_c1): Likewise.
30925         (__strspn_c2): Likewise.
30926         (__strspn_c3): Likewise.
30927         (__strsep_1c): Likewise.
30928         (__strsep_2c): Likewise.
30929         (__strsep_3c): Likewise.
30930         * string/memccpy.c (__memccpy): Likewise.
30931         * string/stpcpy.c (__stpcpy): Likewise.
30932         * string/strcmp.c (strcmp): Likewise.
30933         * string/strrchr.c (strrchr): Likewise.
30934         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30935         Likewise.
30936         * sysdeps/mach/hurd/getcwd.c
30937         (_hurd_canonicalize_directory_name_internal): Likewise.
30938         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30939         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30940         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30941         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30942         Likewise, in both definitions.
30943         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30944         definitions.
30945         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30946         64] (__bswap_64): Likewise.
30947         * time/test_time.c (main): Likewise.
30948         * time/tzfile.c (__tzfile_read): Likewise.
30949         (__tzfile_compute): Likewise.
30950         * time/tzset.c (__tzset_parse_tz): Likewise.
30951         (tzset_internal): Likewise.
30952         (compute_change): Likewise.
30953         * wcsmbs/wcscat.c (__wcscat): Likewise.
30954         * wcsmbs/wcschr.c (wcschr): Likewise.
30955         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30956         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30957         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30958         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30959         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30960         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30961         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30962         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30963         * wcsmbs/wmemset.c (wmemset): Likewise.
30965 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30967         * scripts/config.guess: Update to version 2013-05-16.
30968         * scripts/config.sub: Update to version 2013-04-24.
30969         * scripts/install-sh: Update to version 2011-11-20.07.
30970         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30971         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30973 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30975         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30976         * elf/sln.c: Likewise.
30977         * hurd/hurd/ioctl.h: Likewise.
30978         * hurd/hurdmalloc.c: Likewise.
30979         * hurd/xattr.c: Likewise.
30980         * include/shlib-compat.h: Likewise.
30981         * inet/ruserpass.c: Likewise.
30982         * libio/iofgets_u.c: Likewise.
30983         * libio/iofgetws_u.c: Likewise.
30984         * locale/programs/ld-identification.c: Likewise.
30985         * locale/programs/ld-time.c: Likewise.
30986         * mach/msg-destroy.c: Likewise.
30987         * nss/nss_files/files-netgrp.c: Likewise.
30988         * resolv/res_data.c: Likewise.
30989         * soft-fp/op-1.h: Likewise.
30990         * soft-fp/op-2.h: Likewise.
30991         * soft-fp/op-4.h: Likewise.
30992         * soft-fp/op-common.h: Likewise.
30993         * stdio-common/printf_fphex.c: Likewise.
30994         * stdlib/strtod_l.c: Likewise.
30995         * sunrpc/rpc/clnt.h: Likewise.
30996         * sysdeps/generic/framestate.c: Likewise.
30997         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30998         * sysdeps/i386/bsd-setjmp.S: Likewise.
30999         * sysdeps/i386/__longjmp.S: Likewise.
31000         * sysdeps/i386/setjmp.S: Likewise.
31001         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31002         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31004         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31005         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31006         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31007         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31008         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31010         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31011         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31012         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31013         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31014         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31015         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31016         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31017         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31018         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31019         * sysdeps/ieee754/support.c: Likewise.
31020         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31021         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31022         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31023         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31024         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31025         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31026         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31027         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31028         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31029         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31030         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31031         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31032         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31033         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31034         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31035         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31036         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31039 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31041         * posix/transbug.c: Remove executable mode.
31043 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31045         * crypt/speeds.c: Remove trailing whitespace.
31046         * dlfcn/default.c: Likewise.
31047         * elf/ifuncdep2.c: Likewise.
31048         * elf/ifuncmain1.c: Likewise.
31049         * elf/ifuncmain1vis.c: Likewise.
31050         * elf/testobj.h: Likewise.
31051         * elf/tst-stackguard1.c: Likewise.
31052         * gmon/sys/gmon.h: Likewise.
31053         * hurd/hurdmsg.c: Likewise.
31054         * hurd/new-fd.c: Likewise.
31055         * hurd/ports-get.c: Likewise.
31056         * iconvdata/ibm1008_420.c: Likewise.
31057         * inet/tst-getni1.c: Likewise.
31058         * inet/tst-getni2.c: Likewise.
31059         * libio/ioungetc.c: Likewise.
31060         * libio/wfiledoalloc.c: Likewise.
31061         * manual/libm-err-tab.pl: Likewise.
31062         * math/w_dremf.c: Likewise.
31063         * misc/ftruncate.c: Likewise.
31064         * posix/bug-glob2.c: Likewise.
31065         * posix/tst-pcre.c: Likewise.
31066         * posix/wait4.c: Likewise.
31067         * resolv/README: Likewise.
31068         * resolv/res_debug.h: Likewise.
31069         * resolv/tst-inet_ntop.c: Likewise.
31070         * setjmp/bug269-setjmp.c: Likewise.
31071         * soft-fp/extended.h: Likewise.
31072         * soft-fp/op-1.h: Likewise.
31073         * soft-fp/op-2.h: Likewise.
31074         * soft-fp/op-4.h: Likewise.
31075         * soft-fp/op-8.h: Likewise.
31076         * soft-fp/testit.c: Likewise.
31077         * stdio-common/bug16.c: Likewise.
31078         * stdlib/random.c: Likewise.
31079         * sunrpc/rpcsvc/rquota.x: Likewise.
31080         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31081         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31082         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31083         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31084         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31085         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31086         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31087         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31088         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31089         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31090         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31091         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31092         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31093         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31094         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31095         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31096         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31097         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31098         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31099         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31100         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31101         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31102         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31103         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31104         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31106         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31107         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31108         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31109         * sysdeps/ieee754/s_lib_version.c: Likewise.
31110         * sysdeps/mach/hurd/check_fds.c: Likewise.
31111         * sysdeps/mach/hurd/getsockname.c: Likewise.
31112         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31113         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31114         * sysdeps/powerpc/bits/link.h: Likewise.
31115         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31116         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31117         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31118         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31119         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31120         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31121         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31122         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31123         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31124         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31125         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31126         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31127         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31128         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31129         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31130         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31131         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31132         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31133         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31134         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31135         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31136         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31137         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31138         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31139         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31140         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31141         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31142         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31143         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31144         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31145         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31146         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31147         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31148         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31149         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31150         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31151         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31152         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31153         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31154         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31155         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31156         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31157         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31158         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31159         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31160         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31161         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31162         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31163         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31164         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31165         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31166         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31167         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31168         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31169         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31170         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31171         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31172         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31173         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31174         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31175         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31176         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31177         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31178         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31179         * sysdeps/powerpc/sysdep.h: Likewise.
31180         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31181         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31182         * sysdeps/sh/dl-trampoline.S: Likewise.
31183         * sysdeps/sh/memset.S: Likewise.
31184         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31185         * sysdeps/sh/strlen.S: Likewise.
31186         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31187         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31188         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31189         * sysdeps/sparc/sparc32/rem.S: Likewise.
31190         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31191         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31192         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31193         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31194         * sysdeps/sparc/sparc32/urem.S: Likewise.
31195         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31196         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31197         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31198         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31200         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31201         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31202         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31203         * sysdeps/unix/bsd/times.c: Likewise.
31204         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31205         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31209         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31210         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31211         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31213         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31214         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31215         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31216         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31217         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31218         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31219         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31220         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31221         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31222         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31223         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31224         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31225         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31226         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31227         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31228         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31229         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31230         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31231         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31232         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31233         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31234         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31235         * sysdeps/x86_64/strcspn.S: Likewise.
31237 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31239         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31240         generated file.  Regenerate properly from gen-translit.pl.
31241         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31242         locale/C-translit.h.
31244 2013-06-05  Andreas Schwab  <schwab@suse.de>
31246         [BZ #15100]
31247         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31248         week as 6 instead of -1.
31249         * time/tst-strptime.c (day_tests): Add test case.
31251 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31253         * sysdeps/generic/math_private.h
31254         (libc_feholdexcept_setround_53bit): Replace with
31255         libc_feholdsetround_53bit.
31256         (libc_feupdateenv_53bit): Replace with
31257         libc_feresetround_53bit.
31258         (SET_RESTORE_ROUND_53BIT): Adjust.
31260 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31262         * string/test-strchrnul.c: Add copyright header.
31264         * posix/tst-getaddrinfo4.c: Increase test timeout.
31266 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31268         [BZ #15536]
31269         * math/libm-test.inc (MAX_EXP): Remove
31270         (MIN_EXP): Define.
31271         (ulp): Use MIN_EXP - MANT_DIG.
31272         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31274 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31276         * po/be.po: Revert last change.
31277         * po/zh_CN.po: Likewise.
31278         * po/header.pot: Likewise.
31280 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31282         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31283         link-libc-deps to empty as target-specific variable.
31284         * Makerules (link-libc-args): New variable.
31285         (libc-for-link): Likewise.
31286         (link-libc-deps): Likewise.
31287         (lib%.so): Depend on $(link-libc-deps).  Link with
31288         $(link-libc-args).
31289         (build-module): Link with $(link-libc-args).
31290         (build-module-asneeded): Likewise.
31291         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31292         list of objects.
31293         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31294         target-specific variable.
31295         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31296         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31297         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31298         libc.
31299         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31300         libc and ld.so.
31301         ($(objpfx)libpcprofile.so): Likewise.
31302         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31303         libc_nonshared.a.
31304         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31305         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31306         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31307         $(link-libc-deps).
31308         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31309         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31310         * login/Makefile ($(objpfx)libutil.so): Likewise.
31311         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31312         * math/Makefile ($(objpfx)libm.so): Likewise.
31313         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31314         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31315         variable instead of depending directly on libc.
31316         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31317         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31318         $(link-libc-deps).
31319         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31320         libc.
31321         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31322         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31323         ($(objpfx)libanl.so): Likewise.
31324         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31325         ld.so.
31326         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31327         $(link-libc-deps).
31328         * sysdeps/i386/fpu/Makefile: Remove file.
31329         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31330         ($(objpfx)libm.so): Remove dependency on ld.so.
31332 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31334         [BZ # 15553]
31335         * nis/yp_xdr.c (XDRMAXNAME): Define.
31336         (XDRMAXRECORD): Define.
31337         (xdr_domainname): Use XDRMAXNAME.
31338         (xdr_mapname): Likewise.
31339         (xdr_peername): Likewise.
31340         (xdr_keydat): Use XDRMAXRECORD.
31341         (xdr_valdat): Likewise.
31343 2013-05-30  Jeff Law  <law@redhat.com>
31345         [BZ #14256]
31346         * manual/errno.texi (ESTALE): Update to account for more than
31347         just NFS file systems.
31348         * sysdeps/gnu/errlist.c: Regenerated.
31350 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31352         [BZ #15465]
31353         * elf/Makefile (tests): Add tst-null-argv.
31354         (modules-names):  Add tst-null-argv-lib.
31355         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31356         (tst-null-argv-ENV): Set environment for tst-null-argv.
31357         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31358         (RTLD_PROGNAME): New macro.
31359         * elf/tst-null-argv.c: New test case.
31360         * elf/tst-null-argv-lib.c: Library for test case.
31361         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31362         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31363         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31364         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31365         * elf/dl-init.c (call_init): Likewise.
31366         (_dl_init): Likewise.
31367         * elf/dl-load.c (print_search_path): Likewise.
31368         (_dl_map_object): Likewise.
31369         * elf/dl-lookup.c (do_lookup_x): Likewise.
31370         (add_dependency): Likewise.
31371         (_dl_lookup_symbol_x): Likewise.
31372         (_dl_debug_bindings): Likewise.
31373         * elf/dl-open.c (_dl_show_scope): Likewise.
31374         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31375         * elf/dl-version.c (match_symbol): Likewise.
31376         (_dl_check_map_versions): Likewise.
31377         * elf/rtld.c (dl_main): Likewise.
31378         (print_unresolved): Use RTLD_PROGNAME.
31379         (print_missing_version): Likewise.
31380         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31381         (elf_machine_rela): Likewise.
31382         * sysdeps/powerpc/powerpc32/dl-machine.c
31383         (__process_machine_rela): Likewise.
31384         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31385         Likewise.
31386         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31387         Likewise.
31388         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31389         Likewise.
31390         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31391         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31392         Likewise.
31393         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31394         Likewise.
31395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31397 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31399         * po/be.po: Add descriptive title.
31400         * po/zh_CN.po: Likewise.
31401         * po/header.pot: Likewise.
31403 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31405         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31406         error message.
31407         (enlarge_archive): Likewise.
31409 2013-05-28  Ben North  <ben@redfrontdoor.org>
31411         * manual/arith.texi (frexp): It is the magnitude of the return
31412         value which lies in [0.5, 1), not the return value itself.
31414 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31418 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31420         * stdio-common/bug26.c (main): Correct fscanf template.
31422         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31423         declare _dl_skip_args.
31425         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31426         Don't declare.
31428         * manual/platform.texi: Add missing @end deftypefun.
31430 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31432         [BZ #15529]
31433         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31434         bit of mantissa of 2^16382.
31435         * math/libm-test.inc (hypot_test_data): Add more tests.
31437         * math/libm-test.inc: Add drem and pow10 to list of tested
31438         functions.
31439         (pow10_test): New function.
31440         (drem_test): Likewise.
31441         (drem_test_tonearest): Likewise.
31442         (drem_test_towardzero): Likewise.
31443         (drem_test_downward): Likewise.
31444         (drem_test_upward): Likewise.
31445         (main): Call the new functions.
31447         * math/libm-test.inc (finite_test_data): Remove.
31448         (finite_test): Run tests from isfinite_test_data.
31449         (gamma_test_data): Remove.
31450         (gamma_test): Run tests from lgamma_test_data.
31451         * sysdeps/i386/fpu/libm-test-ulps: Update.
31452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31454 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31456         * manual/platform.texi: Add PowerPC PPR function set documentation.
31457         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31458         implementation.
31460 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31462         * math/libm-test.inc (MAX_EXP): Define.
31463         (ULPDIFF): Define.
31464         (ulp): New function.
31465         (check_float_internal): Use ULPDIFF.
31466         (cpow_test): Disable failing test.
31467         (check_ulp): Test ulp() implemetnation.
31468         (main): Call check_ulp before starting tests.
31470 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31472         * math/gen-libm-test.pl (generate_testfile): Do not handle
31473         START_DATA and END_DATA.
31474         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31475         END_DATA.
31476         (acos_tonearest_test_data): Likewise.
31477         (acos_towardzero_test_data): Likewise.
31478         (acos_downward_test_data): Likewise.
31479         (acos_upward_test_data): Likewise.
31480         (acosh_test_data): Likewise.
31481         (asin_test_data): Likewise.
31482         (asin_tonearest_test_data): Likewise.
31483         (asin_towardzero_test_data): Likewise.
31484         (asin_downward_test_data): Likewise.
31485         (asin_upward_test_data): Likewise.
31486         (asinh_test_data): Likewise.
31487         (atan_test_data): Likewise.
31488         (atanh_test_data): Likewise.
31489         (atan2_test_data): Likewise.
31490         (cabs_test_data): Likewise.
31491         (cacos_test_data): Likewise.
31492         (cacosh_test_data): Likewise.
31493         (carg_test_data): Likewise.
31494         (casin_test_data): Likewise.
31495         (casinh_test_data): Likewise.
31496         (catan_test_data): Likewise.
31497         (catanh_test_data): Likewise.
31498         (cbrt_test_data): Likewise.
31499         (ccos_test_data): Likewise.
31500         (ccosh_test_data): Likewise.
31501         (ceil_test_data): Likewise.
31502         (cexp_test_data): Likewise.
31503         (cimag_test_data): Likewise.
31504         (clog_test_data): Likewise.
31505         (clog10_test_data): Likewise.
31506         (conj_test_data): Likewise.
31507         (copysign_test_data): Likewise.
31508         (cos_test_data): Likewise.
31509         (cos_tonearest_test_data): Likewise.
31510         (cos_towardzero_test_data): Likewise.
31511         (cos_downward_test_data): Likewise.
31512         (cos_upward_test_data): Likewise.
31513         (cosh_test_data): Likewise.
31514         (cosh_tonearest_test_data): Likewise.
31515         (cosh_towardzero_test_data): Likewise.
31516         (cosh_downward_test_data): Likewise.
31517         (cosh_upward_test_data): Likewise.
31518         (cpow_test_data): Likewise.
31519         (cproj_test_data): Likewise.
31520         (creal_test_data): Likewise.
31521         (csin_test_data): Likewise.
31522         (csinh_test_data): Likewise.
31523         (csqrt_test_data): Likewise.
31524         (ctan_test_data): Likewise.
31525         (ctan_tonearest_test_data): Likewise.
31526         (ctan_towardzero_test_data): Likewise.
31527         (ctan_downward_test_data): Likewise.
31528         (ctan_upward_test_data): Likewise.
31529         (ctanh_test_data): Likewise.
31530         (ctanh_tonearest_test_data): Likewise.
31531         (ctanh_towardzero_test_data): Likewise.
31532         (ctanh_downward_test_data): Likewise.
31533         (ctanh_upward_test_data): Likewise.
31534         (erf_test_data): Likewise.
31535         (erfc_test_data): Likewise.
31536         (exp_test_data): Likewise.
31537         (exp_tonearest_test_data): Likewise.
31538         (exp_towardzero_test_data): Likewise.
31539         (exp_downward_test_data): Likewise.
31540         (exp_upward_test_data): Likewise.
31541         (exp10_test_data): Likewise.
31542         (exp2_test_data): Likewise.
31543         (expm1_test_data): Likewise.
31544         (fabs_test_data): Likewise.
31545         (fdim_test_data): Likewise.
31546         (finite_test_data): Likewise.
31547         (floor_test_data): Likewise.
31548         (fma_test_data): Likewise.
31549         (fma_towardzero_test_data): Likewise.
31550         (fma_downward_test_data): Likewise.
31551         (fma_upward_test_data): Likewise.
31552         (fmax_test_data): Likewise.
31553         (fmin_test_data): Likewise.
31554         (fmod_test_data): Likewise.
31555         (fpclassify_test_data): Likewise.
31556         (frexp_test_data): Likewise.
31557         (gamma_test_data): Likewise.
31558         (hypot_test_data): Likewise.
31559         (ilogb_test_data): Likewise.
31560         (isfinite_test_data): Likewise.
31561         (isgreater_test_data): Likewise.
31562         (isgreaterequal_test_data): Likewise.
31563         (isinf_test_data): Likewise.
31564         (isless_test_data): Likewise.
31565         (islessequal_test_data): Likewise.
31566         (islessgreater_test_data): Likewise.
31567         (isnan_test_data): Likewise.
31568         (isnormal_test_data): Likewise.
31569         (issignaling_test_data): Likewise.
31570         (isunordered_test_data): Likewise.
31571         (j0_test_data): Likewise.
31572         (j1_test_data): Likewise.
31573         (jn_test_data): Likewise.
31574         (ldexp_test_data): Likewise.
31575         (lgamma_test_data): Likewise.
31576         (lrint_test_data): Likewise.
31577         (lrint_tonearest_test_data): Likewise.
31578         (lrint_towardzero_test_data): Likewise.
31579         (lrint_downward_test_data): Likewise.
31580         (lrint_upward_test_data): Likewise.
31581         (llrint_test_data): Likewise.
31582         (llrint_tonearest_test_data): Likewise.
31583         (llrint_towardzero_test_data): Likewise.
31584         (llrint_downward_test_data): Likewise.
31585         (llrint_upward_test_data): Likewise.
31586         (log_test_data): Likewise.
31587         (log10_test_data): Likewise.
31588         (log1p_test_data): Likewise.
31589         (log2_test_data): Likewise.
31590         (logb_test_data): Likewise.
31591         (logb_downward_test_data): Likewise.
31592         (lround_test_data): Likewise.
31593         (llround_test_data): Likewise.
31594         (modf_test_data): Likewise.
31595         (nearbyint_test_data): Likewise.
31596         (nextafter_test_data): Likewise.
31597         (nexttoward_test_data): Likewise.
31598         (pow_test_data): Likewise.
31599         (pow_tonearest_test_data): Likewise.
31600         (pow_towardzero_test_data): Likewise.
31601         (pow_downward_test_data): Likewise.
31602         (pow_upward_test_data): Likewise.
31603         (remainder_test_data): Likewise.
31604         (remainder_tonearest_test_data): Likewise.
31605         (remainder_towardzero_test_data): Likewise.
31606         (remainder_downward_test_data): Likewise.
31607         (remainder_upward_test_data): Likewise.
31608         (remquo_test_data): Likewise.
31609         (rint_test_data): Likewise.
31610         (rint_tonearest_test_data): Likewise.
31611         (rint_towardzero_test_data): Likewise.
31612         (rint_downward_test_data): Likewise.
31613         (rint_upward_test_data): Likewise.
31614         (round_test_data): Likewise.
31615         (scalb_test_data): Likewise.
31616         (scalbn_test_data): Likewise.
31617         (scalbln_test_data): Likewise.
31618         (signbit_test_data): Likewise.
31619         (sin_test_data): Likewise.
31620         (sin_tonearest_test_data): Likewise.
31621         (sin_towardzero_test_data): Likewise.
31622         (sin_downward_test_data): Likewise.
31623         (sin_upward_test_data): Likewise.
31624         (sincos_test_data): Likewise.
31625         (sinh_test_data): Likewise.
31626         (sinh_tonearest_test_data): Likewise.
31627         (sinh_towardzero_test_data): Likewise.
31628         (sinh_downward_test_data): Likewise.
31629         (sinh_upward_test_data): Likewise.
31630         (sqrt_test_data): Likewise.
31631         (tan_test_data): Likewise.
31632         (tan_tonearest_test_data): Likewise.
31633         (tan_towardzero_test_data): Likewise.
31634         (tan_downward_test_data): Likewise.
31635         (tan_upward_test_data): Likewise.
31636         (tanh_test_data): Likewise.
31637         (tgamma_test_data): Likewise.
31638         (trunc_test_data): Likewise.
31639         (y0_test_data): Likewise.
31640         (y1_test_data): Likewise.
31641         (yn_test_data): Likewise.
31642         (significand_test_data): Likewise.
31644         * math/gen-libm-test.pl (@functions): Remove variable.
31645         (generate_testfile): Don't handle START and END lines.
31646         * math/libm-test.inc (START): New macro.
31647         (END): Likewise.
31648         (END_COMPLEX): Likewise.
31649         (acos_test): Use END macro without arguments.
31650         (acos_test_tonearest): Likewise.
31651         (acos_test_towardzero): Likewise.
31652         (acos_test_downward): Likewise.
31653         (acos_test_upward): Likewise.
31654         (acosh_test): Likewise.
31655         (asin_test): Likewise.
31656         (asin_test_tonearest): Likewise.
31657         (asin_test_towardzero): Likewise.
31658         (asin_test_downward): Likewise.
31659         (asin_test_upward): Likewise.
31660         (asinh_test): Likewise.
31661         (atan_test): Likewise.
31662         (atanh_test): Likewise.
31663         (atan2_test): Likewise.
31664         (cabs_test): Likewise.
31665         (cacos_test): Use END_COMPLEX macro without arguments.
31666         (cacosh_test): Likewise.
31667         (carg_test): Use END macro without arguments.
31668         (casin_test): Use END_COMPLEX macro without arguments.
31669         (casinh_test): Likewise.
31670         (catan_test): Likewise.
31671         (catanh_test): Likewise.
31672         (cbrt_test): Use END macro without arguments.
31673         (ccos_test): Use END_COMPLEX macro without arguments.
31674         (ccosh_test): Likewise.
31675         (ceil_test): Use END macro without arguments.
31676         (cexp_test): Use END_COMPLEX macro without arguments.
31677         (cimag_test): Use END macro without arguments.
31678         (clog_test): Use END_COMPLEX macro without arguments.
31679         (clog10_test): Likewise.
31680         (conj_test): Likewise.
31681         (copysign_test): Use END macro without arguments.
31682         (cos_test): Likewise.
31683         (cos_test_tonearest): Likewise.
31684         (cos_test_towardzero): Likewise.
31685         (cos_test_downward): Likewise.
31686         (cos_test_upward): Likewise.
31687         (cosh_test): Likewise.
31688         (cosh_test_tonearest): Likewise.
31689         (cosh_test_towardzero): Likewise.
31690         (cosh_test_downward): Likewise.
31691         (cosh_test_upward): Likewise.
31692         (cpow_test): Use END_COMPLEX macro without arguments.
31693         (cproj_test): Likewise.
31694         (creal_test): Use END macro without arguments.
31695         (csin_test): Use END_COMPLEX macro without arguments.
31696         (csinh_test): Likewise.
31697         (csqrt_test): Likewise.
31698         (ctan_test): Likewise.
31699         (ctan_test_tonearest): Likewise.
31700         (ctan_test_towardzero): Likewise.
31701         (ctan_test_downward): Likewise.
31702         (ctan_test_upward): Likewise.
31703         (ctanh_test): Likewise.
31704         (ctanh_test_tonearest): Likewise.
31705         (ctanh_test_towardzero): Likewise.
31706         (ctanh_test_downward): Likewise.
31707         (ctanh_test_upward): Likewise.
31708         (erf_test): Use END macro without arguments.
31709         (erfc_test): Likewise.
31710         (exp_test): Likewise.
31711         (exp_test_tonearest): Likewise.
31712         (exp_test_towardzero): Likewise.
31713         (exp_test_downward): Likewise.
31714         (exp_test_upward): Likewise.
31715         (exp10_test): Likewise.
31716         (exp2_test): Likewise.
31717         (expm1_test): Likewise.
31718         (fabs_test): Likewise.
31719         (fdim_test): Likewise.
31720         (finite_test): Likewise.
31721         (floor_test): Likewise.
31722         (fma_test): Likewise.
31723         (fma_test_towardzero): Likewise.
31724         (fma_test_downward): Likewise.
31725         (fma_test_upward): Likewise.
31726         (fmax_test): Likewise.
31727         (fmin_test): Likewise.
31728         (fmod_test): Likewise.
31729         (fpclassify_test): Likewise.
31730         (frexp_test): Likewise.
31731         (gamma_test): Likewise.
31732         (hypot_test): Likewise.
31733         (ilogb_test): Likewise.
31734         (isfinite_test): Likewise.
31735         (isgreater_test): Likewise.
31736         (isgreaterequal_test): Likewise.
31737         (isinf_test): Likewise.
31738         (isless_test): Likewise.
31739         (islessequal_test): Likewise.
31740         (islessgreater_test): Likewise.
31741         (isnan_test): Likewise.
31742         (isnormal_test): Likewise.
31743         (issignaling_test): Likewise.
31744         (isunordered_test): Likewise.
31745         (j0_test): Likewise.
31746         (j1_test): Likewise.
31747         (jn_test): Likewise.
31748         (ldexp_test): Likewise.
31749         (lgamma_test): Likewise.
31750         (lrint_test): Likewise.
31751         (lrint_test_tonearest): Likewise.
31752         (lrint_test_towardzero): Likewise.
31753         (lrint_test_downward): Likewise.
31754         (lrint_test_upward): Likewise.
31755         (llrint_test): Likewise.
31756         (llrint_test_tonearest): Likewise.
31757         (llrint_test_towardzero): Likewise.
31758         (llrint_test_downward): Likewise.
31759         (llrint_test_upward): Likewise.
31760         (log_test): Likewise.
31761         (log10_test): Likewise.
31762         (log1p_test): Likewise.
31763         (log2_test): Likewise.
31764         (logb_test): Likewise.
31765         (logb_test_downward): Likewise.
31766         (lround_test): Likewise.
31767         (llround_test): Likewise.
31768         (modf_test): Likewise.
31769         (nearbyint_test): Likewise.
31770         (nextafter_test): Likewise.
31771         (nexttoward_test): Likewise.
31772         (pow_test): Likewise.
31773         (pow_test_tonearest): Likewise.
31774         (pow_test_towardzero): Likewise.
31775         (pow_test_downward): Likewise.
31776         (pow_test_upward): Likewise.
31777         (remainder_test): Likewise.
31778         (remainder_test_tonearest): Likewise.
31779         (remainder_test_towardzero): Likewise.
31780         (remainder_test_downward): Likewise.
31781         (remainder_test_upward): Likewise.
31782         (remquo_test): Likewise.
31783         (rint_test): Likewise.
31784         (rint_test_tonearest): Likewise.
31785         (rint_test_towardzero): Likewise.
31786         (rint_test_downward): Likewise.
31787         (rint_test_upward): Likewise.
31788         (round_test): Likewise.
31789         (scalb_test): Likewise.
31790         (scalbn_test): Likewise.
31791         (scalbln_test): Likewise.
31792         (signbit_test): Likewise.
31793         (sin_test): Likewise.
31794         (sin_test_tonearest): Likewise.
31795         (sin_test_towardzero): Likewise.
31796         (sin_test_downward): Likewise.
31797         (sin_test_upward): Likewise.
31798         (sincos_test): Likewise.
31799         (sinh_test): Likewise.
31800         (sinh_test_tonearest): Likewise.
31801         (sinh_test_towardzero): Likewise.
31802         (sinh_test_downward): Likewise.
31803         (sinh_test_upward): Likewise.
31804         (sqrt_test): Likewise.
31805         (tan_test): Likewise.
31806         (tan_test_tonearest): Likewise.
31807         (tan_test_towardzero): Likewise.
31808         (tan_test_downward): Likewise.
31809         (tan_test_upward): Likewise.
31810         (tanh_test): Likewise.
31811         (tgamma_test): Likewise.
31812         (trunc_test): Likewise.
31813         (y0_test): Likewise.
31814         (y1_test): Likewise.
31815         (yn_test): Likewise.
31816         (significand_test): Likewise.
31818 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31820         [BZ #15381]
31821         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31823 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31825         [BZ #14894]
31826         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31827         __ppc_mdoio and __ppc_mdoom.
31828         * manual/platform.texi: Document new functions __ppc_yield,
31829         __ppc_mdoio and __ppc_mdoom.
31831 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31833         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31834         (main): Mention "tls" pseudo-hwcap is legacy.
31835         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31837 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31839         * math/gen-libm-test.pl (parse_args): Output only string of
31840         arguments as text for test name, not full call or descriptions of
31841         tests for extra outputs.
31842         (generate_testfile): Do not pass function name to parse_args.
31843         Generate this_func variable from START.
31844         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31845         field to arg_str.
31846         (struct test_ff_f_data): Likewise.
31847         (test_ff_f_data_nexttoward): Likewise.
31848         (struct test_fi_f_data): Likewise.
31849         (struct test_fl_f_data): Likewise.
31850         (struct test_if_f_data): Likewise.
31851         (struct test_fff_f_data): Likewise.
31852         (struct test_c_f_data): Likewise.
31853         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31854         (struct test_fF_f1_data): Likewise.
31855         (struct test_ffI_f1_data): Likewise.
31856         (struct test_c_c_data): Rename test_name field to arg_str.
31857         (struct test_cc_c_data): Likewise.
31858         (struct test_f_i_data): Likewise.
31859         (struct test_ff_i_data): Likewise.
31860         (struct test_f_l_data): Likewise.
31861         (struct test_f_L_data): Likewise.
31862         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31863         and extra2_name.
31864         (COMMON_TEST_SETUP): New macro.
31865         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31866         (COMMON_TEST_CLEANUP): Likewise.
31867         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31868         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31869         macros.
31870         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31871         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31872         macros.
31873         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31874         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31875         cleanup macros.
31876         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31877         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31878         macros.
31879         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31880         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31881         macros.
31882         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31883         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31884         cleanup macros.
31885         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31886         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31887         cleanup macros.
31888         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31889         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31890         cleanup macros.
31891         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31892         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31893         macros.
31894         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31895         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31896         macros.
31897         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31898         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31899         macros.
31900         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31901         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31902         cleanup macros.
31903         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31904         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31905         cleanup macros.
31906         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31907         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31908         macros.
31909         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31910         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31911         cleanup macros.
31912         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31913         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31914         macros.
31915         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31916         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31917         macros.
31918         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31919         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31920         cleanup macros.
31921         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31923 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31925         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31926         to _sifields.sigfault.
31927         (si_addr_lsb): Define new macro.
31928         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31930         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31932 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31934         [BZ #15441]
31935         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31936         returns -1.
31937         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31938         null return -1.
31939         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31940         loading the domain.
31942 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31944         * math/gen-libm-test.pl (parse_args): Do not include expected
31945         result in test name.
31946         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31947         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31948         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31949         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31950         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31953 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31955         * benchtests/Makefile: Sort function entries.
31957         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31958         tanh, asinh, acosh, atanh.
31959         * benchtests/acos-inputs: New file.
31960         * benchtests/acosh-inputs: New file.
31961         * benchtests/asin-inputs: New file.
31962         * benchtests/asinh-inputs: New file.
31963         * benchtests/atanh-inputs: New file.
31964         * benchtests/cosh-inputs: New file.
31965         * benchtests/log-inputs: New file.
31966         * benchtests/sinh-inputs: New file.
31967         * benchtests/tanh-inputs: New file.
31969 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31971         [BZ #15339]
31972         * posix/tst-getaddrinfo4.c: New test.
31973         * posix/Makefile (tests): Add it.
31975 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31977         [BZ #15339]
31978         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31979         when no services were used.
31980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31981         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31983 2013-05-21  Andreas Schwab  <schwab@suse.de>
31985         [BZ #15014]
31986         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31987         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31988         successful.
31989         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31990         redundant variable declarations and reallocation of buffer when
31991         parsing as IPv6 address.  Always set NSS status when called from
31992         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31993         buffer too small.  Correct computation of needed size.
31994         * nss/Makefile (tests): Add test-digits-dots.
31995         * nss/test-digits-dots.c: New test.
31997 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31999         * benchtests/Makefile: Remove instructions for adding
32000         benchmark tests.
32001         * benchtests/README: New file to explain how to execute and
32002         enhance the benchmark tests.
32004 2013-05-21  Andreas Schwab  <schwab@suse.de>
32006         [BZ #15493]
32007         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32008         * setjmp/tst-sigsetjmp.c: New test.
32010 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32012         * sysdeps/x86_64/memset.S (memset): New implementation.
32013         (__bzero): Likewise.
32014         (__memset_tail): New function.
32016 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32018         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32019         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32020         __memcpy_sse2_unaligned ifunc selection.
32021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32022         Add memcpy-sse2-unaligned.S.
32023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32024         Add: __memcpy_sse2_unaligned.
32026 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32028         [BZ #15490]
32029         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32030         math_force_eval before restoring floating-point envrionment.
32031         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32032         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32033         Likewise.
32034         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32035         <math_private.h>.
32036         (__nearbyintl): Use math_force_eval before restoring
32037         floating-point environment.
32038         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32040         * math/gen-libm-test.pl (special_functions): Remove.
32041         (parse_args): Don't handle TEST_extra.  Handle functions with no
32042         return value.
32043         * math/libm-test.inc (struct test_sincos_data): Replace with
32044         struct test_fFF_11_data.
32045         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32046         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32047         (sincos_test_data): Change element type to struct
32048         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32049         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32050         RUN_TEST_LOOP_sincos.
32051         * math/README.libm-test: Don't mention special handling of
32052         individual functions.
32053         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32054         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32055         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32056         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32057         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32060         * math/gen-libm-test.pl (get_variable): Remove function.
32061         (parse_args): Don't show pointer parameters to call in test
32062         names.  Use "extra output N" in test names for extra outputs
32063         rather than naming variables.
32065 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32067         [BZ #15488]
32068         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32069         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32070         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32071         double tests.
32072         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32073         disable.
32074         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32075         check_long_double.
32077         * math/gen-libm-test.pl (@tests): Remove variable.
32078         ($count): Likewise.
32079         (new_test): Remove function.
32080         (show_exceptions): New function.
32081         (special_functions): Use show_exceptions instead of new_test.
32082         (parse_args): Likewise.
32083         (generate_testfile): Pass only function name in generated call to
32084         print_max_error or print_complex_max_error.
32085         (get_ulps): Do not handle complex tests specially.
32086         (output_test): Rename to ...
32087         (get_all_ulps_for_test): ... this.  Return a string rather than
32088         printing to a file.  Require ulps to be present.
32089         (output_ulps): Generate arrays rather than #defines.
32090         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32091         (struct ulp_data): New type.
32092         (BUILD_COMPLEX_ULP): Remove macro.
32093         (compare_ulp_data): New function.
32094         (find_ulps): Likewise.
32095         (find_test_ulps): Likewise.
32096         (find_function_ulps): Likewise.
32097         (find_complex_function_ulps): Likewise.
32098         (print_max_error): Determine allowed ulps using
32099         find_function_ulps.
32100         (print_complex_max_error): Determine allowed ulps using
32101         find_complex_function_ulps.
32102         (check_float_internal): Determine max ulps using find_test_ulps.
32103         (check_float): Do not take max_ulp parameter.  Update call to
32104         check_float_internal.
32105         (check_complex): Likewise.
32106         (check_int): Do not take max_ulp parameter.
32107         (check_long): Likewise.
32108         (check_bool): Likewise.
32109         (check_longlong): Likewise.
32110         (struct test_f_f_data): Remove max_ulp field.
32111         (struct test_ff_f_data): Likewise.
32112         (struct test_ff_f_data_nexttoward): Likewise.
32113         (struct test_fi_f_data): Likewise.
32114         (struct test_fl_f_data): Likewise.
32115         (struct test_if_f_data): Likewise.
32116         (struct test_fff_f_data): Likewise.
32117         (struct test_c_f_data): Likewise.
32118         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32119         (struct test_fF_f1_data): Likewise.
32120         (struct test_ffI_f1_data): Likewise.
32121         (struct test_c_c_data): Remove max_ulp field.
32122         (struct test_cc_c_data): Likewise.
32123         (struct test_f_i_data): Likewise.
32124         (struct test_ff_i_data): Likewise.
32125         (struct test_f_l_data): Likewise.
32126         (struct test_f_L_data): Likewise.
32127         (struct test_sincos_data): Likewise.
32128         (RUN_TEST_f_f): Do not handle ulps.
32129         (RUN_TEST_LOOP_f_f): Likewise.
32130         (RUN_TEST_2_f): Likewise.
32131         (RUN_TEST_LOOP_2_f): Likewise.
32132         (RUN_TEST_fff_f): Likewise.
32133         (RUN_TEST_LOOP_fff_f): Likewise.
32134         (RUN_TEST_c_f): Likewise.
32135         (RUN_TEST_LOOP_c_f): Likewise.
32136         (RUN_TEST_f_f1): Likewise.
32137         (RUN_TEST_LOOP_f_f1): Likewise.
32138         (RUN_TEST_fF_f1): Likewise.
32139         (RUN_TEST_LOOP_fF_f1): Likewise.
32140         (RUN_TEST_fI_f1): Likewise.
32141         (RUN_TEST_LOOP_fI_f1): Likewise.
32142         (RUN_TEST_ffI_f1): Likewise.
32143         (RUN_TEST_LOOP_ffI_f1): Likewise.
32144         (RUN_TEST_c_c): Likewise.
32145         (RUN_TEST_LOOP_c_c): Likewise.
32146         (RUN_TEST_cc_c): Likewise.
32147         (RUN_TEST_LOOP_cc_c): Likewise.
32148         (RUN_TEST_f_i): Likewise.
32149         (RUN_TEST_LOOP_f_i): Likewise.
32150         (RUN_TEST_f_i_tg): Likewise.
32151         (RUN_TEST_LOOP_f_i_tg): Likewise.
32152         (RUN_TEST_ff_i_tg): Likewise.
32153         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32154         (RUN_TEST_f_b): Likewise.
32155         (RUN_TEST_LOOP_f_b): Likewise.
32156         (RUN_TEST_f_b_tg): Likewise.
32157         (RUN_TEST_LOOP_f_b_tg): Likewise.
32158         (RUN_TEST_f_l): Likewise.
32159         (RUN_TEST_LOOP_f_l): Likewise.
32160         (RUN_TEST_f_L): Likewise.
32161         (RUN_TEST_LOOP_f_L): Likewise.
32162         (RUN_TEST_sincos): Likewise.
32163         (RUN_TEST_LOOP_sincos): Likewise.
32165 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32167         [BZ #15480]
32168         [BZ #15485]
32169         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32170         main case of finite arguments, set rounding mode to FE_TONEAREST
32171         and discard exceptions.
32172         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32173         exceptions.
32174         (remainder_tonearest_test_data): New variable.
32175         (remainder_test_tonearest): New function.
32176         (remainder_towardzero_test_data): New variable.
32177         (remainder_test_towardzero): New function.
32178         (remainder_downward_test_data): New variable.
32179         (remainder_test_downward): New function.
32180         (remainder_upward_test_data): New variable.
32181         (remainder_test_upward): New function.
32182         (main): Call the new test functions.
32184         * math/libm-test.inc (struct test_f_f1_data): Remove field
32185         extra_init.
32186         (struct test_fF_f1_data): Likewise.
32187         (struct test_ffI_f1_data): Likewise.
32188         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32189         based on value of EXTRA_EXPECTED.
32190         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32191         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32192         EXTRA_VAR based on value of EXTRA_EXPECTED.
32193         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32194         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32195         EXTRA_VAR based on value of EXTRA_EXPECTED.
32196         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32197         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32198         EXTRA_VAR based on value of EXTRA_EXPECTED.
32199         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32200         * math/gen-libm-test.pl (parse_args): Don't output initializers
32201         for extra output values.
32203         * math/libm-test.inc (check_int): Expect result to be exactly
32204         equal to expected value and do not handle ulps.
32205         (check_long): Likewise.
32206         (check_longlong): Likewise.
32208         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32209         exceptions.
32210         (cimag_test_data): Likewise.
32211         (conj_test_data): Likewise.
32212         (copysign_test_data): Likewise.
32213         (cproj_test_data): Likewise.
32214         (creal_test_data): Likewise.
32215         (fabs_test_data): Likewise.
32216         (fdim_test_data): Likewise.
32217         (finite_test_data): Likewise.
32218         (floor_test_data): Likewise.
32219         (fmax_test_data): Likewise.
32220         (fmin_test_data): Likewise.
32221         (fmod_test_data): Likewise.
32222         (fpclassify_test_data): Likewise.
32223         (frexp_test_data): Likewise.
32224         (ilogb_test_data): Likewise.
32225         (isfinite_test_data): Likewise.
32226         (isgreater_test_data): Likewise.
32227         (isgreaterequal_test_data): Likewise.
32228         (isinf_test_data): Likewise.
32229         (isless_test_data): Likewise.
32230         (islessequal_test_data): Likewise.
32231         (islessgreater_test_data): Likewise.
32232         (isnan_test_data): Likewise.
32233         (isnormal_test_data): Likewise.
32234         (issignaling_test_data): Likewise.
32235         (isunordered_test_data): Likewise.
32236         (ldexp_test_data): Likewise.
32237         (lrint_test_data): Likewise.
32238         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32239         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32240         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32241         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32242         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32243         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32244         test input.
32245         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32246         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32247         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32248         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32249         that test input.
32250         (lrint_downward_test_data): Test for "inexact" exceptions.
32251         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32252         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32253         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32254         test input.
32255         (lrint_upward_test_data): Test for "inexact" exceptions.
32256         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32257         test input.
32258         (llrint_test_data): Test for "inexact" exceptions.
32259         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32260         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32261         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32262         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32263         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32264         (llrint_downward_test_data): Test for "inexact" exceptions.
32265         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32266         (llrint_upward_test_data): Test for "inexact" exceptions.
32267         (logb_test_data): Likewise.
32268         (logb_downward_test_data): Likewise.
32269         (nextafter_test_data): Likewise.
32270         (nexttoward_test_data): Likewise.
32271         (remainder_test_data): Likewise.
32272         (remquo_test_data): Likewise.
32273         (scalbn_test_data): Likewise.
32274         (scalbln_test_data): Likewise.
32275         (signbit_test_data): Likewise.
32276         (sqrt_test_data): Likewise.
32277         (significand_test_data): Likewise.
32279 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32281         [BZ #15424]
32282         * benchtests/bench-modf.c (struct args): Mark arg0 as
32283         volatile.
32284         * scripts/bench.pl: Mark members of struct args as volatile.
32286 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32288         [BZ # 15497]
32289         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32290         negative infinity on POWER6 or lower.
32291         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32293 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32295         [BZ #15442]
32296         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32297         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32298         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32299         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32300         (_FP_SETQNAN): New macro.
32301         (_FP_SETQNAN_SEMIRAW): Likewise.
32302         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32303         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32304         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32305         (FP_EXTEND): Use _FP_FRAC_SNANP.
32306         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32307         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32308         into account.
32309         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32310         New macro.
32311         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32312         Likewise.
32314 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32316         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32317         with DIVIDE_BY_ZERO_EXCEPTION.
32318         (gamma_test_data): Likewise.
32319         (lgamma_test_data): Likewise.
32320         (log_test_data): Likewise.
32321         (log10_test_data): Likewise.
32322         (log2_test_data): Likewise.
32323         (tgamma_test_data): Likewise.
32325         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32326         (acos_test_tonearest): Likewise.
32327         (acos_test_towardzero): Likewise.
32328         (acos_test_downward): Likewise.
32329         (acos_test_upward): Likewise.
32330         (acosh_test): Likewise.
32331         (asin_test): Likewise.
32332         (asin_test_tonearest): Likewise.
32333         (asin_test_towardzero): Likewise.
32334         (asin_test_downward): Likewise.
32335         (asin_test_upward): Likewise.
32336         (asinh_test): Likewise.
32337         (atan_test): Likewise.
32338         (atanh_test): Likewise.
32339         (atan2_test): Likewise.
32340         (cabs_test): Likewise.
32341         (cacos_test): Likewise.
32342         (cacosh_test): Likewise.
32343         (casin_test): Likewise.
32344         (casinh_test): Likewise.
32345         (catan_test): Likewise.
32346         (catanh_test): Likewise.
32347         (cbrt_test): Likewise.
32348         (ccos_test): Likewise.
32349         (ccosh_test): Likewise.
32350         (cexp_test): Likewise.
32351         (clog_test): Likewise.
32352         (clog10_test): Likewise.
32353         (cos_test): Likewise.
32354         (cos_test_tonearest): Likewise.
32355         (cos_test_towardzero): Likewise.
32356         (cos_test_downward): Likewise.
32357         (cos_test_upward): Likewise.
32358         (cosh_test): Likewise.
32359         (cosh_test_tonearest): Likewise.
32360         (cosh_test_towardzero): Likewise.
32361         (cosh_test_downward): Likewise.
32362         (cosh_test_upward): Likewise.
32363         (cpow_test): Likewise.
32364         (csin_test): Likewise.
32365         (csinh_test): Likewise.
32366         (csqrt_test): Likewise.
32367         (ctan_test): Likewise.
32368         (ctan_test_tonearest): Likewise.
32369         (ctan_test_towardzero): Likewise.
32370         (ctan_test_downward): Likewise.
32371         (ctan_test_upward): Likewise.
32372         (ctanh_test): Likewise.
32373         (ctanh_test_tonearest): Likewise.
32374         (ctanh_test_towardzero): Likewise.
32375         (ctanh_test_downward): Likewise.
32376         (ctanh_test_upward): Likewise.
32377         (erf_test): Likewise.
32378         (erfc_test): Likewise.
32379         (exp_test): Likewise.
32380         (exp_test_tonearest): Likewise.
32381         (exp_test_towardzero): Likewise.
32382         (exp_test_downward): Likewise.
32383         (exp_test_upward): Likewise.
32384         (exp10_test): Likewise.
32385         (exp2_test): Likewise.
32386         (expm1_test): Likewise.
32387         (fmod_test): Likewise.
32388         (gamma_test): Likewise.
32389         (hypot_test): Likewise.
32390         (j0_test): Likewise.
32391         (j1_test): Likewise.
32392         (jn_test): Likewise.
32393         (lgamma_test): Likewise.
32394         (log_test): Likewise.
32395         (log10_test): Likewise.
32396         (log1p_test): Likewise.
32397         (log2_test): Likewise.
32398         (logb_test_downward): Likewise.
32399         (pow_test): Likewise.
32400         (pow_test_tonearest): Likewise.
32401         (pow_test_towardzero): Likewise.
32402         (pow_test_downward): Likewise.
32403         (pow_test_upward): Likewise.
32404         (remainder_test): Likewise.
32405         (remquo_test): Likewise.
32406         (sin_test): Likewise.
32407         (sin_test_tonearest): Likewise.
32408         (sin_test_towardzero): Likewise.
32409         (sin_test_downward): Likewise.
32410         (sin_test_upward): Likewise.
32411         (sincos_test): Likewise.
32412         (sinh_test): Likewise.
32413         (sinh_test_tonearest): Likewise.
32414         (sinh_test_towardzero): Likewise.
32415         (sinh_test_downward): Likewise.
32416         (sinh_test_upward): Likewise.
32417         (sqrt_test): Likewise.
32418         (tan_test): Likewise.
32419         (tan_test_tonearest): Likewise.
32420         (tan_test_towardzero): Likewise.
32421         (tan_test_downward): Likewise.
32422         (tan_test_upward): Likewise.
32423         (tanh_test): Likewise.
32424         (tgamma_test): Likewise.
32425         (y0_test): Likewise.
32426         (y1_test): Likewise.
32427         (yn_test): Likewise.
32429         * math/gen-libm-test.pl (adjust_arg): Remove function.
32430         (special_function): Remove argument $in_func.  Only handle
32431         generating output for tables of tests, not inside functions.
32432         (parse_args): Likewise.
32433         (generate_testfile): Remove variable $in_func.  Update call to
32434         parse_args.
32435         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32436         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32437         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32438         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32439         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32440         (MAX_VALUE_INIT): Rename macro to max_value.
32441         (MIN_VALUE_INIT): Rename macro to min_value.
32442         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32443         (plus_zero): Remove variable.
32444         (minus_zero): Likewise.
32445         (plus_infty): Likewise.
32446         (minus_infty): Likewise.
32447         (qnan_value): Likewise.
32448         (max_value): Likewise.
32449         (min_value): Likewise.
32450         (min_subnorm_value): Likewise.
32452 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32454         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32455         uint64_t or uint32_t usage.
32456         * crypt/sha256-block.c: Likewise.
32457         * crypt/sha256-crypt.c: Likewise.
32458         * crypt/sha256.c: Likewise.
32459         * crypt/sha512-block.c: Likewise.
32460         * crypt/sha512-crypt.c: Likewise.
32461         * crypt/sha512.c: Likewise.
32462         * debug/backtrace-tst.c: Likewise.
32463         * debug/pcprofiledump.c: Likewise.
32464         * elf/cache.c: Likewise.
32465         * elf/dl-cache.c: Likewise.
32466         * elf/dl-misc.c: Likewise.
32467         * elf/dl-profile.c: Likewise.
32468         * elf/dl-support.c: Likewise.
32469         * elf/ldconfig.c: Likewise.
32470         * elf/sprof.c: Likewise.
32471         * iconv/dummy-repertoire.c: Likewise.
32472         * iconv/iconv_charmap.c: Likewise.
32473         * iconv/skeleton.c: Likewise.
32474         * iconvdata/8bit-generic.c: Likewise.
32475         * iconvdata/cp737.h: Likewise.
32476         * iconvdata/cp775.h: Likewise.
32477         * iconvdata/ibm1008.h: Likewise.
32478         * iconvdata/ibm1025.h: Likewise.
32479         * iconvdata/ibm1046.h: Likewise.
32480         * iconvdata/ibm1097.h: Likewise.
32481         * iconvdata/ibm1112.h: Likewise.
32482         * iconvdata/ibm1122.h: Likewise.
32483         * iconvdata/ibm1123.h: Likewise.
32484         * iconvdata/ibm1124.h: Likewise.
32485         * iconvdata/ibm1129.h: Likewise.
32486         * iconvdata/ibm1130.h: Likewise.
32487         * iconvdata/ibm1132.h: Likewise.
32488         * iconvdata/ibm1133.h: Likewise.
32489         * iconvdata/ibm1137.h: Likewise.
32490         * iconvdata/ibm1140.h: Likewise.
32491         * iconvdata/ibm1141.h: Likewise.
32492         * iconvdata/ibm1142.h: Likewise.
32493         * iconvdata/ibm1143.h: Likewise.
32494         * iconvdata/ibm1144.h: Likewise.
32495         * iconvdata/ibm1145.h: Likewise.
32496         * iconvdata/ibm1146.h: Likewise.
32497         * iconvdata/ibm1147.h: Likewise.
32498         * iconvdata/ibm1148.h: Likewise.
32499         * iconvdata/ibm1149.h: Likewise.
32500         * iconvdata/ibm1153.h: Likewise.
32501         * iconvdata/ibm1154.h: Likewise.
32502         * iconvdata/ibm1155.h: Likewise.
32503         * iconvdata/ibm1156.h: Likewise.
32504         * iconvdata/ibm1157.h: Likewise.
32505         * iconvdata/ibm1158.h: Likewise.
32506         * iconvdata/ibm1160.h: Likewise.
32507         * iconvdata/ibm1161.h: Likewise.
32508         * iconvdata/ibm1162.h: Likewise.
32509         * iconvdata/ibm1163.h: Likewise.
32510         * iconvdata/ibm1164.h: Likewise.
32511         * iconvdata/ibm1166.h: Likewise.
32512         * iconvdata/ibm1167.h: Likewise.
32513         * iconvdata/ibm12712.h: Likewise.
32514         * iconvdata/ibm1390.h: Likewise.
32515         * iconvdata/ibm1399.h: Likewise.
32516         * iconvdata/ibm16804.h: Likewise.
32517         * iconvdata/ibm4517.h: Likewise.
32518         * iconvdata/ibm4899.h: Likewise.
32519         * iconvdata/ibm4909.h: Likewise.
32520         * iconvdata/ibm4971.h: Likewise.
32521         * iconvdata/ibm5347.h: Likewise.
32522         * iconvdata/ibm803.h: Likewise.
32523         * iconvdata/ibm856.h: Likewise.
32524         * iconvdata/ibm901.h: Likewise.
32525         * iconvdata/ibm902.h: Likewise.
32526         * iconvdata/ibm9030.h: Likewise.
32527         * iconvdata/ibm9066.h: Likewise.
32528         * iconvdata/ibm921.h: Likewise.
32529         * iconvdata/ibm922.h: Likewise.
32530         * iconvdata/ibm9448.h: Likewise.
32531         * iconvdata/isiri-3342.h: Likewise.
32532         * iconvdata/jis0201.h: Likewise.
32533         * include/link.h: Likewise.
32534         * include/netdb.h: Likewise.
32535         * inet/check_native.c: Likewise.
32536         * inet/check_pf.c: Likewise.
32537         * inet/getipv4sourcefilter.c: Likewise.
32538         * inet/getnameinfo.c: Likewise.
32539         * inet/getsourcefilter.c: Likewise.
32540         * inet/htonl.c: Likewise.
32541         * inet/setipv4sourcefilter.c: Likewise.
32542         * inet/setsourcefilter.c: Likewise.
32543         * inet/test-inet6_opt.c: Likewise.
32544         * inet/tst-network.c: Likewise.
32545         * locale/C-collate.c: Likewise.
32546         * locale/C-ctype.c: Likewise.
32547         * locale/C-time.c: Likewise.
32548         * locale/C-translit.h: Likewise.
32549         * locale/loadarchive.c: Likewise.
32550         * locale/programs/3level.h: Likewise.
32551         * locale/programs/charmap.c: Likewise.
32552         * locale/programs/charmap.h: Likewise.
32553         * locale/programs/ld-address.c: Likewise.
32554         * locale/programs/ld-collate.c: Likewise.
32555         * locale/programs/ld-ctype.c: Likewise.
32556         * locale/programs/ld-identification.c: Likewise.
32557         * locale/programs/ld-measurement.c: Likewise.
32558         * locale/programs/ld-messages.c: Likewise.
32559         * locale/programs/ld-monetary.c: Likewise.
32560         * locale/programs/ld-name.c: Likewise.
32561         * locale/programs/ld-numeric.c: Likewise.
32562         * locale/programs/ld-paper.c: Likewise.
32563         * locale/programs/ld-telephone.c: Likewise.
32564         * locale/programs/ld-time.c: Likewise.
32565         * locale/programs/linereader.c: Likewise.
32566         * locale/programs/locale.c: Likewise.
32567         * locale/programs/locarchive.c: Likewise.
32568         * locale/programs/locfile.h: Likewise.
32569         * locale/programs/repertoire.c: Likewise.
32570         * locale/programs/simple-hash.c: Likewise.
32571         * locale/programs/simple-hash.h: Likewise.
32572         * malloc/memusage.c: Likewise.
32573         * malloc/memusagestat.c: Likewise.
32574         * nis/nis_defaults.c: Likewise.
32575         * nis/nis_hash.c: Likewise.
32576         * nis/nis_print.c: Likewise.
32577         * nis/nis_xdr.c: Likewise.
32578         * nscd/connections.c: Likewise.
32579         * nscd/hstcache.c: Likewise.
32580         * nscd/nscd_gethst_r.c: Likewise.
32581         * nscd/nscd_getserv_r.c: Likewise.
32582         * nscd/nscd_helper.c: Likewise.
32583         * nscd/servicescache.c: Likewise.
32584         * nss/makedb.c: Likewise.
32585         * nss/nss_db/db-XXX.c: Likewise.
32586         * nss/nss_db/db-initgroups.c: Likewise.
32587         * nss/nss_db/db-netgrp.c: Likewise.
32588         * nss/nss_files/files-network.c: Likewise.
32589         * nss/nss_files/files-parse.c: Likewise.
32590         * posix/bug-regex5.c: Likewise.
32591         * posix/fnmatch_loop.c: Likewise.
32592         * posix/regcomp.c: Likewise.
32593         * posix/regexec.c: Likewise.
32594         * posix/tst-rfc3484-2.c: Likewise.
32595         * posix/tst-rfc3484-3.c: Likewise.
32596         * posix/tst-rfc3484.c: Likewise.
32597         * resolv/nss_dns/dns-canon.c: Likewise.
32598         * resolv/nss_dns/dns-network.c: Likewise.
32599         * resolv/res_init.c: Likewise.
32600         * resolv/res_mkquery.c: Likewise.
32601         * resolv/tst-aton.c: Likewise.
32602         * stdlib/cxa_atexit.c: Likewise.
32603         * stdlib/cxa_finalize.c: Likewise.
32604         * stdlib/gen-fpioconst.c: Likewise.
32605         * stdlib/strtol_l.c: Likewise.
32606         * string/tst-endian.c: Likewise.
32607         * sunrpc/auth_des.c: Likewise.
32608         * sunrpc/clnt_udp.c: Likewise.
32609         * sunrpc/rtime.c: Likewise.
32610         * sunrpc/svcauth_des.c: Likewise.
32611         * sunrpc/xdr.c: Likewise.
32612         * sunrpc/xdr_intXX_t.c: Likewise.
32613         * sunrpc/xdr_rec.c: Likewise.
32614         * sysdeps/generic/ldconfig.h: Likewise.
32615         * sysdeps/generic/ldsodefs.h: Likewise.
32616         * sysdeps/generic/memusage.h: Likewise.
32617         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32619         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32620         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32621         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32622         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32623         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32626         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32627         * sysdeps/posix/getaddrinfo.c: Likewise.
32628         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32629         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32630         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32631         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32632         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32633         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32634         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32635         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32636         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32637         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32638         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32639         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32640         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32641         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32642         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32643         * sysdeps/x86_64/dl-tls.h: Likewise.
32644         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32645         * time/alt_digit.c: Likewise.
32646         * time/era.c: Likewise.
32647         * wcsmbs/tst-c16c32-1.c: Likewise.
32649 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32651         * math/libm-test.inc (struct test_sincos_data): New type.
32652         (RUN_TEST_LOOP_sincos): New macro.
32653         (sincos_test_data): New variable.
32654         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32656 2013-05-16  Richard Henderson  <rth@redhat.com>
32658         * math/atest-exp2.c (LIMB64): New macro.
32659         (CONSTSZ): New macro.
32660         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32661         (hexdig): Move ...
32662         (print_mpn_fp): ... to function scope.
32663         (read_mpn_hex): Remove.
32664         (get_log2): Remove.
32665         (exp2_mpn): Use mp_log2.
32666         (main): Use mp_exp1.
32668 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32670         * math/libm-test.inc: Remove comment about not testing "inexact"
32671         exceptions.
32672         (INEXACT_EXCEPTION): New macro.
32673         (NO_INEXACT_EXCEPTION): Likewise.
32674         (INVALID_EXCEPTION_OK): Update value.
32675         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32676         (OVERFLOW_EXCEPTION_OK): Likewise.
32677         (UNDERFLOW_EXCEPTION_OK): Likewise.
32678         (IGNORE_ZERO_INF_SIGN): Likewise.
32679         (ERRNO_UNCHANGED): Likewise.
32680         (ERRNO_EDOM): Likewise.
32681         (ERRNO_ERANGE): Likewise.
32682         (test_exceptions): Handle testing "inexact" exceptions.
32683         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32684         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32685         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32686         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32687         INEXACT_EXCEPTION.
32688         (rint_towardzero_test_data): Likewise.
32689         (rint_downward_test_data): Likewise.
32690         (rint_upward_test_data): Likewise.
32692         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32693         with OVERFLOW_EXCEPTION.
32694         (exp10_test_data): Likewise.
32695         (exp2_test_data): Likewise.
32696         (expm1_test_data): Likewise.
32697         (lgamma_test_data): Likewise.
32698         (pow_test_data): Likewise.
32699         (tgamma_test_data): Likewise.
32700         (yn_test_data): Remove duplicate test of overflow.
32702         * math/libm-test.inc (struct test_cc_c_data): New type.
32703         (RUN_TEST_LOOP_cc_c): New macro.
32704         (cpow_test_data): New variable.
32705         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32707         * math/libm-test.inc (struct test_f_L_data): New type.
32708         (RUN_TEST_LOOP_f_L): New macro.
32709         (llrint_test_data): New variable.
32710         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32711         (llrint_tonearest_test_data): New variable.
32712         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32713         (llrint_towardzero_test_data): New variable.
32714         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32715         (llrint_downward_test_data): New variable.
32716         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32717         (llrint_upward_test_data): New variable.
32718         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32719         (llround_test_data): New variable.
32720         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32722 2013-05-13  Peter Collingbourne  <pcc@google.com>
32724         * math/atest-exp2.c (get_log2): Remove const attribute.
32726 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32728         * math/libm-test.inc (struct test_f_l_data): New type.
32729         (RUN_TEST_LOOP_f_l): New macro.
32730         (lrint_test_data): New variable.
32731         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32732         (lrint_tonearest_test_data): New variable.
32733         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32734         (lrint_towardzero_test_data): New variable.
32735         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32736         (lrint_downward_test_data): New variable.
32737         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32738         (lrint_upward_test_data): New variable.
32739         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32740         (lround_test_data): New variable.
32741         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32743 2013-05-15  Peter Collingbourne  <pcc@google.com>
32745         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32746         (EXTRACT_WORDS64) Use where appropriate.
32747         (INSERT_WORDS64) Likewise.
32749         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32750         constraints with x constraints.
32751         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32753         * malloc/obstack.c (_obstack_compat): Add initializer.
32755 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32757         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32758         si_trapno and add si_addr_lsb to _sifields.sigfault.
32759         (si_trapno): Remove macro.
32760         (si_addr_lsb): Define new macro.
32761         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32763 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32765         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32766         instead of TEST_f_l.
32767         (llrint_test_tonearest): Likewise.
32768         (llrint_test_towardzero): Likewise.
32769         (llrint_test_downward): Likewise.
32770         (llrint_test_upward): Likewise.
32771         (llround_test): Likewise.
32773         * math/libm-test.inc (struct test_f_i_data): Add comment.
32774         (RUN_TEST_LOOP_f_b): New macro.
32775         (RUN_TEST_LOOP_f_b_tg): Likewise.
32776         (finite_test_data): New variable.
32777         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32778         (isfinite_test_data): New variable.
32779         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32780         (isinf_test_data): New variable.
32781         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32782         (isnan_test_data): New variable.
32783         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32784         (isnormal_test_data): New variable.
32785         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32786         (issignaling_test_data): New variable.
32787         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32788         (signbit_test_data): New variable.
32789         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32791         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32792         with INVALID_EXCEPTION.
32793         (acosh_test_data): Likewise.
32794         (asin_test_data): Likewise.
32795         (atanh_test_data): Likewise.
32796         (fmod_test_data): Likewise.
32797         (log_test_data): Likewise.
32798         (log10_test_data): Likewise.
32799         (log2_test_data): Likewise.
32800         (pow_test_data): Likewise.
32801         (sqrt_test_data): Likewise.
32802         (y0_test_data): Likewise.
32803         (y1_test_data): Likewise.
32804         (yn_test_data): Likewise.
32806         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32807         function contents.
32809         * math/libm-test.inc (struct test_ff_i_data): New type.
32810         (RUN_TEST_LOOP_ff_i_tg): New macro.
32811         (isgreater_test_data): New variable.
32812         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32813         (isgreaterequal_test_data): New variable.
32814         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32815         (isless_test_data): New variable.
32816         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32817         (islessequal_test_data): New variable.
32818         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32819         (islessgreater_test_data): New variable.
32820         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32821         (isunordered_test_data): New variable.
32822         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32824 2013-05-14  David S. Miller  <davem@davemloft.net>
32826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32828 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32830         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32832         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32833         extra_test to int.
32834         (struct test_f_i_data): Change type of max_ulp to int.
32836         * math/libm-test.inc (test_ffI_f1_data): New type.
32837         (RUN_TEST_LOOP_ffI_f1): New macro.
32838         (remquo_test_data): New variable.
32839         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32841         * setjmp/tst-setjmp-fp.c: New file.
32842         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32843         (link-libm): New variable.
32844         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32846         * math/libm-test.inc (struct test_f_i_data): New type.
32847         (RUN_TEST_LOOP_f_i): New macro.
32848         (RUN_TEST_LOOP_f_i_tg): Likewise.
32849         (fpclassify_test_data): New variable.
32850         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32851         (ilogb_test_data): New variable.
32852         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32854         * math/libm-test.inc (scalbln_test): Correct function name in END
32855         call.
32857         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32858         (RUN_TEST_LOOP_fI_f1): New macro.
32859         (frexp_test_data): New variable.
32860         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32862         * math/libm-test.inc (struct test_fF_f1_data): New type.
32863         (RUN_TEST_LOOP_fF_f1): New macro.
32864         (modf_test_data): New variable.
32865         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32867         * math/libm-test.inc (struct test_f_f1_data): New type.
32868         (RUN_TEST_LOOP_f_f1): New macro.
32869         (gamma_test_data): New variable.
32870         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32871         (lgamma_test_data): New variable.
32872         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32874 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32876         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32877         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32878         (main): Comment "tls" pseudo-hwcap.
32880 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32882         * math/libm-test.inc (struct test_fl_f_data): New type.
32883         (RUN_TEST_LOOP_fl_f): New variable.
32884         (scalbln_test_data): New variable.
32885         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32887         * math/libm-test.inc (struct test_fi_f_data): New type.
32888         (RUN_TEST_LOOP_fi_f): New macro.
32889         (ldexp_test_data): New variable.
32890         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32891         (scalbn_test_data): New variable.
32892         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32894         * math/libm-test.inc (struct test_c_f_data): New type.
32895         (RUN_TEST_LOOP_c_f): New macro.
32896         (cabs_test_data): New variable.
32897         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32898         (carg_test_data): New variable.
32899         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32900         (cimag_test_data): New variable.
32901         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32902         (creal_test_data): New variable.
32903         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32905         * math/libm-test.inc (struct test_if_f_data): New type.
32906         (RUN_TEST_LOOP_if_f): New macro.
32907         (jn_test_data): New variable.
32908         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32909         (yn_test_data): New variable.
32910         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32912         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32914 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32916         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32917         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32919 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32921         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32922         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32923         (bench-deps): Add bench-timing.h.
32924         * benchtests-bench-skeleton.c: Include bench-timing.h.
32925         (main): Use TIMING_* macros instead of clock_gettime.
32926         * benchtests/bench-timing.h: New file.
32928         [BZ #14582]
32929         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32930         Renamed from _LIB_VERSION.
32931         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32933 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32935         * math/libm-test.inc (struct test_fff_f_data): New type.
32936         (RUN_TEST_LOOP_fff_f): New macro.
32937         (fma_test_data): New variable.
32938         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32939         (fma_towardzero_test_data): New variable.
32940         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32941         (fma_downward_test_data): New variable.
32942         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32943         (fma_upward_test_data): New variable.
32944         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32946         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32947         (struct test_c_c_data): New type.
32948         (RUN_TEST_LOOP_c_c): New macro.
32949         (cacos_test_data): New variable.
32950         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32951         (cacosh_test_data): New variable.
32952         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32953         (casin_test_data): New variable.
32954         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32955         (casinh_test_data): New variable.
32956         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32957         (catan_test_data): New variable.
32958         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32959         (catanh_test_data): New variable.
32960         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32961         (ccos_test_data): New variable.
32962         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32963         (ccosh_test_data): New variable.
32964         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32965         (cexp_test_data): New variable.
32966         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32967         (clog_test_data): New variable.
32968         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32969         (clog10_test_data): New variable.
32970         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32971         (conj_test_data): New variable.
32972         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32973         (cproj_test_data): New variable.
32974         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32975         (csin_test_data): New variable.
32976         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32977         (csinh_test_data): New variable.
32978         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32979         (csqrt_test_data): New variable.
32980         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32981         (ctan_test_data): New variable.
32982         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32983         (ctan_tonearest_test_data): New variable.
32984         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32985         (ctan_towardzero_test_data): New variable.
32986         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32987         (ctan_downward_test_data): New variable.
32988         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32989         (ctan_upward_test_data): New variable.
32990         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32991         (ctanh_test_data): New variable.
32992         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32993         (ctanh_tonearest_test_data): New variable.
32994         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32995         (ctanh_towardzero_test_data): New variable.
32996         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32997         (ctanh_downward_test_data): New variable.
32998         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32999         (ctanh_upward_test_data): New variable.
33000         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33001         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33002         of BUILD_COMPLEX.
33004         * math/libm-test.inc (struct test_ff_f_data): New type.
33005         (struct test_ff_f_data_nexttoward): Likewise.
33006         (RUN_TEST_LOOP_2_f): New macro.
33007         (RUN_TEST_LOOP_ff_f): Likewise.
33008         (atan2_test_data): New variable.
33009         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33010         (copysign_test_data): New variable.
33011         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33012         (fdim_test_data): New variable.
33013         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33014         (fmax_test_data): New variable.
33015         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33016         (fmin_test_data): New variable.
33017         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33018         (fmod_test_data): New variable.
33019         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33020         (hypot_test_data): New variable.
33021         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33022         (nextafter_test_data): New variable.
33023         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33024         (nexttoward_test_data): New variable.
33025         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33026         (pow_test_data): New variable.
33027         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33028         (pow_tonearest_test_data): New variable.
33029         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33030         (pow_towardzero_test_data): New variable.
33031         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33032         (pow_downward_test_data): New variable.
33033         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33034         (pow_upward_test_data): New variable.
33035         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33036         (remainder_test_data): New variable.
33037         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33038         (scalb_test_data): New variable.
33039         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33040         * sysdeps/i386/fpu/libm-test-ulps: Update.
33042 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33044         * math/libm-test.inc (fma_test): Use max_value instead of local
33045         variable fltmax.
33046         (nextafter_test): Likewise.
33048         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33049         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33050         (acos_downward_test_data): New variable.
33051         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33052         (acos_upward_test_data): New variable.
33053         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33054         (acosh_test_data): New variable.
33055         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33056         (asin_test_data): New variable.
33057         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33058         (asin_tonearest_test_data): New variable.
33059         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33060         (asin_towardzero_test_data): New variable.
33061         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33062         (asin_downward_test_data): New variable.
33063         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33064         (asin_upward_test_data): New variable.
33065         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33066         (asinh_test_data): New variable.
33067         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33068         (atan_test_data): New variable.
33069         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33070         (atanh_test_data): New variable.
33071         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33072         (cbrt_test_data): New variable.
33073         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33074         (ceil_test_data): New variable.
33075         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33076         (cos_test_data): New variable.
33077         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33078         (cos_tonearest_test_data): New variable.
33079         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33080         (cos_towardzero_test_data): New variable.
33081         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33082         (cos_downward_test_data): New variable.
33083         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33084         (cos_upward_test_data): New variable.
33085         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33086         (cosh_test_data): New variable.
33087         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33088         (cosh_tonearest_test_data): New variable.
33089         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33090         (cosh_towardzero_test_data): New variable.
33091         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33092         (cosh_downward_test_data): New variable.
33093         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33094         (cosh_upward_test_data): New variable.
33095         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33096         (erf_test_data): New variable.
33097         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33098         (erfc_test_data): New variable.
33099         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33100         (exp_test_data): New variable.
33101         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33102         (exp_tonearest_test_data): New variable.
33103         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33104         (exp_towardzero_test_data): New variable.
33105         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33106         (exp_downward_test_data): New variable.
33107         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33108         (exp_upward_test_data): New variable.
33109         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33110         (exp10_test_data): New variable.
33111         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33112         (exp2_test_data): New variable.
33113         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33114         (expm1_test_data): New variable.
33115         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33116         (fabs_test_data): New variable.
33117         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33118         (floor_test_data): New variable.
33119         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33120         (j0_test_data): New variable.
33121         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33122         (j1_test_data): New variable.
33123         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33124         (log_test_data): New variable.
33125         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33126         (log10_test_data): New variable.
33127         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33128         (log1p_test_data): New variable.
33129         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33130         (log2_test_data): New variable.
33131         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33132         (logb_test_data): New variable.
33133         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33134         (logb_downward_test_data): New variable.
33135         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33136         (nearbyint_test_data): New variable.
33137         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33138         (rint_test_data): New variable.
33139         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33140         (rint_tonearest_test_data): New variable.
33141         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33142         (rint_towardzero_test_data): New variable.
33143         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33144         (rint_downward_test_data): New variable.
33145         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33146         (rint_upward_test_data): New variable.
33147         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33148         (round_test_data): New variable.
33149         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33150         (sin_test_data): New variable.
33151         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33152         (sin_tonearest_test_data): New variable.
33153         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33154         (sin_towardzero_test_data): New variable.
33155         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33156         (sin_downward_test_data): New variable.
33157         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33158         (sin_upward_test_data): New variable.
33159         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33160         (sinh_test_data): New variable.
33161         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33162         (sinh_tonearest_test_data): New variable.
33163         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33164         (sinh_towardzero_test_data): New variable.
33165         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33166         (sinh_downward_test_data): New variable.
33167         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33168         (sinh_upward_test_data): New variable.
33169         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33170         (sqrt_test_data): New variable.
33171         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33172         (tan_test_data): New variable.
33173         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33174         (tan_tonearest_test_data): New variable.
33175         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33176         (tan_towardzero_test_data): New variable.
33177         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33178         (tan_downward_test_data): New variable.
33179         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33180         (tan_upward_test_data): New variable.
33181         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33182         (tanh_test_data): New variable.
33183         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33184         (tgamma_test_data): New variable.
33185         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33186         (trunc_test_data): New variable.
33187         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33188         (y0_test_data): New variable.
33189         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33190         (y1_test_data): New variable.
33191         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33192         (significand_test_data): New variable.
33193         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33195 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33197         [BZ #12387]
33198         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33200 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33202         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33204 2013-05-10  Andreas Jaeger  <aj@suse.de>
33206         [BZ #15448]
33207         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33208         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33210 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33212         * math/gen-libm-test.pl (adjust_arg): New function.
33213         (special_functions): Handle generating output in both functions
33214         and arrays.
33215         (parse_args): Likewise.
33216         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33217         $in_func argument to parse_args.
33218         * math/libm-test.inc (struct test_f_f_data): New type.
33219         (IF_ROUND_INIT_): New macro.
33220         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33221         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33222         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33223         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33224         (ROUND_RESTORE_): Likewise.
33225         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33226         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33227         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33228         (ROUND_RESTORE_FE_UPWARD): Likewise.
33229         (RUN_TEST_LOOP_f_f): New macro.
33230         (acos_test_data): New variable.
33231         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33232         (acos_tonearest_test_data): New variable.
33233         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33235 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33237         * benchtests/bench-skeleton.c (startup): Fix coding style.
33239 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33241         [BZ #6809]
33242         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33243         negative infinity argument.
33244         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33245         negative infinity argument.
33246         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33247         negative infinity argument.
33248         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33249         domain errors.
33251 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33253         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33254         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33255         * iconv/iconv_prog.c (main): Likewise.
33256         * locale/programs/charmap-dir.c (charmap_readdir)
33257         (fopen_uncompressed): Likewise.
33258         * locale/programs/locfile.c (siblings_uncached)
33259         (write_locale_data): Use lstat64 instead of lstat.
33260         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33261         stat.
33263 2013-05-10  Andreas Jaeger  <aj@suse.de>
33265         [BZ #15395]
33266         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33267         localization.
33268         Include <locale.h>.
33270 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33272         * elf/dl-close.c (_dl_close_worker): Add comments.
33274 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33276         [BZ #15359]
33277         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33278         high part of pi/2.
33279         (__ieee754_rem_pio2l): Update comments.
33281         [BZ #15429]
33282         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33283         high part of pi/2.
33284         (__ieee754_rem_pio2l): Update comments.
33286         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33287         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33289         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33290         M_PI_4l.
33292         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33293         (M_PI_34_LOG10El): Likewise.
33294         (M_PI2_LOG10El): Likewise.
33295         (M_PI4_LOG10El): Likewise.
33296         (M_PI_LOG10El): Likewise.
33298 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33302 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33304         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33305         (MINUS_ZERO_INIT): Likewise.
33306         (PLUS_INFTY_INIT): Likewise.
33307         (MINUS_INFTY_INIT): Likewise.
33308         (QNAN_VALUE_INIT): Likewise.
33309         (MAX_VALUE_INIT): Likewise.
33310         (MIN_VALUE_INIT): Likewise.
33311         (MIN_SUBNORM_VALUE_INIT): Likewise.
33312         (plus_zero): Initialize with PLUS_ZERO_INIT.
33313         (minus_zero): Initialize with MINUS_ZERO_INIT.
33314         (plus_infty): Initialize with PLUS_INFTY_INIT.
33315         (minus_infty): Initialize with MINUS_INFTY_INIT.
33316         (qnan_value): Initialize with QNAN_VALUE_INIT.
33317         (max_value): Initialize with MAX_VALUE_INIT.
33318         (min_value): Initialize with MIN_VALUE_INIT.
33319         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33321         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33322         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33323         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33324         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33326         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33327         (RUN_TEST_2_f): Likewise.
33328         (RUN_TEST_ff_f): Likewise.
33329         (RUN_TEST_fi_f): Likewise.
33330         (RUN_TEST_fl_f): Likewise.
33331         (RUN_TEST_fff_f): Likewise.
33332         (RUN_TEST_c_f): Likewise.
33333         (RUN_TEST_f_f1): Likewise.
33334         (RUN_TEST_fF_f1): Likewise.
33335         (RUN_TEST_fI_f1): Likewise.
33336         (RUN_TEST_ffI_f1): Likewise.
33337         (RUN_TEST_c_c): Likewise.
33338         (RUN_TEST_cc_c): Likewise.
33339         (RUN_TEST_f_i): Likewise.
33340         (RUN_TEST_f_i_tg): Likewise.
33341         (RUN_TEST_ff_i_tg): Likewise.
33342         (RUN_TEST_f_b): Likewise.
33343         (RUN_TEST_f_b_tg): Likewise.
33344         (RUN_TEST_f_l): Likewise.
33345         (RUN_TEST_f_L): Likewise.
33346         (RUN_TEST_sincos): Likewise.
33347         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33348         whether to show exceptions.  Do not include ");\n" in return
33349         value.
33350         (special_functions): Output call to RUN_TEST_sincos instead of
33351         check_float calls.  Update calls to new_test.
33352         (parse_args): Output call to single RUN_TEST_* macro instead of
33353         check_* calls and other assignments.  Update calls to new_test.
33355         [BZ #2546]
33356         [BZ #2560]
33357         [BZ #5159]
33358         [BZ #15426]
33359         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33360         input to result for tgamma overflow.
33361         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33362         (gamma_coeff): New variable.
33363         (NCOEFF): New macro.
33364         (gamma_positive): New function.
33365         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33366         underflow here.  Use gamma_positive instead of exp (lgamma) for
33367         other arguments.
33368         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33369         (gamma_coeff): New variable.
33370         (NCOEFF): New macro.
33371         (gammaf_positive): New function.
33372         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33373         underflow here.  Use gamma_positive instead of exp (lgamma) for
33374         other arguments.
33375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33376         (gamma_coeff): New variable.
33377         (NCOEFF): New macro.
33378         (gammal_positive): New function.
33379         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33380         underflow here.  Use gamma_positive instead of exp (lgamma) for
33381         other arguments.
33382         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33383         (gamma_coeff): New variable.
33384         (NCOEFF): New macro.
33385         (gammal_positive): New function.
33386         (__ieee754_gammal_r): Handle positive infinity, overflow and
33387         underflow here.  Handle NaN the same as positive infinity.  Remove
33388         check x < 0xffffffff for negative integers.  Use gamma_positive
33389         instead of exp (lgamma) for other arguments.
33390         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33391         (gamma_coeff): New variable.
33392         (NCOEFF): New macro.
33393         (gammal_positive): New function.
33394         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33395         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33396         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33397         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33398         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33399         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33400         * sysdeps/generic/math_private.h (__gamma_productf): New
33401         prototype.
33402         (__gamma_product): Likewise.
33403         (__gamma_productl): Likewise.
33404         * math/Makefile (libm-calls): Add gamma_product.
33405         * math/libm-test.inc (tgamma_test): Add more tests.
33406         * sysdeps/i386/fpu/libm-test-ulps: Update.
33407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33409 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33411         * benchtests/bench-skeleton.c (main): Preheat CPU.
33413 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33415         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33417 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33419         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33420         and _dl_skip_args_internal.
33422 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33424         * manual/message.texi (Message Translation): Talk about users.
33425         Message to key mapping impacts design.
33427 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33429         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33431         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33433         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33434         * sysdeps/wordsize-64/glob64.c: ... here.
33436         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33437         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33438         New macros.
33440         * debug/getlogin_r_chk.c: Moved to ...
33441         * login/getlogin_r_chk.c: ... here.
33442         * debug/Makefile (routines): Move getlogin_r_chk to ...
33443         * login/Makefile (routines): ... here.
33444         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33445         * login/Versions (libc: GLIBC_2.4): ... here.
33447         * io/poll.c (__poll): Renamed from poll.
33448         Add libc_hidden_def.
33449         (poll): Define as weak alias.
33451         * debug/ptsname_r_chk.c: Moved to ...
33452         * login/ptsname_r_chk.c: ... here.
33453         * debug/Makefile (routines): Move ptsname_r_chk to ...
33454         * login/Makefile (routines): ... here.
33455         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33456         * login/Versions (libc: GLIBC_2.4): ... here.
33458         * posix/getlogin.c: Moved to ...
33459         * login/getlogin.c: ... here.
33460         * posix/getlogin_r.c: Moved to ...
33461         * login/getlogin_r.c: ... here.
33462         * posix/getlogin_r.c: Moved to ...
33463         * login/getlogin_r.c: ... here.
33464         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33465         * login/Makefile (routines): ... here.
33466         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33467         * login/Versions (libc: GLIBC_2.0): ... here.
33469         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33470         (setrlimit): Define as weak alias.
33472         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33473         Call __ names for open, ftruncate, and close.
33474         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33475         (truncate): Define as weak alias.
33477 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33479         * math/gen-libm-test.pl (parse_args): Initialize x before each
33480         test of frexp, modf and remquo.
33482         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33483         test signgam value.
33485 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33487         [BZ #15418]
33488         [BZ #15419]
33489         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33490         internal tests.
33491         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33493 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33495         * elf/dl-writev.h: New file.
33496         * elf/dl-misc.c: Include it.
33497         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33498         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33500 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33502         * math/libm-test.inc (noXFails): Remove variable.
33503         (noXPasses): Likewise.
33504         (BUILD_COMPLEX_INT): Remove macro.
33505         (print_screen): Remove xfail argument.
33506         (print_screen_max_error): Likewise.
33507         (update_stats): Likewise.
33508         (print_max_error): Likewise.  Update calls to other affected
33509         functions.
33510         (print_complex_max_error): Likewise.
33511         (test_single_exception): Update calls to print_screen.
33512         (test_single_errno): Likewise.
33513         (check_float_internal): Remove xfail argument.  Update calls to
33514         other affected functions.
33515         (check_float): Likewise.
33516         (check_complex): Likewise.
33517         (check_int): Likewise.
33518         (check_long): Likewise.
33519         (check_bool): Likewise.
33520         (check_longlong): Likewise.
33521         (main): Don't print noXFails and noXPasses.
33522         * math/gen-libm-test.pl (top level): Don't mention expected
33523         failure handling in comment.
33524         (new_test): Don't handle expected failures.
33525         (parse_args): Don't mention expected failure handling in comment.
33526         (generate_testfile): Don't handle expected failures.
33527         (parse_ulps): Likewise.
33528         (print_ulps_file): Likewise.
33529         (get_failure): Remove function.
33530         (output_test): Don't handle expected failures.
33531         * make/README.libm-test: Don't mention expected failure handling.
33533         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33534         (minus_zero): Likewise.
33535         (plus_infty): Likewise.
33536         (minus_infty): Likewise.
33537         (qnan_value): Likewise.
33538         (max_value): Likewise.
33539         (min_value): Likewise.
33540         (min_subnorm_value): Likewise.
33541         (initialize): Do not initialize those variables dynamically.
33543 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33545         * io/open.c (__open_2): Moved to ...
33546         * io/open_2.c: ... this new file.
33547         * io/open64.c (__open64_2): Moved to ...
33548         * io/open64_2.c: ... this new file.
33549         * io/openat.c (__openat_2): Moved to ...
33550         * io/openat_2.c: ... this new file.
33551         * io/openat64.c (__openat64_2): Moved to ...
33552         * io/openat64_2.c: ... this new file.
33553         * io/Makefile (routines): Add them.
33554         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33555         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33556         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33557         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33558         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33559         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33560         (__openat64): Add hidden_ver.
33561         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33562         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33564         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33565         Separately conditionalize setting of GLRO(dl_sysinfo) so
33566         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33567         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33569 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33571         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33573         definition.
33574         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33575         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33576         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33577         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33578         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33580 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33582         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33583         test signgam value.
33585         * math/libm-test.inc (hypot_test): Do not use
33586         IGNORE_ZERO_INF_SIGN.
33588 2013-05-03  Andreas Jaeger  <aj@suse.de>
33590         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33591         Linux 3.9.
33592         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33593         (PF_MAX): Adjust for VSOCK change.
33595 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33599 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33601         [BZ #15264]
33602         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33603         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33604         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33606 2013-05-02  David S. Miller  <davem@davemloft.net>
33608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33610 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33612         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33614 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33616         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33618 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33620         [BZ #14952]
33621         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33622         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33623         Use __attribute__ ((__gnu_inline__)).
33624         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33625         Don't use __attribute__ ((__gnu_inline__)).
33627 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33629         [BZ #15423]
33630         * math/s_catan.c (__catan): Handle small real or imaginary part of
33631         input specially to avoid spurious underflow.
33632         * math/s_catanf.c (__catanf): Likewise.
33633         * math/s_catanh.c (__catanh): Likewise.
33634         * math/s_catanhf.c (__catanhf): Likewise.
33635         * math/s_catanhl.c (__catanhl): Likewise.
33636         * math/s_catanl.c (__catanl): Likewise.
33637         * math/libm-test.inc (catan_test): Add more tests.
33638         (catanh_test): Likewise.
33639         * sysdeps/i386/fpu/libm-test-ulps: Update.
33640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33642 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33646 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33648         [BZ #15416]
33649         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33650         accurately for denominator in atan2.
33651         * math/s_catanf.c (__catanf): Likewise.
33652         * math/s_catanh.c (__catanh): Likewise.
33653         * math/s_catanhf.c (__catanhf): Likewise.
33654         * math/s_catanhl.c (__catanhl): Likewise.
33655         * math/s_catanl.c (__catanl): Likewise.
33656         * math/libm-test.inc (catan_test): Add more tests.
33657         (catanh_test): Likewise.
33658         * sysdeps/i386/fpu/libm-test-ulps: Update.
33659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33661 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33663         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33665         * benchtests/Makefile (bench): Remove slow benchmarks.
33666         * benchtests/atan-inputs: Add slow benchmark inputs.
33667         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33668         (BENCH_FUNC): Accept variant offset.
33669         (VARIANT): Define.
33670         * benchtests/bench-skeleton.c (main): Run benchmark for each
33671         variant.
33672         * benchtests/cos-inputs: Add slow benchmark inputs.
33673         * benchtests/exp-inputs: Likewise.
33674         * benchtests/pow-inputs: Likewise.
33675         * benchtests/sin-inputs: Likewise.
33676         * benchtests/slowatan-inputs: Remove.
33677         * benchtests/slowatan.c: Remove.
33678         * benchtests/slowcos-inputs: Remove.
33679         * benchtests/slowcos.c: Remove.
33680         * benchtests/slowexp-inputs: Remove.
33681         * benchtests/slowexp.c: Remove.
33682         * benchtests/slowpow-inputs: Remove.
33683         * benchtests/slowpow.c: Remove.
33684         * benchtests/slowsin-inputs: Remove.
33685         * benchtests/slowsin.c: Remove.
33686         * benchtests/slowtan-inputs: Remove.
33687         * benchtests/slowtan.c: Remove.
33688         * benchtests/tan-inputs: Add slow benchmark inputs.
33689         * scripts/bench.pl: Parse comments and directives.
33691         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33692         in CPPFLAGS.
33693         ($(objpfx)bench-%.c): Remove *-ITER.
33694         * benchtests/bench-modf.c: Remove definition of ITER.
33695         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33696         (main): Loop for DURATION seconds instead of fixed number of
33697         iterations.
33698         * scripts/bench.pl: Don't expect iterations in parameters.
33700 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33702         * io/fchdir.c (__fchdir): Renamed from fchdir.
33703         (fchdir): Define as weak alias.
33705 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33707         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33708         (ERRNO_EDOM): Likewise.
33709         (ERRNO_ERANGE): Likewise.
33710         (noErrnoTests): New variable.
33711         (init_max_error): Set errno to 0.
33712         (test_single_errno): New function.
33713         (test_errno): Likewise.
33714         (check_float_internal): Call test_errno.  Set errno to 0.
33715         (check_complex): Refer to errno tests in comment.
33716         (check_int): Call test_errno.  Set errno to 0.
33717         (check_long): Likewise.
33718         (check_bool): Likewise.
33719         (check_longlong): Likewise.
33720         (cos_test): Use ERRNO_* flags for errno tests instead of
33721         check_int.
33722         (expm1_test): Likewise.
33723         (fmod_test): Likewise.
33724         (ilogb_test): Likewise.
33725         (lgamma_test): Likewise.
33726         (pow_test): Likewise.
33727         (remainder_test): Likewise.
33728         (sin_test): Likewise.
33729         (tan_test): Likewise.
33730         (yn_test): Likewise.
33731         (initialize): Set errno to 0.
33732         (main): Print number of errno tests.
33733         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33735 2013-04-29  Andreas Jaeger  <aj@suse.de>
33737         [BZ #15084]
33738         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33739         and RES_USEVC.
33741         [BZ #15085]
33742         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33743         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33744         unimplemented.
33746         [BZ #15380]
33747         * stdlib/random.c (__initstate): Return NULL if
33748         __initstate fails.
33750         [BZ #15086]
33751         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33752         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33753         RES_SNGLKUPREOP.
33755 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33759 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33761         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33762         of individual tests.
33763         (casin_test): Likewise.
33764         (casinh_test): Likewise.
33766 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33768         [BZ #15409]
33769         * math/s_catan.c (__catan): Handle arguments with large real or
33770         imaginary part separately without squaring.
33771         * math/s_catanf.c (__catanf): Likewise.
33772         * math/s_catanh.c (__catanh): Likewise.
33773         * math/s_catanhf.c (__catanhf): Likewise.
33774         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33775         and redefine.
33776         (__catanhl): Handle arguments with large real or imaginary part
33777         separately without squaring.
33778         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33779         and redefine.
33780         (__catanl): Handle arguments with large real or imaginary part
33781         separately without squaring.
33782         * math/libm-test.inc (catan_test): Add more tests.
33783         (catanh_test): Likewise.
33784         * sysdeps/i386/fpu/libm-test-ulps: Update.
33785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33787 2013-04-27  Andreas Jaeger  <aj@suse.de>
33789         [BZ #15007]
33790         * stdlib/stdlib.h: Update guards for qecvt.
33791         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33792         <stdlib.h>.
33794 2013-04-27  Allan McRae  <allan@archlinux.org>
33796         * sysdeps/i386/fpu/libm-test-ulps: Update.
33798 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33800         [BZ #15406]
33801         * math/s_catan.c: Include <float.h>.
33802         (__catan): Ensure underflow exception occurs for underflowed
33803         result.
33804         * math/s_catanf.c: Include <float.h>.
33805         (__catanf): Ensure underflow exception occurs for underflowed
33806         result.
33807         * math/s_catanh.c: Include <float.h>.
33808         (__catanh): Ensure underflow exception occurs for underflowed
33809         result.
33810         * math/s_catanhf.c: Include <float.h>.
33811         (__catanhf): Ensure underflow exception occurs for underflowed
33812         result.
33813         * math/s_catanhl.c: Include <float.h>.
33814         (__catanhl): Ensure underflow exception occurs for underflowed
33815         result.
33816         * math/s_catanl.c: Include <float.h>.
33817         (__catanl): Ensure underflow exception occurs for underflowed
33818         result.
33819         * math/libm-test.inc (catan_test): Add more tests.
33820         (catanh_test): Likewise.
33822         [BZ #15405]
33823         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33824         underflowed result.
33825         * math/s_ccoshf.c (__ccoshf): Likewise.
33826         * math/s_ccoshl.c (__ccoshl): Likewise.
33827         * math/s_csin.c (__csin): Likewise.
33828         * math/s_csinf.c (__csinf): Likewise.
33829         * math/s_csinh.c (__csinh): Likewise.
33830         * math/s_csinhf.c (__csinhf): Likewise.
33831         * math/s_csinhl.c (__csinhl): Likewise.
33832         * math/s_csinl.c (__csinl): Likewise.
33833         * math/libm-test.inc (ccos_test): Add more tests.
33834         (ccosh_test): Likewise.
33835         (csin_test): Likewise.
33836         (csinh_test): Likewise.
33838 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33840         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33841         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33842         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33843         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33844         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33845         powerpc/power5+/fpu folders.
33846         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33849 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33853 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33855         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33856         additions to variable.
33857         [$(config-machine) = x86_64] (modules-names): Likewise.
33858         ($(objpfx)tst-audit3): Remove dependency.
33859         ($(objpfx)tst-audit3.out): Likewise.
33860         ($(objpfx)tst-audit4): Likewise.
33861         ($(objpfx)tst-audit4.out): Likewise.
33862         ($(objpfx)tst-audit5): Likewise.
33863         ($(objpfx)tst-audit5.out): Likewise.
33864         ($(objpfx)tst-audit6): Likewise.
33865         ($(objpfx)tst-audit6.out): Likewise.
33866         ($(objpfx)tst-audit7): Likewise.
33867         ($(objpfx)tst-audit7.out): Likewise.
33868         (tst-audit3-ENV): Remove variable.
33869         (tst-audit4-ENV): Likewise.
33870         (tst-audit5-ENV): Likewise.
33871         (tst-audit6-ENV): Likewise.
33872         (tst-audit7-ENV): Likewise.
33873         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33874         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33875         addition to variable.
33876         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33877         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33878         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33879         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33880         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33881         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33882         tst-audit3, tst-audit4 and tst-audit5.
33883         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33884         tst-audit6 and tst-audit7.
33885         [$(subdir) = elf] (modules-names): Add audit modules for those
33886         tests.
33887         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33888         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33889         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33890         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33891         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33892         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33893         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33894         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33895         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33896         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33897         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33898         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33899         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33900         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33901         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33902         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33903         Likewise.
33904         [$(subdir) = elf && $(config-cflags-avx) = yes]
33905         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33906         [$(subdir) = elf && $(config-cflags-avx) = yes]
33907         (CFLAGS-tst-auditmod4a.c): Likewise.
33908         [$(subdir) = elf && $(config-cflags-avx) = yes]
33909         (CFLAGS-tst-auditmod4b.c): Likewise.
33910         [$(subdir) = elf && $(config-cflags-avx) = yes]
33911         (CFLAGS-tst-auditmod6b.c): Likewise.
33912         [$(subdir) = elf && $(config-cflags-avx) = yes]
33913         (CFLAGS-tst-auditmod6c.c): Likewise.
33914         [$(subdir) = elf && $(config-cflags-avx) = yes]
33915         (CFLAGS-tst-auditmod7b.c): Likewise.
33916         * elf/tst-audit3.c: Move to ...
33917         * sysdeps/x86_64/tst-audit3.c: ... here.
33918         * elf/tst-audit4.c: Move to ...
33919         * sysdeps/x86_64/tst-audit4.c: ... here.
33920         * elf/tst-audit5.c: Move to ...
33921         * sysdeps/x86_64/tst-audit5.c: ... here.
33922         * elf/tst-audit6.c: Move to ...
33923         * sysdeps/x86_64/tst-audit6.c: ... here.
33924         * elf/tst-audit7.c: Move to ...
33925         * sysdeps/x86_64/tst-audit7.c: ... here.
33926         * elf/tst-auditmod3a.c: Move to ...
33927         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33928         * elf/tst-auditmod3b.c: Move to ...
33929         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33930         * elf/tst-auditmod4a.c: Move to ...
33931         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33932         * elf/tst-auditmod4b.c: Move to ...
33933         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33934         * elf/tst-auditmod5a.c: Move to ...
33935         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33936         * elf/tst-auditmod5b.c: Move to ...
33937         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33938         * elf/tst-auditmod6a.c: Move to ...
33939         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33940         * elf/tst-auditmod6b.c: Move to ...
33941         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33942         * elf/tst-auditmod6c.c: Move to ...
33943         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33944         * elf/tst-auditmod7a.c: Move to ...
33945         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33946         * elf/tst-auditmod7b.c: Move to ...
33947         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33949 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33951         [BZ #15366]
33952         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33953         define unconditionally.
33954         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33955         define unconditionally.
33956         (INT8_C, INT16_C, etc.): Likewise.
33958 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33960         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33961         __ehdr_start with hidden visibility.
33963         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33965 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33967         * math/libm-test.inc (cos_test): Use accurate hex constants.
33968         (sincost_test): Likewise.
33970 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33972         * math/libm-test.inc (catan_test): Add more tests.
33973         (catanh_test): Likewise.
33975         * math/s_catanf.c (__catanf): Use suffixed floating-point
33976         constants.
33977         * math/s_catanhf.c (__catanhf): Likewise.
33978         * math/s_catanhl.c (__catanhl): Likewise.
33979         * math/s_catanl.c (__catanl): Likewise.
33981         [BZ #15394]
33982         * math/s_catan.c (__catan): Calculate imaginary part of result
33983         with log1p not log unless computing log of number close to 0.
33984         * math/s_catanf.c (__catanf): Likewise.
33985         * math/s_catanl.c (__catanl): Likewise.
33986         * math/s_catanh.c (__catanh): Calculate real part of result with
33987         log1p not log unless computing log of number close to 0.
33988         * math/s_catanhf.c (__catanhf): Likewise.
33989         * math/s_catanhl.c (__catanhl): Likewise.
33990         * math/libm-test.inc (catan_test): Add more tests.
33991         (catanh_test): Likewise.
33992         * sysdeps/i386/fpu/libm-test-ulps: Update.
33993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33995 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33997         * benchtests/Makefile: Mention files in which fast and slow
33998         paths of math functions are implemented.
34000 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34002         * sysdeps/posix/timespec_get.c: New file.
34004 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34006         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34007         POWER.
34008         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34009         for POWER.
34010         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34011         powerpc/power5/fpu folders.
34012         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34013         * benchtests/Makefile: Add modf testcase.
34014         * benchtests/bench-modf.c: New file: Benchmark test for mo
34016 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34018         [BZ #14888]
34019         * time/Makefile (tests): Add tst-strptime-whitespace.
34020         * time/strptime_l.c (get_number): Use ISSPACE.
34021         (__strptime_internal): Likewise.
34022         * time/tst-strptime-whitespace.c: New test case.
34024 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34026         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34027         member.
34028         (_nss_files_init): Set it here.
34030 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34032         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34033         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34034         unsigned.
34036 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34038         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34040 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34042         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34043         size just once.
34045 2013-04-21  David S. Miller  <davem@davemloft.net>
34047         * po/ru.po: Update Russion translation from translation project.
34049 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34051         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34052         and setfsgid.
34054 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34056         * configure.in: Remove i386 configure warning. Remove i386 case.
34057         * configure: Regenerate.
34058         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34059         Add example to error message.
34060         * sysdeps/i386/configure: Regenerate.
34062 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34064         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34065         slowtan.
34066         * benchtests/cos-inputs: New file.
34067         * benchtests/slowcos-inputs: New file.
34068         * benchtests/slowcos.c: New file.
34069         * benchtests/slowtan-inputs: New file.
34070         * benchtests/slowtan.c: New file.
34071         * benchtests/tan-inputs: New file.
34073 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34075         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34076         considered kosher.
34078 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34080         * benchtests/Makefile: Include cppflags-iterator.mk to add
34081         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34083         * Makefile.in (bench-clean): New target.
34084         * benchtests/Makefile (bench-clean): Likewise.
34086 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34088         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34090 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34092         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34094 2013-04-15  Andreas Schwab  <schwab@suse.de>
34096         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34098         * nscd/pwdcache.c (cache_addpw): Likewise.
34099         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34100         more than recsize.
34102 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34104         * benchtests/Makefile (bench): Write all output to
34105         bench-out.tmp together.
34107 2013-04-15  Andreas Schwab  <schwab@suse.de>
34109         * nscd/nscd.c (main): Don't fork again after closing files.
34111 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34113         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34115         * benchtests/Rules (bench-deps): Collect dependencies into a
34116         single variable.  Add Makefile to dependencies.
34117         ($(objpfx)bench-%.c): Depend on bench-deps.
34119 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34120             Xavier Roche  <roche+kml2@exalead.com>
34122         [BZ #15361]
34123         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34124         just that it's a file descriptor.
34125         * manual/llio.texi (Synchronizing AIO Operations): Update description
34126         for EBADF error from aio_fsync.
34128 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34130         * Rules (bench): Move target definition...
34131         * benchtests/Makefile: ... here.
34133 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34135         * math/libm-test.inc (cos_test): Fix PI/2 test.
34136         (sincos_test): Likewise.
34137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34138         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34140 2013-04-11  Andreas Schwab  <schwab@suse.de>
34142         [BZ #13988]
34143         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34144         accept exponent character only when digits were seen.
34145         * stdio-common/Makefile (tests): Add bug26.
34146         * stdio-common/bug26.c: New file.
34148         [BZ #14293]
34149         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34150         non-freeable.
34152 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34154         * Makeconfig (rtld-prefix): Define built linker prefix.
34155         * Rules (run-bench): Use it.
34156         * math/Makefile (run-regen-ulps): Likewise.
34158         * Rules (bench): Remove eval.
34160 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161             Roland McGrath  <roland@hack.frob.com>
34162             Ondrej Bilka  <neleai@seznam.cz>
34164         [BZ #15346]
34165         * time/getdate.c: Include ctype.h and alloca.h.
34166         (__getdate_r): Trim leading and trailing spaces of input.
34167         * time/tst-getdate.c (tests): Add tests with leading and
34168         trailing spaces.
34170 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34172         [BZ #14280]
34173         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34174         when computing value.
34176 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34178         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34179         Use testrun.sh to run libm tests.
34181         [BZ #15309]
34182         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34184 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34186         [BZ #15264]
34187         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34189 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34191         * Makefile.in (regen-ulps): New target.
34192         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34193         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34194         [ifneq (no,$(PERL)] (regen-ulps): New target.
34195         [ifeq (no,$(PERL)] (regen-ulps): New target.
34196         * math/libm-test.inc (ulps_file_name): Define.
34197         (output_dir): New variable.
34198         (options): Add "output-dir" option.
34199         (parse_opt): Handle 'o' case.
34200         (main): If output_dir is non-NULL use it as a prefix
34201         otherwise use "".
34202         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34204 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34206         [BZ #10060, #10062]
34207         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34208         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34209         fail configure if __sync_val_compare_and_swap is not inlined.
34210         * sysdeps/i386/configure: Regenerate.
34211         * configure.in: Build for i686 when configured for i386.
34212         * configure: Regenerate.
34213         * README: Remove i386 reference.
34215 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34217         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34218         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34220 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34222         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34223         (lmsnanval): New variables.
34224         (F): Add conversion tests.
34225         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34226         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34228         * stdio-common/tstdiomisc.c (F): Properly collect individual
34229         tests' results.
34231         [BZ #14686, #15336]
34232         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34233         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34234         Instead, use input NaN values or generate a qNaN by arithmetic
34235         operation.  Also fix bugs to comply with the standard.
34236         * math/libm-test.inc (remainder_test): Add more tests.
34238         [BZ #15335, #15342]
34239         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34241         input NaN values or generate a qNaN by arithmetic operation.
34243         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34244         unreachable code.
34246         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34247         definitions.
34249 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34251         [BZ #14478]
34252         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34253         underflowed result.
34254         * math/s_cexpf.c (__cexpf): Likewise.
34255         * math/s_cexpl.c (__cexpl): Likewise.
34256         * math/libm-test.inc (cexp_test): Add more tests.
34258 2013-04-03  Andreas Schwab  <schwab@suse.de>
34260         [BZ #15330]
34261         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34262         order arrays from heap if bigger than alloca cutoff.
34264 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34266         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34267         (SNAN_TESTS_double): Refer to GCC PR56831.
34268         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34269         GCC PR56828.
34271 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34273         * Rules (bench): Move bench.out after the run is complete.
34275         * Rules (bench): Echo currently running benchmark.
34277         * benchtests/Makefile (bench): Add atan and slowatan.
34278         * benchtests/atan-inputs: New file.
34279         * benchtests/slowatan-inputs: New file.
34280         * benchtests/slowatan.c: New file.
34282         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34284         its value.
34286         [BZ #15305]
34287         * sysdeps/unix/sysv/linux/kernel-features.h
34288         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34289         __ASSUME_XFS_RESTRICTED_CHOWN.
34290         * sysdeps/unix/sysv/linux/pathconf.c
34291         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34292         Save and restore errno.
34294 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34296         [BZ #15327]
34297         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34298         arguments using __kernel_casinh.
34299         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34300         arguments using __kernel_casinhf.
34301         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34302         arguments using __kernel_casinhl.
34303         * math/libm-test.inc (cacosh_test): Add more tests.
34304         * sysdeps/i386/fpu/libm-test-ulps: Update.
34305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34307 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34309         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34312         * bench/Makefile (bench): Add sin and slowsin.
34313         * benchtests/sin-inputs: New file.
34314         * benchtests/slowsin-inputs: New file.
34315         * benchtests/slowsin.c: New file.
34317         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34318         (bench): Add slowexp and slowpow.
34319         (exp-ITER): Increase iterations.
34320         (pow-ITER): Likewise.
34321         * benchtests/exp-inputs: Change input.
34322         * benchtests/pow-inputs: Likewise.
34323         * benchtests/slowexp-inputs: New file.
34324         * benchtests/slowexp.c: New file.
34325         * benchtests/slowpow-inputs: New file.
34326         * benchtests/slowpow.c: New file.
34328 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34330         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34331         instructions.
34332         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34333         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34334         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34335         * benchtests/Makefile: Add rint benchtest.
34336         * benchtests/rint-inputs: Input for rint benchtest.
34338 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34340         * Versions.def (libm): Add GLIBC_2.18.
34341         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34342         hidden libm prototypes.
34343         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34344         * math/Makefile (libm-calls): Add s_issignaling.
34345         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34346         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34347         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34348         declaration.
34349         * math/math.h [__USE_GNU] (issignaling): New macro.
34350         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34351         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34352         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34353         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34354         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34355         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34356         * manual/arith.texi (issignaling): New section.
34357         * manual/libm-err-tab.pl (@all_functions): Update comment.
34358         * math/gen-libm-test.pl (parse_args): Apply special handling for
34359         issignaling.
34360         * math/libm-test.inc (print_float, issignaling_test): New
34361         functions.
34362         (check_float_internal): Add issignaling checks.
34363         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34364         default definition.
34365         * sysdeps/powerpc/math-tests.h: New file.
34366         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34367         tests.
34368         * math/test-snan.c (TEST_FUNC): Likewise.
34370 2013-03-30  David S. Miller  <davem@davemloft.net>
34372         * po/de.po: Update from translation team.
34374 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34376         [BZ #10357]
34377         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34378         imaginary part less than 1.0 and real part less than 0.5
34379         specially.
34380         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34381         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34382         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34383         (cacos_test): Add more tests.
34384         (casin_test): Likewise.
34385         (casinh_test): Likewise.
34386         * sysdeps/i386/fpu/libm-test-ulps: Update.
34387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34389 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34391         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34392         ONE with its value.
34394         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34395         (__pow_mp): Replace ONE and MONE with their values.
34396         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34398         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34399         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34400         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34401         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34403         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34405         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34406         (__pow_mp): Replace ZERO and MZERO with their values.
34407         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34408         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34409         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34411         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34412         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34413         (__sqr): Likewise.
34415         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34417         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34419 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34421         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34422         Declare with __attribute__ ((weak)).
34423         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34424         Call __call_tls_dtors only if it's not NULL.
34426 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34428         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34429         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34430         magic __ehdr_start linker symbol if it's defined.
34431         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34432         them up here if it was already done.
34434         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34435         (_dl_aux_init): Use const in cast when setting it.
34436         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34437         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34438         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34440         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34441         Declare them here.
34442         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34443         * csu/libc-tls.c: Nor here.
34444         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34446         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34447         (__libc_message): Never call vsyslog.
34449 2013-03-28  Alan Modra  <amodra@gmail.com>
34451         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34452         Define as empty.
34453         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34454         Likewise.
34456 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34458         [BZ #15214]
34459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34460         underflow.
34461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34463 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34465         [BZ #15304]
34466         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34467         Don't add gid passed as argument.
34469         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34471 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34473         [BZ #15307]
34474         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34475         imaginary part between 1.0 and 1.5 and real part less than 0.5
34476         specially.
34477         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34478         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34479         * math/libm-test.inc (cacos_test): Add more tests.
34480         (casin_test): Likewise.
34481         (casinh_test): Likewise.
34482         * sysdeps/i386/fpu/libm-test-ulps: Update.
34483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34485 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34487         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34488         constants.
34489         (norm): Likewise.
34490         (denorm): Likewise.
34491         (__dbl_mp): Likewise.
34492         (add_magnitudes): Likewise.
34493         (sub_magnitudes): Likewise.
34494         (__add): Likewise.
34495         (__sub): Likewise.
34496         (__mul): Likewise.
34497         (__sqr): Likewise.
34498         (__inv): Likewise.
34499         (__dvd): Likewise.
34501         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34502         commented code.
34503         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34504         (__dubcos): Likewise.
34505         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34506         (__ieee754_acos): Likewise.
34507         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34508         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34509         (__exp1): Likewise.
34510         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34512         (log1): Likewise.
34513         (my_log2): Likewise.
34514         (checkint): Likewise.
34515         * sysdeps/ieee754/dbl-64/e_remainder.c
34516         (__ieee754_remainder): Likewise.
34517         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34519         (bsloww): Likewise.
34520         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34522         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34523         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34524         MANTISSA_STORE_T to store computations on mantissa.  Use
34525         macros for rounding and division.
34526         (denorm): Likewise.
34527         (__dbl_mp): Likewise.
34528         (add_magnitudes): Likewise.
34529         (sub_magnitudes): Likewise.
34530         (__mul): Likewise.
34531         (__sqr): Likewise.
34532         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34533         powers of two in terms of TWOPOW macro.
34534         (mp_no): Make type of mantissa as MANTISSA_T.
34535         [!RADIXI]: Define RADIXI.
34536         [!TWO52]: Define TWO52.
34537         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34539 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34541         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34542         llroundl symbol when building for PPC32.
34544 2013-03-24  Mark H Weaver  <mhw@netris.org>
34546         * manual/arith.texi (Normalization Functions): Fix prototypes for
34547         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34549 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34551         [BZ #13889]
34552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34553         high value to check if expl overflow.
34554         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34555         to check for underflow and overflow.
34556         * math/libm-test.inc: Add exp test.
34558 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34560         [BZ #11120]
34561         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34562         with NOT_IN_libc.
34564 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34566         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34567         symbol.
34569 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34571         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34572         wrap blocks consisting of several statements.
34574         * sysdeps/generic/math-tests.h: New file.
34575         * sysdeps/i386/fpu/math-tests.h: Likewise.
34576         * math/test-snan.c: Include it.
34577         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34579 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34581         [BZ #15285]
34582         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34583         (__ieee754_j0l): Do not improve calculations using cos of twice
34584         input for inputs above LDBL_MAX / 2.0L.
34585         (__ieee754_y0l): Likewise.
34586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34587         (__ieee754_j1l): Do not improve calculations using cos of twice
34588         input for inputs above LDBL_MAX / 2.0L.
34589         (__ieee754_y1l): Likewise.
34590         * math/libm-test.inc (j0_test): Add another test.
34591         (j1_test): Likewise.
34592         (y0_test): Likewise.
34593         (y1_test): Likewise.
34594         * sysdeps/i386/fpu/libm-test-ulps: Update.
34596 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34598         * Rules ($(objpfx)bench-%.c): Include code from a C source
34599         file.
34601 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34603         [BZ #15287]
34604         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34605         imaginary part 1.0 and real part less than 0.5 specially.
34606         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34607         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34608         * math/libm-test.inc (cacos_test): Add more tests.
34609         (casin_test): Likewise.
34610         (casinh_test): Likewise.
34611         * sysdeps/i386/fpu/libm-test-ulps: Update.
34612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34614 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34616         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34617         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34619 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34621         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34622         * config.make.in (config-cflags-sse4): Remove variable.
34623         (config-cflags-avx): Likewise.
34624         (config-cflags-sse2avx): Likewise.
34625         (config-cflags-novzeroupper): Likewise.
34626         (config-asflags-i686): Likewise.
34627         (have-mfma4): Likewise.
34628         (have-as-vis3): Likewise.
34629         (MIG): Likewise.
34630         * configure.in (MIG): Do not AC_SUBST.
34631         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34632         (libc_cv_cc_sse4): Do not AC_SUBST.
34633         (libc_cv_cc_avx): Likewise.
34634         (libc_cv_cc_sse2avx): Likewise.
34635         (libc_cv_cc_novzeroupper): Likewise.
34636         (libc_cv_cc_fma4): Likewise.
34637         (libc_cv_as_i686): Likewise.
34638         (libc_cv_sparc_as_vis3): Likewise.
34639         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34640         LIBC_CONFIG_VAR.
34641         (config-asflags-i686): Likewise.
34642         (config-cflags-avx): Likewise.
34643         (config-cflags-sse2avx): Likewise.
34644         (have-mfma4): Likewise.
34645         (config-cflags-novzeroupper): Likewise.
34646         * sysdeps/mach/configure.in (MIG): Likewise.
34647         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34648         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34649         LIBC_CONFIG_VAR.
34650         (config-cflags-avx): Likewise.
34651         (config-cflags-sse2avx): Likewise.
34652         (have-mfma4): Likewise.
34653         (config-cflags-novzeroupper): Likewise.
34654         * configure: Regenerated.
34655         * sysdeps/i386/configure: Likewise.
34656         * sysdeps/mach/configure: Likewise.
34657         * sysdeps/sparc/configure: Likewise.
34658         * sysdeps/x86_64/configure: Likewise.
34660 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34662         [BZ #14812]
34663         * locale/programs/localedef.c (options): Put N_ translation marker
34664         on argument names, not just descriptions.
34666 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34668         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34670 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34672         [BZ #14176]
34673         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34675 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34677         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34678         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34679         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34680         [!BEFORE_ABORT] (before_abort): New function.
34681         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34682         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34683         (writev_for_fatal): New function.
34684         (WRITEV_FOR_FATAL): New macro; call that.
34685         (backtrace_and_maps): New function.
34686         (BEFORE_ABORT): New macro; call that.
34687         (struct str_list): Type removed.
34688         (__libc_message, __libc_fatal): Functions removed.
34689         Include <sysdeps/posix/libc_fatal.c> instead.
34691 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34693         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34694         constants.
34695         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34696         double constants.
34698 2013-03-19  Andreas Schwab  <schwab@suse.de>
34700         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34701         * sysdeps/gnu/configure: Regenerate.
34703         * configure.in: Substitute libc_cv_rtlddir.
34704         * configure: Regenerate.
34705         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34706         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34707         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34708         * elf/Makefile (install-others, CFLAGS-interp.c)
34709         (ldso_install, common-ldd-rewrite): Likewise.
34710         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34711         $(inst_slibdir)/$(rtld-installed-name).
34712         * scripts/rellns-sh: Add -p option.
34713         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34714         for source.
34716 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34718         * manual/nptl.texi: Renamed to ...
34719         * manual/threads.texi: ... this.
34720         * manual/Makefile (chapters): Update.
34722 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34724         [BZ #14812]
34725         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34726         on argument names, not just descriptions.
34727         * malloc/memusagestat.c (options): Likewise.
34728         * nss/getent.c (options): Likewise.
34730 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34732         [BZ #14812]
34733         * iconv/iconv_prog.c (options): Put N_ translation marker
34734         on argument names, not just descriptions.
34735         * iconv/iconvconfig.c (options): Likewise.
34737 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34739         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34740         implementation which is faster on all x86_64 architectures.
34741         Tested on AMD, Intel Nehalem, SNB, IVB.
34742         * sysdeps/x86_64/strnlen.S: Likewise.
34744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34745         Remove all multiarch strlen and strnlen versions.
34746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34747         Remove strlen and strnlen related parts.
34749         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34750         Inline strlen part.
34751         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34753         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34754         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34755         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34756         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34757         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34758         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34760 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34762         * manual/memory.texi (Malloc Tunable Parameters):
34763         Sort parameters alphabetically. Add comments for missing entries.
34765 2013-03-17  David S. Miller  <davem@davemloft.net>
34767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34769 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34771         [BZ #15283]
34772         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34773         for arguments at most half maximum finite value.
34774         * math/libm-test.inc (j0_test): Add more tests.
34775         (j1_test): Likewise.
34776         (y0_test): Likewise.
34777         (y1_test): Likewise.
34778         * sysdeps/i386/fpu/libm-test-ulps: Update.
34779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34781         [BZ #14155]
34782         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34783         1 / x and functions P and Q for arguments above 0x1p256L.
34784         (__ieee754_y0l): Likewise.
34785         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34786         (__ieee754_y1l): Likewise.
34787         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34788         (j1_test): Likewise.
34789         (y0_test): Likewise.
34790         (y1_test): Likewise.
34792 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34794         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34795         variable.
34797 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34799         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34800         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34801         zero since it's initialized to EXEC_PAGESIZE.
34803         * sysdeps/unix/sysv/linux/ldsodefs.h
34804         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34805         * sysdeps/generic/ldsodefs.h: ... here.
34807 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34809         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34811         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34812         math/test-snan.c.
34813         * math/test-snan.c: Renamed from
34814         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34815         * math/Makefile (tests): Add test-snan.
34816         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34817         test-powerpc-snan.
34819         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34820         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34821         functions.
34822         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34823         __builtin_nan family of functions.
34824         * math/libm-test.inc (initialize): Initialize qnan_value with
34825         __builtin_nan family of functions.
34826         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34827         Remove variables.
34828         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34829         Remove functions.
34830         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34831         storage class.  Initialize qNaN_var and sNaN_var with
34832         __builtin_nan and __builtin_nans families of functions,
34833         respectively.
34835         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34836         (sqrt_test): Remove duplicate test with qNaN input.
34837         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34838         (round_test, signbit_test, significand_test): Note missing +/-Inf
34839         as well as qNaN tests.
34841         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34842         qNaN_var.  Fix a few strings, too.
34843         * math/libm-test.inc (nan_value): Rename to qnan_value.
34844         * math/gen-libm-test.pl (%beautify): Adjust to that.
34845         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34846         * math/test-misc.c (main): Likewise.
34847         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34848         to __qnan_bytes, and __qnan_union, respectively.
34849         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34850         Likewise.
34851         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34852         and lqnanval, respectively.
34853         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34854         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34855         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34856         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34858         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34859         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34860         doubles.
34862         * math/test-misc.c (main): Fix copy'n'pastos.
34863         * misc/tst-efgcvt.c (special): Likewise.
34865         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34866         Remove declarations.
34868 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34870         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34871         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34872         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34873         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34875 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34877         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34878         macro to return vdso values correctly in IFUNC implementations.
34879         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34880         Optimization by using IFUNC.
34882 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34883             Richard Henderson  <rth@redhat.com>
34884             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34886         * Makefile.in (bench): New target.
34887         * NEWS: Mention the benchmark framework.
34888         * Rules (bench): Likewise.
34889         (binaries-bench): Generate binaries for functions to
34890         benchmark.
34891         * benchtests/Makefile: New makefile for benchmark tests.
34892         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34893         programs.
34894         * benchtests/exp-inputs: New input file for EXP function.
34895         * benchtests/pow-inputs: New input file for POW function.
34896         * scripts/bench.pl: New script to generate source files for
34897         benchmark programs.
34899 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34901         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34902         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34903         computations on mantissa.  Use macros for rounding and
34904         division.
34905         (denorm): Likewise.
34906         (__dbl_mp): Likewise.
34907         (add_magnitudes): Likewise.
34908         (sub_magnitudes): Likewise.
34909         (__mul): Likewise.
34910         (__sqr): Likewise.
34911         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34912         powers of two in terms of TWOPOW macro.
34913         (mp_no): Make type of mantissa as MANTISSA_T.
34914         [!RADIXI]: Define RADIXI.
34915         [!TWO52]: Define TWO52.
34916         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34918         * manual/nptl.texi (cindex): Modify threads to pthreads.
34920 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34922         * sysdeps/x86_64/preconfigure: Regenerated.
34924 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34926         [BZ #14155]
34927         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34928         0x1p28 and above.
34929         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34930         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34931         0x1p28 and above.
34932         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34933         * math/libm-test.inc (j0_test): Do not allow one spurious
34934         underflow exception.
34935         (y1_test): Likewise.
34937 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34939         * manual/Makefile (chapters): Add nptl.
34940         * manual/debug.texi (Debugging Support): Add link to Threads
34941         chapter.
34942         * manual/nptl.texi: New file.
34944         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34946 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34948         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34949         for non-NULL pointer before the memory validity test. Pointed
34950         out by Holger Brunck <holger.brunck@keymile.com>.
34952 2013-03-13  Andreas Schwab  <schwab@suse.de>
34954         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34955         instead of .os.
34957 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34959         * timezone/zic.c: Update from tzcode 2013b.
34961 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34963         * manual/install.texi (Configuring and compiling):
34964         Mention i686 and i586.
34965         * INSTALL: Regenerate.
34967 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34969         * sysdeps/init_array/elf-init.c: New file.
34970         * csu/elf-init.c
34971         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34972         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34974         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34975         __gmon_start__ as global, but as static with a .preinit_array pointer.
34976         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34977         * sysdeps/init_array/crti.S: New file, empty except for comments.
34978         * sysdeps/init_array/crtn.S: Likewise.
34980 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34982         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34983         definining bcopy.
34984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34985         Remove Prefer_SSE_for_memop.
34986         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34987         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34988         HAS_PREFER_SSE_FOR_MEMOP.
34989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34990         memset-x86-64.
34991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34992         Remove bzero, memset ifunc support.
34993         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34994         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34995         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34996         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34998 2013-03-11  Andreas Schwab  <schwab@suse.de>
35000         [BZ #15234]
35001         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35002         by SHLIB_COMPAT.
35003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35004         (GLIBC_2.16): Remove pthread_atfork.
35006 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35008         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35009         (ptestcases.h): Likewise.
35011 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35013         * Makeconfig ($(common-objpfx)config.status): Depend on
35014         sysdeps/*/preconfigure{,.in} too.
35016 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35018         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35019         (__free_hook): Use void * instead of __malloc_ptr_t.
35020         (__malloc_hook): Likewise.
35021         (__realloc_hook): Likewise.
35022         (__memalign_hook): Likewise.
35023         (__after_morecore_hook): Likewise.
35024         * malloc/arena.c (save_malloc_hook): Likewise.
35025         (save_free_hook): Likewise.
35026         * malloc/hooks.c (malloc_hook_ini): Likewise.
35027         (realloc_hook_ini): Likewise.
35028         (memalign_hook_ini): Likewise.
35029         * malloc/malloc.c (malloc_hook_ini): Likewise.
35030         (realloc_hook_ini): Likewise.
35031         (memalign_hook_ini): Likewise.
35032         (__free_hook): Likewise.
35033         (__malloc_hook): Likewise.
35034         (__realloc_hook): Likewise.
35035         (__memalign_hook): Likewise.
35036         (__libc_malloc): Likewise.
35037         (__libc_free): Likewise.
35038         (__libc_realloc): Likewise.
35039         (__libc_memalign): Likewise.
35040         (__libc_valloc): Likewise.
35041         (__libc_pvalloc): Likewise.
35042         (__libc_calloc): Likewise.
35043         (__posix_memalign): Likewise.
35044         * malloc/morecore.c (__sbrk): Likewise.
35045         (__default_morecore): Likewise.
35047         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35049         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35050         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35051         __malloc_ptrdiff_t.
35053         * malloc/malloc.h (__malloc_size_t): Remove macro.
35054         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35055         __malloc_size_t.
35056         (old_memalign_hook): Likewise.
35057         (old_realloc_hook): Likewise.
35058         (struct hdr): Likewise.
35059         (flood): Likewise.
35060         (mallochook): Likewise.
35061         (memalignhook): Likewise.
35062         (reallochook): Likewise.
35063         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35064         (tr_old_realloc_hook): Likewise.
35065         (tr_old_memalign_hook): Likewise.
35066         (tr_mallochook): Likewise.
35067         (tr_reallochook): Likewise.
35068         (tr_memalignhook): Likewise.
35070 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35073         default_ldbl_pack and using as default implementation.
35074         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35075         implementation.
35076         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35077         redundant definition.
35078         (ldbl_insert_mantissa): Likewise.
35079         (ldbl_canonicalize): Likewise.
35080         (ldbl_nearbyint): Likewise.
35081         (ldbl_pack): Rename to ldbl_pack_ppc.
35082         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35083         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35084         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35086 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35089         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35090         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35091         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35093         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35094         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35095         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35097 2013-03-07  Andreas Jaeger  <aj@suse.de>
35099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35100         bits/mman-linux.h.
35102 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35104         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35105         Include mpa.h and declare __MPEXP.
35106         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35107         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35108         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35109         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35110         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35111         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35112         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35114         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35115         (__slowpow): Use long double EXPL and LOGL functions to
35116         compute POW.
35117         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35118         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35119         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35120         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35121         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35122         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35125         intermediate variable to calculate exponent.
35126         (__sqr): Likewise.
35127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35128         Likewise.
35129         (__sqr): Likewise.
35131         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35132         [!NO__SQR]: Define __sqr.
35133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35134         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35135         sysdeps/ieee754/dbl-64/mpa.c.
35136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35138         [BZ #12723]
35139         * posix/Makefile (tests): Add tst-pathconf.
35140         * posix/tst-pathconf.c: New test case.
35141         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35142         _PC_PIPE_BUF.
35143         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35145 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35147         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35149 2013-03-06  Andreas Jaeger  <aj@suse.de>
35151         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35152         definition via __MAP_ANONYMOUS.
35154         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35155         it's not part of Linux headers.
35157         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35158         (MAP_HUGE_MASK): Define.
35160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35161         Define.
35162         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35163         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35164         Define.
35165         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35166         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35167         Define.
35168         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35169         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35170         Define.
35171         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35173         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35174         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35175         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35176         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35177         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35178         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35180         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35181         Handle f2fs.
35183         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35184         Handle f2fs and efivarfs.
35186         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35187         f2fs.
35189         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35190         (EFIVARFS_MAGIC): Add.
35191         (F2FS_LINK_MAX): Add.
35193 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35195         * stdio-common/vfprintf.c: Replace __builtin_expect with
35196         __glibc_unlikely.
35198 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35200         [BZ #13550]
35201         * sysdeps/generic/bp-sym.h: Remove file.
35202         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35203         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35204         <bp-sym.h> and <bp-asm.h>.
35205         (__longjmp): Don't use BP_SYM.
35206         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35207         and <bp-asm.h>.
35208         (memcpy): Don't use BP_SYM.
35209         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35210         <bp-sym.h> and <bp-asm.h>.
35211         (memcpy): Don't use BP_SYM.
35212         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35213         <bp-asm.h>.
35214         (memcpy): Don't use BP_SYM.
35215         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35216         <bp-asm.h>.
35217         (memset): Don't use BP_SYM.
35218         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35219         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35220         (__bzero): Don't use BP_SYM.
35221         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35222         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35223         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35224         <bp-sym.h> and <bp-asm.h>.
35225         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35226         pointers.
35227         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35228         <bp-sym.h> and <bp-asm.h>.
35229         (memcpy): Don't use BP_SYM.
35230         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35231         <bp-sym.h> and <bp-asm.h>.
35232         (memset): Don't use BP_SYM.
35233         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35234         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35235         (__bzero): Don't use BP_SYM.
35236         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35237         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35238         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35239         <bp-sym.h> and <bp-asm.h>.
35240         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35241         pointers.
35242         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35243         <bp-sym.h> and <bp-asm.h>.
35244         (memcpy): Don't use BP_SYM.
35245         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35246         <bp-sym.h> and <bp-asm.h>.
35247         (memset): Don't use BP_SYM.
35248         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35249         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35250         (__bzero): Don't use BP_SYM.
35251         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35252         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35253         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35254         <bp-sym.h> and <bp-asm.h>.
35255         (__memchr): Don't use BP_SYM.
35256         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35257         <bp-sym.h> and <bp-asm.h>.
35258         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35259         pointers.
35260         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35261         <bp-sym.h> and <bp-asm.h>.
35262         (memcpy): Don't use BP_SYM.
35263         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35264         <bp-sym.h> and <bp-asm.h>.
35265         (__mempcpy): Don't use BP_SYM.
35266         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35267         <bp-sym.h> and <bp-asm.h>.
35268         (__memrchr): Don't use BP_SYM.
35269         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35270         <bp-sym.h> and <bp-asm.h>.
35271         (memset): Don't use BP_SYM.
35272         (__bzero): Likewise.
35273         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35274         <bp-sym.h> and <bp-asm.h>.
35275         (__rawmemchr): Don't use BP_SYM.
35276         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35277         <bp-sym.h> and <bp-asm.h>.
35278         (__STRCMP): Don't use BP_SYM.
35279         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35280         <bp-sym.h> and <bp-asm.h>.
35281         (strchr): Don't use BP_SYM.
35282         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35283         <bp-sym.h> and <bp-asm.h>.
35284         (__strchrnul): Don't use BP_SYM.
35285         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35286         <bp-sym.h> and <bp-asm.h>.
35287         (strlen): Don't use BP_SYM.
35288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35289         <bp-sym.h> and <bp-asm.h>.
35290         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35291         pointers.
35292         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35293         <bp-sym.h> and <bp-asm.h>.
35294         (__strnlen): Don't use BP_SYM.
35295         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35296         <bp-sym.h> and <bp-asm.h>.
35297         (__GI__setjmp): Don't use BP_SYM.
35298         (_setjmp): Likewise.
35299         (__sigsetjmp): Likewise.
35300         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35301         (L(start_addresses)): Don't use BP_SYM.
35302         (_start): Likewise.
35303         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35304         <bp-asm.h>.
35305         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35306         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35307         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35308         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35309         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35310         <bp-asm.h>.
35311         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35312         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35313         about bounded pointers.
35314         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35315         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35316         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35317         <bp-asm.h>.
35318         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35319         about bounded pointers.  Remove GKM FIXME comments.
35320         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35321         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35322         <bp-asm.h>.
35323         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35324         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35325         Remove GKM FIXME comments.
35326         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35327         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35328         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35329         <bp-asm.h>.
35330         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35331         about bounded pointers.  Remove GKM FIXME comment.
35332         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35333         and <bp-asm.h>.
35334         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35335         pointers.
35336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35337         <bp-sym.h> and <bp-asm.h>.
35338         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35340         <bp-sym.h> and <bp-asm.h>.
35341         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35342         comment.
35344 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35346         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35347         call free(NULL).
35349 2013-03-05  David S. Miller  <davem@davemloft.net>
35351         * po/es.po: Update from translation team.
35353 2013-03-05  Andreas Jaeger  <aj@suse.de>
35355         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35356         <bits/mman-linux.h>.
35357         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35358         is fine.
35359         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35360         <bits/mman-linux.h> to end of file.
35361         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35362         is fine.
35363         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35364         <bits/mman-linux.h> to end of file.
35365         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35366         is fine.
35367         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35368         <bits/mman-linux.h> to end of file.
35370         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35371         (MCL_CURRENT, MCL_FUTURE): Define here.
35373 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35375         [BZ #15232]
35376         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35377         attribute_hidden.
35378         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35380 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35383         fourth parameter needed for rt_sigprocmask syscall.
35384         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35385         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35386         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35387         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35388         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35389         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35391 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35393         [BZ #13550]
35394         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35395         comment about bounded pointers.
35396         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35397         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35399 2013-03-04  Andreas Jaeger  <aj@suse.de>
35401         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35402         common definitions.
35404         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35405         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35406         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35407         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35408         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35409         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35411 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35413         [BZ #15055]
35414         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35415         __ieee754_sqrl instead of __sqrl.
35417 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35419         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35420         * sysdeps/powerpc/fpu_control.h: ... here.
35421         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35422         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35423         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35424         * sysdeps/powerpc/bits/mathinline.h: ... here.
35426 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35428         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35429         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35430         to just [NEED_DL_SYSINFO_DSO].
35431         * elf/dl-support.c: Likewise.
35432         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35433         * elf/rtld.c (dl_main): Likewise.
35434         * elf/setup-vdso.h (setup_vdso): Likewise.
35435         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35436         * sysdeps/unix/sysv/linux/dl-sysdep.c
35437         (_dl_discover_osversion): Likewise.
35439 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35441         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35442         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35444 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35446         * NEWS: Mention libm performance improvements and non-x86 PI
35447         futex support.
35449         * csu/libc-start.c (__pthread_initialize_minimal): Change
35450         function arguments.
35451         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35453 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35455         [BZ #13550]
35456         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35457         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35458         <bp-sym.h> and <bp-asm.h>.
35459         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35460         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35461         and <bp-asm.h>.
35462         (memcpy): Don't use BP_SYM.
35463         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35464         <bp-asm.h>.
35465         (__mpn_add_n): Don't use BP_SYM.
35466         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35467         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35468         and <bp-asm.h>.
35469         (__mpn_addmul_1): Don't use BP_SYM.
35470         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35471         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35472         <bp-sym.h>.
35473         (_setjmp): Don't use BP_SYM.
35474         (__novmx_setjmp): Likewise.
35475         (__GI__setjmp): Likewise.
35476         (__vmx_setjmp): Likewise.
35477         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35478         <bp-sym.h>.
35479         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35480         (__bzero): Don't use BP_SYM.
35481         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35482         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35483         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35484         <bp-sym.h> and <bp-asm.h>.
35485         (memcpy): Don't use BP_SYM.
35486         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35487         <bp-sym.h> and <bp-asm.h>.
35488         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35489         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35490         <bp-sym.h> and <bp-asm.h>.
35491         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35492         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35493         <bp-asm.h>.
35494         (__mpn_lshift): Don't use BP_SYM.
35495         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35496         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35497         <bp-asm.h>.
35498         (memset): Don't use BP_SYM.
35499         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35500         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35501         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35502         <bp-asm.h>.
35503         (__mpn_mul_1): Don't use BP_SYM.
35504         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35505         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35506         <bp-sym.h> and <bp-asm.h>.
35507         (memcmp): Don't use BP_SYM.
35508         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35509         <bp-sym.h> and <bp-asm.h>.
35510         (memcpy): Don't use BP_SYM.
35511         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35512         <bp-sym.h> and <bp-asm.h>.
35513         (memset): Don't use BP_SYM.
35514         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35515         <bp-sym.h> and <bp-asm.h>.
35516         (strncmp): Don't use BP_SYM.
35517         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35518         <bp-sym.h> and <bp-asm.h>.
35519         (memcpy): Don't use BP_SYM.
35520         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35521         <bp-sym.h> and <bp-asm.h>.
35522         (memset): Don't use BP_SYM.
35523         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35524         <bp-sym.h> and <bp-asm.h>.
35525         (__memchr): Don't use BP_SYM.
35526         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35527         <bp-sym.h> and <bp-asm.h>.
35528         (memcmp): Don't use BP_SYM.
35529         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35530         <bp-sym.h> and <bp-asm.h>.
35531         (memcpy): Don't use BP_SYM.
35532         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35533         <bp-sym.h> and <bp-asm.h>.
35534         (__mempcpy): Don't use BP_SYM.
35535         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35536         <bp-sym.h> and <bp-asm.h>.
35537         (__memrchr): Don't use BP_SYM.
35538         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35539         <bp-sym.h> and <bp-asm.h>.
35540         (memset): Don't use BP_SYM.
35541         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35542         <bp-sym.h> and <bp-asm.h>.
35543         (__rawmemchr): Don't use BP_SYM.
35544         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35545         <bp-sym.h> and <bp-asm.h>.
35546         (__STRCMP): Don't use BP_SYM.
35547         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35548         <bp-sym.h> and <bp-asm.h>.
35549         (strchr): Don't use BP_SYM.
35550         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35551         <bp-sym.h> and <bp-asm.h>.
35552         (__strchrnul): Don't use BP_SYM.
35553         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35554         <bp-sym.h> and <bp-asm.h>.
35555         (strlen): Don't use BP_SYM.
35556         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35557         <bp-sym.h> and <bp-asm.h>.
35558         (strncmp): Don't use BP_SYM.
35559         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35560         <bp-sym.h> and <bp-asm.h>.
35561         (__strnlen): Don't use BP_SYM.
35562         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35563         <bp-asm.h>.
35564         (__mpn_rshift): Don't use BP_SYM.
35565         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35566         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35567         <bp-sym.h> and <bp-asm.h>.
35568         (__sigsetjmp): Don't use BP_SYM.
35569         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35570         (L(start_addresses)): Don't use BP_SYM.
35571         (_start): Likewise.
35572         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35573         <bp-asm.h>.
35574         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35575         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35576         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35577         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35578         <bp-asm.h>.
35579         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35580         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35581         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35582         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35583         <bp-asm.h>.
35584         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35585         comments.
35586         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35587         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35588         <bp-asm.h>.
35589         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35590         FIXME comments.
35591         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35592         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35593         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35594         <bp-asm.h>.
35595         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35596         comment.
35597         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35598         and <bp-asm.h>.
35599         (strncmp): Don't use BP_SYM,
35600         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35601         <bp-asm.h>.
35602         (__mpn_sub_n): Don't use BP_SYM.
35603         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35604         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35605         and <bp-asm.h>.
35606         (__mpn_submul_1): Don't use BP_SYM.
35607         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35609         <bp-sym.h> and <bp-asm.h>.
35610         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35612         <bp-sym.h> and <bp-asm.h>.
35613         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35614         comment.
35616 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35619         Use ZK to minimize writes to Z.
35620         (sub_magnitudes): Simplify code a bit.
35621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35622         Use ZK to minimize writes to Z.
35623         (sub_magnitudes): Simplify code a bit.
35625 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35627         * csu/gmon-start.c: Add special exception to license text.
35629 2013-02-27  Richard Henderson  <rth@redhat.com>
35631         * scripts/config.guess: Update from config.git.
35632         * scripts/config.sub: Likewise.
35634 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35636         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35638         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35640         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35642         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35644         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35646 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35648         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35649         [$(build-shared = yes].
35651 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35654         (__mul): Reduce iterations for calculating mantissa.
35656         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35657         MPTWO.
35658         (__mpranred): Likewise.
35660         [BZ #15160]
35661         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35662         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35664 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35666         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35667         Define __attribute__.
35669 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35671         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35672         unused.
35673         * posix/regex_internal.h (__attribute): Remove.
35674         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35675         (re_string_context_at): Likewise.
35676         (bitset_not): Use __attribute__ and mark function as possibly
35677         unused.
35678         (bitset_merge): Likewise.
35679         (bitset_mask): Likewise.
35680         (re_string_char_size_at): Likewise.
35681         (re_string_wchar_at): Likewise.
35682         (re_string_elem_size_at): Likewise.
35684 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35686         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35687         code.
35688         (cc32): Likewise.
35690         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35691         (__acr): Likewise.
35692         (__cpy): Likewise.
35693         (norm): Likewise.
35694         (denorm): Likewise.
35695         (__dbl_mp): Likewise.
35696         (add_magnitudes): Likewise.
35697         (sub_magnitudes): Likewise.
35698         (__mul): Likewise.
35699         (__inv): Likewise.
35701         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35702         style.
35704         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35705         style.
35707         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35708         code.
35710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35711         up changes with default code.
35712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35713         Likewise.
35715 2013-02-24  Allan McRae  <allan@archlinux.org>
35717         * manual/socket.texi (The Internet Namespace): Order menu items
35718         to match that in the file.
35720         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35721         node listing of the info page menu.
35723 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35725         [BZ #13550]
35726         * sysdeps/i386/bp-asm.h: Remove file.
35727         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35728         (PARMS): Do not use macros from bp-asm.h.
35729         (S1): Likewise.
35730         (S2): Likewise.
35731         (SIZE): Likewise.
35732         (__mpn_add_n): Do not use BP_SYM
35733         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35734         "bp-asm.h".
35735         (PARMS): Do not use macros from bp-asm.h.
35736         (S1): Likewise.
35737         (SIZE): Likewise.
35738         (__mpn_addmul_1): Do not use BP_SYM
35739         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35740         "bp-asm.h".
35741         (PARMS): Do not use macros from bp-asm.h.
35742         (SIGMSK): Likewise.
35743         (_setjmp): Likewise.  Do not use BP_SYM.
35744         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35745         "bp-asm.h".
35746         (PARMS): Do not use macros from bp-asm.h.
35747         (SIGMSK): Likewise.
35748         (setjmp): Likewise.  Do not use BP_SYM.
35749         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35750         "bp-asm.h".
35751         (PARMS): Do not use macros from bp-asm.h.
35752         (__frexp): Do not use BP_SYM.
35753         (frexp): Likewise.
35754         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35755         "bp-asm.h".
35756         (PARMS): Do not use macros from bp-asm.h.
35757         (__frexpf): Do not use BP_SYM.
35758         (frexpf): Likewise.
35759         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35760         "bp-asm.h".
35761         (PARMS): Do not use macros from bp-asm.h.
35762         (__frexpl): Do not use BP_SYM.
35763         (frexpl): Likewise.
35764         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35765         "bp-asm.h".
35766         (PARMS): Do not use macros from bp-asm.h.
35767         (__remquo): Do not use BP_SYM.
35768         (remquo): Likewise.
35769         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35770         "bp-asm.h".
35771         (PARMS): Do not use macros from bp-asm.h.
35772         (__remquof): Do not use BP_SYM.
35773         (remquof): Likewise.
35774         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35775         "bp-asm.h".
35776         (PARMS): Do not use macros from bp-asm.h.
35777         (__remquol): Do not use BP_SYM.
35778         (remquol): Likewise.
35779         * sysdeps/i386/i486/strcat.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         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35785         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35786         "bp-asm.h".
35787         (PARMS): Do not use macros from bp-asm.h.
35788         (strlen): Do not use BP_SYM.
35789         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35790         "bp-asm.h".
35791         (PARMS): Do not use macros from bp-asm.h.
35792         (S1): Likewise.
35793         (S2): Likewise.
35794         (SIZE): Likewise.
35795         (__mpn_add_n): Do not use BP_SYM.
35796         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35797         "bp-asm.h".
35798         (PARMS): Do not use macros from bp-asm.h.
35799         (S1): Likewise.
35800         (SIZE): Likewise.
35801         (__mpn_addmul_1): Do not use BP_SYM.
35802         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35803         weak_alias.
35804         (bzero): Likewise.
35805         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35806         "bp-asm.h".
35807         (PARMS): Do not use macros from bp-asm.h.
35808         (S): Likewise.
35809         (SIZE): Likewise.
35810         (__mpn_lshift): Do not use BP_SYM.
35811         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35812         "bp-asm.h".
35813         (PARMS): Do not use macros from bp-asm.h.
35814         (DEST): Likewise.
35815         (SRC): Likewise.
35816         (LEN): Likewise.
35817         (memcpy): Likewise.  Do not use BP_SYM.
35818         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35819         libc_hidden_def and weak_alias.
35820         (mempcpy): Do not use BP_SYM in weak_alias.
35821         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35822         "bp-asm.h".
35823         (PARMS): Do not use macros from bp-asm.h.
35824         (DEST): Likewise.
35825         (LEN): Likewise.
35826         [!BZERO_P] (CHR): Likewise.
35827         (memset): Likewise.  Do not use BP_SYM.
35828         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35829         "bp-asm.h".
35830         (PARMS): Do not use macros from bp-asm.h.
35831         (S1): Likewise.
35832         (SIZE): Likewise.
35833         (__mpn_mul_1): Do not use BP_SYM.
35834         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35835         "bp-asm.h".
35836         (PARMS): Do not use macros from bp-asm.h.
35837         (S): Likewise.
35838         (SIZE): Likewise.
35839         (__mpn_rshift): Do not use BP_SYM.
35840         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35841         "bp-asm.h".
35842         (PARMS): Do not use macros from bp-asm.h.
35843         (STR): Likewise.
35844         (CHR): Likewise.
35845         (strchr): Likewise.  Do not use BP_SYM.
35846         (index): Do not use BP_SYM in weak_alias.
35847         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35848         "bp-asm.h".
35849         (PARMS): Do not use macros from bp-asm.h.
35850         (DEST): Likewise.
35851         (SRC): Likewise.
35852         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35853         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35854         "bp-asm.h".
35855         (PARMS): Do not use macros from bp-asm.h.
35856         (strlen): Do not use BP_SYM.
35857         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35858         "bp-asm.h".
35859         (PARMS): Do not use macros from bp-asm.h.
35860         (S1): Likewise.
35861         (S2): Likewise.
35862         (SIZE): Likewise.
35863         (__mpn_sub_n): Do not use BP_SYM.
35864         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35865         "bp-asm.h".
35866         (PARMS): Do not use macros from bp-asm.h.
35867         (S1): Likewise.
35868         (SIZE): Likewise.
35869         (__mpn_submul_1): Do not use BP_SYM.
35870         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35871         "bp-asm.h".
35872         (PARMS): Do not use macros from bp-asm.h.
35873         (S1): Likewise.
35874         (S2): Likewise.
35875         (SIZE): Likewise.
35876         (__mpn_add_n): Do not use BP_SYM.
35877         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35878         weak_alias.
35879         (bzero): Likewise.
35880         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35881         "bp-asm.h".
35882         (PARMS): Do not use macros from bp-asm.h.
35883         (BLK2): Likewise.
35884         (LEN): Likewise.
35885         (memcmp): Do not use BP_SYM.
35886         (bcmp): Do not use BP_SYM in weak_alias.
35887         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35888         "bp-asm.h".
35889         (PARMS): Do not use macros from bp-asm.h.
35890         (DEST): Likewise.
35891         (SRC): Likewise.
35892         (LEN): Likewise.
35893         (memcpy): Likewise.  Do not use BP_SYM.
35894         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35895         "bp-asm.h".
35896         (PARMS): Do not use macros from bp-asm.h.
35897         (DEST): Likewise.
35898         (SRC): Likewise.
35899         (LEN): Likewise.
35900         (memmove): Likewise.  Do not use BP_SYM.
35901         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35902         "bp-asm.h".
35903         (PARMS): Do not use macros from bp-asm.h.
35904         (DEST): Likewise.
35905         (SRC): Likewise.
35906         (LEN): Likewise.
35907         (__mempcpy): Likewise.  Do not use BP_SYM.
35908         (mempcpy): Do not use BP_SYM in weak_alias.
35909         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35910         "bp-asm.h".
35911         (PARMS): Do not use macros from bp-asm.h.
35912         (DEST): Likewise.
35913         (LEN): Likewise.
35914         [!BZERO_P] (CHR): Likewise.
35915         (memset): Likewise.  Do not use BP_SYM.
35916         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35917         "bp-asm.h".
35918         (PARMS): Do not use macros from bp-asm.h.
35919         (STR2): Likewise.
35920         (strcmp): Do not use BP_SYM.
35921         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35922         "bp-asm.h".
35923         (PARMS): Do not use macros from bp-asm.h.
35924         (STR): Likewise.
35925         (DELIM): Likewise.
35926         [USE_AS_STRTOK_R] (SAVE): Likewise.
35927         (FUNCTION): Likewise.  Do not use BP_SYM.
35928         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35929         aliases.
35930         (strtok_r): Likewise.
35931         (__GI___strtok_r): Likewise.
35932         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35933         (PARMS): Do not use macros from bp-asm.h.
35934         (S): Likewise.
35935         (SIZE): Likewise.
35936         (__mpn_lshift): Do not use BP_SYM.
35937         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35938         (PARMS): Do not use macros from bp-asm.h.
35939         (STR): Likewise.
35940         (CHR): Likewise.
35941         (__memchr): Do not use BP_SYM.
35942         (memchr): Do not use BP_SYM in weak_alias.
35943         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35944         (PARMS): Do not use macros from bp-asm.h.
35945         (BLK2): Likewise.
35946         (LEN): Likewise.
35947         (memcmp): Do not use BP_SYM.
35948         (bcmp): Do not use BP_SYM in weak_alias.
35949         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35950         (PARMS): Do not use macros from bp-asm.h.
35951         (S1): Likewise.
35952         (SIZE): Likewise.
35953         (__mpn_mul_1): Do not use BP_SYM.
35954         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35955         "bp-asm.h".
35956         (PARMS): Do not use macros from bp-asm.h.
35957         (STR): Likewise.
35958         (CHR): Likewise.
35959         (__rawmemchr): Do not use BP_SYM.
35960         (rawmemchr): Do not use BP_SYM in weak_alias.
35961         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35962         (PARMS): Do not use macros from bp-asm.h.
35963         (S): Likewise.
35964         (SIZE): Likewise.
35965         (__mpn_rshift): Do not use BP_SYM.
35966         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35967         (PARMS): Do not use macros from bp-asm.h.
35968         (SIGMSK): Likewise.
35969         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35970         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35971         (_start): Do not use BP_SYM.
35972         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35973         (PARMS): Do not use macros from bp-asm.h.
35974         (DEST): Likewise.
35975         (SRC): Likewise.
35976         (__stpcpy): Likewise.  Do not use BP_SYM.
35977         (stpcpy): Do not use BP_SYM in weak_alias.
35978         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35979         "bp-asm.h".
35980         (PARMS): Do not use macros from bp-asm.h.
35981         (DEST): Likewise.
35982         (SRC): Likewise.
35983         (LEN): Likewise.
35984         (__stpncpy): Likewise.  Do not use BP_SYM.
35985         (stpncpy): Do not use BP_SYM in weak_alias.
35986         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35987         (PARMS): Do not use macros from bp-asm.h.
35988         (STR): Likewise.
35989         (CHR): Likewise.
35990         (strchr): Likewise.  Do not use BP_SYM.
35991         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35992         "bp-asm.h".
35993         (PARMS): Do not use macros from bp-asm.h.
35994         (STR): Likewise.
35995         (CHR): Likewise.
35996         (__strchrnul): Likewise.  Do not use BP_SYM.
35997         (strchrnul): Do not use BP_SYM in weak_alias.
35998         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35999         "bp-asm.h".
36000         (PARMS): Do not use macros from bp-asm.h.
36001         (STOP): Likewise.
36002         (strcspn): Do not use BP_SYM.
36003         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36004         "bp-asm.h".
36005         (PARMS): Do not use macros from bp-asm.h.
36006         (STR): Likewise.
36007         (STOP): Likewise.
36008         (strpbrk): Likewise.  Do not use BP_SYM.
36009         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36010         "bp-asm.h".
36011         (PARMS): Do not use macros from bp-asm.h.
36012         (STR): Likewise.
36013         (CHR): Likewise.
36014         (strrchr): Likewise.  Do not use BP_SYM.
36015         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36016         (PARMS): Do not use macros from bp-asm.h.
36017         (SKIP): Likewise.
36018         (strspn): Do not use BP_SYM.
36019         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36020         (PARMS): Do not use macros from bp-asm.h.
36021         (STR): Likewise.
36022         (DELIM): Likewise.
36023         (SAVE): Likewise.
36024         (FUNCTION): Likewise.  Do not use BP_SYM.
36025         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36026         aliases.
36027         (strtok_r): Likewise.
36028         (__GI___strtok_r): Likewise.
36029         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36030         (PARMS): Do not use macros from bp-asm.h.
36031         (S1): Likewise.
36032         (S2): Likewise.
36033         (SIZE): Likewise.
36034         (__mpn_sub_n): Do not use BP_SYM.
36035         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36036         "bp-asm.h".
36037         (PARMS): Do not use macros from bp-asm.h.
36038         (S1): Likewise.
36039         (SIZE): Likewise.
36040         (__mpn_submul_1): Do not use BP_SYM.
36041         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36042         <bp-sym.h>.
36043         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36044         and <bp-asm.h>.
36045         (PARMS): Do not use macros from bp-asm.h.
36046         (FLAGS): Likewise.
36047         (PTID): Likewise.
36048         (TLS): Likewise.
36049         (CTID): Likewise.
36050         (__clone): Do not use BP_SYM.
36051         (clone): Do not use BP_SYM in weak_alias.
36052         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36053         and <bp-asm.h>.
36054         (PARMS): Do not use macros from bp-asm.h.
36055         (LEN): Likewise.
36056         (__mmap64): Do not use BP_SYM.
36057         (mmap64): Do not use BP_SYM in weak_alias.
36058         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36059         <bp-sym.h> and <bp-asm.h>.
36060         (PARMS): Do not use macros from bp-asm.h.
36061         (__posix_fadvise64_l64): Do not use BP_SYM.
36062         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36063         (PARMS): Do not use macros from bp-asm.h.
36064         (NSOPS): Likewise.
36065         (semtimedop): Do not use BP_SYM.
36066         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36067         and <bp-asm.h>.
36069 2013-02-21  Allan McRae  <allan@archlinux.org>
36071         * manual/message.texi (Charset conversion in gettext):
36072         Move @end statement to beginning of line.
36074 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36077         static.
36078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36079         Likewise.
36081         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36082         (denorm): Likewise.
36083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36086 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36088         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36089         tail-call to the resolved function if pltexit isn't needed.
36091 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36094         or Y being zero as being unlikely.
36095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36096         Likewise.
36098 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36100         * manual/nss.texi (System Databases and Name Service Switch):
36101         Remove frobnicate @pxref.
36103 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36105         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36106         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36108 2013-02-20  Petr Machata  <pmachata@redhat.com>
36110         * elf/elf.h (R_ARM_TARGET1): New macro.
36111         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36112         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36113         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36114         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36115         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36116         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36117         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36118         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36119         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36120         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36121         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36122         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36123         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36124         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36125         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36126         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36127         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36128         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36129         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36130         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36131         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36132         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36133         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36134         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36135         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36136         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36137         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36138         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36139         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36140         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36141         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36142         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36143         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36144         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36145         (R_ARM_THM_GOT_BREL12): Likewise.
36146         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36147         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36148         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36149         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36150         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36151         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36152         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36153         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36154         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36156 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36158         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36159         __attribute_used__ to __attribute__ ((unused)).
36161 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36163         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36164         powerpc mpa.c.
36165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36166         comment formatting.
36167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36169 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36171         [BZ #13550]
36172         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36173         Remove macro.
36174         (ENTER): Remove both macro definitions.
36175         (LEAVE): Likewise.
36176         (CHECK_BOUNDS_LOW): Likewise.
36177         (CHECK_BOUNDS_HIGH): Likewise.
36178         (CHECK_BOUNDS_BOTH): Likewise.
36179         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36180         (RETURN_BOUNDED_POINTER): Likewise.
36181         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36182         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36183         (POP_ERRNO_LOCATION_RETURN): Likewise.
36184         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36185         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36186         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36187         macros.
36188         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36189         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36190         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36191         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36192         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36193         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36194         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36195         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36196         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36197         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36198         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36199         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36200         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36201         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36202         removed macros.
36203         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36204         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36205         macros.
36206         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36207         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36208         * sysdeps/i386/i586/memset.S (memset): Likewise.
36209         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36210         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36211         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36212         macros.
36213         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36214         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36215         Change uses of L(2) to L(out).
36216         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36217         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36218         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36219         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36220         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36221         removed macros.
36222         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36223         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36224         macros.
36225         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36226         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36227         (RETURN): Do not use macro LEAVE.
36228         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36229         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36230         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36231         * sysdeps/i386/i686/memset.S (memset): Likewise.
36232         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36233         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36234         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36235         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36236         Likewise.
36237         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36238         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36239         L(1_2) and L(1_3) into L(1).
36240         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36241         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36242         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36243         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36244         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36245         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36246         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36247         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36248         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36249         macros.
36250         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36251         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36252         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36253         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36254         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36255         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36256         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36257         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36258         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36259         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36260         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36261         * sysdeps/i386/strspn.S (strspn): Likewise.
36262         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36263         conditional code.
36264         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36265         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36266         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36267         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36268         L(1_3) into L(1_1).
36269         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36270         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36271         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36272         macros.
36273         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36275 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36277         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36278         macro.
36280 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36282         * math/atest-exp.c (exp_mpn): Remove ROUND.
36283         * math/atest-exp2.c (exp_mpn): Likewise.
36284         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36286         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36287         * stdlib/tst-tls-atexit-lib.c: Likewise.
36288         * stdlib/tst-tls-atexit.c: Likewise.
36290 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36292         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36293         and __attribute_alloc_size__.
36295 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36297         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36298         __attribute_alloc_size__.
36299         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36300         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36302 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36304         * include/programs/xmalloc.h: New file.
36305         * catgets/gencat.c: Include it.
36306         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36307         * elf/pldd.c: Likewise.
36308         * iconv/iconv_charmap.c: Likewise.
36309         * iconv/iconvconfig.c: Likewise.
36310         * iconv/strtab.c: Likewise.
36311         * locale/programs/locale.c: Likewise.
36312         * locale/programs/localedef.h: Likewise.
36313         * locale/programs/simple-hash.c: Likewise.
36314         * nscd/nscd.h: Likewise.
36315         * nss/makedb.c: Likewise.
36316         * sysdeps/generic/ldconfig.h: Likewise.
36318 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36320         * Versions.def: Add GLIBC_2.18.
36321         * include/link.h (struct link_map): New member l_tls_dtor_count.
36322         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36323         (__call_tls_dtors): Likewise.
36324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36325         __cxa_thread_atexit_impl.
36326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36327         Likewise.
36328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36329         Likewise.
36330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36331         Likewise.
36332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36333         Likewise.
36334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36336         Likewise.
36337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36338         Likewise.
36339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36341         Likewise.
36342         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36343         (tests): Add test case tst-tls-atexit.
36344         (modules-names): Add shared library for tst-tls-atexit.
36345         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36346         (GLIBC_PRIVATE): Add __call_tls_dtors.
36347         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36348         for libstdc++.
36349         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36350         * stdlib/tst-tls-atexit.c: New test case.
36351         * stdlib/tst-tls-atexit-lib.c: New test case.
36353         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36355         * elf/Versions (ld): Add _dl_find_dso_for_object.
36356         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36357         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36358         (dl_open_worker): Use _dl_find_dso_for_object.
36359         * elf/dl-sym.c (do_sym): Likewise.
36360         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36362 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36364         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36365         Syntactic changes only.
36366         (_dl_runtime_profile): Do a tail-call to the resolved function.
36368 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36370         [BZ #13550]
36371         * sysdeps/x86_64/bp-asm.h: Remove file.
36372         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36373         <bp-sym.h> and <bp-asm.h>.
36374         (__clone): Do not use BP_SYM.
36375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36376         <bp-sym.h> and <bp-asm.h>.
36377         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36378         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36379         "bp-asm.h".
36380         (_setjmp): Do not use BP_SYM.
36381         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36382         "bp-asm.h".
36383         (setjmp): Do not use BP_SYM.
36384         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36385         libc_hidden_def.
36386         (mempcpy): Do not use BP_SYM in weak_alias.
36387         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36388         "bp-asm.h".
36389         (strchr): Do not use BP_SYM.
36390         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36391         "bp-asm.h".
36392         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36393         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36394         (_start): Do not use BP_SYM.
36395         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36396         "bp-asm.h".
36397         (strcat): Do not use BP_SYM.
36398         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36399         "bp-asm.h".
36400         (STRCMP): Do not use BP_SYM.
36401         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36402         "bp-asm.h".
36403         (STRCPY): Do not use BP_SYM.
36404         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36405         "bp-asm.h".
36406         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36407         "bp-asm.h".
36408         (FUNCTION): Do not use BP_SYM.
36409         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36410         weak_alias.
36411         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36413 2013-02-17  Andreas Jaeger  <aj@suse.de>
36415         * time/Versions: Sort entries.
36416         * string/Versions: Likewise.
36417         * resolv/Versions: Likewise.
36418         * posix/Versions: Likewise.
36419         * iconv/Versions: Likewise.
36420         * elf/Versions: Likewise.
36421         * wcsmbs/Versions: Likewise.
36423 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36425         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36426         loop termination condition.
36428         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36429         variable to calculate EZ.
36430         (__sqr): Likewise.
36432         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36433         the lower precision input.
36435 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36437         [BZ #13550]
36438         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36439         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36440         (run-via-rtld-prefix): Do not handle %-bp tests.
36441         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36442         (all-object-suffixes): Remove .ob.
36443         (bppfx): Remove variable.
36444         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36445         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36446         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36447         [$(build-bounded) = yes] (libtype.ob): Likewise.
36448         * Makerules (elide-routines.ob): Remove variable.
36449         (do-tests-clean): Do not handle *-bp.out.
36450         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36451         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36452         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36453         (tests): Do not include $(tests-bp.out).
36454         (xtests): Do not include $(xtests-bp.out).
36455         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36456         [$(build-bounded) = yes] ($(addprefix
36457         $(objpfx),$(binaries-bounded))): Remove rule.
36458         ($(objpfx)%-bp.out): Remove rule.
36459         * config.make.in (build-bounded): Remove variable.
36460         * crypt/Makefile [$(build-bounded) = yes]
36461         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36462         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36463         append to variable.
36464         [$(build-bounded) = yes] (install-lib): Likewise.
36465         [$(build-bounded) = yes] (generated): Likewise.
36466         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36467         Remove rule.
36468         * intl/Makefile [$(build-bounded) = yes]
36469         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36470         * math/Makefile [$(build-bounded) = yes]
36471         ($(tests:%=$(objpfx)%-bp): Likewise.
36472         * misc/Makefile [$(build-bounded) = yes]
36473         ($(objpfx)tst-tsearch-bp): Likewise.
36474         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36475         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36476         Remove dependency.
36477         * string/Makefile (o-objects.ob): Remove variable.
36478         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36479         (CFLAGS-.ob): Remove variable.
36480         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36481         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36482         both definitions of variable.
36483         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36484         (ASFLAGS-.ob): Remove variable.
36486 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36488         [BZ #13550]
36489         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36490         Remove __BOUNDED_POINTERS__ from condition.
36491         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36492         * string/bits/string2.h [!__NO_STRING_INLINES &&
36493         !__BOUNDED_POINTERS__]: Likewise.
36494         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36495         Likewise.
36496         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36497         Remove conditional code.
36498         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36499         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36500         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36501         condition.
36503         [BZ #13550]
36504         * csu/libc-start.c: Do not include <bp-sym.h>.
36505         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36506         * elf/dl-open.c: Do not include <bp-sym.h>.
36507         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36508         * math/fegetenv.c: Do not include <bp-sym.h>.
36509         (fegetenv): Do not use BP_SYM in versioned symbols.
36510         * nptl/sysdeps/pthread/bits/libc-lockP.h
36511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36512         <bp-sym.h>.
36513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36514         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36516         (__pthread_mutex_destroy): Likewise.
36517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36518         (__pthread_mutex_lock): Likewise.
36519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36520         (__pthread_mutex_trylock): Likewise.
36521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36522         (__pthread_mutex_unlock): Likewise.
36523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36524         (__pthread_mutexattr_init): Likewise.
36525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36526         (__pthread_mutexattr_destroy): Likewise.
36527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36528         (__pthread_mutexattr_settype): Likewise.
36529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36530         (__pthread_rwlock_init): Likewise.
36531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36532         (__pthread_rwlock_destroy): Likewise.
36533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36534         (__pthread_rwlock_rdlock): Likewise.
36535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36536         (__pthread_rwlock_tryrdlock): Likewise.
36537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36538         (__pthread_rwlock_wrlock): Likewise.
36539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36540         (__pthread_rwlock_trywrlock): Likewise.
36541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36542         (__pthread_rwlock_unlock): Likewise.
36543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36544         (__pthread_key_create): Likewise.
36545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36546         (__pthread_setspecific): Likewise.
36547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36548         (__pthread_getspecific): Likewise.
36549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36550         Likewise.
36551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36552         (_pthread_cleanup_push_defer): Likewise.
36553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36554         (_pthread_cleanup_pop_restore): Likewise.
36555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36556         (pthread_setcancelstate): Likewise.
36557         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36558         <bp-sym.h>.
36559         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36560         (memchr): Do not use BP_SYM in weak_alias.
36561         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36562         (fegetenv): Do not use BP_SYM in versioned symbols.
36563         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36564         (fesetenv): Do not use BP_SYM in versioned symbols.
36565         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36566         (feupdateenv): Do not use BP_SYM in versioned symbols.
36567         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36568         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36569         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36570         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36571         (open64): Do not use BP_SYM in weak_alias.
36572         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36573         (fegetenv): Do not use BP_SYM in versioned symbols.
36574         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36575         (fesetenv): Do not use BP_SYM in versioned symbols.
36576         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36577         (feupdateenv): Do not use BP_SYM in versioned symbols.
36578         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36579         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36580         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36581         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36582         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36583         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36584         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36585         <bp-sym.h>.
36586         (__libc_start_main): Do not use BP_SYM.
36588 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36591         redundant return line.
36592         (norm): Likewise.
36593         (denorm): Likewise.
36594         (dbl_mp): Likewise.
36595         (sub_magnitudes): Likewise.
36596         (__add): Likewise.
36597         (__sub): Likewise.
36598         (__mul): Likewise.
36599         (__inv): Likewise.
36600         (__dvd): Likewise.
36601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36602         (norm): Likewise.
36603         (denorm): Likewise.
36604         (dbl_mp): Likewise.
36605         (sub_magnitudes): Likewise.
36606         (__add): Likewise.
36607         (__sub): Likewise.
36608         (__mul): Likewise.
36609         (__inv): Likewise.
36610         (__dvd): Likewise.
36612         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36613         instead of __mul.
36614         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36615         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36616         (cc32): Likewise.
36618         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36619         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36621         of __mul for squares.
36622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36623         function
36624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36625         Likewise.
36626         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36627         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36629 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36631         [BZ #13550]
36632         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36633         code.
36634         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36635         prototype or function definition.  Rename ubp_* variables and
36636         parameters.  Remove argv definitions conditional on
36637         [__BOUNDED_POINTERS__].
36638         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36639         * elf/dl-runtime.c (_dl_fixup): Likewise.
36640         * include/set-hooks.h (RUN_HOOK): Likewise.
36641         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36642         definition.
36643         * string/strcpy.c (strcpy): Do not use __unbounded.
36644         * sysdeps/generic/frame.h (struct layout): Likewise.
36645         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36646         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36647         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36648         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36649         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36650         (__backtrace): Likewise.
36651         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36652         use __ptrvalue.
36653         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36654         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36655         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36656         Likewise.
36657         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36658         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36659         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36660         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36661         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36662         Do not use __unbounded.
36663         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36664         Rename __unboundedrlimits parameter to rlimits in prototype.
36665         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36666         Do not use __unbounded.
36667         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36668         not use __ptrvalue.
36669         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36670         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36671         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36672         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36673         __ptrvalue or __unbounded.
36674         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36675         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36676         use __unbounded.
36677         (__new_msgctl): Do not use __ptrvalue.
36678         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36679         __unbounded.
36680         (__libc_msgrcv): Do not use __ptrvalue.
36681         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36682         startup_info): Do not use __unbounded.
36683         (__libc_start_main): Likewise.  Rename ubp_* variables and
36684         parameters.  Remove argv definitions conditional on
36685         [__BOUNDED_POINTERS__].
36686         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36687         __ptrvalue.
36688         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36689         use __unbounded.
36690         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36691         or __ptrvalue.
36692         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36693         use __unbounded.
36694         (__new_shmctl): Do not use __ptrvalue.
36695         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36696         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36697         Likewise.
36698         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36699         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36700         (__libc_sigaction): Likewise.
36701         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36702         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36703         Likewise.
36704         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36706 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36708         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36710         * string/mempcpy.c: Implement by calling memcpy.
36712 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36717         evaluation.
36719         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36720         values in the mantissa.
36722         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36723         minimize writes to Z.
36724         (sub_magnitudes): Simplify code a bit.
36726 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36728         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36729         from the message.  The linker prefixes all warnings with that already.
36731 2013-02-12  Andreas Schwab  <schwab@suse.de>
36733         [BZ #15078]
36734         * posix/regexec.c (extend_buffers): Add parameter min_len.
36735         (check_matching): Pass minimum needed length.
36736         (clean_state_log_if_needed): Likewise.
36737         (get_subexp): Likewise.
36738         * posix/Makefile (tests): Add bug-regex34.
36739         (bug-regex34-ENV): Define.
36740         * posix/bug-regex34.c: New file.
36742         [BZ #11561]
36743         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36744         elements compare against the byte sequence of it, not its name.
36745         * posix/Makefile (tests): Add bug-regex35.
36746         (bug-regex35-ENV): Define.
36747         * posix/bug-regex35.c: New file.
36749 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36751         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36752         comment.
36753         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36754         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36755         (CHECK_EOL): Add undef.
36757 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36759         * bits/stdlib-bsearch.h: New file.
36760         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36761         * stdlib/stdlib.h: Likewise.
36763 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36765         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36766         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36767         declaration.
36768         * manual/search.texi (Array Search Function): Add missing const in
36769         lfind prototype.
36770         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36771         declaration to use rlim_t.
36772         (Basic Scheduling Functions): Remove erroneous const from
36773         sched_getparam prototype.  Remove erroneous * from
36774         sched_get_priority_max and sched_get_priority_min prototypes.
36775         (Resource Usage): Fix summary @comment on vtimes to refer to
36776         sys/vtimes.h rather than vtimes.h.
36777         Add missing *s in vtimes prototype.
36778         (Limits on Resources): Fix ulimit prototype to return long int.
36779         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36780         prototypes to use long int rather than double.
36781         (BSD Random): Fix initstate and setstate to use char *, not void *.
36782         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36783         prototype to make second argument 'struct aiocb64 *const[]'.
36784         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36785         (Status of AIO Operations): Remove erroneous const in aio_return and
36786         aio_return64 prototypes.
36787         (Synchronizing I/O): Fix sync prototype to return void.
36788         * manual/startup.texi (Suboptions): Remove an erroneous const in
36789         getsubopt prototype.
36790         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36791         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36792         use size_t rather than int.
36793         (Scanning All Users): Likewise for getpwent_r.
36794         (Setting Groups): Add missing const to setgroups prototype.
36795         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36796         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36797         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36798         'const void *' rather than 'const char *'.
36799         (Host Address Functions): Likewise for inet_ntop.
36800         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36801         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36802         ssize_t for return value.
36803         (Sending Data): Likewise for send, sendto, sendmsg.
36804         (Socket Option Functions): Add a missing const in setsockopt prototype.
36805         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36806         use wchar_t for the argument.
36807         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36808         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36809         take no arguments.
36810         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36811         double/float/long double for second argument.
36812         Fix return types of significand, significandf, significandl.
36813         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36814         argument in fchmod prototype.
36815         (File Owner): Use uid_t and gid_t in fchown prototype.
36816         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36817         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36818         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36819         use 'const struct dirent **' as argument types to CMP function pointer
36820         argument.
36821         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36822         (File Times): Fix summary magic @comment for struct utimbuf and utime
36823         to refer to utime.h, not time.h.
36824         * manual/string.texi (Argz Functions): Add missing const in
36825         argz_extract and argz_next prototypes.
36826         (Finding Tokens in a String): Likewise for basename.
36827         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36828         (Copying and Concatenation): Fix typo in wmemmove prototype.
36829         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36830         (Signal Stack): Remove erroneous const in sigstack prototype.
36831         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36832         prototype.
36833         (Simple Calendar Time): Likewise for stime.
36834         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36835         prototype.
36836         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36837         say sys/sysctl.h instead.
36838         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36839         and vsyslog prototypes.
36841 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36843         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36844         Remove.
36846 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36848         * misc/sys/mman.h: Fix typo in mremap comment.
36850 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36852         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36853         the '\0' terminator.
36855 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36857         [BZ #13550]
36858         * debug/segfault.c: Don't include <bp-checks.h>.
36859         * sysdeps/generic/bp-checks.h: Remove file.
36860         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36861         (__GETDENTS): Don't use CHECK_N.
36862         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36863         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36864         (__getgroups): Don't use CHECK_N.
36865         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36866         (setgroups): Don't use CHECK_N.
36867         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36868         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36869         (__libc_msgrcv): Don't use CHECK_N.
36870         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36871         (__libc_msgsnd): Don't use CHECK_N.
36872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36873         <bp-checks.h>.
36874         (__libc_pread): Don't use CHECK_N.
36875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36876         include <bp-checks.h>.
36877         (__libc_pread64): Don't use CHECK_N.
36878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36879         include <bp-checks.h>.
36880         (__libc_pwrite): Don't use CHECK_N.
36881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36882         include <bp-checks.h>.
36883         (__libc_pwrite64): Don't use CHECK_N.
36884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36885         <bp-checks.h>.
36886         (__libc_pread): Don't use CHECK_N.
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36888         include <bp-checks.h>.
36889         (__libc_pread64): Don't use CHECK_N.
36890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36891         include <bp-checks.h>.
36892         (__libc_pwrite): Don't use CHECK_N.
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36894         include <bp-checks.h>.
36895         (__libc_pwrite64): Don't use CHECK_N.
36896         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36897         (do_pread): Don't use CHECK_N.
36898         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36899         (do_pread64): Don't use CHECK_N.
36900         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36901         (do_pwrite): Don't use CHECK_N.
36902         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36903         (do_pwrite64): Don't use CHECK_N.
36904         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36905         (__libc_readv): Don't use CHECK_N.
36906         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36907         (semop): Don't use CHECK_N.
36908         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36909         <bp-checks.h>.
36910         (semtimedop): Don't use CHECK_N.
36911         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36912         (__libc_pread): Don't use CHECK_N.
36913         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36914         <bp-checks.h>.
36915         (__libc_pread64): Don't use CHECK_N.
36916         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36917         <bp-checks.h>.
36918         (__libc_pwrite): Don't use CHECK_N.
36919         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36920         <bp-checks.h>.
36921         (__libc_pwrite64): Don't use CHECK_N.
36922         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36923         <bp-checks.h>.
36924         (__libc_msgrcv): Don't use CHECK_N.
36925         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36926         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36927         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36928         (__libc_writev): Don't use CHECK_N.
36930 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36932         * string/strcpy.c: Removed unused variable.
36934         * Makeconfig (+sysdep-includes): Define with := rather than =.
36935         Use an existing include/ subdir of each sysdeps dir before it.
36937 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36939         * nscd/connection.c (register_traced_file): Comment function.
36940         [HAVE_INOTIFY] (union __inev): Define.
36941         [HAVE_INOTIFY] (inotify_check_files): New function.
36942         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36943         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36944         clear_db_cache.
36945         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36947 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36949         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36950         loaded if not already and that a failure is permanent.
36952 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36954         [BZ #15006]
36955         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36956         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36958 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36960         [BZ #13550]
36961         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36962         (CHECK_1_NULL_OK): Likewise.
36963         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36964         (__fxstat): Do not use CHECK_1.
36965         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36966         <bp-checks.h>.
36967         (___fxstat64): Do not use CHECK_1.
36968         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36969         <bp-checks.h>.
36970         (__fxstatat): Do not use CHECK_1.
36971         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36972         <bp-checks.h>.
36973         (__fxstatat64): Do not use CHECK_1.
36974         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36975         <bp-checks.h>.
36976         (__fxstat): Do not use CHECK_1.
36977         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36978         <bp-checks.h>.
36979         (__fxstatat): Do not use CHECK_1.
36980         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36981         <bp-checks.h>.
36982         (__getresgid): Do not use CHECK_1.
36983         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36984         <bp-checks.h>.
36985         (__getresuid): Do not use CHECK_1.
36986         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36987         <bp-checks.h>.
36988         (__lxstat): Do not use CHECK_1.
36989         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36990         <bp-checks.h>.
36991         (__old_msgctl): Do not use CHECK_1.
36992         (__new_msgctl): Likewise.
36993         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36994         <bp-checks.h>.
36995         (__new_setrlimit): Do not use CHECK_1.
36996         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36997         <bp-checks.h>.
36998         (__old_shmctl): Do not use CHECK_1.
36999         (__new_shmctl): Likewise.
37000         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37001         <bp-checks.h>.
37002         (__xstat): Do not use CHECK_1.
37003         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37004         (__lxstat): Do not use CHECK_1.
37005         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37006         <bp-checks.h>.
37007         (___lxstat64): Do not use CHECK_1.
37008         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37009         (__old_msgctl): Do not use CHECK_1.
37010         (__new_msgctl): Likewise.
37011         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37012         <bp-checks.h>.
37013         (__gettimeofday): Do not use CHECK_1.
37014         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37015         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37016         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37017         <bp-checks.h>.
37018         (__gettimeofday): Do not use CHECK_1.
37019         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37020         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37021         (__new_shmctl): Do not use CHECK_1.
37022         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37023         <bp-checks.h>.
37024         (do_sigtimedwait): Do not use CHECK_1.
37025         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37026         <bp-checks.h>.
37027         (do_sigwaitinfo): Do not use CHECK_1.
37028         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37029         <bp-checks.h>.
37030         (msgctl): Do not use CHECK_1.
37031         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37032         <bp-checks.h>.
37033         (shmctl): Do not use CHECK_1.
37034         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37035         (ustat): Do not use CHECK_1.
37036         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37037         <bp-checks.h>.
37038         (__fxstat): Do not use CHECK_1.
37039         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37040         <bp-checks.h>.
37041         (__fxstatat): Do not use CHECK_1.
37042         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37043         <bp-checks.h>.
37044         (__lxstat): Do not use CHECK_1.
37045         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37046         <bp-checks.h>.
37047         (__xstat): Do not use CHECK_1.
37048         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37049         (__xstat): Do not use CHECK_1.
37050         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37051         (___xstat64): Do not use CHECK_1.
37053         [BZ #13550]
37054         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37055         definitions.
37056         (CHECK_BOUNDS_HIGH): Likewise.
37057         * string/strcpy.c: Do not include <bp-checks.h>.
37058         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37060 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37062         * nscd/nscd-client.h (__nscd_drop_map_ref):
37063         Add __attribute__ ((unused)).
37064         * nis/nss-nisplus.h (niserr2nss): Likewise.
37066         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37067         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37069         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37070         Remove inline keyword.
37071         * include/rounding-mode.h (round_away): Likewise.
37072         * libio/wfileops.c (adjust_wide_data): Likewise.
37073         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37074         (__m128i_strloadu_tolower): Likewise.
37075         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37076         (__m128i_strloadu_tolower): Likewise.
37077         * time/mktime.c (ydhms_diff): Likewise.
37078         * locale/elem-hash.h (elem_hash): Likewise.
37079         * locale/setlocale.c (setdata): Likewise.
37080         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37081         (re_string_wchar_at): Likewise.
37082         (bitset_not, bitset_merge, bitset_mask): Likewise.
37083         [!(__GNUC__ > 3)] (inline): Remove macro.
37084         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37085         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37086         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37087         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37088         * string/memcmp.c (memcmp_bytes): Likewise.
37089         * locale/programs/locarchive.c (compute_hashval): Likewise.
37090         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37091         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37092         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37093         * nss/getent.c (print_rpc, print_protocols): Likewise.
37094         (print_passwd, print_group, print_aliases): Likewise.
37095         * nis/nss-nisplus.h (niserr2nss): Likewise.
37096         * nscd/connections.c (restart_p): Likewise.
37097         Change return type to bool.
37099 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37101         * Makeconfig (all-Depend-files): Add existing
37102         $(sorted-subdirs:=/Depend) files.
37103         (all-subdirs): Remove nss.
37104         * sysdeps/unix/inet/Subdirs: Add it here instead.
37105         * hesiod/Depend: New file.
37107         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37108         instead of calling alloca.
37110         * io/lseek.c (__lseek): Rename to __libc_lseek.
37111         Define __lseek as an alias.
37113         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37115 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37117         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37118         else clause and remove check for non-standard endianness.
37120 2013-02-04  David S. Miller  <davem@davemloft.net>
37122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37124 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37126         [BZ #13550]
37127         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37128         (__ubp_memchr): Remove prototype.
37129         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37130         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37131         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37132         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37133         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37134         Remove alias.
37135         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37136         (__ubp_memchr): Likewise.
37137         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37138         (__ubp_memchr): Likewise.
37139         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37140         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37141         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37142         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37143         CHECK_STRING.
37144         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37145         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37146         (__getcwd): Do not use CHECK_STRING.
37147         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37148         <bp-checks.h>.
37149         (__real_chown): Do not use CHECK_STRING.
37150         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37151         <bp-checks.h>.
37152         (fchownat): Do not use CHECK_STRING.
37153         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37154         CHECK_STRING.
37155         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37156         <bp-checks.h>.
37157         (__lchown): Do not use CHECK_STRING.
37158         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37159         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37160         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37161         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37163         include <bp-checks.h>.
37164         (truncate64): Do not use CHECK_STRING.
37165         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37166         <bp-checks.h>.
37167         (__real_chown): Do not use CHECK_STRING.
37168         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37169         <bp-checks.h>.
37170         (__lchown): Do not use CHECK_STRING.
37171         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37172         <bp-checks.h>.
37173         (__chown): Do not use CHECK_STRING.
37174         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37175         <bp-checks.h>.
37176         (truncate64): Do not use CHECK_STRING.
37177         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37178         Likewise.
37179         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37180         (__xmknod): Do not use CHECK_STRING.
37181         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37182         <bp-checks.h>.
37183         (__xmknodat): Do not use CHECK_STRING.
37184         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37185         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37187 2013-02-04  Andreas Schwab  <schwab@suse.de>
37189         [BZ #14142]
37190         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37191         * include/netdb.h: Likewise for h_errno.
37192         * elf/tst-stackguard1.c: Include <tls.h>.
37194 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37196         * elf/link.h (struct link_map): Extend the l_addr comment.
37197         * include/link.h (struct link_map): Likewise.
37199 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37201         [BZ #13550]
37202         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37203         (BOUNDED_1): Remove macro.
37204         * debug/backtrace.c: Don't include <bp-checks.h>.
37205         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37206         (__backtrace): Likewise.
37207         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37208         <bp-checks.h>.
37209         (__backtrace): Don't use BOUNDED_1.
37210         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37211         <bp-checks.h>.
37212         (__backtrace): Don't use BOUNDED_1.
37213         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37214         (__backtrace): Don't use BOUNDED_1.
37215         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37216         (shmat): Don't use BOUNDED_N.
37218 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37220         [BZ #13550]
37221         * sysdeps/generic/bp-start.h: Remove file.
37222         * csu/libc-start.c: Don't include <bp-start.h>.
37223         (LIBC_START_MAIN): Set up __environ directly instead of using
37224         INIT_ARGV_and_ENVIRON.
37225         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37226         <bp-start.h>.
37228         [BZ #13550]
37229         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37230         definitions.
37231         (CHECK_FCNTL): Likewise.
37232         (CHECK_N_PAGES): Likewise.
37234         [BZ #13550]
37235         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37236         definitions.
37237         (CHECK_SIGSET_NULL_OK): Likewise.
37238         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37239         <bp-checks.h>.
37240         (sigpending): Don't use CHECK_SIGSET.
37241         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37242         <bp-checks.h>.
37243         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37244         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37245         <bp-checks.h>.
37246         (do_sigsuspend): Don't use CHECK_SIGSET.
37247         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37248         use CHECK_SIGSET.
37249         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37250         (do_sigwait): Don't use CHECK_SIGSET.
37251         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37252         use CHECK_SIGSET.
37253         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37254         include <bp-checks.h>.
37255         (sigpending): Don't use CHECK_SIGSET.
37256         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37257         include <bp-checks.h>.
37258         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37259         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37260         <bp-checks.h>.
37261         (sigpending): Don't use CHECK_SIGSET.
37262         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37263         <bp-checks.h>.
37264         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37266         [BZ #13550]
37267         * sysdeps/generic/bp-semctl.h: Remove file.
37268         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37269         <bp-checks.h> and <bp-semctl.h>.
37270         (__old_semctl): Don't use CHECK_SEMCTL.
37271         (__new_semctl): Likewise.
37272         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37273         and <bp-semctl.h>.
37274         (__old_semctl): Don't use CHECK_SEMCTL.
37275         (__new_semctl): Likewise.
37276         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37277         <bp-checks.h> and <bp-semctl.h>.
37278         (__old_semctl): Don't use CHECK_SEMCTL.
37279         (__new_semctl): Likewise.
37280         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37281         <bp-checks.h> and <bp-semctl.h>.
37282         (semctl): Don't use CHECK_SEMCTL.
37284         [BZ #13550]
37285         * Makerules (elide-bp-thunks): Remove variable.
37286         (elide-routines.oS): Don't use $(elide-bp-thunks).
37287         (elide-routines.os): Likewise.
37288         (elide-routines.o): Likewise.
37289         (elide-routines.op): Likewise.
37290         (elide-routines.og): Likewise.
37291         (objects): Don't use $(bp-thunks).
37292         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37293         include.
37294         (common-generated): Do not add s-proto-bp.d.
37295         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37296         (int): Likewise.
37297         (typ): Likewise.
37298         Do not generate makefile rules for bounded-pointer thunks.
37299         * sysdeps/generic/bp-thunks.h: Remove file.
37300         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37301         * sysdeps/unix/s-proto-bp.S: Likewise.
37303         [BZ #15062]
37304         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37305         parts of result separately when argument is not close to line from
37306         -i to i and one part of argument is small.
37307         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37308         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37309         * math/libm-test.inc (cacos_test): Add more tests.
37310         (casin_test): Likewise.
37311         (casinh_test): Likewise.
37312         * sysdeps/i386/fpu/libm-test-ulps: Update.
37313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37315 2013-01-31  David S. Miller  <davem@davemloft.net>
37317         * po/de.po: Update from translation team.
37319 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37321         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37323 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37325         * configure.in (_AC_PROG_CC_C89): New definition.
37326         * configure: Regenerate.
37328         * configure.in (AC_PROG_CPP): New definition.
37329         * configure: Regenerate.
37331 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37333         * debug/tst-backtrace.h: New file.
37334         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37335         (ret): Remove variable.
37336         (x): Likewise.
37337         (FAIL): Remove macro.
37338         (NO_INLINE): Likewise.
37339         (fn1): Use match function instead of strstr.
37340         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37341         (ret): Remove variable.
37342         (x): Likewise.
37343         (FAIL): Remove macro.
37344         (NO_INLINE): Likewise.
37345         (fn): Use match function instead of strstr.
37346         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37347         (ret): Remove variable.
37348         (x): Likewise.
37349         (FAIL): Remove macro.
37350         (NO_INLINE): Likewise.
37351         (handle_signal): Use match function instead of strstr.
37352         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37353         (ret): Remove variable.
37354         (x): Likewise.
37355         (FAIL): Remove macro.
37356         (NO_INLINE): Likewise.
37357         (handle_signal): Use match function instead of strstr.
37359 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37361         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37363 2013-01-23  David S. Miller  <davem@davemloft.net>
37365         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37366         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37367         argument of CAS if possible.
37368         * sysdeps/sparc/sparc64/bits/atomic.h
37369         (__arch_compare_and_exchange_val_32_acq): Likewise.
37370         (__arch_compare_and_exchange_val_64_acq): Likewise.
37372 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37374         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37375         * sysdeps/posix/ulimit.c: ... this.
37376         Include <limits.h>.
37377         * sysdeps/unix/bsd/ulimit.c: Remove file.
37379 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37381         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37382         (LDFLAGS-tst-array5): Likewise.
37384 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37386         [BZ #15036]
37387         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37388         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37389         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37390         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37392 2013-01-21  David S. Miller  <davem@davemloft.net>
37394         * sysdeps/sparc/backtrace.c: New file.
37395         * sysdeps/sparc/sparc32/backtrace.h: New file.
37396         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37397         * sysdeps/sparc/sparc64/backtrace.h: New file.
37398         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37399         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37400         -funwind-tables.
37402 2013-01-21  Andreas Schwab  <schwab@suse.de>
37404         [BZ #15020]
37405         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37406         closed its stdout.
37408 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37411         "mpa2.h".
37412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37414 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37415             Mark Mitchell  <mark@codesourcery.com>
37416             Tom de Vries  <tom@codesourcery.com>
37417             Paul Pluzhnikov  <ppluzhnikov@google.com>
37419         * debug/tst-backtrace2.c: New file.
37420         * debug/tst-backtrace3.c: Likewise.
37421         * debug/tst-backtrace4.c: Likewise.
37422         * debug/tst-backtrace5.c: Likewise.
37423         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37424         (CFLAGS-tst-backtrace3.c): Likewise.
37425         (CFLAGS-tst-backtrace4.c): Likewise.
37426         (CFLAGS-tst-backtrace5.c): Likewise.
37427         (LDFLAGS-tst-backtrace2): Likewise.
37428         (LDFLAGS-tst-backtrace3): Likewise.
37429         (LDFLAGS-tst-backtrace4): Likewise.
37430         (LDFLAGS-tst-backtrace5): Likewise.
37431         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37432         tst-backtrace4 and tst-backtrace5.
37434 2013-01-18  Anton Blanchard  <anton@samba.org>
37435             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37437         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37438         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37439         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37440         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37442         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37443         "+r" and remove output regs list as redundant.  Add explicit inline
37444         asm to specify register of return val to work around compiler codegen
37445         bug.  Remove (int) cast on return value.  Add return type parameter to
37446         use in macro so that this macro does not truncate return value for
37447         64-bit values.
37448         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37449         pass to INTERNAL_VSYSCALL_NCS.
37450         (INLINE_VSYSCALL): Add 'long int' as return type to
37451         INTERNAL_VSYSCALL_NCS macro invocation.
37452         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37453         INTERNAL_VSYSCALL_NCS macro invocation.
37454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37456 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37458         [BZ #14496]
37459         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37460         Fix application of SIMD FP exception mask.
37462         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37463         mp_no from a power of two.
37464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37465         __mpexp_twomm1.  Use __pow_mp.
37467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37468         multiplication.
37470 2013-01-17  David S. Miller  <davem@davemloft.net>
37472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37474 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37476         [BZ #15023]
37477         * include/complex.h: Condition contents on [!_COMPLEX_H].
37478         (__kernel_casinhf): New prototype.
37479         (__kernel_casinh): Likewise.
37480         (__kernel_casinhl): Likewise.
37481         * math/Makefile (libm_calls): Add k_casinh.
37482         * math/k_casinh.c: New file.
37483         * math/k_casinhf.c: Likewise.
37484         * math/k_casinhl.c: Likewise.
37485         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37486         finite nonzero arguments.
37487         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37488         finite nonzero arguments.
37489         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37490         finite nonzero arguments.
37491         * math/s_casinh.c: Do not include <float.h>.
37492         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37493         * math/s_casinhf.c: Do not include <float.h>.
37494         (__casinhf): Move code for finite nonzero arguments to
37495         k_casinhf.c.
37496         * math/s_casinhl.c: Do not include <float.h>.
37497         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37498         redefine.
37499         (__casinhl): Move code for finite nonzero arguments to
37500         k_casinhl.c.
37501         * math/libm-test.inc (cacos_test): Add more tests.
37502         * sysdeps/i386/fpu/libm-test-ulps: Update.
37503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37505 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37507         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37508         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37509         [!HAVE_MREMAP]: Remove [defined linux] case.
37510         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37512 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37514         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37516 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37518         * elf/elf.h (R_386_SIZE32): New relocation.
37519         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37520         R_386_SIZE32.
37521         (elf_machine_rela): Likewise.
37522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37523         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37525 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37527         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37528         (FP_FAST_FMA): Do not define.
37529         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37530         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37531         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37532         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37533         !_SOFT_FLOAT]: Likewise.
37534         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37535         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37536         value.
37537         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37538         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37539         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37540         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37541         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37542         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37543         file.
37545 2013-01-16  Andreas Schwab  <schwab@suse.de>
37547         [BZ #14327]
37548         * include/stdlib.h (__mktemp): Add declaration.
37549         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37550         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37552 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37554         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37555         definitions.
37556         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37557         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37558         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37559         definitions here.
37560         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37561         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37562         definitions.
37563         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37564         and ONE.
37565         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37566         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37567         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37568         definitions.
37569         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37570         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37571         definitions.
37572         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37574         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37576 2013-01-15  David S. Miller  <davem@davemloft.net>
37578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37579         trunc{,f} to libm-sysdep_routes.
37580         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37582         file.
37583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37585         file.
37586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37587         file.
37588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37590         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37591         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37592         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37593         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37594         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37595         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37598         nearbyint{,f} to libm-sysdep_routes.
37599         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37601         New file.
37602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37603         file.
37604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37605         New file.
37606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37607         file.
37608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37610         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37611         file.
37612         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37613         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37614         file.
37615         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37616         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37617         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37619         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37620         libc_feholdexcept and libc_fesetenv.
37622 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37624         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37626 2013-01-14  David S. Miller  <davem@davemloft.net>
37628         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37629         (SPARC_ASM_VIS2_IFUNC): Likewise.
37630         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37632         use of 'siam' instruction.
37633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37634         Likewise.
37635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37636         Likewise.
37637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37638         Likewise.
37639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37644         file.
37645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37646         file.
37647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37648         file.
37649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37650         file.
37651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37656         new VIS2 routines.
37657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37660         Likewise.
37661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37666         routines to libm-sysdep_routines.
37667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37670         fdim/fdimf to libm-sysdep_routines.
37671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37672         file.
37673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37675         file.
37676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37679         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37680         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37681         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37682         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37684 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37687         to optimize copies.
37689         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37694         local variable MPTWO.
37695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37696         Likewise.
37698 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37700         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37701         GLOB_NOESCAPE.
37703 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37705         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37707 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37709         * manual/pattern.texi (glob_t): Document gl_flags.
37710         (glob64_t): Likewise.
37712 2013-01-11  David S. Miller  <davem@davemloft.net>
37714         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37715         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37716         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37717         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37718         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37719         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37720         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37721         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37722         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37723         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37724         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37725         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37726         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37728         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37729         sparc V9 rather than using V8 code.
37730         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37731         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37733         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37734         Move to...
37735         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37736         Here.
37738 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37740         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37741         not in the main loop.
37742         * configure: Regenerated.
37744 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37746         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37747         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37748         to just #else.
37749         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37750         [!__GLIBC_HAVE_LONG_LONG] case.
37751         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37752         condition to just #else.
37753         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37754         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37755         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37756         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37757         unconditional.
37758         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37759         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37760         #elif condition to just #else.
37761         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37762         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37763         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37764         #elif condition to just #else.
37766 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37768         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37769         (EF_MIPS_ARCH_64): Fix value.
37770         (EF_MIPS_ARCH_32R2): New.
37771         (EF_MIPS_ARCH_64R2): New.
37773 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37775         * Makeconfig (+link-pie-before-libc): New.
37776         (+link-pie-after-libc): Likewise.
37777         (+link-pie-tests): Likewise.
37778         (+link-pie): Rewritten.
37779         (link-before-libc): Remove $(config-LDFLAGS).
37780         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37781         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37782         (config-LDFLAGS): Renamed to ...
37783         (rtld-LDFLAGS): This.
37784         (rtld-tests-LDFLAGS): New macro.
37785         (link-libc-rpath-link): Likewise.
37786         (link-libc-tests-rpath-link): Likewise.
37787         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37788         (link-libc): Prepand $(link-libc-rpath-link).
37789         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37790         (test-program-prefix): New macro.
37791         (test-via-rtld-prefix): Likewise.
37792         (test-program-cmd): Likewise.
37793         (host-test-program-cmd): Likewise.
37794         * Makefile ($(common-objpfx)testrun.sh): Replace
37795         $(run-program-prefix) with $(test-program-prefix).
37796         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37797         $(rtld-LDFLAGS).
37798         ($(common-objpfx)shlib.lds): Likewise.
37799         (build-module-helper): Likewise.
37800         ($(common-objpfx)format.lds): Likewise.
37801         * Rules (binaries-pie-tests): New.
37802         (binaries-pie-notests): Likewise.
37803         (binaries-pie): Rewritten.
37804         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37805         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37806         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37807         (make-test-out): Replace $(host-built-program-cmd) with
37808         $(host-test-program-cmd).
37809         * config.make.in (build-hardcoded-path-in-tests): New variable.
37810         * configure.in (--enable-hardcoded-path-in-tests): New configure
37811         option.
37812         (hardcoded_path_in_tests): New AC_SUBST.
37813         * configure: Regenerated.
37814         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37815         $(built-program-cmd) with $(test-program-cmd).
37816         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37817         (test_program_cmd): This.
37818         * elf/Makefile ($(objpfx)order.out): Run test with
37819         $(test-program-prefix).
37820         ($(objpfx)order2.out): Likewise.
37821         ($(objpfx)tst-initorder.out): Likewise.
37822         ($(objpfx)tst-initorder2.out): Likewise.
37823         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37824         $(test-program-cmd).
37825         ($(objpfx)tst-array1-static.out): Likewise.
37826         ($(objpfx)tst-array2.out): Likewise.
37827         ($(objpfx)tst-array3.out): Likewise.
37828         ($(objpfx)tst-array4.out): Likewise.
37829         ($(objpfx)tst-array5.out): Likewise.
37830         ($(objpfx)tst-array5-static.out): Likewise.
37831         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37832         $(test-program-cmd).
37833         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37834         $(run-program-prefix) with $(test-program-prefix).
37835         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37836         (test_program_prefix): This.
37837         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37838         $(run-program-prefix) with $(test-program-prefix).
37839         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37840         (test_program_prefix): This.
37841         * iconvdata/tst-tables.sh: Likewise.
37842         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37843         $(run-program-prefix) with $(test-program-prefix).
37844         ($(objpfx)tst-translit.out): Likewise.
37845         ($(objpfx)tst-gettext2.out): Likewise.
37846         ($(objpfx)tst-gettext4.out): Likewise.
37847         ($(objpfx)tst-gettext6.out): Likewise.
37848         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37849         (test_program_prefix): This.
37850         * intl/tst-gettext2.sh: Likewise.
37851         * intl/tst-gettext4.sh  Likewise.
37852         * intl/tst-gettext6.sh: Likewise.
37853         * intl/tst-translit.sh: Likewise.
37854         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37855         with $(test-program-cmd).
37856         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37857         $(run-program-prefix) with $(test-program-prefix).
37858         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37859         (test_program_prefix): This.
37860         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37861         $(run-program-prefix) with $(test-program-prefix).
37862         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37863         (test_program_prefix): This.
37864         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37865         * posix/Makefile ($(objpfx)globtest.out): Replace
37866         $(run-via-rtld-prefix) and $(test-wrapper) with
37867         $(test-program-prefix) and $(test-via-rtld-prefix).
37868         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37869         $(test-program-prefix).
37870         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37871         $(host-test-program-cmd).
37872         (tst-spawn-ARGS): Likewise.
37873         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37874         $(test-program-prefix).
37875         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37876         (test_via_rtld_prefix): This.
37877         (test_wrapper): Renamed to ...
37878         (test_program_prefix): This.
37879         (run_program_prefix): Replaced by test_program_prefix.
37880         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37881         (test_program_prefix): This.
37882         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37883         with $(host-test-program-cmd).
37884         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37885         $(run-program-prefix) with $(test-program-prefix).
37886         ($(objpfx)tst-printf.out): Likewise.
37887         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37888         $(test-program-cmd).
37889         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37890         (test_program_prefix): This.
37891         * stdio-common/tst-unbputc.sh: Likewise.
37892         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37893         $(run-program-prefix) with $(test-program-prefix).
37894         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37895         (test_program_prefix): This.
37896         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37897         $(built-program-cmd) with $(test-program-cmd).
37899 2013-01-11  Andreas Jaeger  <aj@suse.de>
37901         [BZ #15003]
37902         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37903         value. Sync with Linux 3.7.
37905 2013-01-10  David S. Miller  <davem@davemloft.net>
37907         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37908         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37909         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37911 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37913         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37914         never set.
37915         * configure: Regenerated.
37917 2013-01-10  David S. Miller  <davem@davemloft.net>
37919         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37920         sparc V9 rather than using V8 code.
37921         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37922         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37924 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37926         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37927         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37928         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37929         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37930         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37931         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37932         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37933         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37934         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37935         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37936         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37937         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37938         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37939         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37940         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37941         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37942         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37943         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37944         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37945         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37946         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37947         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37948         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37949         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37950         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37951         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37952         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37954 2013-01-10  David S. Miller  <davem@davemloft.net>
37956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37958 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37960         * posix/Makefile (tests-static): New variable.
37961         (tests): Add $(tests-static).
37962         (tst-exec-static-ARGS): New variable.
37963         (tst-spawn-static-ARGS): Likewise.
37964         * posix/tst-exec-static.c: New file.
37965         * posix/tst-spawn-static.c: Likewise.
37966         * posix/tst-exec.c: Support run directly.
37967         * posix/tst-spawn.c: Likewise.
37969 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37971         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37972         long.
37973         * math/bits/mathcalls.h (llrint): Likewise.
37974         (llround): Likewise.
37975         * stdlib/stdlib.h (struct drand48_data): Likewise.
37976         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37977         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37978         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37979         Likewise.
37980         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37981         Likewise.
37982         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37983         (elf_greg_t): Likewise.
37984         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37985         (__jmp_buf): Likewise.
37986         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37987         definitions.
37988         (llrint): Likewise, for all definitions.
37989         (llrintl): Likewise.
37991         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37992         Remove [__GNUC__] condition.
37993         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37994         condition to just [__USE_ISOC99].
37995         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37997 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37999         [BZ #14200]
38000         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38001         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38002         defined.
38003         (_POSIX_V6_ILP32_OFF32): Likewise.
38004         (_XBS5_ILP32_OFF32): Likewise.
38005         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38006         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38008 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38010         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38013         doubles __mpexp_twomm1.  Adjust usage.
38014         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38015         Remove.
38017 2013-01-10  Andreas Schwab  <schwab@suse.de>
38019         [BZ #14964]
38020         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38021         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38023 2013-01-09  David S. Miller  <davem@davemloft.net>
38025         [BZ #15003]
38026         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38027         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38028         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38029         (TCP_FASTOPEN): Define.
38030         (tcp_repair_opt): New structure.
38031         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38032         enum values.
38033         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38034         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38035         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38036         (tcp_cookie_transactions): New structure.
38038 2013-01-09  Anton Blanchard  <anton@samba.org>
38040         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38041         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38042         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38043         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38045 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38047         * include/features.h (__USE_ANSI): Remove.
38049 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38051         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38053         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38055 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38057         * sysdeps/s390/fpu/libm-test-ulps: Update.
38059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38061         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38062         (__acr): Likewise.
38063         (__cpy): Likewise.
38064         (norm): Likewise.
38065         (denorm): Likewise.
38066         (__mp_dbl): Likewise.
38067         (__dbl_mp): Likewise.
38068         (add_magnitudes): Likewise.
38069         (sub_magnitudes): Likewise.
38070         (__add): Likewise.
38071         (__sub): Likewise.
38072         (__mul): Likewise.
38073         (__inv): Likewise.
38074         (__dvd): Likewise.
38075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38076         (__acr): Likewise.
38077         (__cpy): Likewise.
38078         (norm): Likewise.
38079         (denorm): Likewise.
38080         (__mp_dbl): Likewise.
38081         (__dbl_mp): Likewise.
38082         (add_magnitudes): Likewise.
38083         (sub_magnitudes): Likewise.
38084         (__add): Likewise.
38085         (__sub): Likewise.
38086         (__mul): Likewise.
38087         (__inv): Likewise.
38088         (__dvd): Likewise.
38089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38090         (__acr): Likewise.
38091         (__cpy): Likewise.
38092         (norm): Likewise.
38093         (denorm): Likewise.
38094         (__mp_dbl): Likewise.
38095         (__dbl_mp): Likewise.
38096         (add_magnitudes): Likewise.
38097         (sub_magnitudes): Likewise.
38098         (__add): Likewise.
38099         (__sub): Likewise.
38100         (__mul): Likewise.
38101         (__inv): Likewise.
38102         (__dvd): Likewise.
38104 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38106         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38107         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38108         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38109         2 && __USE_EXTERN_INLINES]: Likewise.
38111 2013-01-08  Andreas Jaeger  <aj@suse.de>
38113         [BZ# 14985]
38114         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38115         Remove.
38116         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38117         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38119 2013-01-07  Anton Blanchard  <anton@samba.org>
38121         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38122         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38123         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38124         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38125         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38126         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38127         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38128         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38130         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38131         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38132         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38133         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38134         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38135         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38136         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38137         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38138         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38139         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38140         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38141         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38142         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38143         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38144         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38145         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38146         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38147         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38148         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38150         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38151         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38153         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38154         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38155         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38156         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38157         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38158         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38159         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38160         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38161         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38162         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38163         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38165 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38167         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38168         (__MALLOC_PMT): Likewise.
38169         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38170         [__GNUC__], only on [_LIBC].
38171         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38172         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38173         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38174         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38175         forward declaration.
38176         (realloc_hook_ini): Likewise.
38177         (memalign_hook_ini): Likewise.
38178         (__libc_memalign): Do not use __MALLOC_PMT in variable
38179         declaration.
38180         (__libc_valloc): Likewise.
38181         (__libc_pvalloc): Likewise.
38182         (__libc_calloc): Likewise.
38183         (__posix_memalign): Likewise.
38185         [BZ #14996]
38186         * math/s_casinh.c: Include <float.h>.
38187         (__casinh): Do not do computation with squaring and square root
38188         for large arguments.
38189         * math/s_casinhf.c: Include <float.h>.
38190         (__casinhf): Do not do computation with squaring and square root
38191         for large arguments.
38192         * math/s_casinhl.c: Include <float.h>.
38193         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38194         (__casinhl): Do not do computation with squaring and square root
38195         for large arguments.
38196         * math/libm-test.inc (casin_test): Add more tests.
38197         (casinh_test): Likewise.
38198         * sysdeps/i386/fpu/libm-test-ulps: Update.
38199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38201 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38203         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38204         (__x86_64_raw_data_cache_size): Likewise.
38205         (__x86_64_data_cache_size_half): Likewise.
38206         (__x86_64_raw_data_cache_size_half): Likewise.
38207         (__x86_64_shared_cache_size): Likewise.
38208         (__x86_64_raw_shared_cache_size): Likewise.
38209         (__x86_64_shared_cache_size_half): Likewise.
38210         (__x86_64_raw_shared_cache_size_half): Likewise.
38211         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38212         to ...
38213         (__x86_data_cache_size): This.
38214         (__x86_64_raw_data_cache_size): Renamed to ...
38215         (__x86_raw_data_cache_size): This.
38216         (__x86_64_data_cache_size_half): Renamed to ...
38217         (__x86_data_cache_size_half): This.
38218         (__x86_64_raw_data_cache_size_half): Renamed to ...
38219         (__x86_raw_data_cache_size_half): This.
38220         (__x86_64_shared_cache_size): Renamed to ...
38221         (__x86_shared_cache_size): This.
38222         (__x86_64_raw_shared_cache_size): Renamed to ...
38223         (__x86_raw_shared_cache_size): This.
38224         (__x86_64_shared_cache_size_half): Renamed to ...
38225         (__x86_shared_cache_size_half): This.
38226         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38227         (__x86_raw_shared_cache_size_half): This.
38228         * sysdeps/x86_64/memcpy.S: Updated.
38229         * sysdeps/x86_64/memset.S: Likewise.
38230         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38231         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38234 2013-01-04  David S. Miller  <davem@davemloft.net>
38236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38238 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38240         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38241         1 to avoid redefinition warning.
38242         (__USE_GNU): Don't define.
38243         (init_signaling_nan): Protoize.
38245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38247 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38249         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38251         (__cpymn): Likewise.
38252         (norm): Remove commented code.
38253         (denorm): Likewise.
38254         (__mp_dbl): Likewise.
38255         (__inv): Likewise.
38256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38257         (__cpymn): Likewise.
38258         (norm): Remove commented code.
38259         (denorm): Likewise.
38260         (__mp_dbl): Likewise.
38261         (__inv): Likewise.
38263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38264         mp_no value for 1.0 and 2.0.
38265         (norm): Use RADIXI instead of radixi.d.
38266         (denorm): Likewise.
38267         (__mul): Use 0.0 instead of zero.d.
38268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38269         mp_no value for 1.0 and 2.0.
38270         (norm): Use RADIXI instead of radixi.d.
38271         (denorm): Likewise.
38272         (__mul): Use 0.0 instead of zero.d.
38274 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38276         [BZ #14994]
38277         * math/s_casinh.c (__casinh): Reduce finite argument to first
38278         quadrant then set signs of results at the end.
38279         * math/s_casinhf.c (__casinhf): Likewise.
38280         * math/s_casinhl.c (__casinhl): Likewise.
38281         * math/libm-test.inc (casin_test): Add more tests.
38282         (casinh_test): Likewise.
38283         * sysdeps/i386/fpu/libm-test-ulps: Update.
38284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38288         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38290         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38292         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38293         declarations.
38294         (denorm): Likewise.
38295         (__mp_dbl): Likewise.
38296         (__inv): Likewise.
38298         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38299         and adjust the header comment.
38301         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38302         variable name from declaration.
38304 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38307         Initialize COMMON_CPUID_INDEX_7 element.
38308         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38309         (CPUID_RTM): Likewise.
38310         (HAS_RTM): Likewise.
38311         (COMMON_CPUID_INDEX_7): New enum.
38313 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38315         [BZ #14981]
38316         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38317         size is zero, record memory as freed.
38319 2013-01-03  Andreas Jaeger  <aj@suse.de>
38321         * po/ia.po: Add new Interlingua translation.
38323 2012-01-03  Allan McRae  <allan@archlinux.org>
38325         * locale/programs/localedef.c: Fix description of '--posix' flag.
38327 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38329         * NEWS: Update dates in second copyright notice.
38330         * README: Update copyright dates in example.
38331         * manual/libc.texinfo: Update copyright dates.
38332         * scripts/test-installation.pl: Update copyright date in --version
38333         output.
38335         * hurd/ctty-input.c: Fix copyright notice formatting.
38336         * hurd/ctty-output.c: Likewise.
38337         * hurd/dtable.c: Likewise.
38338         * hurd/hurd-raise.c: Likewise.
38339         * hurd/hurdprio.c: Likewise.
38340         * hurd/msgportdemux.c: Likewise.
38341         * misc/sys/file.h: Likewise.
38342         * misc/sys/ioctl.h: Likewise.
38343         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38344         * sysdeps/mach/hurd/chdir.c: Likewise.
38345         * sysdeps/mach/hurd/fchdir.c: Likewise.
38346         * sysdeps/mach/hurd/rename.c: Likewise.
38347         * sysdeps/mach/hurd/rmdir.c: Likewise.
38348         * sysdeps/mach/hurd/seekdir.c: Likewise.
38349         * sysdeps/mach/hurd/setsid.c: Likewise.
38350         * sysdeps/posix/wait3.c: Likewise.
38352         * All files with FSF copyright notices: Update copyright dates
38353         using scripts/update-copyrights.
38354         * intl/plural.c: Regenerated.
38355         * locale/programs/charmap-kw.h: Likewise.
38356         * locale/programs/locfile-kw.h: Likewise.
38358 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38360         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38361         four values.
38363         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38364         calculation loop and add branch prediction.
38366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38367         check access beyond bounds of m1np.
38369         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38370         MPTWO.
38371         (__inv): Remove local variable MPTWO to use the global
38372         constant.
38373         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38374         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38375         variable MPTWO.
38376         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38377         MP3HALFS static const.
38379 2013-01-01  David S. Miller  <davem@davemloft.net>
38381         * po/ca.po: Update from translation team.
38383 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38385         * scripts/update-copyrights: New file.
38386         * Makeconfig: Reformat copyright notice.
38387         * ctype/ctype.h: Likewise.
38388         * debug/swprintf_chk.c: Likewise.
38389         * elf/dl-cache.c: Likewise.
38390         * elf/dl-debug.c: Likewise.
38391         * elf/dl-object.c: Likewise.
38392         * grp/initgroups.c: Likewise.
38393         * hurd/Makefile: Likewise.
38394         * hurd/hurd/signal.h: Likewise.
38395         * hurd/hurdfault.c: Likewise.
38396         * hurd/hurdioctl.c: Likewise.
38397         * hurd/hurdlookup.c: Likewise.
38398         * hurd/intr-msg.c: Likewise.
38399         * iconv/gconv_open.c: Likewise.
38400         * libio/swprintf.c: Likewise.
38401         * locale/lc-ctype.c: Likewise.
38402         * locale/nl_langinfo.c: Likewise.
38403         * mach/Machrules: Likewise.
38404         * mach/Makefile: Likewise.
38405         * malloc/obstack.h: Likewise.
38406         * manual/Makefile: Likewise.
38407         * manual/tsort.awk: Likewise.
38408         * misc/bits/stab.def: Likewise.
38409         * nis/nis_print_group_entry.c: Likewise.
38410         * nis/nis_table.c: Likewise.
38411         * nis/nss_compat/compat-pwd.c: Likewise.
38412         * nis/nss_compat/compat-spwd.c: Likewise.
38413         * po/Makefile: Likewise.
38414         * posix/fnmatch.c: Likewise.
38415         * posix/regex.h: Likewise.
38416         * resolv/Makefile: Likewise.
38417         * resolv/nss_dns/dns-network.c: Likewise.
38418         * resolv/res_hconf.c: Likewise.
38419         * scripts/gen-sorted.awk: Likewise.
38420         * soft-fp/soft-fp.h: Likewise.
38421         * stdio-common/printf.h: Likewise.
38422         * stdlib/monetary.h: Likewise.
38423         * stdlib/random.c: Likewise.
38424         * stdlib/random_r.c: Likewise.
38425         * sysdeps/generic/Makefile: Likewise.
38426         * sysdeps/gnu/Makefile: Likewise.
38427         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38428         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38429         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38430         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38431         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38432         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38434         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38437         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38438         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38443         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38445         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38446         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38447         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38448         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38449         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38450         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38451         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38452         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38453         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38454         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38455         * sysdeps/mach/hurd/errnos.awk: Likewise.
38456         * sysdeps/mach/hurd/fork.c: Likewise.
38457         * sysdeps/mach/hurd/getcwd.c: Likewise.
38458         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38459         * sysdeps/mach/hurd/mmap.c: Likewise.
38460         * sysdeps/mach/hurd/utimes.c: Likewise.
38461         * sysdeps/mach/hurd/xmknod.c: Likewise.
38462         * sysdeps/posix/profil.c: Likewise.
38463         * sysdeps/posix/readdir_r.c: Likewise.
38464         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38465         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38466         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38467         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38469         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38470         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38471         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38473         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38474         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38475         * sysdeps/pthread/lio_listio.c: Likewise.
38476         * sysdeps/sparc/dl-procinfo.h: Likewise.
38477         * sysdeps/unix/i386/sysdep.S: Likewise.
38478         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38479         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38480         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38481         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38483         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38484         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38485         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38486         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38487         * sysdeps/wordsize-32/divdi3.c: Likewise.
38488         * time/sys/time.h: Likewise.
38489         * wcsmbs/Makefile: Likewise.
38491 2013-01-01  David S. Miller  <davem@davemloft.net>
38493         * po/fr.po: Update from translation team.
38495         * catgets/gencat.c: Update copyright year.
38496         * csu/version.c: Likewise.
38497         * debug/catchsegv.sh: Likewise.
38498         * debug/pcprofiledump.c: Likewise.
38499         * debug/xtrace.sh: Likewise.
38500         * elf/ldconfig.c: Likewise.
38501         * elf/ldd.bash.in: Likewise.
38502         * elf/pldd.c: Likewise.
38503         * elf/sotruss.ksh: Likewise.
38504         * elf/sprof.c: Likewise.
38505         * iconv/iconv_prog.c: Likewise.
38506         * iconv/iconvconfig.c: Likewise.
38507         * locale/programs/locale.c: Likewise.
38508         * locale/programs/localedef.c: Likewise.
38509         * login/programs/pt_chown.c: Likewise.
38510         * malloc/memusage.sh: Likewise.
38511         * malloc/memusagestat.c: Likewise.
38512         * malloc/mtrace.pl: Likewise.
38513         * nscd/nscd.c: Likewise.
38514         * nss/getent.c: Likewise.
38515         * nss/makedb.c: Likewise.
38516         * posix/getconf.c: Likewise.
38518 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38520         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38521         numbers.
38523 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38525         * math/bits/mathcalls.h (modf): Use __nonnull.
38527 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38529         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38530         (split): Use macro CN instead of the bare value.
38531         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38532         could be used.
38533         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38534         instead of the bare value.
38535         (power1): Likewise.
38537 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38539         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38540         __ATAN_TWOM.
38541         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38543         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38544         their values.
38545         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38546         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38547         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38548         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38550 2012-12-28  Andreas Jaeger  <aj@suse.de>
38552         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38553         values are from Linux 3.7.
38555         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38556         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38558 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38560         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38561         TRUE case.
38563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38564         (norm): Likewise.
38565         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38566         variables with preprocessor constants.
38567         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38568         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38569         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38571 2012-12-27  Bruno Haible  <bruno@clisp.org>
38573         [BZ #14317]
38574         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38575         only if needed.
38577 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38580         and use variable directly.
38581         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38583         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38584         MPONE.
38585         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38587         variable MPONE.
38588         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38590         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38591         include directive.  Remove local variable MPONE.
38592         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38593         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38594         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38596 2012-12-25  David S. Miller  <davem@davemloft.net>
38598         * version.h (RELEASE): Set to "development".
38599         (VERSION): Set to "2.17.90".
38600         * NEWS: Add 2.18 section.
38602 2012-12-21  David S. Miller  <davem@davemloft.net>
38604         * po/hr.po: Update from translation team.
38606 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38608         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38610 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38612         * NEWS:  Mention new memcpy for MIPS.
38614 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38616         * manual/contrib.texi (Contributors): Spelling correction.
38618 2012-12-15  David S. Miller  <davem@davemloft.net>
38620         * po/ru.po: Update from translation team.
38622 2012-12-13  David S. Miller  <davem@davemloft.net>
38624         * NEWS: Mention IFUNC testsuite enhancements.
38626         * po/pl.po: Update from translation team.
38627         * po/bg.po: Likewise.
38629         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38630         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38632 2012-12-11  David S. Miller  <davem@davemloft.net>
38634         * po/sv.po: Update from translation team.
38636         * po/vi.po: Update from translation team.
38638         * po/cs.po: Update from translation team.
38640         * po/de.po: Update from translation team.
38641         * po/eo.po: Likewise.
38642         * po/nl.po: Likewise.
38644 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38646         [BZ #14246]
38647         * manual/argp.texi (Argp Helper Functions): Move node to follow
38648         Argp Parsing State.
38650         [BZ #14872]
38651         * manual/conf.texi (Limits on File System Capacity): Mention if
38652         terminating null is included in the max size.
38654 2012-12-10  Andreas Jaeger  <aj@suse.de>
38656         * po/cs.po: Update from translation team.
38658 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38660         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38661         void pointer and cast to uintptr_t.
38662         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38663         path.
38664         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38665         * sysdeps/s390/s390-64/memset.S: Likewise.
38667 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38669         [BZ #14833]
38670         * menual/message.texi (Message Translation): Fix typos.
38671         (Helper programs for gettext): Likewise.
38673 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38675         [BZ #14898]
38676         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38677         Change to -1.
38679 2012-12-07  David S. Miller  <davem@davemloft.net>
38681         * po/libc.pot: Update.
38683 2012-12-07  Richard Henderson  <rth@redhat.com>
38685         [BZ #10114]
38686         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38687         normal/normal case to before the switch.
38688         (_FP_DIV): Likewise.
38690 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38691             Mike Frysinger  <vapier@gentoo.org>
38693         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38694         check for __NR_fadvise64_64.
38696 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38698         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38699         0, not just to plain "0" as a statement.
38700         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38701         with cw.
38703 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38705         * NEWS: Use sourceware.org in Bugzilla URL.
38707 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38710         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38712         * stdio-common/tst-put-error.c (do_test): Add newline to the
38713         padded test to ensure flush.
38715 2012-12-05  Jeff Law  <law@redhat.com>
38717         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38719 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38721         * README: Don't refer to ports add-on as distributed separately.
38722         Mention AArch64 in list of systems supported in the ports add-on.
38724         * LICENSES: Add more non-FSF copyright and license notices.
38726         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38727         ((unused)).
38729         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38731         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38732         10000 as width of padded output.
38734 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38736         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38739         variable LX with __attribute__ ((unused)).
38740         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38741         Likewise.
38742         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38745         with __attribute__ ((unused)).
38747 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38749         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38751 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38753         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38754         (CFLAGS-nldbl-acos.c): New variable.
38755         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38756         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38757         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38758         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38759         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38760         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38761         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38762         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38763         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38764         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38765         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38766         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38767         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38768         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38769         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38770         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38771         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38772         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38773         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38774         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38775         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38776         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38777         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38778         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38779         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38780         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38781         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38782         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38783         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38784         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38785         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38786         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38787         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38788         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38789         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38790         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38791         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38792         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38793         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38794         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38795         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38796         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38797         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38798         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38799         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38800         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38801         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38802         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38803         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38804         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38805         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38806         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38807         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38808         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38809         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38810         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38811         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38812         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38813         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38814         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38815         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38816         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38817         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38818         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38819         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38820         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38821         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38822         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38823         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38824         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38825         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38826         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38827         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38828         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38829         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38830         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38831         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38832         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38833         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38834         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38835         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38836         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38837         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38838         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38839         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38840         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38841         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38842         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38843         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38844         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38845         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38846         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38847         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38848         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38849         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38850         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38851         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38854         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38856         [BZ #14914]
38857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38858         whole low double instead of just low 47 bits when splitting values
38859         into two parts.
38861 2012-12-03  Allan McRae  <allan@archlinux.org>
38863         * manual/stdio.texi (Predefined Printf Handlers): Remove
38864         @hsep and @vsep usage.
38866 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38868         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38869         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38871 2012-12-03  Jeff Law  <law@redhat.com>
38873         * time/sys/time.h (settimeofday): Do not mark TV argument
38874         as __nonnull.
38876 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38878         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38879         when currently writing and seek to current position when not.
38880         * libio/Makefile (tests): Remove bug-fclose1.
38881         * libio/bug-fclose1.c: Delete.
38883 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38885         * manual/arith.texi (feenableexcept): Fix typo.
38886         (fedisableexcept): Likewise.
38888 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38890         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38891         second, differently-typed declaration, rather than a cast.
38893 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38895         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38896         * include/rpc/svc.h: ... here.
38898 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38900         [BZ #13013]
38901         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38902         depending n and resplen2 to catch cases where answer
38903         equals answerp2.
38905 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38907         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38908         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38910 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38912         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38914 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38916         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38918 2012-11-28  Jeff Law  <law@redhat.com>
38920         [BZ #13761]
38921         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38922         dataset_temporary.  Track alloca usage into alloca_used.
38923         If dataset is large allocate and release it via malloc/free.
38925 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38927         [BZ #14197]
38928         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38930 2012-11-28  David S. Miller  <davem@davemloft.net>
38932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38934 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38936         [BZ #14803]
38937         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38938         of pi/2 rounded to nearest to 64 bits.
38939         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38940         nearest to 64 bits.
38941         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38942         bits.
38944 2012-11-28  Jeff Law <law@redhat.com>
38945             Martin Osvald <mosvald@redhat.com>
38947         [BZ #14889]
38948         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38949         * sunrpc/svc.c: Include time.h.
38950         (__svc_accept_failed): New function.
38951         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38952         any reason other than EINTR, call __svc_accept_failed.
38953         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38954         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38956 2012-11-28  Andreas Schwab  <schwab@suse.de>
38958         * scripts/abilist.awk: Also handle indirect functions in .opd
38959         section.
38961 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38963         [BZ #13881]
38964         * sysdeps/x86/fpu/powl_helper.c: New file.
38965         * sysdeps/x86/fpu/Makefile: Likewise.
38966         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38967         (p3): New object.
38968         (__ieee754_powl): Use __powl_helper for finite arguments except
38969         integer exponents below 8.
38970         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38971         (p3): New object.
38972         (__ieee754_powl): Use __powl_helper for finite arguments except
38973         integer exponents below 8.
38974         * math/libm-test.inc (pow_test): Add more tests and enable some
38975         previously disabled tests.
38976         * sysdeps/i386/fpu/libm-test-ulps: Update.
38977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38979 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38980             Carlos O'Donell  <carlos_odonell@mentor.com>
38982         * nss/makedb.c (is_prime): Assert that input is odd and greater
38983         than 4.  Note that fact in a comment too.
38984         (next_prime): Add 4 to input.
38986 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988         [BZ #11741]
38989         * libio/Makefile (tests): Add test case tst-fwrite-error.
38990         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38991         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38992         * libio/tst-fwrite-error.c: New test case.
38994 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38996         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38997         before casting to void *.
38998         * include/libc-internal.h (__pointer_type): New macro.
38999         (__integer_if_pointer_type_sub): Likewise.
39000         (__integer_if_pointer_type): Likewise.
39001         (cast_to_integer): Likewise.
39002         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39003         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39004         before casting to atomic64_t.
39005         (atomic_exchange_acq): Likewise.
39006         (__arch_exchange_and_add_body): Likewise.
39007         (__arch_add_body): Likewise.
39008         (atomic_add_negative): Likewise.
39009         (atomic_add_zero): Likewise.
39011 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39013         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39014         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39015         (add_fdes): Likewise.
39016         (linear_search_fdes): Likewise.
39017         (binary_search_unencoded_fdes): Likewise.
39019 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39021         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39023 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39025         * configure.in: Autodetect C++ header directories.
39026         * configure: Regenerated.
39028 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39030         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39032 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39036 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39038         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39039         LDBL_MANT_DIG == 106]: Disable some tests.
39040         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39041         Likewise.
39042         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39043         Likewise.
39045         [BZ #14871]
39046         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39047         input for small inputs.  Return +/- pi/2 for large inputs.
39048         * math/libm-test.inc (atan_test): Add more tests.
39050         * sysdeps/generic/unwind-dw2-fde-glibc.c
39051         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39052         __attribute__ ((unused)).
39054         [BZ #14645]
39055         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39056         x * y if x and y are nonzero and z is zero.
39058         [BZ #14811]
39059         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39060         nonzero exponents with absolute value below 0x1p-117 to +/-
39061         0x1p-117.
39063         [BZ #14869]
39064         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39065         up arguments below 2**-450, not just those below 2**-500.
39066         * math/libm-test.inc (hypot_test): Add another test.
39068         [BZ #14868]
39069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39070         Return a+b for ratio over 2**120, not 2**60.
39071         * math/libm-test.inc (hypot_test): Add another test.
39073         * math/libm-test.inc (clog_test): Use
39074         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39075         (clog10_test): Likewise.
39077         [BZ #6778]
39078         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39080 2012-11-22  Andreas Schwab  <schwab@suse.de>
39082         * sysdeps/i386/fpu/libm-test-ulps: Update.
39084 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39086         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39087         printf output with newline.
39089 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39091         [BZ #14865]
39092         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39093         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39094         -z nodlopen, -z initfirst and -z execstack support.
39095         * configure: Regenerated.
39097         * elf/elf.h (DF_1_NODIRECT): New macro.
39098         (DF_1_IGNMULDEF): Likewise.
39099         (DF_1_NOKSYMS): Likewise.
39100         (DF_1_NOHDR): Likewise.
39101         (DF_1_EDITED): Likewise.
39102         (DF_1_NORELOC): Likewise.
39103         (DF_1_SYMINTPOSE): Likewise.
39104         (DF_1_GLOBAUDIT): Likewise.
39105         (DF_1_SINGLETON): Likewise.
39106         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39107         DT_1_SUPPORTED_MASK bits.
39108         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39110 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39112         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39114 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39116         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39117         macro.
39119         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39120         (sendmmsg): Move declarations...
39121         * socket/sys/socket.h: ... here.
39122         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39123         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39124         include it from...
39125         * socket/recvmmsg.c: ... this new file.
39126         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39127         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39128         definition of __sendmmsg hidden.
39129         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39130         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39131         Move ENOSYS stub into and include it from...
39132         * socket/sendmmsg.c: ... this new file.
39133         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39134         (sysdep_routines): Move recvmmsg and sendmmsg...
39135         * socket/Makefile (routines): ... here.
39136         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39137         (GLIBC_PRIVATE): Add __sendmmsg.
39138         * include/sys/socket.h (__sendmmsg): Add declarations.
39139         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39140         sendmmsg.
39142 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39144         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39145         variable I1 with __attribute__ ((unused)).
39146         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39148 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39150         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39151         DUMMY variables with __attribute__ ((unused)).
39153         * bits/byteswap.h: Include <bits/types.h>.
39154         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39156 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39158         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39159         string_t.  Do not manually set errno.
39160         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39161         length with __strnlen.  Make sure to both set errno and return it on
39162         failure.
39164 2012-11-19  David S. Miller  <davem@davemloft.net>
39166         With help from Joseph Myers.
39167         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39168         very large arguments properly.
39169         * math/libm-test.inc (atan_test): New tests.
39170         (atan2_test): New tests.
39171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39174 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39176         [BZ #14856]
39177         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39178         Define to 3.
39180         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39181         [POSIX] (EADDRNOTAVAIL): Likewise.
39182         [POSIX] (EAFNOSUPPORT): Likewise.
39183         [POSIX] (EALREADY): Likewise.
39184         [POSIX] (ECONNABORTED): Likewise.
39185         [POSIX] (ECONNREFUSED): Likewise.
39186         [POSIX] (ECONNRESET): Likewise.
39187         [POSIX] (EDESTADDRREQ): Likewise.
39188         [POSIX] (EDQUOT): Likewise.
39189         [POSIX] (EHOSTUNREACH): Likewise.
39190         [POSIX] (EIDRM): Likewise.
39191         [POSIX] (EISCONN): Likewise.
39192         [POSIX] (ELOOP): Likewise.
39193         [POSIX] (EMULTIHOP): Likewise.
39194         [POSIX] (ENETDOWN): Likewise.
39195         [POSIX] (ENETUNREACH): Likewise.
39196         [POSIX] (ENOBUFS): Likewise.
39197         [POSIX] (ENODATA): Likewise.
39198         [POSIX] (ENOLINK): Likewise.
39199         [POSIX] (ENOMSG): Likewise.
39200         [POSIX] (ENOPROTOOPT): Likewise.
39201         [POSIX] (ENOSR): Likewise.
39202         [POSIX] (ENOSTR): Likewise.
39203         [POSIX] (ENOTCONN): Likewise.
39204         [POSIX] (ENOTSOCK): Likewise.
39205         [POSIX] (EOPNOTSUPP): Likewise.
39206         [POSIX] (EOVERFLOW): Likewise.
39207         [POSIX] (EPROTO): Likewise.
39208         [POSIX] (EPROTONOSUPPORT): Likewise.
39209         [POSIX] (EPROTOTYPE): Likewise.
39210         [POSIX] (ESTALE): Likewise.
39211         [POSIX] (ETIME): Likewise.
39212         [POSIX] (ETXTBSY): Likewise.
39213         [POSIX] (EWOULDBLOCK): Likewise.
39214         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39215         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39216         [POSIX] (SEEK_CUR): Likewise.
39217         [POSIX] (SEEK_END): Likewise.
39218         [POSIX || UNIX98] (mode_t): Do not require.
39219         [POSIX] (off_t): Likewise.
39220         [POSIX] (pid_t): Likewise.
39221         [POSIX] (sys/stat.h): Do not allow header.
39222         [POSIX] (unistd.h): Likewise.
39223         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39224         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39225         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39226         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39227         require.
39228         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39229         sigevent): Specify elements.
39230         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39231         entry.
39232         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39233         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39235         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39236         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39237         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39238         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39239         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39240         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39241         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39242         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39243         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39244         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39245         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39246         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39247         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39248         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39249         Likewise.
39250         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39251         Likewise.
39252         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39253         Likewise.
39254         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39255         Likewise.
39256         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39257         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39258         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39259         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39260         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39261         Specify lower bound on value.
39262         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39263         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39264         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39265         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39266         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39267         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39268         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39269         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39270         value.
39271         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39272         as optional.
39273         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39274         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39275         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39276         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39277         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39278         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39279         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39280         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39281         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39282         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39283         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39284         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39285         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39286         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39287         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39288         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39289         entry.
39290         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39291         optional.
39292         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39293         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39294         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39295         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39296         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39297         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39298         Likewise.
39299         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39300         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39301         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39302         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39303         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39304         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39305         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39306         as optional.
39307         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39308         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39309         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39310         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39311         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39312         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39313         specify as optional.
39314         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39315         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39316         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39317         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39318         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39319         [XPG3] (NL_LANGMAX): Likewise.
39320         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39321         [POSIX || XPG3] (NL_NMAX): Likewise.
39322         [POSIX || XPG3] (NL_SETMAX): Likewise.
39323         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39324         [XPG3] (NZERO): Likewise.
39325         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39326         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39327         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39328         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39329         (REG_ERANGE): Expect.
39330         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39331         optional-constant.
39332         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39333         Use (void) in prototype.
39334         [POSIX] (*_t): Allow.
39335         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39336         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39337         (WRDE_BADVAL): Expect.
39339         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39340         expect.
39341         [XPG3 || XPG4] (O_RSYNC): Likewise.
39342         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39343         Likewise.
39344         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39345         [XPG3 || XPG4] (sigqueue): Likewise.
39346         [XPG3 || XPG4] (sigtimedwait): Likewise.
39347         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39348         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39349         [XPG3 || XPG4] (vsnprintf): Likewise.
39350         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39351         Likewise.
39352         [XPG3 || XPG4] (blksize_t): Likewise.
39353         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39354         Likewise.
39355         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39356         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39357         [XPG3 || XPG4] (struct itimerspec): Likewise.
39358         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39359         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39360         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39361         [XPG3 || XPG4] (clockid_t): Likewise.
39362         [XPG3 || XPG4] (timer_t): Likewise.
39363         [XPG3 || XPG4] (clock_getres): Likewise.
39364         [XPG3 || XPG4] (clock_gettime): Likewise.
39365         [XPG3 || XPG4] (clock_settime): Likewise.
39366         [XPG3 || XPG4] (nanosleep): Likewise.
39367         [XPG3 || XPG4] (timer_create): Likewise.
39368         [XPG3 || XPG4] (timer_delete): Likewise.
39369         [XPG3 || XPG4] (timer_gettime): Likewise.
39370         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39371         [XPG3 || XPG4] (timer_settime): Likewise.
39372         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39373         [XPG3 || XPG4] (getlogin_r): Likewise.
39374         [XPG3 || XPG4] (pread): Likewise.
39375         [XPG3 || XPG4] (pthread_atfork): Likewise.
39376         [XPG3 || XPG4] (pwrite): Likewise.
39378         [BZ #14835]
39379         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39380         <bits/siginfo.h>.
39382 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39384         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39385         finalizing MALLSTREAM.
39387         * sysdeps/mach/hurd/syncfs.c: New file.
39389 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39391         [BZ #14719]
39392         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39393         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39394         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39395         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39396         (_nss_dns_gethostbyname4_r): Likewise.
39397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39398         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39400 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39402         [BZ #13763]
39403         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39405 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39407         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39408         * elf/cache.c (print_entry): Print ",AArch64" for
39409         FLAG_AARCH64_LIB64
39411         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39412         * elf/cache.c (print_entry): Print ",hard-float" for
39413         FLAG_ARM_LIBHF.
39415 2012-11-18  David S. Miller  <davem@davemloft.net>
39417         With help from Joseph Myers.
39418         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39419         cutoff to 2**-13.
39420         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39421         cutoff to 2**-25.
39422         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39423         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39424         small.
39425         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39426         * math/libm-test.inc (y0_test): New tests.
39427         (y1_test): New tests.
39428         * sysdeps/i386/fpu/libm-test-ulps: Update.
39429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39432 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39434         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39435         64-bit targets.
39436         * configure: Regenerated.
39438 2012-11-17  David S. Miller  <davem@davemloft.net>
39440         [BZ #14811]
39441         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39442         nonzero exponents with absolute value below 0x1p-128 to +/-
39443         0x1p-128.
39445 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39447         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39449         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39451         * posix/getconf-speclist.c: New file.
39452         * posix/posix-envs.def: Likewise.
39453         * posix/confstr.c (START_ENV_GROUP): New macro.
39454         (END_ENV_GROUP): Likewise.
39455         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39456         (KNOWN_PRESENT_ENV_STRING): Likewise.
39457         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39458         (UNKNOWN_ENVIRONMENT): Likewise.
39459         (confstr): Include posix-envs.def instead of handling
39460         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39461         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39462         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39463         (END_ENV_GROUP): Likewise.
39464         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39465         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39466         (UNKNOWN_ENVIRONMENT): Likewise.
39467         (__sysconf): Include posix-envs.def instead of handling associated
39468         cases directly here.
39469         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39470         preprocessing getconf-speclist.c rather than running getconf or
39471         generating empty file.
39473 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39475         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39477 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39479         [BZ #14672]
39480         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39482 2012-11-16  David S. Miller  <davem@davemloft.net>
39484         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39485         smaller than LDBL_EPSILON/2.0L, just return xm1.
39487 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39489         * elf/tst-array1.c (init): Set constructor priority to 1000.
39490         (fini): Set destructor priority to 1000.
39491         * elf/tst-array2dep.c: Likewise.
39493 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39495         [BZ #11741]
39496         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39497         (_IO_new_file_xsputn): Also return EOF if none of the input
39498         data was written when overflow failed.
39499         * libio/iopadn.c (_IO_padn): Likewise.
39500         * libio/iowpadn.c (_IO_wpadn): Likewise.
39501         * stdio-common/tst-put-error.c: Add copyright notice.
39502         (do_test): Add case for printing padded string.
39503         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39504         _IO_padn returned error.
39505         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39506         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39507         return EOF.
39509 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39511         * libio/libioP.h: Add comment note that the references to C++
39512         bits are now obsolete.
39514 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39516         * math/libm-test.inc (check_complex): Use asprintf.
39518 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39520         * debug/pcprofiledump.c (print_version): Update copyright year.
39521         * malloc/memusagestat.c (print_version): Likewise.
39523 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39525         [BZ #14831]
39526         * elf/Makefile (tests): Add tst-audit8.
39527         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39528         ($(objpfx)tst-audit8.out): New target.
39529         (tst-audit8-ENV): New variable.
39530         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39531         audit if l_reloc_result is NULL.
39532         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39533         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39534         * elf/tst-audit8.c: New file.
39536 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39538         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39539         * misc/Makefile (CFLAGS-select.c): Define.
39540         * posix/Makefile (CFLAGS-pause.c): Define.
39542 2012-11-13  David S. Miller  <davem@davemloft.net>
39544         * crypt/Makefile: Move test targets after toplevel Rules
39545         inclusion.  Grab any necessary sysdep routines when linking.
39546         * crypt/md5.c (md5_process_block): Remove define, we will always
39547         name it __md5_process_block.
39548         (md5_finish_ctx): Update md5_process_block call.
39549         (md5_stream): Likewise.
39550         (md5_process_bytes): Likewise.
39551         (md5_process_block): Rename to __md5_process_block and move to ...
39552         * crypt/md5-block.c: ... here.
39553         * crypt/sha256.c (sha256_process_block): Move to ...
39554         * crypt/sha256-block.c: ... here.
39555         * crypt/sha512.c (sha512_process_block): Move to ...
39556         * crypt/sha512-block.c: ... here.
39557         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39558         path.
39559         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39560         * sysdeps/sparc/sparc64/multiarch/Makefile
39561         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39562         crypt subdir.
39563         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39564         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39565         multiarch changes.
39566         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39567         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39568         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39569         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39570         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39571         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39572         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39573         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39574         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39575         file.
39576         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39577         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39578         file.
39579         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39581 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39583         * timezone/tzselect.ksh: Update from tzcode git revision
39584         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39585         * timezone/zdump.c: Likewise.
39586         * timezone/zic.c: Likewise.
39587         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39588         in TZVERSION setting, not $(PKGVERSION).
39589         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39590         REPORT_BUGS_TO settings.
39592         [BZ #14838]
39593         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39594         macro.
39596 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39598         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39599         detection to immediately after _FP_ROUND().
39600         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39601         bits are 0.
39603 2012-11-11  David S. Miller  <davem@davemloft.net>
39605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39606         inttypes.h
39607         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39608         __close rather than their public counterparts.
39610 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39612         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39613         file.
39614         [UNIX98] (sem_timedwait): Do not expect.
39615         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39616         [XPG4 || UNIX98] (sockatmark): Do not expect.
39617         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39618         (clock_getcpuclockid): Do not expect.
39619         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39620         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39621         Do not expect.
39622         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39623         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39624         [UNIX98] (vwscanf): Likewise.
39625         [UNIX98] (vswscanf): Likewise.
39627 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39629         * timezone/version.h: Remove file.
39630         * timezone/README: Do not refer to version.h.
39631         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39632         $(objpfx)version.h.
39633         ($(objpfx)zdump.o): Likewise.
39634         ($(objpfx)version.h): New target.
39636         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39637         2012i.
39638         * timezone/README: Don't mention modification to tzselect.ksh.
39639         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39640         work on unmodified tzselect.ksh.  Substitute version numbers in
39641         tzselect.ksh.
39643         * Makefile (format-me): Remove.
39644         (INSTALL): Adjust indentation.  Use commands directly instead of
39645         using $(format-me).
39647         * aclocal.m4 (ACX_PKGVERSION): New macro.
39648         (ACX_BUGURL): Likewise.
39649         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39650         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39651         (REPORT_BUGS_TO): Likewise.
39652         * configure: Regenerated.
39653         * config.h.in (PKGVERSION): New macro.
39654         (REPORT_BUGS_TO): Likewise.
39655         * config.make.in (PKGVERSION): New variable.
39656         (PKGVERSION_TEXI): Likewise.
39657         (REPORT_BUGS_TO): Likewise.
39658         (REPORT_BUGS_TEXI): Likewise.
39659         * Makefile (format-me): Use -I$(common-objpfx)manual.
39660         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39661         ($(common-objpfx)manual/%): New target.
39662         (manual/%): Remove target.
39663         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39664         (print_version): Use PKGVERSION.
39665         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39666         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39667         and REPORT_BUGS_TO.
39668         ($(objpfx)xtrace): Likewise.
39669         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39670         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39671         (print_version): Use PKGVERSION.
39672         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39673         (do_version): Use PKGVERSION.
39674         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39675         REPORT_BUGS_TO.
39676         (common-ldd-rewrite): Likewise.
39677         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39678         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39679         (print_version): Use PKGVERSION.
39680         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39681         * elf/pldd.c (argp_program_bug_address): Remove variable.
39682         (more_help): New function.
39683         (argp): Use more_help.
39684         (print_version): Use PKGVERSION.
39685         * elf/sln.c (main): Use PKGVERSION.
39686         (usage): Use REPORT_BUGS_TO.
39687         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39688         (top level): Use PKGVERSION.
39689         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39690         (print_version): Use PKGVERSION.
39691         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39692         (print_version): Use PKGVERSION.
39693         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39694         (print_version): Use PKGVERSION.
39695         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39696         (print_version): Use PKGVERSION.
39697         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39698         (print_version): Use PKGVERSION.
39699         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39700         (print_version): Use PKGVERSION.
39701         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39702         and BUGURL.
39703         ($(objpfx)memusage): Likewise.
39704         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39705         (do_version): Use PKGVERSION.
39706         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39707         (print_version): Use PKGVERSION.
39708         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39709         ($PKGVERSION): New variable.
39710         ($REPORT_BUGS_TO): Likewise.
39711         (usage): Use $REPORT_BUGS_TO.
39712         (top level): Use $PKGVERSION.
39713         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39714         ($(objpfx)pkgvers.texi): New rule.
39715         ($(objpfx)stamp-pkgvers): Likewise.
39716         * manual/install.texi: Include pkgvers.texi.
39717         (--with-pkgversion): Document new configure option.
39718         (--with-bugurl): Likewise.
39719         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39720         than necessarily for this particular distribution.  Use
39721         REPORT_BUGS_TO for where to report bugs.
39722         * INSTALL: Regenerated.
39723         * manual/libc.texinfo: Include pkgvers.texi.
39724         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39725         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39726         (print_version): Use PKGVERSION.
39727         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39728         (print_version): Use PKGVERSION.
39729         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39730         (print_version): Use PKGVERSION.
39731         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39732         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39733         macro.
39734         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39735         (print_version): Use PKGVERSION.
39736         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39737         (print_version): Use PKGVERSION.
39738         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39739         and PKGVERSION.
39741         * timezone/checktab.awk: Update from tzcode 2012i.
39742         * timezone/ialloc.c: Likewise.
39743         * timezone/private.h: Likewise.
39744         * timezone/scheck.c: Likewise.
39745         * timezone/tzfile.h: Likewise.
39746         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39747         (TZVERSION): Hardcode tzcode version number.
39748         * timezone/zdump.c: Update from tzcode 2012i.
39749         * timezone/zic.c: Likewise.
39750         * timezone/version.h: New file.
39751         * timezone/README: Describe version.h.  Update upstream location.
39753         [BZ #14824]
39754         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39755         (mktemp): Enable declaration.
39756         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39758         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39760         Likewise.
39761         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39762         Likewise.
39763         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39764         Likewise.
39765         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39766         Likewise.
39767         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39768         Likewise.
39769         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39770         Likewise.
39772         [BZ #14821]
39773         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39774         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39775         for copies of such integer values.
39776         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39777         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39779 2012-11-09  Andreas Jaeger  <aj@suse.de>
39781         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39782         definitions and declarations that are provided by
39783         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39785 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39787         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39788         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39789         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39790         definition.
39792 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39794         * elf/elf.h: Update comment before AArch64 relocations.
39796 2012-11-07  David S. Miller  <davem@davemloft.net>
39798         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39799         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39800         (__start_context): Declare.
39801         (__makecontext_ret): Delete.
39802         (__makecontext): Hook up __start_context instead of
39803         __makecontext_ret.
39804         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39805         (sysdep_routines): Add __start_context when in stdlib.
39807 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39809         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39810         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39811         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39812         hardcoded "nm".
39813         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39814         (READELF): New variable.  Use it instead of hardcoded "readelf".
39816 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39818         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39819         * sysdeps/x86/Makefile: Here.
39820         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39821         * sysdeps/x86/tst-xmmymm.sh: This.
39823 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39825         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39826         expectations.
39827         [UNIX98] (pthread_barrier_t): Do not expect.
39828         [UNIX98] (pthread_barrierattr_t): Likewise.
39829         [UNIX98] (pthread_spinlock_t): Likewise.
39830         [UNIX98] (pthread_barrier_destroy): Likewise.
39831         [UNIX98] (pthread_barrier_init): Likewise.
39832         [UNIX98] (pthread_barrier_wait): Likewise.
39833         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39834         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39835         [UNIX98] (pthread_barrierattr_init): Likewise.
39836         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39837         [UNIX98] (pthread_getcpuclockid): Likewise.
39838         [UNIX98] (pthread_mutex_timedlock): Likewise.
39839         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39840         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39841         [UNIX98] (pthread_sigmask): Likewise.
39842         [UNIX98] (pthread_spin_destroy): Likewise.
39843         [UNIX98] (pthread_spin_init): Likewise.
39844         [UNIX98] (pthread_spin_lock): Likewise.
39845         [UNIX98] (pthread_spin_trylock): Likewise.
39846         [UNIX98] (pthread_spin_unlock): Likewise.
39847         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39848         Do not expect.
39849         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39850         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39851         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39852         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39853         [XPG3 || XPG4] (pthread_key_t): Likewise.
39854         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39855         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39856         [XPG3 || XPG4] (pthread_once_t): Likewise.
39857         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39858         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39859         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39860         [XPG3 || XPG4] (pthread_t): Likewise.
39862         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39863         not expect.
39864         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39866         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39867         Change function return type to int.
39869         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39870         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39871         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39872         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39873         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39874         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39875         [!POSIX] (posix_madvise): Likewise.
39876         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39877         && !UNIX98].
39878         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39879         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39880         (mode_t): Likewise.
39881         (posix_mem_offset): Likewise.
39882         (posix_typed_mem_get_info): Likewise.
39883         (posix_typed_mem_open): Likewise.
39885         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39886         Change condition to [XOPEN2K8].
39888         * conform/conformtest.pl: Preprocess allow-header data with -x c
39889         instead of from stdin.
39890         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39891         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39892         [C99-based standards] (cerfc): Likewise.
39893         [C99-based standards] (cexp2): Likewise.
39894         [C99-based standards] (cexpm1): Likewise.
39895         [C99-based standards] (clog10): Likewise.
39896         [C99-based standards] (clog1p): Likewise.
39897         [C99-based standards] (clog2): Likewise.
39898         [C99-based standards] (clgamma): Likewise.
39899         [C99-based standards] (ctgamma): Likewise.
39900         [C99-based standards] (cerff): Likewise.
39901         [C99-based standards] (cerfcf): Likewise.
39902         [C99-based standards] (cexp2f): Likewise.
39903         [C99-based standards] (cexpm1f): Likewise.
39904         [C99-based standards] (clog10f): Likewise.
39905         [C99-based standards] (clog1pf): Likewise.
39906         [C99-based standards] (clog2f): Likewise.
39907         [C99-based standards] (clgammaf): Likewise.
39908         [C99-based standards] (ctgammaf): Likewise.
39909         [C99-based standards] (cerfl): Likewise.
39910         [C99-based standards] (cerfcl): Likewise.
39911         [C99-based standards] (cexp2l): Likewise.
39912         [C99-based standards] (cexpm1l): Likewise.
39913         [C99-based standards] (clog10l): Likewise.
39914         [C99-based standards] (clog1pl): Likewise.
39915         [C99-based standards] (clog2l): Likewise.
39916         [C99-based standards] (clgammal): Likewise.
39917         [C99-based standards] (ctgammal): Likewise.
39918         * conform/data/inttypes.h-data [C99-based standards]: Include
39919         stdint.h-data.  Remove all expectations for stdint.h contents.
39920         [C99-based standards] (PRI*): Do not allow.
39921         [C99-based standards] (SCN*): Likewise.
39922         [C99-based standards] (*_t): Likewise.
39923         [C99-based-standards] (PRId8): Expect macro.
39924         [C99-based-standards] (PRIi8): Likewise.
39925         [C99-based-standards] (PRIo8): Likewise.
39926         [C99-based-standards] (PRIu8): Likewise.
39927         [C99-based-standards] (PRIx8): Likewise.
39928         [C99-based-standards] (PRIX8): Likewise.
39929         [C99-based-standards] (SCNd8): Likewise.
39930         [C99-based-standards] (SCNi8): Likewise.
39931         [C99-based-standards] (SCNo8): Likewise.
39932         [C99-based-standards] (SCNu8): Likewise.
39933         [C99-based-standards] (SCNx8): Likewise.
39934         [C99-based-standards] (PRIdLEAST8): Likewise.
39935         [C99-based-standards] (PRIiLEAST8): Likewise.
39936         [C99-based-standards] (PRIoLEAST8): Likewise.
39937         [C99-based-standards] (PRIuLEAST8): Likewise.
39938         [C99-based-standards] (PRIxLEAST8): Likewise.
39939         [C99-based-standards] (PRIXLEAST8): Likewise.
39940         [C99-based-standards] (SCNdLEAST8): Likewise.
39941         [C99-based-standards] (SCNiLEAST8): Likewise.
39942         [C99-based-standards] (SCNoLEAST8): Likewise.
39943         [C99-based-standards] (SCNuLEAST8): Likewise.
39944         [C99-based-standards] (SCNxLEAST8): Likewise.
39945         [C99-based-standards] (PRIdFAST8): Likewise.
39946         [C99-based-standards] (PRIiFAST8): Likewise.
39947         [C99-based-standards] (PRIoFAST8): Likewise.
39948         [C99-based-standards] (PRIuFAST8): Likewise.
39949         [C99-based-standards] (PRIxFAST8): Likewise.
39950         [C99-based-standards] (PRIXFAST8): Likewise.
39951         [C99-based-standards] (SCNdFAST8): Likewise.
39952         [C99-based-standards] (SCNiFAST8): Likewise.
39953         [C99-based-standards] (SCNoFAST8): Likewise.
39954         [C99-based-standards] (SCNuFAST8): Likewise.
39955         [C99-based-standards] (SCNxFAST8): Likewise.
39956         [C99-based-standards] (PRId16): Likewise.
39957         [C99-based-standards] (PRIi16): Likewise.
39958         [C99-based-standards] (PRIo16): Likewise.
39959         [C99-based-standards] (PRIu16): Likewise.
39960         [C99-based-standards] (PRIx16): Likewise.
39961         [C99-based-standards] (PRIX16): Likewise.
39962         [C99-based-standards] (SCNd16): Likewise.
39963         [C99-based-standards] (SCNi16): Likewise.
39964         [C99-based-standards] (SCNo16): Likewise.
39965         [C99-based-standards] (SCNu16): Likewise.
39966         [C99-based-standards] (SCNx16): Likewise.
39967         [C99-based-standards] (PRIdLEAST16): Likewise.
39968         [C99-based-standards] (PRIiLEAST16): Likewise.
39969         [C99-based-standards] (PRIoLEAST16): Likewise.
39970         [C99-based-standards] (PRIuLEAST16): Likewise.
39971         [C99-based-standards] (PRIxLEAST16): Likewise.
39972         [C99-based-standards] (PRIXLEAST16): Likewise.
39973         [C99-based-standards] (SCNdLEAST16): Likewise.
39974         [C99-based-standards] (SCNiLEAST16): Likewise.
39975         [C99-based-standards] (SCNoLEAST16): Likewise.
39976         [C99-based-standards] (SCNuLEAST16): Likewise.
39977         [C99-based-standards] (SCNxLEAST16): Likewise.
39978         [C99-based-standards] (PRIdFAST16): Likewise.
39979         [C99-based-standards] (PRIiFAST16): Likewise.
39980         [C99-based-standards] (PRIoFAST16): Likewise.
39981         [C99-based-standards] (PRIuFAST16): Likewise.
39982         [C99-based-standards] (PRIxFAST16): Likewise.
39983         [C99-based-standards] (PRIXFAST16): Likewise.
39984         [C99-based-standards] (SCNdFAST16): Likewise.
39985         [C99-based-standards] (SCNiFAST16): Likewise.
39986         [C99-based-standards] (SCNoFAST16): Likewise.
39987         [C99-based-standards] (SCNuFAST16): Likewise.
39988         [C99-based-standards] (SCNxFAST16): Likewise.
39989         [C99-based-standards] (PRId32): Likewise.
39990         [C99-based-standards] (PRIi32): Likewise.
39991         [C99-based-standards] (PRIo32): Likewise.
39992         [C99-based-standards] (PRIu32): Likewise.
39993         [C99-based-standards] (PRIx32): Likewise.
39994         [C99-based-standards] (PRIX32): Likewise.
39995         [C99-based-standards] (SCNd32): Likewise.
39996         [C99-based-standards] (SCNi32): Likewise.
39997         [C99-based-standards] (SCNo32): Likewise.
39998         [C99-based-standards] (SCNu32): Likewise.
39999         [C99-based-standards] (SCNx32): Likewise.
40000         [C99-based-standards] (PRIdLEAST32): Likewise.
40001         [C99-based-standards] (PRIiLEAST32): Likewise.
40002         [C99-based-standards] (PRIoLEAST32): Likewise.
40003         [C99-based-standards] (PRIuLEAST32): Likewise.
40004         [C99-based-standards] (PRIxLEAST32): Likewise.
40005         [C99-based-standards] (PRIXLEAST32): Likewise.
40006         [C99-based-standards] (SCNdLEAST32): Likewise.
40007         [C99-based-standards] (SCNiLEAST32): Likewise.
40008         [C99-based-standards] (SCNoLEAST32): Likewise.
40009         [C99-based-standards] (SCNuLEAST32): Likewise.
40010         [C99-based-standards] (SCNxLEAST32): Likewise.
40011         [C99-based-standards] (PRIdFAST32): Likewise.
40012         [C99-based-standards] (PRIiFAST32): Likewise.
40013         [C99-based-standards] (PRIoFAST32): Likewise.
40014         [C99-based-standards] (PRIuFAST32): Likewise.
40015         [C99-based-standards] (PRIxFAST32): Likewise.
40016         [C99-based-standards] (PRIXFAST32): Likewise.
40017         [C99-based-standards] (SCNdFAST32): Likewise.
40018         [C99-based-standards] (SCNiFAST32): Likewise.
40019         [C99-based-standards] (SCNoFAST32): Likewise.
40020         [C99-based-standards] (SCNuFAST32): Likewise.
40021         [C99-based-standards] (SCNxFAST32): Likewise.
40022         [C99-based-standards] (PRId64): Likewise.
40023         [C99-based-standards] (PRIi64): Likewise.
40024         [C99-based-standards] (PRIo64): Likewise.
40025         [C99-based-standards] (PRIu64): Likewise.
40026         [C99-based-standards] (PRIx64): Likewise.
40027         [C99-based-standards] (PRIX64): Likewise.
40028         [C99-based-standards] (SCNd64): Likewise.
40029         [C99-based-standards] (SCNi64): Likewise.
40030         [C99-based-standards] (SCNo64): Likewise.
40031         [C99-based-standards] (SCNu64): Likewise.
40032         [C99-based-standards] (SCNx64): Likewise.
40033         [C99-based-standards] (PRIdLEAST64): Likewise.
40034         [C99-based-standards] (PRIiLEAST64): Likewise.
40035         [C99-based-standards] (PRIoLEAST64): Likewise.
40036         [C99-based-standards] (PRIuLEAST64): Likewise.
40037         [C99-based-standards] (PRIxLEAST64): Likewise.
40038         [C99-based-standards] (PRIXLEAST64): Likewise.
40039         [C99-based-standards] (SCNdLEAST64): Likewise.
40040         [C99-based-standards] (SCNiLEAST64): Likewise.
40041         [C99-based-standards] (SCNoLEAST64): Likewise.
40042         [C99-based-standards] (SCNuLEAST64): Likewise.
40043         [C99-based-standards] (SCNxLEAST64): Likewise.
40044         [C99-based-standards] (PRIdFAST64): Likewise.
40045         [C99-based-standards] (PRIiFAST64): Likewise.
40046         [C99-based-standards] (PRIoFAST64): Likewise.
40047         [C99-based-standards] (PRIuFAST64): Likewise.
40048         [C99-based-standards] (PRIxFAST64): Likewise.
40049         [C99-based-standards] (PRIXFAST64): Likewise.
40050         [C99-based-standards] (SCNdFAST64): Likewise.
40051         [C99-based-standards] (SCNiFAST64): Likewise.
40052         [C99-based-standards] (SCNoFAST64): Likewise.
40053         [C99-based-standards] (SCNuFAST64): Likewise.
40054         [C99-based-standards] (SCNxFAST64): Likewise.
40055         [C99-based-standards] (PRIdMAX): Likewise.
40056         [C99-based-standards] (PRIiMAX): Likewise.
40057         [C99-based-standards] (PRIoMAX): Likewise.
40058         [C99-based-standards] (PRIuMAX): Likewise.
40059         [C99-based-standards] (PRIxMAX): Likewise.
40060         [C99-based-standards] (PRIXMAX): Likewise.
40061         [C99-based-standards] (SCNdMAX): Likewise.
40062         [C99-based-standards] (SCNiMAX): Likewise.
40063         [C99-based-standards] (SCNoMAX): Likewise.
40064         [C99-based-standards] (SCNuMAX): Likewise.
40065         [C99-based-standards] (SCNxMAX): Likewise.
40066         [C99-based-standards] (PRIdPTR): Likewise.
40067         [C99-based-standards] (PRIiPTR): Likewise.
40068         [C99-based-standards] (PRIoPTR): Likewise.
40069         [C99-based-standards] (PRIuPTR): Likewise.
40070         [C99-based-standards] (PRIxPTR): Likewise.
40071         [C99-based-standards] (PRIXPTR): Likewise.
40072         [C99-based-standards] (SCNdPTR): Likewise.
40073         [C99-based-standards] (SCNiPTR): Likewise.
40074         [C99-based-standards] (SCNoPTR): Likewise.
40075         [C99-based-standards] (SCNuPTR): Likewise.
40076         [C99-based-standards] (SCNxPTR): Likewise.
40077         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40078         allow.
40079         * conform/data/stdint.h-data: Update comments to clarify
40080         requirements.
40081         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40082         type.
40083         [C99-based standards] (INT8_MAX): Likewise.
40084         [C99-based standards] (INT16_MIN): Likewise.
40085         [C99-based standards] (INT16_MAX): Likewise.
40086         [C99-based standards] (INT32_MIN): Likewise.
40087         [C99-based standards] (INT32_MAX): Likewise.
40088         [C99-based standards] (INT64_MIN): Likewise.
40089         [C99-based standards] (INT64_MAX): Likewise.
40090         [C99-based standards] (UINT8_MAX): Likewise.
40091         [C99-based standards] (UINT16_MAX): Likewise.
40092         [C99-based standards] (UINT32_MAX): Likewise.
40093         [C99-based standards] (UINT64_MAX): Likewise.
40094         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40095         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40096         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40097         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40098         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40099         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40100         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40101         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40102         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40103         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40104         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40105         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40106         [C99-based standards] (INT_FAST8_MIN): Likewise.
40107         [C99-based standards] (INT_FAST8_MAX): Likewise.
40108         [C99-based standards] (INT_FAST16_MIN): Likewise.
40109         [C99-based standards] (INT_FAST16_MAX): Likewise.
40110         [C99-based standards] (INT_FAST32_MIN): Likewise.
40111         [C99-based standards] (INT_FAST32_MAX): Likewise.
40112         [C99-based standards] (INT_FAST64_MIN): Likewise.
40113         [C99-based standards] (INT_FAST64_MAX): Likewise.
40114         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40115         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40116         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40117         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40118         [C99-based standards] (INTPTR_MIN): Likewise.
40119         [C99-based standards] (INTPTR_MAX): Likewise.
40120         [C99-based standards] (UINTPTR_MAX): Likewise.
40121         [C99-based standards] (INTMAX_MIN): Likewise.
40122         [C99-based standards] (INTMAX_MAX): Likewise.
40123         [C99-based standards] (UINTMAX_MAX): Likewise.
40124         [C99-based standards] (PTRDIFF_MIN): Likewise.
40125         [C99-based standards] (PTRDIFF_MAX): Likewise.
40126         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40127         [C99-based standards] (SIZE_MAX): Likewise.
40128         [C99-based standards] (WCHAR_MAX): Likewise.
40129         [C99-based standards] (WINT_MAX): Likewise.
40130         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40131         constraint on value.
40132         [C99-based standards] (WCHAR_MIN): Likewise.
40133         [C99-based standards] (WINT_MIN): Likewise.
40134         [C99-based standards] (*_t): Allow.
40135         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40136         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40137         Include math.h-data and complex.h-data.  Remove all expectations
40138         of math.h and complex.h contents.
40139         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40140         at end of line.
40141         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40142         (struct tm): Expect tag.
40143         [C99-based-standards] (wcstof): Expect function.
40144         [C99-based-standards] (wcstold): Likewise.
40145         [C99-based-standards] (wcstoll): Likewise.
40146         [C99-based-standards] (wcstoull): Likewise.
40147         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40148         macro-int-constant.  Specify type.
40149         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40150         constraint on value.
40151         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40152         Specify type.
40153         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40154         Specify value.
40155         [ISO C standards]: Do not allow headers.
40156         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40157         wcs[abcdefghijklmnopqrstuvwxyz]*.
40158         [ISO C standards] (*_t): Do not allow.
40159         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40160         Expect function.
40161         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40162         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40163         Specify type.
40164         [ISO C standards]: Do not allow headers.
40165         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40166         is[abcdefghijklmnopqrstuvwxyz]*.
40167         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40168         to[abcdefghijklmnopqrstuvwxyz]*.
40169         [ISO C standards] (*_t): Do not allow.
40170         * conform/data/stdalign.h-data: New file.
40171         * conform/data/stdbool.h-data: Likewise.
40172         * conform/data/stdnoreturn.h-data: Likewise.
40174 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40176         [BZ #14815]
40177         * manual/filesys.texi (Directory Entries): Typo fix.
40178         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40180 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40182         * elf/elf.h (EM_AARCH64): New macro.
40183         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40184         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40185         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40186         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40187         (R_AARCH64_TLSDESC): Likewise.
40188         (NT_ARM_TLS): Likewise.
40189         (NT_ARM_HW_BREAK): Likewise.
40190         (NT_ARM_HW_WATCH): Likewise.
40192 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40194         [BZ #14811]
40195         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40196         (__ieee754_powl): Saturate nonzero exponents with absolute value
40197         below 0x1p-79 to +/- 0x1p-79.
40198         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40199         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40200         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40201         nonzero exponents with absolute value below 0x1p-32 to +/-
40202         0x1p-32.
40203         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40204         (__ieee754_powl): Saturate nonzero exponents with absolute value
40205         below 0x1p-79 to +/- 0x1p-79.
40206         * math/libm-test.inc (pow_test): Add more tests.
40208 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40210         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40211         _dl_s390_cap_flags with kernel. Increase string length.
40212         (_dl_s390_platforms): Add z196 and zEC12.
40214 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40216         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40217         Change XOPEN21K to XOPEN2K.
40219 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40221         * string/memmove.c: Use memcpy when possible.
40223 2012-11-06  Andreas Jaeger  <aj@suse.de>
40225         * po/eo.po: Update from translation team.
40227 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40229         [BZ #14793]
40230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40231         exponent and small x and y exponents, scale x or y up.  Increase
40232         by 2 the exponent used in scaling up.
40233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40234         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40235         * math/libm-test.inc (fma_test): Add more tests.
40236         (fma_test_towardzero): Likewise.
40237         (fma_test_downward): Likewise.
40238         (fma_test_upward): Likewise.
40240 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40242         [BZ #14805]
40243         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40244         fenv_t *.
40246         [BZ #14801]
40247         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40248         namespace for names of struct fields.
40249         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40250         fenv_t fields.
40251         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40252         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40254 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40256         [BZ #3665]
40257         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40259 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40261         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40262         PTR_DEMANGLE.
40264         [BZ #5246]
40265         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40266         PTR_DEMANGLE.
40268 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40270         [BZ #14797]
40271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40272         definitely overflow as x * y not x * y + z.
40273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40275         * math/libm-test.inc (fma_test): Add more tests.
40276         (fma_test_towardzero): Likewise.
40277         (fma_test_downward): Likewise.
40278         (fma_test_upward): Likewise.
40280 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40282         [BZ #157]
40284         * include/stub-tag.h: Remove file.
40285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40286         '#include' of it.
40287         * manual/maint.texi (Porting): Don't reference it.
40288         * Makerules ($(objpfx)stubs): Likewise.
40289         * dirent/closedir.c: Don't include <stub-tag.h>.
40290         * dirent/dirfd.c: Likewise.
40291         * dirent/fdopendir.c: Likewise.
40292         * dirent/getdents.c: Likewise.
40293         * dirent/getdents64.c: Likewise.
40294         * dirent/opendir.c: Likewise.
40295         * dirent/readdir.c: Likewise.
40296         * dirent/readdir64.c: Likewise.
40297         * dirent/readdir64_r.c: Likewise.
40298         * dirent/readdir_r.c: Likewise.
40299         * dirent/rewinddir.c: Likewise.
40300         * dirent/seekdir.c: Likewise.
40301         * dirent/telldir.c: Likewise.
40302         * gmon/profil.c: Likewise.
40303         * grp/setgroups.c: Likewise.
40304         * inet/if_index.c: Likewise.
40305         * io/access.c: Likewise.
40306         * io/chdir.c: Likewise.
40307         * io/chmod.c: Likewise.
40308         * io/chown.c: Likewise.
40309         * io/close.c: Likewise.
40310         * io/dup.c: Likewise.
40311         * io/dup2.c: Likewise.
40312         * io/dup3.c: Likewise.
40313         * io/euidaccess.c: Likewise.
40314         * io/faccessat.c: Likewise.
40315         * io/fchdir.c: Likewise.
40316         * io/fchmod.c: Likewise.
40317         * io/fchmodat.c: Likewise.
40318         * io/fchown.c: Likewise.
40319         * io/fchownat.c: Likewise.
40320         * io/fcntl.c: Likewise.
40321         * io/flock.c: Likewise.
40322         * io/fstatfs.c: Likewise.
40323         * io/fstatfs64.c: Likewise.
40324         * io/fstatvfs.c: Likewise.
40325         * io/fstatvfs64.c: Likewise.
40326         * io/futimens.c: Likewise.
40327         * io/fxstat.c: Likewise.
40328         * io/fxstat64.c: Likewise.
40329         * io/fxstatat.c: Likewise.
40330         * io/fxstatat64.c: Likewise.
40331         * io/getcwd.c: Likewise.
40332         * io/isatty.c: Likewise.
40333         * io/lchmod.c: Likewise.
40334         * io/lchown.c: Likewise.
40335         * io/link.c: Likewise.
40336         * io/linkat.c: Likewise.
40337         * io/lseek.c: Likewise.
40338         * io/lseek64.c: Likewise.
40339         * io/lxstat64.c: Likewise.
40340         * io/mkdir.c: Likewise.
40341         * io/mkdirat.c: Likewise.
40342         * io/mkfifo.c: Likewise.
40343         * io/mkfifoat.c: Likewise.
40344         * io/open.c: Likewise.
40345         * io/open64.c: Likewise.
40346         * io/openat.c: Likewise.
40347         * io/openat64.c: Likewise.
40348         * io/pipe.c: Likewise.
40349         * io/pipe2.c: Likewise.
40350         * io/poll.c: Likewise.
40351         * io/posix_fadvise.c: Likewise.
40352         * io/posix_fadvise64.c: Likewise.
40353         * io/posix_fallocate.c: Likewise.
40354         * io/posix_fallocate64.c: Likewise.
40355         * io/read.c: Likewise.
40356         * io/readlink.c: Likewise.
40357         * io/readlinkat.c: Likewise.
40358         * io/rmdir.c: Likewise.
40359         * io/sendfile.c: Likewise.
40360         * io/sendfile64.c: Likewise.
40361         * io/statfs.c: Likewise.
40362         * io/statfs64.c: Likewise.
40363         * io/statvfs.c: Likewise.
40364         * io/statvfs64.c: Likewise.
40365         * io/symlink.c: Likewise.
40366         * io/symlinkat.c: Likewise.
40367         * io/ttyname.c: Likewise.
40368         * io/ttyname_r.c: Likewise.
40369         * io/umask.c: Likewise.
40370         * io/unlink.c: Likewise.
40371         * io/unlinkat.c: Likewise.
40372         * io/utime.c: Likewise.
40373         * io/utimensat.c: Likewise.
40374         * io/write.c: Likewise.
40375         * io/xmknod.c: Likewise.
40376         * io/xmknodat.c: Likewise.
40377         * io/xstat.c: Likewise.
40378         * io/xstat64.c: Likewise.
40379         * login/getpt.c: Likewise.
40380         * login/grantpt.c: Likewise.
40381         * login/unlockpt.c: Likewise.
40382         * math/e_acoshl.c: Likewise.
40383         * math/e_acosl.c: Likewise.
40384         * math/e_asinl.c: Likewise.
40385         * math/e_atan2l.c: Likewise.
40386         * math/e_atanhl.c: Likewise.
40387         * math/e_coshl.c: Likewise.
40388         * math/e_expl.c: Likewise.
40389         * math/e_fmodl.c: Likewise.
40390         * math/e_gammal_r.c: Likewise.
40391         * math/e_hypotl.c: Likewise.
40392         * math/e_j0l.c: Likewise.
40393         * math/e_j1l.c: Likewise.
40394         * math/e_jnl.c: Likewise.
40395         * math/e_lgammal_r.c: Likewise.
40396         * math/e_log10l.c: Likewise.
40397         * math/e_log2l.c: Likewise.
40398         * math/e_logl.c: Likewise.
40399         * math/e_powl.c: Likewise.
40400         * math/e_rem_pio2l.c: Likewise.
40401         * math/e_sinhl.c: Likewise.
40402         * math/e_sqrtl.c: Likewise.
40403         * math/fclrexcpt.c: Likewise.
40404         * math/fedisblxcpt.c: Likewise.
40405         * math/feenablxcpt.c: Likewise.
40406         * math/fegetenv.c: Likewise.
40407         * math/fegetexcept.c: Likewise.
40408         * math/fegetround.c: Likewise.
40409         * math/feholdexcpt.c: Likewise.
40410         * math/fesetenv.c: Likewise.
40411         * math/fesetround.c: Likewise.
40412         * math/feupdateenv.c: Likewise.
40413         * math/fgetexcptflg.c: Likewise.
40414         * math/fraiseexcpt.c: Likewise.
40415         * math/fsetexcptflg.c: Likewise.
40416         * math/ftestexcept.c: Likewise.
40417         * math/k_cosl.c: Likewise.
40418         * math/k_rem_pio2l.c: Likewise.
40419         * math/k_sinl.c: Likewise.
40420         * math/k_tanl.c: Likewise.
40421         * math/s_asinhl.c: Likewise.
40422         * math/s_atanl.c: Likewise.
40423         * math/s_cbrtl.c: Likewise.
40424         * math/s_erfl.c: Likewise.
40425         * math/s_expm1l.c: Likewise.
40426         * math/s_log1pl.c: Likewise.
40427         * math/s_tanhl.c: Likewise.
40428         * misc/acct.c: Likewise.
40429         * misc/brk.c: Likewise.
40430         * misc/chflags.c: Likewise.
40431         * misc/chroot.c: Likewise.
40432         * misc/fchflags.c: Likewise.
40433         * misc/fgetxattr.c: Likewise.
40434         * misc/flistxattr.c: Likewise.
40435         * misc/fremovexattr.c: Likewise.
40436         * misc/fsetxattr.c: Likewise.
40437         * misc/fsync.c: Likewise.
40438         * misc/ftruncate.c: Likewise.
40439         * misc/futimes.c: Likewise.
40440         * misc/futimesat.c: Likewise.
40441         * misc/getdomain.c: Likewise.
40442         * misc/getdtsz.c: Likewise.
40443         * misc/gethostid.c: Likewise.
40444         * misc/gethostname.c: Likewise.
40445         * misc/getloadavg.c: Likewise.
40446         * misc/getpagesize.c: Likewise.
40447         * misc/getsysstats.c: Likewise.
40448         * misc/getxattr.c: Likewise.
40449         * misc/gtty.c: Likewise.
40450         * misc/ioctl.c: Likewise.
40451         * misc/lgetxattr.c: Likewise.
40452         * misc/listxattr.c: Likewise.
40453         * misc/llistxattr.c: Likewise.
40454         * misc/lremovexattr.c: Likewise.
40455         * misc/lsetxattr.c: Likewise.
40456         * misc/lutimes.c: Likewise.
40457         * misc/madvise.c: Likewise.
40458         * misc/mincore.c: Likewise.
40459         * misc/mlock.c: Likewise.
40460         * misc/mlockall.c: Likewise.
40461         * misc/mmap.c: Likewise.
40462         * misc/mprotect.c: Likewise.
40463         * misc/msync.c: Likewise.
40464         * misc/munlock.c: Likewise.
40465         * misc/munlockall.c: Likewise.
40466         * misc/munmap.c: Likewise.
40467         * misc/preadv.c: Likewise.
40468         * misc/preadv64.c: Likewise.
40469         * misc/ptrace.c: Likewise.
40470         * misc/pwritev.c: Likewise.
40471         * misc/pwritev64.c: Likewise.
40472         * misc/readv.c: Likewise.
40473         * misc/reboot.c: Likewise.
40474         * misc/remap_file_pages.c: Likewise.
40475         * misc/removexattr.c: Likewise.
40476         * misc/revoke.c: Likewise.
40477         * misc/select.c: Likewise.
40478         * misc/setdomain.c: Likewise.
40479         * misc/setegid.c: Likewise.
40480         * misc/seteuid.c: Likewise.
40481         * misc/sethostid.c: Likewise.
40482         * misc/sethostname.c: Likewise.
40483         * misc/setregid.c: Likewise.
40484         * misc/setreuid.c: Likewise.
40485         * misc/setxattr.c: Likewise.
40486         * misc/sstk.c: Likewise.
40487         * misc/stty.c: Likewise.
40488         * misc/swapoff.c: Likewise.
40489         * misc/swapon.c: Likewise.
40490         * misc/sync.c: Likewise.
40491         * misc/syncfs.c: Likewise.
40492         * misc/syscall.c: Likewise.
40493         * misc/truncate.c: Likewise.
40494         * misc/ualarm.c: Likewise.
40495         * misc/usleep.c: Likewise.
40496         * misc/ustat.c: Likewise.
40497         * misc/utimes.c: Likewise.
40498         * misc/vhangup.c: Likewise.
40499         * misc/writev.c: Likewise.
40500         * posix/_exit.c: Likewise.
40501         * posix/alarm.c: Likewise.
40502         * posix/execve.c: Likewise.
40503         * posix/fexecve.c: Likewise.
40504         * posix/fork.c: Likewise.
40505         * posix/fpathconf.c: Likewise.
40506         * posix/getaddrinfo.c: Likewise.
40507         * posix/getegid.c: Likewise.
40508         * posix/geteuid.c: Likewise.
40509         * posix/getgid.c: Likewise.
40510         * posix/getgroups.c: Likewise.
40511         * posix/getlogin.c: Likewise.
40512         * posix/getlogin_r.c: Likewise.
40513         * posix/getpgid.c: Likewise.
40514         * posix/getpid.c: Likewise.
40515         * posix/getppid.c: Likewise.
40516         * posix/getresgid.c: Likewise.
40517         * posix/getresuid.c: Likewise.
40518         * posix/getsid.c: Likewise.
40519         * posix/getuid.c: Likewise.
40520         * posix/glob64.c: Likewise.
40521         * posix/nanosleep.c: Likewise.
40522         * posix/pathconf.c: Likewise.
40523         * posix/pause.c: Likewise.
40524         * posix/posix_madvise.c: Likewise.
40525         * posix/pread.c: Likewise.
40526         * posix/pread64.c: Likewise.
40527         * posix/pwrite.c: Likewise.
40528         * posix/pwrite64.c: Likewise.
40529         * posix/sched_getaffinity.c: Likewise.
40530         * posix/sched_getp.c: Likewise.
40531         * posix/sched_gets.c: Likewise.
40532         * posix/sched_primax.c: Likewise.
40533         * posix/sched_primin.c: Likewise.
40534         * posix/sched_rr_gi.c: Likewise.
40535         * posix/sched_setaffinity.c: Likewise.
40536         * posix/sched_setp.c: Likewise.
40537         * posix/sched_sets.c: Likewise.
40538         * posix/sched_yield.c: Likewise.
40539         * posix/setgid.c: Likewise.
40540         * posix/setlogin.c: Likewise.
40541         * posix/setpgid.c: Likewise.
40542         * posix/setresgid.c: Likewise.
40543         * posix/setresuid.c: Likewise.
40544         * posix/setsid.c: Likewise.
40545         * posix/setuid.c: Likewise.
40546         * posix/sleep.c: Likewise.
40547         * posix/spawni.c: Likewise.
40548         * posix/sysconf.c: Likewise.
40549         * posix/times.c: Likewise.
40550         * posix/wait.c: Likewise.
40551         * posix/wait3.c: Likewise.
40552         * posix/wait4.c: Likewise.
40553         * posix/waitpid.c: Likewise.
40554         * resolv/gai_sigqueue.c: Likewise.
40555         * resource/getpriority.c: Likewise.
40556         * resource/getrlimit.c: Likewise.
40557         * resource/getrusage.c: Likewise.
40558         * resource/nice.c: Likewise.
40559         * resource/setpriority.c: Likewise.
40560         * resource/setrlimit.c: Likewise.
40561         * resource/ulimit.c: Likewise.
40562         * rt/aio_cancel.c: Likewise.
40563         * rt/aio_fsync.c: Likewise.
40564         * rt/aio_read.c: Likewise.
40565         * rt/aio_sigqueue.c: Likewise.
40566         * rt/aio_suspend.c: Likewise.
40567         * rt/aio_write.c: Likewise.
40568         * rt/clock_getres.c: Likewise.
40569         * rt/clock_gettime.c: Likewise.
40570         * rt/clock_nanosleep.c: Likewise.
40571         * rt/clock_settime.c: Likewise.
40572         * rt/lio_listio.c: Likewise.
40573         * rt/mq_close.c: Likewise.
40574         * rt/mq_getattr.c: Likewise.
40575         * rt/mq_notify.c: Likewise.
40576         * rt/mq_open.c: Likewise.
40577         * rt/mq_receive.c: Likewise.
40578         * rt/mq_send.c: Likewise.
40579         * rt/mq_setattr.c: Likewise.
40580         * rt/mq_timedreceive.c: Likewise.
40581         * rt/mq_timedsend.c: Likewise.
40582         * rt/mq_unlink.c: Likewise.
40583         * rt/shm_open.c: Likewise.
40584         * rt/shm_unlink.c: Likewise.
40585         * rt/timer_create.c: Likewise.
40586         * rt/timer_delete.c: Likewise.
40587         * rt/timer_getoverr.c: Likewise.
40588         * rt/timer_gettime.c: Likewise.
40589         * rt/timer_settime.c: Likewise.
40590         * setjmp/__longjmp.c: Likewise.
40591         * setjmp/setjmp.c: Likewise.
40592         * signal/kill.c: Likewise.
40593         * signal/killpg.c: Likewise.
40594         * signal/raise.c: Likewise.
40595         * signal/sigaction.c: Likewise.
40596         * signal/sigaltstack.c: Likewise.
40597         * signal/sigblock.c: Likewise.
40598         * signal/sigignore.c: Likewise.
40599         * signal/sigintr.c: Likewise.
40600         * signal/signal.c: Likewise.
40601         * signal/sigpause.c: Likewise.
40602         * signal/sigpending.c: Likewise.
40603         * signal/sigqueue.c: Likewise.
40604         * signal/sigreturn.c: Likewise.
40605         * signal/sigset.c: Likewise.
40606         * signal/sigsetmask.c: Likewise.
40607         * signal/sigstack.c: Likewise.
40608         * signal/sigsuspend.c: Likewise.
40609         * signal/sigtimedwait.c: Likewise.
40610         * signal/sigvec.c: Likewise.
40611         * signal/sigwait.c: Likewise.
40612         * signal/sigwaitinfo.c: Likewise.
40613         * signal/sysv_signal.c: Likewise.
40614         * socket/accept.c: Likewise.
40615         * socket/accept4.c: Likewise.
40616         * socket/bind.c: Likewise.
40617         * socket/connect.c: Likewise.
40618         * socket/getpeername.c: Likewise.
40619         * socket/getsockname.c: Likewise.
40620         * socket/getsockopt.c: Likewise.
40621         * socket/isfdtype.c: Likewise.
40622         * socket/listen.c: Likewise.
40623         * socket/recv.c: Likewise.
40624         * socket/recvfrom.c: Likewise.
40625         * socket/recvmsg.c: Likewise.
40626         * socket/send.c: Likewise.
40627         * socket/sendmsg.c: Likewise.
40628         * socket/sendto.c: Likewise.
40629         * socket/setsockopt.c: Likewise.
40630         * socket/shutdown.c: Likewise.
40631         * socket/sockatmark.c: Likewise.
40632         * socket/socket.c: Likewise.
40633         * socket/socketpair.c: Likewise.
40634         * stdio-common/ctermid.c: Likewise.
40635         * stdio-common/cuserid.c: Likewise.
40636         * stdio-common/remove.c: Likewise.
40637         * stdio-common/rename.c: Likewise.
40638         * stdio-common/renameat.c: Likewise.
40639         * stdio-common/tempname.c: Likewise.
40640         * stdlib/getcontext.c: Likewise.
40641         * stdlib/makecontext.c: Likewise.
40642         * stdlib/setcontext.c: Likewise.
40643         * stdlib/swapcontext.c: Likewise.
40644         * stdlib/system.c: Likewise.
40645         * streams/fattach.c: Likewise.
40646         * streams/fdetach.c: Likewise.
40647         * streams/getmsg.c: Likewise.
40648         * streams/getpmsg.c: Likewise.
40649         * streams/putmsg.c: Likewise.
40650         * streams/putpmsg.c: Likewise.
40651         * sysdeps/unix/bsd/getpt.c: Likewise.
40652         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40653         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40654         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40656         Likewise.
40657         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40658         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40659         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40660         * sysvipc/msgctl.c: Likewise.
40661         * sysvipc/msgget.c: Likewise.
40662         * sysvipc/msgrcv.c: Likewise.
40663         * sysvipc/msgsnd.c: Likewise.
40664         * sysvipc/semctl.c: Likewise.
40665         * sysvipc/semget.c: Likewise.
40666         * sysvipc/semop.c: Likewise.
40667         * sysvipc/semtimedop.c: Likewise.
40668         * sysvipc/shmat.c: Likewise.
40669         * sysvipc/shmctl.c: Likewise.
40670         * sysvipc/shmdt.c: Likewise.
40671         * sysvipc/shmget.c: Likewise.
40672         * termios/tcdrain.c: Likewise.
40673         * termios/tcflow.c: Likewise.
40674         * termios/tcflush.c: Likewise.
40675         * termios/tcgetattr.c: Likewise.
40676         * termios/tcgetpgrp.c: Likewise.
40677         * termios/tcsendbrk.c: Likewise.
40678         * termios/tcsetattr.c: Likewise.
40679         * termios/tcsetpgrp.c: Likewise.
40680         * time/adjtime.c: Likewise.
40681         * time/clock.c: Likewise.
40682         * time/getitimer.c: Likewise.
40683         * time/gettimeofday.c: Likewise.
40684         * time/setitimer.c: Likewise.
40685         * time/settimeofday.c: Likewise.
40686         * time/stime.c: Likewise.
40687         * time/time.c: Likewise.
40689 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40691         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40692         /usr/old/bin.
40694         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40695         instead of spaces.
40696         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40698 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40700         [BZ #14796]
40701         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40702         FE_TONEAREST before applying Dekker multiplication and Knuth
40703         addition.  Clear inexact exceptions and check for exact zero
40704         results afterwards.
40705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40706         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40707         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40708         * math/libm-test.inc (fma_test): Add more tests.
40709         (fma_test_towardzero): Likewise.
40710         (fma_test_downward): Likewise.
40711         (fma_test_upward): Likewise.
40712         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40713         function.
40714         (libc_fesetround): New macro.
40715         (libc_fesetroundf): Likewise.
40716         (libc_fesetroundl): Likewise.
40717         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40718         function.
40719         (libc_fesetround_387): Likewise.
40720         (libc_fesetroundf): New macro.
40721         (libc_fesetround): Likewise.
40722         (libc_fesetroundl): Likewise.
40723         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40724         function.
40725         (libc_fesetroundf): New macro.
40726         (libc_fesetround): Likewise.
40727         (libc_fesetroundl): Likewise.
40728         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40729         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40730         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40731         libm_hidden_ver.
40732         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40733         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40734         libm_hidden_def.
40735         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40736         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40737         libm_hidden_ver.
40738         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40739         libm_hidden_def.
40741         [BZ #3439]
40742         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40743         integer constant usable in #if and use that to give value to enum
40744         constant.
40745         (FE_DIVBYZERO): Likewise.
40746         (FE_UNDERFLOW): Likewise.
40747         (FE_OVERFLOW): Likewise.
40748         (FE_INVALID): Likewise.
40749         (FE_INVALID_SNAN): Likewise.
40750         (FE_INVALID_ISI): Likewise.
40751         (FE_INVALID_IDI): Likewise.
40752         (FE_INVALID_ZDZ): Likewise.
40753         (FE_INVALID_IMZ): Likewise.
40754         (FE_INVALID_COMPARE): Likewise.
40755         (FE_INVALID_SOFTWARE): Likewise.
40756         (FE_INVALID_SQRT): Likewise.
40757         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40758         (FE_TONEAREST): Likewise.
40759         (FE_TOWARDZERO): Likewise.
40760         (FE_UPWARD): Likewise.
40761         (FE_DOWNWARD): Likewise.
40762         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40763         (FE_DIVBYZERO): Likewise.
40764         (FE_OVERFLOW): Likewise.
40765         (FE_UNDERFLOW): Likewise.
40766         (FE_INEXACT): Likewise.
40767         (FE_TONEAREST): Likewise.
40768         (FE_DOWNWARD): Likewise.
40769         (FE_UPWARD): Likewise.
40770         (FE_TOWARDZERO): Likewise.
40771         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40772         (FE_UNDERFLOW): Likewise.
40773         (FE_OVERFLOW): Likewise.
40774         (FE_DIVBYZERO): Likewise.
40775         (FE_INVALID): Likewise.
40776         (FE_TONEAREST): Likewise.
40777         (FE_TOWARDZERO): Likewise.
40778         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40779         (FE_OVERFLOW): Likewise.
40780         (FE_UNDERFLOW): Likewise.
40781         (FE_DIVBYZERO): Likewise.
40782         (FE_INEXACT): Likewise.
40783         (FE_TONEAREST): Likewise.
40784         (FE_TOWARDZERO): Likewise.
40785         (FE_UPWARD): Likewise.
40786         (FE_DOWNWARD): Likewise.
40787         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40788         (FE_DIVBYZERO): Likewise.
40789         (FE_OVERFLOW): Likewise.
40790         (FE_UNDERFLOW): Likewise.
40791         (FE_INEXACT): Likewise.
40792         (FE_TONEAREST): Likewise.
40793         (FE_DOWNWARD): Likewise.
40794         (FE_UPWARD): Likewise.
40795         (FE_TOWARDZERO): Likewise.
40797 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40799         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40801 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40803         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40804         commands.  Quote $PWD.
40805         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40806         -x" by "export".
40807         (remove_newlines): Remove.
40809 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40811         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40812         * stdlib/stdlib.h (atof): Moved to ...
40813         * include/bits/stdlib-float.h: Here.  New file.
40814         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40815         * stdlib/bits/stdlib-float.h: New file.
40816         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40817         -mno-sse -mno-mmx.
40818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40819         <xmmintrin.h>.
40821 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40823         * conform/conformtest.pl (@headers): Add fenv.h.
40824         * conform/data/fenv.h-data: New file.
40825         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40826         include of <math/fenv.h>.
40828         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40829         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40830         && !UNIX98].  Enables tests for XOPEN2K8.
40831         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40832         POSIX2008]: Likewise.
40834         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40835         (struct rusage): Do not expect type or its members.
40837         [BZ #3439]
40838         * math/math.h (FP_NAN): Define macro to integer constant usable in
40839         #if and use that to give value to enum constant.
40840         (FP_INFINITE): Likewise.
40841         (FP_ZERO): Likewise.
40842         (FP_SUBNORMAL): Likewise.
40843         (FP_NORMAL): Likewise.
40845 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40847         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40848         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40849         arguments.
40851 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40853         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40854         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40855         autoconf-time if not.
40856         * configure.in: Remove AC_PREREQ.
40858 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40860         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40861         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40862         of the internal implementation.
40864 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40866         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40867         except include of <misc/sys/syslog.h>.
40869 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40872         function returns with a NULL context exit with zero.
40874 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40876         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40878 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40880         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40881         (run_program_cmd): This.
40882         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40883         (tst_langinfo): New variable.  Use it.
40885 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40887         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40888         floating point opcodes.
40890 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40892         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40893         variable.
40895         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40897         * sysdeps/mach/hurd/powerpc: Remove directory.
40898         * sysdeps/mach/powerpc: Likewise.
40900 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40902         * scripts/check-local-headers.sh: Ignore c++ headers.
40904 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40906         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40907         __libc_cleanup_region_start argument.
40909 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40911         [BZ #14784]
40912         [BZ #14785]
40913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40914         x * y using scaling, not as x * y + z.
40915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40916         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40917         * math/libm-test.inc (fma_test): Add more tests.
40918         (fma_test_towardzero): Likewise.
40919         (fma_test_downward): Likewise.
40920         (fma_test_upward): Likewise.
40922 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40924         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40926 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40928         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40929         New variable.
40931 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40933         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40935 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40938         Fix sort order.
40939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40940         Likewise.
40942 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40945         Fix the order of the list for glibc 2.17.
40946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40947         Likewise.
40949 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40953 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40955         [BZ #14610]
40956         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40957         for low part of x being zero before using __atanl (y).
40958         * math/libm-test.inc (atan2_test): Add another test.
40960         * manual/install.texi (Configuring and compiling): Document
40961         general use of test-wrapper and test-wrapper-env.
40962         * INSTALL: Regenerated.
40964         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40965         (__fma): Do not extract and scale down low bits on after-rounding
40966         systems when result rounded to normal precision would have normal
40967         exponent.
40968         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40969         (__fmal): Do not extract and scale down low bits on after-rounding
40970         systems when result rounded to normal precision would have normal
40971         exponent.
40972         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40973         (__fmal): Do not extract and scale down low bits on after-rounding
40974         systems when result rounded to normal precision would have normal
40975         exponent.
40976         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40977         macro.
40978         (fma_test): Add more tests.
40979         (fma_test_towardzero): Likewise.
40980         (fma_test_downward): Likewise.
40981         (fma_test_upward): Likewise.
40983 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40985         * sysdeps/i386/tininess.h: Renamed to ...
40986         * sysdeps/x86/tininess.h: This.
40987         * sysdeps/x86_64/tininess.h: Removed.
40989 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40991         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40992         input.  Use $(build-program-cmd).
40993         ($(objpfx)tst-array1-static.out): Likewise.
40994         ($(objpfx)tst-array2.out): Likewise.
40995         ($(objpfx)tst-array3.out): Likewise.
40996         ($(objpfx)tst-array4.out): Likewise.
40997         ($(objpfx)tst-array5.out): Likewise.
40998         ($(objpfx)tst-array5-static.out): Likewise.
41000 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41002         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41003         if defined.
41005         * nss/nsswitch.h (nss_interface_function): Provide new
41006         macro for use with NSS functions.
41007         * grp/initgroups.c: Use new macro.
41008         * nss/getXXbyYY.c: Likewise.
41009         * nss/getXXbyYY_r.c: Likewise.
41010         * nss/getXXent.c: Likewise.
41011         * nss/getXXent_r.c: Likewise.
41012         * sysdeps/posix/getaddrinfo.c: Likewise.
41014 2012-10-30  Andreas Jaeger  <aj@suse.de>
41016         * po/ru.po: Update Russion translation from translation project.
41018 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41020         [BZ #14152]
41021         [BZ #14783]
41022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41023         result and shift together with sticky bit instead of replicating
41024         round-to-nearest rounding.
41025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41027         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41028         missing underflow exceptions.
41029         (fma_test_towardzero): Add more tests.
41030         (fma_test_downward): Likewise.
41031         (fma_test_upward): Likewise.
41033         [BZ #14047]
41034         * sysdeps/generic/tininess.h: New file.
41035         * sysdeps/i386/tininess.h: Likewise.
41036         * sysdeps/sh/tininess.h: Likewise.
41037         * sysdeps/x86_64/tininess.h: Likewise.
41038         * stdlib/tst-strtod-underflow.c: Likewise.
41039         * stdlib/tst-tininess.c: Likewise.
41040         * stdlib/strtod_l.c: Include <tininess.h>.
41041         (round_and_return): Do not set errno for exact underflow cases.
41042         Force an underflow exception when setting errno for underflow.
41043         Determine underflow based on rounding to normal precision if
41044         TININESS_AFTER_ROUNDING.
41045         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41046         ERANGE for exact underflow cases.
41047         * stdlib/Makefile (tests): Add tst-tininess and
41048         tst-strtod-underflow.
41049         ($(objpfx)tst-tininess): Use $(link-libm).
41050         ($(objpfx)tst-strtod-underflow): Likewise.
41052 2012-10-30  Andreas Jaeger  <aj@suse.de>
41054         [BZ#14767]
41055         * elf/Makefile (tests): Remove conditional for have-initfini-array
41056         since this is now always required and the variable does not exist
41057         anymore.
41058         (tests-static): Likewise.
41059         (modules-names): Likewise.
41061         * po/eo.po: Add Esperanto translation from translation project.
41063         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41064         merged with constructor/destructor.
41065         (init_array): Likewise.
41066         * elf/tst-array2dep.c (fini_array): Likewise.
41067         (init_array): Likewise.
41069 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41071         * manual/message.texi: Delete @cartouche tags.
41073 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41075         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41076         EOPNOTSUPP.
41077         * sysdeps/mach/hurd/fsync.c: Likewise.
41079         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41080         [_POSIX_REALTIME_SIGNALS]: Change condition to
41081         [_POSIX_REALTIME_SIGNALS > 0].
41083 2012-10-27  Andreas Jaeger  <aj@suse.de>
41085         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41086         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41087         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41088         [__WORDSIZE != 64]: Likewise.
41090 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41092         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41093         *  iconvdata/tst-tables.sh: Likewise.
41095 2012-10-25  David S. Miller  <davem@davemloft.net>
41097         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41098         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41099         of strtoull.
41101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41102         ifunc-impl-list.c
41103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41104         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41105         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41106         file.
41108 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41110         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41111         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41112         __getdirentries.
41114 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41115             Jim Blandy  <jimb@codesourcery.com>
41117         * scripts/cross-test-ssh.sh: New file.
41118         * manual/install.texi (Configuring and compiling): Document use of
41119         cross-test-ssh.sh.
41120         * INSTALL: Regenerated.
41122 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41124         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41125         EOPNOTSUPP.
41127 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41129         * Makeconfig (run-program-prefix): Fix comment.
41131 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41132             Jim Blandy  <jimb@codesourcery.com>
41134         * Makeconfig (test-wrapper): New variable,
41135         (test-wrapper-env): Likewise.
41136         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41137         (run-built-tests): Define to yes.
41138         (run-program-prefix): Use $(test-wrapper).
41139         (built-program-cmd): Likewise.
41140         * Rules (make-test-out): Use $(test-wrapper-env) and
41141         $(host-built-program-cmd).
41142         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41143         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41144         tst-pathopt.sh.
41145         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41146         $(test-wrapper-env) to tst-rtld-load-self.sh.
41147         ($(objpfx)order2.out): Use $(test-wrapper).
41148         ($(objpfx)tst-initorder.out): Likewise.
41149         ($(objpfx)tst-initorder2.out): Likewise.
41150         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41151         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41152         (test_wrapper_env): New variable.  Use it to run ld.so.
41153         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41154         Use it to run ld.so.
41155         (test_wrapper_env): Likewise.
41156         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41157         $(test-wrapper) to run-iconv-test.sh.
41158         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41159         (ICONV): Use $test_wrapper.
41160         * posix/Makefile ($(objpfx)globtest.out): Pass
41161         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41162         globtest.sh, not $(run-program-prefix).
41163         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41164         (test_wrapper): Likewise.
41165         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41166         set together with run_via_rtld_prefix.
41167         (run_program_prefix): Define in terms of test_wrapper and
41168         run_via_rtld_prefix.
41170 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41172         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41173         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41174         Targets removed.
41176         [BZ #14743]
41177         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41178         Declare __clock_getres, __clock_gettime, __clock_settime,
41179         __clock_nanosleep, and __clock_getcpuclockid.
41180         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41181         Remove librt_hidden_def (clock_gettime).
41182         * sysdeps/unix/clock_gettime.c: Likewise.
41183         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41184         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41185         * rt/clock_getres.c: Define __clock_getres as an alias.
41186         * sysdeps/posix/clock_getres.c: Likewise.
41187         * rt/clock_settime.c: Define __clock_settime as an alias.
41188         * sysdeps/unix/clock_settime.c: Likewise.
41189         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41190         * sysdeps/unix/clock_nanosleep.c: Likewise.
41191         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41192         * rt/clock-compat.c: New file.
41193         * rt/Makefile (librt-routines): Add clock-compat and move
41194         $(clock-routines) to ...
41195         (routines): ... here, new variable.
41196         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41197         Don't add get_clockfreq here.
41198         * rt/Versions (libc: GLIBC_2.17): New version set.
41199         Add clock_* symbols here.
41200         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41201         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41202         (GLIBC_2.17): Add clock_* symbols.
41203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41207         Likewise.
41208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41209         Likewise.
41210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41214         * NEWS: Mention the move.
41216         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41217         Use __open, __read, __close rather than their public counterparts.
41218         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41219         (__get_clockfreq_via_cpuinfo): Likewise.
41220         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41221         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41223         * config.h.in (HAVE_IFUNC): New #undef.
41224         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41225         was successful.
41226         * configure: Regenerated.
41228 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41230         * configure.in: Move READELF check to start of file.
41231         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41232         libc_cv_asm_gnu_indirect_function in the process.
41233         * configure: Regenerated.
41235 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41237         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41238         send the output to /dev/null.
41239         (libc_cv_cc_with_libunwind): Likewise.
41240         (libc_cv_as_noexecstack): Likewise.
41241         * configure: Regenerate.
41243 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41245         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41247         * posix/globtest.sh (TMPDIR): Do not set.
41248         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41249         (testout): Likewise.
41251 2012-10-24  Andreas Jaeger  <aj@suse.de>
41253         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41254         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41255         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41256         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41257         posix_fadvise64, posix_fallocate64.
41259         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41260         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41261         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41262         Likewise.
41263         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41264         Likewise.
41265         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41268         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41269         <bits/fcntl-linux.h>.
41270         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41272         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41273         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41274         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41275         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41276         [__WORDSIZE != 64]: Likewise.
41278 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41280         * Makeconfig (run-built-tests): New variable.
41281         * Rules [$(cross-compiling) = yes]: Change condition to
41282         [$(run-built-tests) = no].
41283         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41284         to [$(run-built-tests) = yes].
41285         * elf/Makefile [$(cross-compiling) = no]: Likewise
41286         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41287         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41288         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41289         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41290         * io/Makefile [$(cross-compiling) = no]: Likewise.
41291         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41292         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41293         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41294         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41295         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41296         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41297         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41298         * string/Makefile [$(cross-compiling) = no]: Likewise.
41300         * posix/Makefile ($(objpfx)globtest.out): Pass
41301         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41302         $(rtld-installed-name).
41303         * posix/globtest.sh (elf_objpfx): Remove variable.
41304         (rtld_installed_name): Likewise.
41305         (library_path): Likewise.
41306         (run_program_prefix): New variable.  Use for running globtest
41307         binary.
41309 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41310             Joseph Myers  <joseph@codesourcery.com>
41312         * Makeconfig (host-built-program-cmd): New variable.
41313         * elf/Makefile (tst-stackguard1-ARGS): Use
41314         $(host-built-program-cmd).
41315         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41316         (tst-spawn-ARGS): Likewise.
41317         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41319 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41320             Jim Blandy  <jimb@codesourcery.com>
41322         * Makeconfig (run-via-rtld-prefix): New variable.
41323         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41324         (built-program-cmd): Likewise.
41326 2012-10-22  Andreas Jaeger  <aj@suse.de>
41328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41329         __O_RSYNC if it exists, otherwise to O_SYNC.
41331 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41332             Joseph Myers  <joseph@codesourcery.com>
41334         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41335         /dev/null.
41336         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41337         from /dev/null
41338         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41339         /dev/null.
41341 2012-10-22  Andreas Jaeger  <aj@suse.de>
41343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41344         Define always.
41345         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41348         bits/fcntl-linux.h.
41350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41351         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41353         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41354         to __O_LARGEFILE.
41355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41356         to __O_LARGEFILE.
41358 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41359             Joseph Myers  <joseph@codesourcery.com>
41361         * config.make.in (NM): New variable.
41363 2012-10-21  Andreas Jaeger  <aj@suse.de>
41365         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41366         definitions and declarations that are provided by
41367         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41369 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41371         [BZ #14683]
41372         * elf/Makefile (tests-static): Add tst-leaks1-static.
41373         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41374         ($(objpfx)tst-leaks1-static): New rule.
41375         ($(objpfx)tst-leaks1-static-mem): Likewise.
41376         (tst-leaks1-static-ENV): New macro.
41377         * elf/dl-open.c (dl_open_worker): Check the main application
41378         only if SHARED is defined.
41379         * elf/tst-leaks1-static.c: New file.
41381 2012-10-20  Andreas Jaeger  <aj@suse.de>
41383         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41384         generic values for Linux.
41385         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41386         and declarations that are provided by <bits/fcntl-linux.h> and
41387         include <bits/fcntl-linux.h>.
41388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41389         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41391 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41393         * io/fcntl.h: Move include of <bits/types.h> to the top and
41394         include it unconditionally.
41396 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41398         * wcsmbs/Makefile (tests-ifunc): New variable.
41399         (tests): Add $(tests-ifunc).
41400         * wcsmbs/test-wcschr-ifunc.c: New file.
41401         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41402         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41403         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41404         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41405         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41407         * string/Makefile (tests-ifunc): New variable.
41408         (tests): Add $(tests-ifunc).
41409         * string/test-memccpy.c (TEST_NAME): New macro.
41410         * string/test-memchr.c (TEST_NAME): Likewise.
41411         * string/test-memcmp.c (TEST_NAME): Likewise.
41412         * string/test-memcpy.c (TEST_NAME): Likewise.
41413         * string/test-memmem.c (TEST_NAME): Likewise.
41414         * string/test-memmove.c (TEST_NAME): Likewise.
41415         * string/test-memset.c (TEST_NAME): Likewise.
41416         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41417         * string/test-stpcpy.c (TEST_NAME): Likewise.
41418         * string/test-stpncpy.c (TEST_NAME): Likewise.
41419         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41420         * string/test-strcasestr.c (TEST_NAME): Likewise.
41421         * string/test-strcat.c (TEST_NAME): Likewise.
41422         * string/test-strchr.c (TEST_NAME): Likewise.
41423         * string/test-strcmp.c(TEST_NAME): Likewise.
41424         * string/test-strcpy.c (TEST_NAME): Likewise.
41425         * string/test-strcspn.c (TEST_NAME): Likewise.
41426         * string/test-strlen.c (TEST_NAME): Likewise.
41427         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41428         * string/test-strncmp.c (TEST_NAME): Likewise.
41429         * string/test-strncpy.c (TEST_NAME): Likewise.
41430         * string/test-strnlen.c (TEST_NAME): Likewise.
41431         * string/test-strpbrk.c (TEST_NAME): Likewise.
41432         * string/test-strrchr.c (TEST_NAME): Likewise.
41433         * string/test-strspn.c (TEST_NAME): Likewise.
41434         * string/test-strstr.c (TEST_NAME): Likewise.
41435         * string/test-bcopy-ifunc.c: New file.
41436         * string/test-bzero-ifunc.c: Likewise.
41437         * string/test-memccpy-ifunc.c: Likewise.
41438         * string/test-memchr-ifunc.c: Likewise.
41439         * string/test-memcmp-ifunc.c: Likewise.
41440         * string/test-memcpy-ifunc.c: Likewise.
41441         * string/test-memmem-ifunc.c: Likewise.
41442         * string/test-memmove-ifunc.c: Likewise.
41443         * string/test-mempcpy-ifunc.c: Likewise.
41444         * string/test-memset-ifunc.c: Likewise.
41445         * string/test-rawmemchr-ifunc.c: Likewise.
41446         * string/test-stpcpy-ifunc.c: Likewise.
41447         * string/test-stpncpy-ifunc.c: Likewise.
41448         * string/test-strcasecmp-ifunc.c: Likewise.
41449         * string/test-strcasestr-ifunc.c: Likewise.
41450         * string/test-strcat-ifunc.c: Likewise.
41451         * string/test-strchr-ifunc.c: Likewise.
41452         * string/test-strchrnul-ifunc.c: Likewise.
41453         * string/test-strcmp-ifunc.c: Likewise.
41454         * string/test-strcpy-ifunc.c: Likewise.
41455         * string/test-strcspn-ifunc.c: Likewise.
41456         * string/test-strlen-ifunc.c: Likewise.
41457         * string/test-strncasecmp-ifunc.c: Likewise.
41458         * string/test-strncat-ifunc.c: Likewise.
41459         * string/test-strncmp-ifunc.c: Likewise.
41460         * string/test-strncpy-ifunc.c: Likewise.
41461         * string/test-strnlen-ifunc.c: Likewise.
41462         * string/test-strpbrk-ifunc.c: Likewise.
41463         * string/test-strrchr-ifunc.c: Likewise.
41464         * string/test-strspn-ifunc.c: Likewise.
41465         * string/test-strstr-ifunc.c: Likewise.
41467         * debug/Makefile (tests-ifunc): New variable.
41468         (tests): Add $(tests-ifunc).
41469         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41470         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41471         * debug/test-stpcpy_chk-ifunc.c: New file.
41472         * debug/test-strcpy_chk-ifunc.c: Likewise.
41474 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41476         [BZ #13601]
41477         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41478         header is not read in.
41480 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41482         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41483         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41484         directly.  Pass built executable to script as
41485         $(built-program-cmd).
41486         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41487         $testprogram without using LD_LIBRARY_PATH and $ldso.
41489         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41490         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41491         $(rtld-installed-name).
41492         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41493         (rtld_installed_name): Likewise.
41494         (library_path): Likewise.
41495         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41496         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41497         $(run-program-prefix) to tst-tables.sh.
41498         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41499         it to run tst-table-from and tst-table-to.
41500         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41501         Pass it to tst-table.sh.
41502         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41503         $(run-program-prefix) to tst-gettext.sh.
41504         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41505         tst-translit.sh.
41506         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41507         tst-gettext2.sh.
41508         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41509         to run tst-gettext.
41510         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41511         to run tst-gettext2.
41512         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41513         to run tst-translit.
41514         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41515         $(run-program-prefix) to tst-mtrace.sh.
41516         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41517         to run tst-mtrace.
41518         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41519         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41520         $(rtld-installed-name).
41521         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41522         (rtld_installed_name): Likewise.
41523         (run_program_prefix): New variable.  Use it to run wordexp-test.
41525         * Makeconfig (ARCH): Remove all definitions.
41526         (machine): Likewise.
41527         [ARCH]: Remove conditional code.
41528         [!objdir]: Give error.
41529         [!objdir] (objpfx): Remove.
41530         [!objdir] (common-objpfx): Likewise.
41531         [!objdir] (common-objdir): Likewise.
41532         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41533         AC_CONFIG_FILES call.
41534         * configure: Regenerated.
41536         [BZ #13888]
41537         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41538         or TMPDIR.
41539         (testout): Likewise.
41541         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41542         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41543         $(rtld-installed-name).
41544         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41545         (rtld_installed_name): Likwise.
41546         (runit): Remove function.
41547         (run_getconf): New variable,  Use it for running getconf binary.
41549 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41551         [BZ #14716]
41552         * string/test-memmem.c (check_result): New function.
41553         (do_one_test): Use it.
41554         (check1): New function.
41555         (test_main): Use it.
41557 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41559         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41561 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41563         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41564         (_G_LSEEK64): Likewise.
41565         (_G_MMAP64): Likewise.
41566         (_G_FSTAT64): Likewise.
41567         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41568         (_G_LSEEK64): Likewise.
41569         (_G_MMAP64): Likewise.
41570         (_G_FSTAT64): Likewise.
41571         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41572         unconditional.  Call __mmap64 directly.
41573         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41574         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41575         __lseek64 directly.
41576         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41577         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41578         __mmap64 directly.
41579         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41580         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41581         __lseek64 directly.
41582         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41583         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41584         __lseek64 directly.
41585         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41586         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41587         __lseek64 directly.
41588         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41589         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41590         __fxstat64 directly.
41591         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41592         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41593         unconditional.
41594         (freopen64) [!_G_OPEN64]: Remove conditional code.
41595         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41596         unconditional.
41597         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41598         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41599         unconditional.
41600         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41601         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41602         unconditional.
41603         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41604         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41605         unconditional.
41606         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41607         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41608         unconditional.
41609         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41610         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41611         unconditional.
41612         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41613         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41614         unconditional.
41615         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41617 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41619         [BZ #12140]
41620         * manual/memory.texi (Malloc Tunable Parameters): Add note
41621         about free list pointers overwriting some perturb bytes.
41622         Wording suggested by Roland McGrath.
41624 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41626         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41627         (lgamma_test): Likewise.
41628         (tgamma_test): Likewise.
41630 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41632         [BZ #14700]
41633         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41634         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41636 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41638         * NEWS: Mention BZ #14716.
41639         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41640         when removing AVAILABLE1_USES_J macro.
41642 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41644         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41645         (__bswap_64): __uint64_t for unsigned 64-bit int.
41647 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41649         * include/string.h (memmem): Declare libc hidden alias.
41650         * string/memmem.c (memmem): Define libc hidden alias.
41651         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41652         __read, __close instead of open, read, close.
41654 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41657         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41658         global and hidden.
41659         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41660         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41661         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41662         Likewise.
41663         (__rawmemchr_sse2): Likewise.
41664         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41665         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41666         (__strchr_sse2): Likewise.
41667         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41668         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41669         (__strcasecmp_sse2): Likewise.
41670         (__strncasecmp_sse2): Likewise.
41671         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41672         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41673         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41674         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41675         (__strrchr_sse2): Likewise.
41676         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41677         ifunc-impl-list.c.
41678         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41679         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41680         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41681         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41682         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41683         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41684         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41685         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41686         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41687         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41688         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41689         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41690         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41691         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41692         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41693         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41694         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41695         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41696         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41697         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41698         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41699         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41700         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41701         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41702         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41703         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41704         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41705         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41706         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41707         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41709         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41710         global and hidden.
41711         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41712         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41713         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41714         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41715         Likewise.
41716         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41717         Likewise.
41718         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41719         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41720         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41721         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41722         ifunc-impl-list.c.
41723         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41724         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41725         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41726         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41727         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41728         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41729         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41730         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41731         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41732         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41733         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41734         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41735         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41736         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41737         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41738         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41739         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41740         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41741         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41742         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41743         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41744         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41745         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41746         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41747         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41748         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41749         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41750         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41751         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41752         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41753         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41754         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41755         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41756         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41757         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41758         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41759         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41760         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41761         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41762         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41763         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41765         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41766         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41767         * include/ifunc-impl-list.h: New file.
41768         * misc/ifunc-impl-list.c: Likewise.
41769         * misc/Makefile (routines): Add ifunc-impl-list.
41770         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41771         * string/test-string.h: Include <ifunc-impl-list.h>.
41772         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41773         TEST_NAME]: New variables.
41774         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41775         are defined.
41776         (test_init): Call __libc_ifunc_impl_list to initialize
41777         func_list if TEST_IFUNC and TEST_NAME are defined.
41779         * string/Makefile (strop-tests): Add bcopy and bzero.
41780         * string/test-bcopy.c: New file.
41781         * string/test-bzero.c: Likewise.
41782         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41783         defined.
41784         * string/test-memset.c: Support bzero test if TEST_BZERO is
41785         defined.
41786         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41787         __libc_memmove.
41788         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41789         __libc_memset.
41790         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41791         of memset.
41793 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41795         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41796         * configure: Regenerated.
41798         * Makeconfig (+link-static-before-libc): Don't include
41799         $(link-static-libc).
41801         * libio/libio.h (_IO_pos_t): Remove.
41803 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41805         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41806         McGrath.
41808 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41810         * crypt/crypt-entry.c: Include fips-private.h.
41811         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41812         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41813         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41814         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41816 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41818         * crypt/crypt-private.h: Include stdbool.h.
41819         (_ufc_setup_salt_r): Return bool.
41820         * crypt/crypt-entry.c: Include errno.h.
41821         (__crypt_r): Return NULL with EINVAL for bad salt.
41822         * crypt/crypt_util.c (bad_for_salt): New.
41823         (_ufc_setup_salt_r): Check that salt is long enough and within
41824         the specified alphabet.
41825         * crypt/badsalttest.c: New file.
41826         * crypt/Makefile (tests): Add it.
41827         ($(objpfx)badsalttest): New.
41829 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41831         * NEWS: Add entry for BZ #14602.
41833 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41835         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41836         type-generic.
41837         * math/libm-test.inc: Update comment listing what functions and
41838         macros are tested.
41839         (isgreater_test): New function.
41840         (isgreaterequal_test): Likewise.
41841         (isless_test): Likewise.
41842         (islessequal_test): Likewise.
41843         (islessgreater_test): Likewise.
41844         (isunordered_test): Likewise.
41845         (main): Call the new functions.
41847 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41849         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41850         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41851         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41852         * sysdeps/i386/configure: Regenerated.
41853         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41854         * sysdeps/mach/configure: Regenerated.
41855         * sysdeps/mach/hurd/configure: Regenerated.
41856         * sysdeps/powerpc/configure: Regenerated.
41857         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41858         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41859         * sysdeps/s390/s390-32/configure: Regenerated.
41860         * sysdeps/s390/s390-64/configure: Regenerated.
41861         * sysdeps/sh/configure: Regenerated.
41862         * sysdeps/sparc/configure: Regenerated.
41863         * sysdeps/unix/sysv/linux/configure: Regenerated.
41864         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41865         * sysdeps/x86_64/configure: Regenerated.
41867         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41868         defined.  Don't check if MAP is NULL.
41870 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41872         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41873         (_G_stat64): Likewise.
41874         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41875         (_G_stat64): Likewise.
41876         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41877         instead of struct _G_stat64.
41878         * libio/fileops.c (mmap_remap_check): Likewise.
41879         (decide_maybe_mmap): Likewise.
41880         (_IO_new_file_seekoff): Likewise.
41881         (_IO_file_stat): Likewise.
41882         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41883         _G_off64_t.
41884         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41885         instead of struct _G_stat64.
41886         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41888 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41890         [BZ #14602]
41891         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41892         Replace with ...
41893         (CHECK_EOL): New macro.
41894         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41895         CHECK_EOL.
41896         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41897         Replace with CHECK_EOL.
41898         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41899         Replace with CHECK_EOL.
41901 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41903         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41904         type-generic.
41905         * math/libm-test.inc: Update comment listing what functions and
41906         macros are tested.
41907         (finite_test): New function.
41908         (isinf_test): Likewise.
41909         (isnan_test): Likewise.
41910         (fpclassify_test): Test subnormal input.
41911         (isfinite_test): Likewise.
41912         (isnormal_test): Likewise.
41913         (main): Call the new functions.
41915 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41917         [BZ #14660]
41918         * Makerules (%.dynsym): Force C locale when running
41919         $(OBJDUMP) --dynamic-syms.
41921 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41923         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41924         <stdint.h>.
41926 2012-10-06  David S. Miller  <davem@davemloft.net>
41928         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41929         upper 32-bits of the length value in %o2 since we use branch-on-register
41930         tests which consider the entire 64-bit register.
41932 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41934         * string/test-strstr.c (check2): Add a test for page boundary.
41936 2012-10-05  David S. Miller  <davem@davemloft.net>
41938         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41939         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41940         file.
41941         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41942         sysdep_routines.
41943         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41944         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41945         and bzero when HWCAP_SPARC_CRYPTO is present.
41947 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41949         [BZ #14602]
41950         * string/test-strstr.c (check2): New function.
41951         (test_main): Call check2.
41953         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41954         and bug-strchr1.
41955         * string/bug-strcasestr1.c (do_test): Moved to ...
41956         * string/test-strcasestr.c (check1): Here.  New function.
41957         (do_one_test): Break out result checking code into ...
41958         (check_result): This.  New function.
41959         (do_one_test): Call check_result.
41960         (test_main): Call check1.
41961         * string/bug-strchr1.c (do_test): Moved to ...
41962         * string/test-strchr.c (check1): Here.  New function.
41963         (do_one_test): Break out result checking code into ...
41964         (check_result): This.  New function.
41965         (do_one_test): Call check_result.
41966         (test_main): Call check1.
41967         * string/bug-strstr1.c (main): Moved to ...
41968         * string/test-strstr.c (check1): Here.  New function.
41969         (do_one_test): Break out result checking code into ...
41970         (check_result): This.  New function.
41971         (do_one_test): Call check_result.
41972         (test_main): Call check1.
41973         * string/bug-strcasestr1.c: Removed.
41974         * string/bug-strchr1.c: Likewise.
41975         * string/bug-strstr1.c: Likewise.
41977         * elf/Makefile (dl-routines): Add hwcaps.
41978         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41979         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41980         (_dl_important_hwcaps): Moved to ...
41981         * elf/dl-hwcaps.c: Here.  New file.
41982         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41984         [BZ #14557]
41985         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41986         if IS_IN_rtld isn't defined.
41988         * elf/dl-support.c (_dl_sysinfo_map): New.
41989         Include "get-dynamic-info.h" and "setup-vdso.h".
41990         (_dl_non_dynamic_init): Call setup_vdso.
41991         * elf/dynamic-link.h: Don't include <assert.h>.
41992         (elf_get_dynamic_info): Moved to ...
41993         * elf/get-dynamic-info.h: Here.  New file.
41994         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41995         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41996         * elf/setup-vdso.h: Here.  New file.
41997         * elf/rtld.c: Include "setup-vdso.h".
41998         (dl_main): Call setup_vdso.
42000 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42002         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42003         creal in comment listing functions tested.  List finite, isinf,
42004         isnan, isless, islessequal, isgreater, isgreaterequal,
42005         islessgreater, isunordered, lgamma_r and pow10 as functions and
42006         macros not tested.  Mention which functions not tested are aliases
42007         for other functions.  Fix typo.  Note that signs of NaNs are not
42008         tested.
42010         * scripts/config.guess: Update from config.git.
42011         * scripts/config.sub: Likewise.
42013 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42015         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42016         * misc/madvise.c (madvise): Renamed to __madvise.
42017         Make madvise a weak alias.
42018         * include/sys/mman.h: Declare __madvise.
42019         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42020         * sysdeps/unix/syscalls.list
42021         (madvise): Make __madvise the strong name, and madvise a weak alias.
42022         * sysdeps/unix/sysv/linux/syscalls.list
42023         (madvise, mmap): Remove redundant entries.
42024         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42025         * malloc/malloc.c (mtrim): Likewise.
42026         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42028 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42030         * sysdeps/mach/hurd/dl-cache.c: File removed.
42031         * config.h.in (USE_LDCONFIG): New #undef.
42032         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42033         * configure: Regenerated.
42034         * elf/Makefile (dl-routines): Add dl-cache only under
42035         [$(use-ldconfig) = yes].
42036         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42037         cache on [USE_LDCONFIG].
42038         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42039         [USE_LDCONFIG].
42040         * elf/rtld.c (dl_main): Likewise.
42042 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42044         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42045         _SC_LEVEL4_CACHE_LINESIZE.
42047 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42049         * sysdeps/unix/bsd/confstr.h: File removed.
42051 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42053         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42054         sys/sdt-config.h.
42056 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42058         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42059         Make 'mapoff' field ElfW(Off) rather than off_t.
42061 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42063         * nscd/Makefile: Remove nscd-cflags and all its users.
42064         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42065         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42067         [BZ #10631]
42068         * malloc.c (malloc_printerr): Clarify error message.
42070 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42072         [BZ #14648]
42073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42074         Set bit_FMA_Usable if FMA is supported.
42075         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42076         macro.
42077         (bit_FMA4_Usable): Updated.
42078         (index_FMA_Usable): New macro.
42079         (CPUID_FMA): Likewise
42080         (HAS_FMA): Defined with bit_FMA_Usable.
42082 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42084         * bits/types.h (__swblk_t): Type removed.
42085         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42086         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42087         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42088         (__SWBLK_T_TYPE): Likewise.
42089         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42090         (__SWBLK_T_TYPE): Likewise.
42091         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42092         (__SWBLK_T_TYPE): Likewise.
42093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42094         (__SWBLK_T_TYPE): Likewise.
42096 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42097             Honza Horak <hhorak@redhat.com>
42099         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42100         (xdr_mapname): Use YPMAXMAP as maxsize.
42101         (xdr_peername): Use YPMAXPEER as maxsize.
42102         (xdr_keydat): Use YPAXRECORD as maxsize.
42103         (xdr_valdat): Use YPMAXRECORD as maxsize.
42105 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42107         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42109         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42110         * csu/init-first.c: ... here.
42111         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42112         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42113         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42114         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42115         * sysdeps/i386/init-first.c: File removed.
42116         * sysdeps/sh/init-first.c: File removed.
42118 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42120         [BZ #14645]
42121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42122         if x * y might underflow to zero and z is zero.
42123         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42124         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42125         * math/libm-test.inc (min_subnorm_value): New variable.
42126         (fma_test): Add more tests.
42127         (fma_test_towardzero): Likewise.
42128         (fma_test_downward): Likewise
42129         (fma_test_upward): Likewise.
42130         (initialize): Set min_subnorm_value.
42132 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42134         [BZ #14638]
42135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42136         0 + 0.
42137         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42138         mode for addition resulting in exact zero.
42139         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42141         exact 0 + 0.
42142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42144         * math/libm-test.inc (fma_test): Add more tests.
42145         (fma_test_towardzero): New function.
42146         (fma_test_downward): Likewise.
42147         (fma_test_upward): Likewise.
42148         (main): Call the new functions.
42150 2012-09-28  David S. Miller  <davem@davemloft.net>
42152         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42154 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42156         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42157         instead of SIGALRM.
42159         * sysdeps/gnu/_G_config.h: Moved to ...
42160         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42161         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42162         * sysdeps/generic/_G_config.h: ... here.
42164         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42166         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42168         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42169         Conditionalize target on [libnss_test1.so-version].
42171         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42173         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42174         (elfobjdir): Move out of conditionals.
42176         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42177         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42178         (__nss_lookup_function): Conditionalize label remove_from_tree on
42179         [!DO_STATIC_NSS || SHARED], matching its only use.
42181 2012-09-28  David S. Miller  <davem@davemloft.net>
42183         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42184         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42185         file.
42186         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42187         sysdep_routines.
42188         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42190         when HWCAP_SPARC_CRYPTO is present.
42192 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42194         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42196 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42198         [BZ #6530]
42199         * stdio-common/vfprintf.c (process_string_arg): Revert
42200         2000-07-22 change.
42202 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42204         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42205         for testcase.
42206         * stdio-common/tst-sprintf.c: Include <locale.h>
42207         (main): Test sprintf's handling of incomplete multibyte
42208         characters.
42210 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42212         * elf/dl-runtime.c (VERSYMIDX): Removed.
42213         * elf/dl-version.c (VERSYMIDX): Likewise.
42214         * elf/do-rel.h (VERSYMIDX): Likewise.
42215         (VALIDX): Likewise.
42216         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42217         * elf/rtld.c (VALIDX): Likewise.
42218         (ADDRIDX): Likewise.
42219         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42220         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42221         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42222         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42223         (VALIDX): Likewise.
42224         (ADDRIDX): Likewise.
42226 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42228         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42230 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42232         [BZ #11438]
42233         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42234         to global scope.
42235         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42236         addresses are in the same scope as 192.0.2/24.
42237         * posix/gai.conf: Document new scope table defaults.
42239 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42241         [BZ #5298]
42242         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42243         for ftell.  Compute offsets from write pointers instead.
42244         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42246 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42248         [BZ #14543]
42249         * libio/Makefile (tests): New test case tst-fseek.
42250         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42251         combination works in wide mode.
42252         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42253         state when the external buffer state changes.
42255 2012-09-27  David S. Miller  <davem@davemloft.net>
42257         [BZ #14376]
42258         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42259         pass reloc->r_addend in as the 'high' argument to
42260         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42264 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42266         * rt/tst-aio2.c: Include <pthread.h>.
42267         * rt/tst-aio3.c: Likewise.
42269 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42271         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42273 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42275         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42276         contents on [SHARED].
42278 2012-09-26  Marek Polacek  <polacek@redhat.com>
42280         [BZ #14530]
42281         [BZ #13741]
42282         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42283         for C++ and GCC <4.3 as well as for non GCC compilers.
42285 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42289 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42291         * Makefile.in (all, install): Declare with .PHONY.
42292         Reported by Michael Hope <michael.hope@linaro.org>.
42294 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42296         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42297         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42298         system header.
42299         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42300         Likewise.
42301         (sydep_routines): Add the new and the internal functions.
42302         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42303         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42305         (GLIBC_2.17): Add the new function.
42306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42307         (GLIBC_2.17): Likewise.
42308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42309         (GLIBC_2.17): Likewise.
42310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42311         (GLIBC_2.17): Likewise.
42312         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42314 2012-09-25  Alan Modra  <amodra@gmail.com>
42316         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42317         Add release barrier before setting once_control to say
42318         initialisation is done.  Add hints on lwarx.  Use macro in
42319         place of isync.
42320         (clear_once_control): Add release barrier.
42322 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42324         [BZ #13629]
42325         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42326         specially.
42327         * math/s_clog10.c (__clog10): Likewise.
42328         * math/s_clog10f.c (__clog10f): Likewise.
42329         * math/s_clog10l.c (__clog10l): Likewise.
42330         * math/s_clogf.c (__clogf): Likewise.
42331         * math/s_clogl.c (__clogl): Likewise.
42332         * math/Makefile (libm-calls): Add x2y2m1.
42333         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42334         (__x2y2m1): Likewise.
42335         (__x2y2m1l): Likewise.
42336         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42337         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42338         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42339         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42340         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42341         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42342         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42343         * sysdeps/i386/fpu/libm-test-ulps: Update.
42344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42346         [BZ #14621]
42347         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42348         int as type of variable DEPTH.
42349         (glob): Use size_t instead of int as type of variables NEWCOUNT
42350         and OLD_PATHC.
42352 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42354         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42355         Add s_sincosf-sse2.
42356         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42357         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42358         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42359         macros for using routine as __sincosf_ia32.
42360         Use macro for function declaration and weak_alias.
42361         * sysdeps/i386/fpu/libm-test-ulps: Update.
42363         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42366         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42367         subnormal argument.
42368         * math/s_cexpf.c (__cexpf): Likewise.
42369         * math/s_csinf.c (__csinf): Likewise.
42370         * math/s_csinhf.c (__csinhf): Likewise.
42371         * math/s_ctanf.c (__ctanf): Likewise.
42372         * math/s_ctanhf.c (__ctanhf): Likewise.
42373         * math/s_ccosh.c (__ccoshf): Likewise.
42374         * math/s_cexp.c (__cexpl): Likewise.
42375         * math/s_csin.c (__csin): Likewise.
42376         * math/s_csinh.c (__csinh): Likewise.
42377         * math/s_ctan.c (__ctan): Likewise.
42378         * math/s_ctanh.c (ctanh): Likewise.
42379         * math/s_ccoshl.c (__ccoshl): Likewise.
42380         * math/s_cexpl.c (__cexpl): Likewise.
42381         * math/s_csinl.c (__csinl): Likewise.
42382         * math/s_csinhl.c (__csinhl): Likewise.
42383         * math/s_ctanl.c (__ctanl): Likewise.
42384         * math/s_ctanhl.c (__ctanhl): Likewise.
42386 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42388         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42389         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42390         (_IO_off_t): Define to __off_t, not _G_off_t.
42391         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42392         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42393         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42394         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42395         type of __dummy and __dummy2 fields.
42396         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42397         (_G_ssize_t): Likewise.
42398         (_G_off_t): Likewise.
42399         (_G_pid_t): Likewise.
42400         (_G_uid_t): Likewise.
42401         (_G_wchar_t): Likewise.
42402         (_G_wint_t): Likewise.
42403         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42404         (_G_ssize_t): Likewise.
42405         (_G_off_t): Likewise.
42406         (_G_pid_t): Likewise.
42407         (_G_uid_t): Likewise.
42408         (_G_wchar_t): Likewise.
42409         (_G_wint_t): Likewise.
42410         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42411         (_G_ssize_t): Likewise.
42412         (_G_off_t): Likewise.
42413         (_G_pid_t): Likewise.
42414         (_G_uid_t): Likewise.
42415         (_G_wchar_t): Likewise.
42416         (_G_wint_t): Likewise.
42418 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42420         * malloc/arena.c: Include malloc-sysdep.h.
42421         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42422         is sufficient to shrink the heap or an unmap is needed.
42423         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42424         new function check_may_shrink_heap.
42425         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42426         new function check_may_shrink_heap.
42428 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42430         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42431         comments.
42433 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42435         * catgets/test-gencat.sh: Add "set -e".
42436         * elf/tst-pathopt.sh: Likewise.
42437         * grp/tst_fgetgrent.sh: Likewise.
42438         * iconvdata/run-iconv-test.sh: Likewise.
42439         * intl/tst-gettext.sh: Likewise.
42440         * intl/tst-gettext2.sh: Likewise.
42441         * intl/tst-gettext4.sh: Likewise.
42442         * intl/tst-gettext6.sh: Likewise.
42443         * intl/tst-translit.sh: Likewise.
42444         * io/ftwtest-sh: Likewise.
42445         * libio/test-freopen.sh: Likewise.
42446         * malloc/tst-mtrace.sh: Likewise.
42447         * posix/globtest.sh: Likewise.
42448         * posix/tst-getconf.sh: Likewise.
42449         * posix/wordexp-tst.sh: Likewise.
42450         * stdio-common/tst-printf.sh: Likewise.
42451         * stdio-common/tst-unbputc.sh: Likewise.
42452         * stdlib/tst-fmtmsg.sh: Likewise.
42453         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42454         * catgets/Makefile: Do not specify -e option when running
42455         testsuite shell scripts.
42456         * elf/Makefile: Likewise.
42457         * grp/Makefile: Likewise.
42458         * iconvdata/Makefile: Likewise.
42459         * intl/Makefile: Likewise.
42460         * io/Makefile: Likewise.
42461         * libio/Makefile: Likewise.
42462         * malloc/Makefile: Likewise.
42463         * posix/Makefile: Likewise.
42464         * stdio-common/Makefile: Likewise.
42465         * stdlib/Makefile: Likewise.
42466         * sysdeps/x86_64/Makefile: Likewise.
42468         * io/ftwtest-sh: Add copyright header.
42469         * posix/globtest.sh: Likewise.
42470         * posix/tst-getconf.sh: Likewise.
42471         * posix/wordexp-tst.sh: Likewise.
42472         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42474 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42476         [BZ #13679]
42477         * Makeconfig (+link): Defined as $(+link-static) if
42478         $(build-shared) isn't yes.
42479         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42480         isn't yes.
42481         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42483         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42485         [BZ #14562]
42486         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42487         new chunk size with MALLOC_ALIGN_MASK.
42489 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42491         [BZ #5044]
42492         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42493         <rounding-mode.h>.
42494         (__printf_fphex): Determine rounding using get_rounding_mode and
42495         round_away.
42496         * stdio-common/tst-printf-round.c (struct hex_test): New
42497         structure.
42498         (hex_tests): New variable.
42499         (test_hex_in_one_mode): New function.
42500         (do_test): Also run tests for hex float output.
42502 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42504         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42505         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42506         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42507         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42508         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42509         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42510         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42511         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42513 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42515         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42516         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42517         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42518         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42520 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42522         [BZ #14579]
42523         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42524         mode only.
42525         * elf/tst-rtld-load-self.sh: New test.
42526         * elf/Makefile: Run it.
42528 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42530         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42531         (tst-writev-ENV): Remove.
42532         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42534 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42536         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42538 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42540         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42541         unconditional.
42542         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42543         Likewise.
42544         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42545         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42546         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42547         Likewise.
42549 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42551         [BZ #14587]
42552         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42553         * config.make.in (have-cpp-asm-debuginfo): Removed.
42554         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42555         * configure: Regenerated.
42557 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42559         [BZ #5044]
42560         * stdio-common/printf_fp.c: Include <stdbool.h> and
42561         <rounding-mode.h>.
42562         (___printf_fp): Determine rounding using get_rounding_mode and
42563         round_away.
42564         * stdio-common/tst-printf-round.c: New file.
42565         * stdio-common/Makefile (tests): Add tst-printf-round.
42566         (link-libm): New variable.
42567         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42569 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42571         [BZ #14576]
42572         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42573         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42574         Likewise.
42575         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42576         Likewise.
42578 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42580         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42581         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42582         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42583         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42585 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42587         [BZ #14518]
42588         * include/rounding-mode.h: New file.
42589         * sysdeps/generic/get-rounding-mode.h: Likewise.
42590         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42591         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42592         (MAX_VALUE): New macro.
42593         (MIN_VALUE): Likewise.
42594         (overflow_value): New function.
42595         (underflow_value): Likewise.
42596         (round_and_return): Use overflow_value and underflow_value to
42597         determine return values in overflow and underflow cases.  Use
42598         round_away to determine rounding depending on rounding mode.
42599         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42600         determine return values in overflow and underflow cases.
42601         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42602         (struct test_results): New structure.
42603         (struct test): Use struct test_results to store expected results
42604         for all rounding modes.
42605         (TEST): Include expected results for all rounding modes.
42606         (test_in_one_mode): New function.
42607         (do_test): Use test_in_one_mode to compute and check results.
42608         Check results for all rounding modes.
42609         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42610         $(link-libm).
42612 2012-12-09  Allan McRae  <allan@archlinux.org>
42614         * sysdeps/i386/fpu/libm-test-ulps: Update
42616 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42618         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42619         (_G_int32_t): Likewise.
42620         (_G_uint16_t): Likewise.
42621         (_G_uint32_t): Likewise.
42622         (_G_HAVE_BOOL): Likewise.
42623         (_G_HAVE_ATEXIT): Likewise.
42624         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42625         (_G_HAVE_IO_FILE_OPEN): Likewise.
42626         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42627         (_G_int32_t): Likewise.
42628         (_G_uint16_t): Likewise.
42629         (_G_uint32_t): Likewise.
42630         (_G_HAVE_BOOL): Likewise.
42631         (_G_HAVE_ATEXIT): Likewise.
42632         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42633         (_G_HAVE_IO_FILE_OPEN): Likewise.
42634         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42635         (_G_int32_t): Likewise.
42636         (_G_uint16_t): Likewise.
42637         (_G_uint32_t): Likewise.
42638         (_G_HAVE_BOOL): Likewise.
42639         (_G_HAVE_ATEXIT): Likewise.
42640         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42641         (_G_HAVE_IO_FILE_OPEN): Likewise.
42643 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42645         * csu/libc-tls.c: Update copyright years.
42647 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42649         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42650         [!_G_USING_THUNKS]: Remove conditional code.
42651         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42652         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42654         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42655         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42656         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42657         (_G_VTABLE_LABEL_PREFIX): Likewise.
42658         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42659         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42660         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42661         (_G_VTABLE_LABEL_PREFIX): Likewise.
42662         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42663         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42664         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42665         (_G_VTABLE_LABEL_PREFIX): Likewise.
42666         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42668 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42670         * libio/Makefile: Include ../Makeconfig before tests.
42671         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42672         only if $(build-shared) is yes.
42674         * iconv/gconv_db.c: Update copyright years.
42676 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42678         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42679         unwind info if defined PIC. Fix special cases description.
42680         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42682         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42683         DP_HI_MASK entry.
42684         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42686 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42688         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42690         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42691         is NULL.
42693         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42694         (LDLIBS-tst-chk4): This.
42695         (LDFLAGS-tst-chk5): Renamed to ...
42696         (LDLIBS-tst-chk5): This.
42697         (LDFLAGS-tst-chk6): Renamed to ...
42698         (LDLIBS-tst-chk6): This.
42699         (LDFLAGS-tst-lfschk4): Renamed to ...
42700         (LDLIBS-tst-lfschk4): This.
42701         (LDFLAGS-tst-lfschk5): Renamed to ...
42702         (LDLIBS-tst-lfschk5): This.
42703         (LDFLAGS-tst-lfschk6): Renamed to ...
42704         (LDLIBS-tst-lfschk6): This.
42706         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42707         on $(common-objpfx)soversions.mk.
42709 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42711         [BZ #10014]
42712         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42713         example host name.
42715 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42717         * malloc/arena.c (arena_get_retry): New function that gets
42718         another arena for the caller to try its request on.
42719         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42720         current arena cannot fulfill the request.
42721         (__libc_memalign): Likewise.
42722         (__libc_memalign): Likewise.
42723         (__libc_pvalloc): Likewise.
42724         (__libc_calloc): Likewise.
42726 2012-09-05  John Tobey  <john.tobey@gmail.com>
42728         [BZ #13542]
42729         * manual/arith.texi (Operations on Complex): Fix description
42730         of carg branch cut.
42732 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42734         [BZ #10014]
42735         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42736         host name.
42738         [BZ #10038]
42739         * manual/memory.texi (Memory): Make order of menu items match
42740         order of sections.
42742 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42744         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42745         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42746         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42748 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42750         * csu/libc-tls.c (static_dtv): Renamed to ...
42751         (_dl_static_dtv): This.  Make it global.
42752         (_dl_initial_dtv): Removed.
42753         (__libc_setup_tls): Updated.
42754         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42755         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42756         DL_INITIAL_DTV.
42758 2012-09-06  Petr Machata  <pmachata@redhat.com>
42760         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42761         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42762         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42763         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42765 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42767         [BZ #14545]
42768         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42769         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42770         freeing dtv[-1].
42772 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42774         [BZ #14544]
42775         * Makeconfig (link-static-before-libc): Replace $(+prector)
42776         with $(+prectorT).
42777         (link-static-after-libc): Replace $(+postctor) with
42778         $(+postctorT).
42779         (link-bounded): Replace $(+prector)/$(+postctor) with
42780         $(+prectorT)/$(+postctorT).
42781         (+prectorT): New macro.
42782         (+postctorT): Likewise.
42784 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42786         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42787         (round_str): Handle values above the maximum for IBM long double
42788         as inexact.
42789         * stdlib/tst-strtod-round.c (tests): Regenerated.
42791 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42793         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42794         assembler flag.
42795         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42796         zarch_nohighgprs around the zarch optimized routines.
42797         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42798         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42799         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42800         for zarch.
42802 2012-09-05  David S. Miller  <davem@davemloft.net>
42804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42806         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42807         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42808         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42809         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42810         entries.
42812 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42814         * malloc/arena.c: Fold copyright years.
42815         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42817 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42819         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42821 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42823         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42825 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42827         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42828         change internal state upon failure.
42830 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42832         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42833         * malloc/memusage.c (mmap): Likewise.
42834         (mmap64, mremap): Likewise.  Adjust name in comment.
42836 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42838         * libio/fileops.c: Fix typos in comments.
42839         * libio/oldfileops.c: Likewise.
42840         * libio/wfileops.c: Likewise.
42842 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42844         [BZ #1349]
42845         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42846         (tst-malloc-usable-ENV): Set environment for test case.
42847         * malloc/hooks.c (malloc_check_get_size): New function to get
42848         requested size.
42849         * malloc/malloc.c (musable): Use malloc_check_get_size.
42850         * malloc/tst-malloc-usable.c: New test case.
42852 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42854         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42856 2012-09-05  Allan McRae  <allan@archlinux.org>
42858         [BZ #13966]
42859         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42860         determine header location.
42861         * configure: Regenerated.
42863 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42865         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42866         float format.
42867         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42868         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42869         format.
42870         (test): Regenerate.
42872 2012-09-04  David S. Miller  <davem@davemloft.net>
42874         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42875         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42876         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42878 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42880         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42881         failures.
42883         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42885 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42887         [BZ #9914]
42888         * libio/iogetdelim.c: Include <limits.h>.
42889         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42890         + len + 1 would overflow.
42892 2012-09-03  Andreas Jaeger  <aj@suse.de>
42894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42895         * sysdeps/i386/fpu/libm-test-ulps: Update.
42897 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42899         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42900         Add s_sinf-sse2, s_conf-sse2.
42902         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42903         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42904         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42905         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42907         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42908         for using routine as __sinf_ia32.
42909         Use macro for function declaration and weak_alias.
42910         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42911         for using routine as __cosf_ia32.
42912         Use macro for function declaration and weak_alias.
42914         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42915         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42917         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42918         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42921         * math/libm-test.inc (cos_test): Add more test cases.
42922         (sin_test): Likewise.
42923         (sincos_test): Likewise.
42925 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42927         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42928         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42929         hidden.
42930         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42932 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42934         [BZ #14538]
42935         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42936         first element of the GOT.
42937         (elf_machine_load_address): Return the difference between
42938         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42940 2012-09-01  Allan McRae  <allan@archlinux.org>
42942         [BZ #13412]
42943         * configure.in (AWK): Require gawk version 3.0 or later.
42944         * configure: Regenerated.
42946 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42948         * sysdeps/unix/sysv/linux/kernel-features.h
42949         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42950         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42951         [__NR_clock_getres]: Make code unconditional.
42952         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42953         (clock_getcpuclockid): Remove code left unreachable by removal of
42954         conditionals.
42955         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42956         code unconditional.
42957         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42958         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42959         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42960         Make code unconditional.
42961         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42962         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42963         * sysdeps/unix/sysv/linux/clock_settime.c
42964         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42965         conditional code.
42966         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42967         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42969 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42971         [BZ #14476]
42972         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42973         scripts/test-installation.pl.
42975         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42976         and $ld_so_version if it is set.
42978 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42980         [BZ #14516]
42981         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42982         failure if reading from procfs failed.
42983         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42985 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42987         * sysdeps/unix/sysv/linux/kernel-features.h
42988         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42989         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42990         Remove conditional code.
42991         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42992         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42993         Remove conditional code.
42994         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42995         * sysdeps/unix/sysv/linux/i386/fxstat.c
42996         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42997         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42998         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42999         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43000         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43001         * sysdeps/unix/sysv/linux/i386/lxstat.c
43002         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43003         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43004         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43005         Remove conditional code.
43006         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43007         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43008         Remove conditional code.
43009         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43010         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43011         <kernel-features.h>.
43012         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43013         Remove.
43014         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43015         Remove conditional code.
43016         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43017         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43018         Remove conditional.
43020 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43022         [BZ #5400]
43023         * NEWS: Add fixed bug number.
43025 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43027         [BZ #14519]
43028         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43029         underflowing exponent in case of negative sign.
43030         * stdlib/tst-strtod-round-data: Add more tests.
43031         * stdlib/tst-strtod-round.c (tests): Regenerated.
43033         [BZ #3479]
43034         * stdlib/strtod_l.c (NDIG): Remove.
43035         (HEXNDIG): Likewise.
43036         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43037         smallest representable value.
43038         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43039         lie within an exact representation of 1/2 ulp of the result.
43040         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43041         unconditionally.
43042         (TENS_P9_IDX): Define unconditionally.
43043         (TENS_P9_SIZE): Likewise.
43044         (TENS_P10_IDX): Likewise.
43045         (TENS_P10_SIZE): Likewise.
43046         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43047         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43048         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43049         entries for 10^2^13 and 10^2^14.
43050         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43051         (TENS_P13_IDX): Define.
43052         (TENS_P13_SIZE): Likewise.
43053         (TENS_P14_IDX): Likewise.
43054         (TENS_P14_SIZE): Likewise.
43055         (_fpioconst_pow10): Change array size to
43056         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43057         unconditional.
43058         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43059         1024]: Add entries for 10^2^13 and 10^2^14.
43060         [LAST_POW10 > _LAST_POW10]: Remove #error.
43061         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43062         (_fpioconst_pow10): Change array size to
43063         FPIOCONST_POW10_ARRAY_SIZE.
43064         * stdlib/gen-fpioconst.c: New file.
43065         * stdlib/gen-tst-strtod-round.c: Likewise.
43066         * stdlib/tst-strtod-round-data: Likewise.
43067         * stdlib/tst-strtod-round.c: Likewise.
43068         * stdlib/Makefile (tests): Add tst-strtod-round.
43070         [BZ #14459]
43071         * stdlib/strtod_l.c: Include <stdint.h>.
43072         (NDEBUG): Do not define.
43073         (round_and_return): Change EXPONENT parameter to type intmax_t.
43074         Rearrange calculations to avoid internal overflow possibilities.
43075         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43076         Rearrange calculations to avoid internal overflow possibilities.
43077         Assert that number fits inside MPNSIZE limbs.
43078         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43079         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43080         calculations and add assertions to avoid internal overflow
43081         possibilities.  Add casts to avoid signed/unsigned operations.
43082         * stdlib/tst-strtod-overflow.c: New file.
43083         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43085 2012-08-25  Marek Polacek  <polacek@redhat.com>
43087         * time/time.h: Fix some typos in comments.
43089 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43091         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43092         * posix/tst-rfc3484-2.c: Likewise.
43093         * posix/tst-rfc3484-3.c: Likewise.
43095 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43097         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43098         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43100 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43102         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43103         #include of fxstatat64.c.
43105 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43107         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43108         * shadow/getspent_r.c: Likewise.
43109         * shadow/getspnam.c: Likewise.
43110         * shadow/getspnam_r.c: Likewise.
43111         * gshadow/getsgent.c: Likewise.
43112         * gshadow/getsgent_r.c: Likewise.
43113         * gshadow/getsgnam.c: Likewise.
43114         * gshadow/getsgnam_r.c: Likewise.
43115         * inet/getnetbyad.c: Likewise.
43116         * inet/getnetbyad_r.c: Likewise.
43117         * inet/getnetbynm.c: Likewise.
43118         * inet/getnetbynm_r.c: Likewise.
43119         * inet/getnetent.c: Likewise.
43120         * inet/getnetent_r.c: Likewise.
43121         * inet/getproto.c: Likewise.
43122         * inet/getproto_r.c: Likewise.
43123         * inet/getprtent.c: Likewise.
43124         * inet/getprtent_r.c: Likewise.
43125         * inet/getprtname.c: Likewise.
43126         * inet/getprtname_r.c: Likewise.
43127         * inet/getrpcbyname.c: Likewise.
43128         * inet/getrpcbyname_r.c: Likewise.
43129         * inet/getrpcbynumber.c: Likewise.
43130         * inet/getrpcbynumber_r.c: Likewise.
43131         * inet/getrpcent.c: Likewise.
43132         * inet/getrpcent_r.c: Likewise.
43133         * inet/getaliasent.c: Likewise.
43134         * inet/getaliasent_r.c: Likewise.
43135         * inet/getaliasname.c: Likewise.
43136         * inet/getaliasname_r.c: Likewise.
43137         * nscd/getgrgid_r.c: Likewise.
43138         * nscd/getgrnam_r.c: Likewise.
43139         * nscd/gethstbyad_r.c: Likewise.
43140         * nscd/gethstbynm3_r.c: Likewise.
43141         * nscd/getpwnam_r.c: Likewise.
43142         * nscd/getpwuid_r.c: Likewise.
43143         * nscd/getsrvbynm_r.c: Likewise.
43144         * nscd/getsrvbypt_r.c: Likewise.
43145         * nscd/gai.c: Likewise.
43147         * configure.in (build_nscd): New substituted variable, set
43148         by --disable-build-nscd and defaults to $use_nscd.
43149         * configure: Regenerated.
43150         * config.make.in (build-nscd): New substituted variable.
43151         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43152         Change conditional to require [$(build-nscd) = yes] as well.
43153         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43155         [BZ# 13696]
43156         * configure.in (use_nscd): New substituted variable, set by
43157         --disable-nscd.  If enabled, define USE_NSCD.
43158         * configure: Regenerated.
43159         * config.h.in: Add USE_NSCD.
43160         * config.make.in (use-nscd): New substituted variable.
43161         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43162         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43163         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43164         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43165         (CFLAGS-getgrnam_r.c): Likewise.
43166         (CFLAGS-initgroups.c): Likewise.
43167         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43168         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43169         Variables removed.
43170         * inet/getnetgrent_r.c
43171         (nscd_setnetgrent): New function, broken out of ...
43172         (setnetgrent): ... here.  Call it.
43173         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43174         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43175         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43176         * nscd/Makefile (routines, aux): Move definitions after include of
43177         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43178         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43179         Conditionalize on [USE_NSCD].
43180         (is_nscd, nscd_init_cb): Likewise.
43181         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43182         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43183         * nss/nss_db/db-init.c: Likewise.
43184         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43185         [USE_NSCD].
43186         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43187         (make_request): Use it.
43188         (cache_valid_p): New function.
43189         (__check_pf): Use it.
43190         * NEWS: Add item for --disable-nscd.
43192 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43194         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43195         to support sed >= 4.2.1-20-ga9bf076.
43196         * configure: Regenerated.
43198 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43200         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43201         Conditionalize whole body on [IREL].
43203 2012-08-22  Jeff Law <law@redhat.com>
43205         [BZ #14505]
43206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43207         if the family is PF_UNSPEC.
43209 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43211         * Makerules (lib-version): Rename from V.
43212         (install-lib-nosubdir): Change V to lib-version.
43214 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43216         [BZ #14252]
43217         * powerpc32/power6/wcschr.c: New file.
43218         * powerpc32/power6/wcscpy.c: New file.
43219         * powerpc32/power6/wcsrchr.c: New file.
43220         * powerpc64/power6/wcschr.c: New file.
43221         * powerpc64/power6/wcscpy.c: New file.
43222         * powerpc64/power6/wcsrchr.c: New file.
43224 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43226         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43227         (two_way_short_needle): Use it.
43228         * string/strstr.c (AVAILABLE1_USES_J): Define.
43229         * string/strcasestr.c: Likewise.
43231         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43232         array references.
43233         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43235         [BZ #11607]
43236         * NEWS: Add an entry.
43237         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43238         define their defaults.
43239         (two_way_short_needle): Detect end-of-string on-the-fly.
43240         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43241         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43242         * string/bug-strcasestr1.c: New test.
43243         * string/Makefile: Run it.
43245 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43247         [BZ #11607]
43248         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43249         the first character.
43251 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43253         * csu/elf-init.c (__libc_csu_irel): Function removed.
43254         * csu/libc-start.c (apply_irel): New function.
43255         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43257 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43259         * sysdeps/unix/sysv/linux/kernel-features.h
43260         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43261         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43262         <kernel-features.h>.
43263         [__NR_fadvise64_64]: Make code unconditional.
43264         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43265         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43266         !__NR_fadvise64_64)]: Likewise.
43267         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43268         !__NR_fadvise64_64))]: Likewise.
43269         [__NR_fadvise64]: Make code unconditional.
43270         [!__NR_fadvise64]: Remove conditional code.
43271         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43272         <kernel-features.h>.
43273         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43274         unconditional.
43275         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43276         conditional code.
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43278         not include <kernel-features.h>.
43279         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43280         unconditional.
43281         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43282         conditional code.
43283         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43284         include <kernel-features.h>.
43285         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43286         unconditional.
43287         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43288         conditional code.
43290 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43292         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43293         slight instruction rearrangements per scrollpipe analysis.
43294         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43296 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43298         * manual/syslog.texi (syslog; vsyslog, closelog):
43299         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43300         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43302         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43303         DSOCAPS to match condition on defining it.
43305 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43307         * sysdeps/unix/sysv/linux/kernel-features.h
43308         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43310         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43311         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43313         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43314         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43316         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43317         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43319         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43320         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43322         * sysdeps/unix/sysv/linux/kernel-features.h
43323         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43324         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43325         unconditional.
43326         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43327         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43328         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43329         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43330         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43331         Make code unconditional.
43332         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43333         (__mmap64) [!__NR_mmap2]: Likewise.
43334         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43335         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43336         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43337         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43338         [__NR_mmap2]: Make code unconditional.
43339         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43340         (__mmap64) [!__NR_mmap2]: Likewise.
43342 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43344         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43346 2012-08-18  Andreas Jaeger  <aj@suse.de>
43348         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43350 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43352         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43353         * include/unistd.h (__have_sock_cloexec): Likewise.
43354         (__have_pipe2): Likewise.
43355         (__have_dup3): Likewise.
43357 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43359         [BZ #9685]
43360         * include/unistd.h (__have_pipe2): Change define into an extern int.
43361         (__have_dup3): Likewise.
43362         * socket/have_sock_cloexec.c: Include fcntl.h.
43363         (__have_pipe2): New variable.
43364         (__have_dup3): Likewise.
43366 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43368         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43370 2012-08-17  Marek Polacek  <polacek@redhat.com>
43372         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43373         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43375 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43377         * configure.in: Add AC_SUBST for sysheaders.
43378         * configure: Regenerated.
43379         * config.make.in (sysheaders): New substituted variable.
43381         * sysdeps/unix/mkfifo.c: Moved ...
43382         * sysdeps/posix/mkfifo.c: ... here.
43383         * sysdeps/unix/mkfifoat.c: Moved ...
43384         * sysdeps/posix/mkfifoat.c: ... here.
43386         * sysdeps/unix/utime.c: Moved ...
43387         * sysdeps/posix/utime.c: ... here.
43389         * sysdeps/unix/time.c: Moved ...
43390         * sysdeps/posix/time.c: ... here.
43391         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43392         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43394         * sysdeps/unix/nice.c: Moved ...
43395         * sysdeps/posix/nice.c: ... here.
43397         * sysdeps/unix/alarm.c: Moved ...
43398         * sysdeps/posix/alarm.c: ... here.
43400         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43402 2012-08-17  Jeff Law <law@redhat.com>
43404         * intl/Makefile (codeset_mo): New variable.
43405         ($(codeset_mo)): New target.
43406         (tst-codeset.out): Depend on that.  Remove explicit rule.
43407         (tst-gettext3.out, tst-gettext5.out): Likewise.
43408         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43409         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43410         * intl/tst-codeset.sh: Remove.
43411         * intl/tst-gettext3.sh: Likewise.
43412         * intl/tst-gettext5.sh: Likewise.
43414 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43416         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43417         * sysdeps/unix/syscalls.list: ... here.
43419         * sysdeps/posix/getaddrinfo.c
43420         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43421         (gaiconf_init, gaiconf_reload): Use them.
43422         [!_STATBUF_ST_NSEC]
43423         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43424         Define using time_t rather than struct timespec.
43426         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43427         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43428         Macros removed.
43429         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43430         [!NO_THREADS].
43431         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43432         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43433         Likewise.
43435         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43436         __libc_cleanup_push argument.
43438         * bits/param.h: New file.
43439         * misc/sys/param.h: New file.
43440         * include/sys/param.h: New file.
43441         * misc/Makefile (headers): Add bits/param.h.
43442         * sysdeps/generic/sys/param.h: File removed.
43443         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43444         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43445         * sysdeps/mach/hurd/bits/param.h: New file.
43446         * sysdeps/mach/hurd/sys/param.h: File removed.
43448         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43449         last change.
43451         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43452         [_IO_MTSAFE_IO].
43453         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43454         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43455         New macros.
43457         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43458         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43459         rather than -D_IO_MTSAFE_IO conditionally.
43460         * stdio-common/Makefile (CPPFLAGS): Likewise.
43461         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43462         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43463         Use $(libio-mtsafe).
43464         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43465         of -D_IO_MTSAFE_IO.
43466         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43467         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43468         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43469         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43470         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43471         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43472         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43473         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43474         (CFLAGS-fread_u_chk.c): Likewise.
43475         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43476         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43477         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43478         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43479         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43480         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43481         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43482         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43483         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43485         * libio/Makefile: Test [$(libc-reentrant) = yes]
43486         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43488         * Makeconfig
43489         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43490         * sysdeps/pthread/configure: File removed.
43491         * sysdeps/pthread/Makeconfig: New file.
43492         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43493         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43495 2012-08-16  Gary Benson  <gbenson@redhat.com>
43497         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43498         unmapping the first object in a namespace.
43500 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43502         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43503         (__internal_setnetgrent): ... this.  Add internal_function to
43504         definition.  Add libc_hidden_def.
43505         (setnetgrent): Update caller.
43506         (internal_endnetgrent): Renamed to ...
43507         (__internal_endnetgrent): ... this.  Add internal_function to
43508         definition.  Add libc_hidden_def.
43509         (endnetgrent): Update caller.
43510         (internal_getnetgrent_r): Renamed to ...
43511         (__internal_getnetgrent_r): ... this.  Add internal_function to
43512         definition.  Add libc_hidden_def.
43513         (__getnetgrent_r): Update caller.
43514         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43516 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43518         * stdlib/longlong.h: Update from GCC.
43520 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43522         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43523         on _QL, which is set by umul_ppmm but never used.
43524         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43525         variables, which are set by GMP macros but never used.
43526         * stdio-common/_itowa.c (_itowa): Likewise.
43527         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43528         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43530 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43532         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43533         struct La_sh_regs is not constant.
43534         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43535         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43536         and struct La_sparc64_regs are not constant.
43538 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43540         * sysdeps/unix/sysv/linux/kernel-features.h
43541         (__ASSUME_POSIX_TIMERS): Remove.
43542         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43543         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43544         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43545         Make code unconditional.
43546         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43547         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43548         Make code unconditional.
43549         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43550         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43551         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43552         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43553         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43554         Make code unconditional.
43555         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43556         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43557         (__libc_missing_posix_timers): Remove.
43559 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43561         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43562         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43564         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43566         * elf/dl-sym.c: Include <stdlib.h>.
43568         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43569         constants, which avoids warnings in 32-bit builds.
43571         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43572         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43574         * misc/lseek.c: File moved to ...
43575         * io/lseek.c: ... here.
43577         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43579         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43580         shifting LEN more than 31 bits at once.
43582 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43584         [BZ #14195]
43585         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43586         segmentation fault for a case of two empty input strings.
43587         * string/test-strncasecmp.c (check1): Renamed to...
43588         (bz12205): ...this.
43589         (bz14195): Add new testcase for two empty input strings and N > 0.
43590         (test_main): Call new testcase, adapt for renamed function.
43592 2012-08-15  Andreas Jaeger  <aj@suse.de>
43594         [BZ #14090]
43595         * crypt/md5test2.c: New test, based on test supplied by Serge
43596         Belyshev <belyshev@depni.sinp.msu.ru>.
43597         * crypt/Makefile (xtests): Add md5test-giant..
43598         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43600 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43602         [BZ #14090]
43603         * crypt/md5.c (md5_process_block): Don't assume the buffer
43604         length is less than 2**32.
43605         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43606         length is less than 2**64.
43608 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43610         * string/str-two-way.h: Include <sys/param.h>.
43611         (MAX): Macro removed.
43613         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43614         Move #define and #undef of memmove to just before and after
43615         including <string.h>.
43617         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43618         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43619         and after including <string.h>.  Move declarations of
43620         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43621         to before #include "string/memmove.c".
43623         * include/dirent.h: Declare __getdirentries.
43625         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43626         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43628 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43630         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43631         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43632         * sysdeps/i386/configure: Regenerated.
43633         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43634         STABS_CURRENT_FILE, and STABS_FUN.
43635         (END): Remove call to STABS_FUN_END.
43636         (STABS_CURRENT_FILE1): Delete.
43637         (STABS_CURRENT_FILE): Likewise.
43638         (STABS_FUN): Likewise.
43639         (STABS_FUN_END): Likewise.
43640         (STABS_FUN2): Likewise.
43641         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43642         * sysdeps/x86_64/configure: Regenerated.
43644 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43646         * elf/dl-open.c: Include <atomic.h>.
43647         * elf/dl-lookup.c: Likewise.
43649 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43651         * sysdeps/unix/sysv/linux/kernel-features.h
43652         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43653         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43654         unconditionally.
43655         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43656         unconditionally.
43657         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43658         condition on __ASSUME_CLONE_THREAD_FLAGS.
43660 2012-08-14  Andreas Jaeger  <aj@suse.de>
43662         * sysdeps/i386/fpu/libm-test-ulps: Update.
43664 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43666         * include/atomic.h (atomic_exchange_and_add): Split into ...
43667         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43668         New atomic macros.
43670 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43674 2012-08-13  Jeff Law <law@redhat.com>
43676         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43677         null byte in the output string.
43679 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43681         * sysdeps/unix/sysv/linux/kernel-features.h
43682         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43683         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43684         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43685         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43686         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43687         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43688         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43690 2012-08-09  Jeff Law <law@redhat.com>
43692         [BZ #13939]
43693         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43694         When avoid_arena is set, don't retry in the that arena.  Pick the
43695         next one, whatever it might be.
43696         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43697         (arena_lock): Pass in new parameter to arena_get2.
43698         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43699         arena_get2.
43700         (__libc_malloc): Unify retrying after main arena failure with
43701         __libc_memalign version.
43702         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43704 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43706         [BZ #14166]
43707         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43708         to __redirect_strstr.
43709         (__strstr_sse42): Use typeof __redirect_strstr.
43710         (__strstr_ia32): Likewise.
43711         (__libc_strstr): New prototype.
43712         (strstr): Renamed to ...
43713         (__libc_strstr): This.
43714         (strstr): New strong alias of __libc_strstr.
43715         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43716         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43717         __redirect_time.
43718         Include <time.h>.
43719         (__libc_time): New prototype.
43720         (time_ifunc): Replace time with __libc_time.
43721         (time): New strong alias and hidden definition of __libc_time.
43722         (__GI_time): Remove strong alias.
43723         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43724         Include <stddef.h>.
43725         (memmove): Redefined to __redirect_memmove.
43726         (__memmove_sse2): Use typeof __redirect_memmove.
43727         (__memmove_ssse3): Likewise.
43728         (__memmove_ssse3_back): Likewise.
43729         (__libc_memmove): New prototype.
43730         (memmove): Renamed to ...
43731         (__libc_memmove): This.
43732         (memmove): New strong alias of __libc_memmove.
43734 2012-08-08  Mark Salter  <msalter@redhat.com>
43736         * elf/elf.h
43737         (R_MN10300_TLS_GD): Define.
43738         (R_MN10300_TLS_LD): Likewise.
43739         (R_MN10300_TLS_LDO): Likewise.
43740         (R_MN10300_TLS_GOTIE): Likewise.
43741         (R_MN10300_TLS_IE): Likewise.
43742         (R_MN10300_TLS_LE): Likewise.
43743         (R_MN10300_TLS_DTPMOD): Likewise.
43744         (R_MN10300_TLS_DTPOFF): Likewise.
43745         (R_MN10300_TLS_TPOFF): Likewise.
43746         (R_MN10300_SYM_DIFF): Likewise.
43747         (R_MN10300_ALIGN): Likewise.
43748         (R_MN10300_NUM): Update.
43750 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43753         Remove.
43755 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43757         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43759         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43760         sysdeps/unix -> sysdeps/posix move.
43761         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43763 2012-08-07      Allan McRae     <allan@archlinux.org>
43765         [BZ #14303]
43766         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43767         (SUNOS_CPP): Likewise.
43768         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43769         not found.
43770         (open_input): Call CPP using execvp.
43772 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43774         * sysdeps/unix/sysv/linux/kernel-features.h
43775         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43776         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43777         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43778         (__ASSUME_WAITID_SYSCALL): Likewise.
43779         * sysdeps/unix/sysv/linux/dl-execstack.c
43780         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43781         code unconditional.
43782         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43783         conditional code.
43784         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43785         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43786         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43787         code.
43788         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43789         unconditional.
43790         [__ASSUME_WAITID_SYSCALL]: Likewise.
43791         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43793 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43795         * sysdeps/unix/closedir.c: Renamed to ...
43796         * sysdeps/posix/closedir.c: ... here.
43797         * sysdeps/unix/dirfd.c: Renamed to ...
43798         * sysdeps/posix/dirfd.c: ... here.
43799         * sysdeps/unix/dirstream.h: Renamed to ...
43800         * sysdeps/posix/dirstream.h: ... here.
43801         * sysdeps/unix/fdopendir.c: Renamed to ...
43802         * sysdeps/posix/fdopendir.c: ... here.
43803         * sysdeps/unix/opendir.c: Renamed to ...
43804         * sysdeps/posix/opendir.c: ... here.
43805         * sysdeps/unix/readdir.c: Renamed to ...
43806         * sysdeps/posix/readdir.c: ... here.
43807         * sysdeps/unix/readdir_r.c: Renamed to ...
43808         * sysdeps/posix/readdir_r.c: ... here.
43809         * sysdeps/unix/rewinddir.c: Renamed to ...
43810         * sysdeps/posix/rewinddir.c: ... here.
43811         * sysdeps/unix/seekdir.c: Renamed to ...
43812         * sysdeps/posix/seekdir.c: ... here.
43813         * sysdeps/unix/telldir.c: Renamed to ...
43814         * sysdeps/posix/telldir.c: ... here.
43815         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43816         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43817         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43818         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43820         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43821         * bits/fcntl.h: ... here.
43823         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43824         not 0.
43825         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43826         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43827         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43828         (struct flock): Move l_start, l_len to the beginning.
43829         Use __pid_t for l_pid.
43830         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43831         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43832         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43833         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43834         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43835         [__USE_LARGEFILE64] (struct flock64): New type.
43836         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43838         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43839         * bits/dirent.h: ... here.
43841         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43842         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43844 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43846         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43847         Change from 2.6.0 to 2.6.16.
43848         * sysdeps/unix/sysv/linux/configure: Regenerated.
43849         * sysdeps/unix/sysv/linux/kernel-features.h
43850         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43851         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43852         version.
43853         (__ASSUME_UTIMES): Likewise.
43854         (__ASSUME_CLONE_STOPPED): Remove.
43855         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43856         architectures, not kernel version.
43857         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43858         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43859         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43860         (__ASSUME_WAITID_SYSCALL): Likewise.
43861         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43862         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43863         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43864         refer to older versions.
43866 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43868         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43869         Define alphasort64 as an alias.
43870         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43871         Define versionsort64 as an alias.
43872         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43873         Define scandir64 as an alias.
43874         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43875         Define scandirat64 as an alias.
43876         * dirent/alphasort64.c (alphasort64):
43877         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43878         * dirent/versionsort64.c: Likewise.
43879         * dirent/scandir64.c: Likewise.
43880         * dirent/scandirat64.c: Likewise.
43881         * sysdeps/wordsize-64/alphasort.c: File removed.
43882         * sysdeps/wordsize-64/alphasort64.c: File removed.
43883         * sysdeps/wordsize-64/scandir.c: File removed.
43884         * sysdeps/wordsize-64/scandir64.c: File removed.
43885         * sysdeps/wordsize-64/scandirat.c: File removed.
43886         * sysdeps/wordsize-64/scandirat64.c: File removed.
43887         * sysdeps/wordsize-64/versionsort.c: File removed.
43888         * sysdeps/wordsize-64/versionsort64.c: File removed.
43889         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43890         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43891         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43892         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43893         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43894         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43895         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43896         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43898         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43900         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43901         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43902         [defined __arch64__ || defined __sparcv9]
43903         (__INO_T_MATCHES_INO64_T): New macro.
43904         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43905         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43906         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43907         * sysdeps/unix/sysv/linux/bits/dirent.h
43908         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43909         (_DIRENT_MATCHES_DIRENT64): New macro.
43911         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43912         Define lockf64 as an alias.
43913         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43914         Define fseeko64 as an alias.
43915         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43916         Define ftello64 as an alias.
43917         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43918         Define _IO_fgetpos64 and fgetpos64 as aliases.
43919         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43920         Define _IO_fsetpos64 and fsetpos64 as aliases.
43921         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43922         Conditionalize body on this.
43923         * libio/fseeko64.c: Likewise.
43924         * libio/ftello64.c: Likewise.
43925         * libio/iofgetpos64.c: Likewise.
43926         * libio/iofsetpos64.c: Likewise.
43927         * sysdeps/wordsize-64/lockf.c: File removed.
43928         * sysdeps/wordsize-64/lockf64.c: File removed.
43929         * sysdeps/wordsize-64/fseeko.c: File removed.
43930         * sysdeps/wordsize-64/fseeko64.c: File removed.
43931         * sysdeps/wordsize-64/ftello.c: File removed.
43932         * sysdeps/wordsize-64/ftello64.c: File removed.
43933         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43934         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43935         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43936         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43937         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43938         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43939         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43940         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43941         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43942         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43943         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43945         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43946         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43948         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43949         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43950         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43952         [defined __arch64__ || defined __sparcv9]
43953         (__OFF_T_MATCHES_OFF64_T): New macro.
43954         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43955         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43956         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43957         (__OFF_T_MATCHES_OFF64_T): New macro.
43959 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43961         * stdlib/secure-getenv.c (__secure_getenv): Replace
43962         GLIBC_2_16 with GLIBC_2_17.
43964 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43966         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43967         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43969 2012-08-03  David S. Miller  <davem@davemloft.net>
43971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43973 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43976         Remove.
43977         (__ASSUME_CORRECT_SI_PID): Likewise.
43978         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43979         (__ASSUME_TMPFS_NAME): Likewise.
43980         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43981         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43982         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43983         (HAVE_AUX_SECURE): Make definition unconditional.
43984         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43985         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43987 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43989         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43990         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43991         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43992         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43993         __eloop_threshold instead of SYMLOOP_MAX.
43995         * sysdeps/generic/eloop-threshold.h: New file.
43996         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43997         of MAXSYMLINKS.
43998         * elf/chroot_canon.c (chroot_canon): Likewise.
44000 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44002         [BZ #13717]
44003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44004         Change to 2.6.0 everywhere.
44005         * sysdeps/unix/sysv/linux/configure: Regenerated.
44006         * sysdeps/unix/sysv/linux/kernel-features.h
44007         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44008         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44009         kernel versions.
44010         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44011         (__ASSUME_FUTEX_REQUEUE): Remove.
44012         (__ASSUME_STATFS64): Define unconditionally.
44013         (__ASSUME_AT_SECURE): Likewise.
44014         (__ASSUME_CORRECT_SI_PID): Likewise.
44015         (__ASSUME_TGKILL): Define without depending on kernel version for
44016         i386.
44017         (__ASSUME_UTIMES): Likewise.
44018         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44019         kernel version.
44020         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44021         (__ASSUME_TMPFS_NAME): Likewise.
44022         * README: Update reference to Linux kernel versions.
44024 2012-08-02  Marek Polacek  <polacek@redhat.com>
44026         [BZ# 14150]
44027         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44028         libc_cv_asm_type_prefix with %.
44029         * configure: Regenerated.
44030         * include/libc-symbols.h: Remove comment about
44031         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44032         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44033         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44034         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44035         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44036         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44037         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44038         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44039         * elf/tst-unique2mod1.c: Likewise.
44040         * elf/tst-unique1mod2.c: Likewise.
44041         * elf/tst-unique1mod1.c: Likewise.
44042         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44043         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44044         Replace ASM_TYPE_DIRECTIVE with .type.
44045         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44046         * sysdeps/i386/sysdep.h: Likewise.
44047         * sysdeps/x86_64/sysdep.h: Likewise.
44048         * sysdeps/sh/sysdep.h: Likewise.
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44050         Do not define ASM_TYPE_DIRECTIVE.
44051         * sysdeps/powerpc/sysdep.h: Likewise.
44052         * sysdeps/powerpc/powerpc32/sysdep.h:
44053         Replace ASM_TYPE_DIRECTIVE with .type.
44054         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44055         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44056         * sysdeps/i386/fpu/e_powf.S: Likewise.
44057         * sysdeps/i386/fpu/e_expl.S: Likewise.
44058         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44059         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44060         * sysdeps/i386/fpu/e_pow.S: Likewise.
44061         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44062         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44063         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44064         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44065         * sysdeps/i386/fpu/e_log2.S: Likewise.
44066         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44067         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44068         * sysdeps/i386/fpu/e_powl.S: Likewise.
44069         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44070         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44071         * sysdeps/i386/fpu/e_logl.S: Likewise.
44072         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44073         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44074         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44075         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44076         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44077         * sysdeps/i386/fpu/e_log.S: Likewise.
44078         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44079         * sysdeps/i386/fpu/e_logf.S: Likewise.
44080         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44081         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44082         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44083         * sysdeps/i386/fpu/e_log10.S: Likewise.
44084         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44085         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44086         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44087         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44088         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44089         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44090         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44091         * sysdeps/i386/i686/strtok.S: Likewise.
44092         * sysdeps/i386/i386-mcount.S: Likewise.
44093         * sysdeps/i386/strtok.S: Likewise.
44094         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44095         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44096         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44097         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44098         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44099         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44100         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44101         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44102         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44103         * sysdeps/x86_64/_mcount.S: Likewise.
44104         * sysdeps/x86_64/strtok.S: Likewise.
44105         * sysdeps/sh/_mcount.S: Likewise.
44107 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44109         * libio/iofopen.c: Include <fcntl.h>.
44110         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44111         (_IO_fopen64, fopen64): Define as aliases.
44112         * libio/iofopen64.c: Include <fcntl.h>.
44113         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44114         Conditionalize body on this.
44115         * sysdeps/wordsize-64/iofopen.c: File removed.
44116         * sysdeps/wordsize-64/iofopen64.c: File removed.
44118 2012-08-01  Marek Polacek  <polacek@redhat.com>
44120         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44121         Use dlfcn directly instead of a variable.
44122         (binfmt-subdir): Do not define.
44123         (dlfcn): Likewise.
44125 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44127         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44128         Remove all definitions.
44129         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44130         <kernel-features.h>.
44131         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44132         (miss_F_GETOWN_EX): Remove all definitions.
44133         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44134         macro definition.
44135         [!__ASSUME_FCNTL64]: Remove conditional code.
44136         [__ASSUME_FCNTL64]: Make code unconditional.
44137         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44138         <kernel-features.h>.
44139         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44140         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44141         (lockf64) [__NR_fcntl64]: Make code unconditional.
44142         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44144         * sysdeps/unix/sysv/linux/kernel-features.h
44145         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44146         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44147         Make code unconditional.
44148         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44149         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44151         [__NR_vfork]: Make code unconditional.
44152         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44153         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44155         [__NR_vfork]: Make code unconditional.
44156         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44157         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44159 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44161         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44162         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44164         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44165         Define mkstemp64 as an alias.
44166         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44167         Define mkstemps64 as an alias.
44168         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44169         Define mkostemp64 as an alias.
44170         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44171         Define mkostemps64 as an alias.
44172         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44173         Conditionalize body on this.
44174         * misc/mkostemp64.c: Likewise.
44175         * misc/mkostemps64.c: Likewise.
44176         * misc/mkstemps64.c: Likewise.
44177         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44178         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44179         * sysdeps/wordsize-64/mkostemp.c: File removed.
44180         * sysdeps/wordsize-64/mkstemp.c: File removed.
44181         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44182         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44183         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44184         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44186         [BZ #14138]
44187         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44188         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44189         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44190         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44192         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44193         compat_symbol macros from <shlib-compat.h> rather than the underlying
44194         default_symbol_version and symbol_version macros, so that DEFAULT
44195         lines in shlib-versions are respected.
44196         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44198 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44200         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44201         Declare with warn_unused_result.
44202         (setgid, setregid, setegid, setresgid): Likewise.
44203         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44204         Likewise.
44205         * WUR-REPORT: Remove set*id functions.
44207 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44209         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44211 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44213         [BZ #10191]
44214         * include/sys/socket.h (__libc_accept, __libc_accept4):
44215         Add attribute_hidden.
44216         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44218         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44219         use of PTR_MANGLE.
44220         * inet/getnetgrent_r.c (setup): Likewise.
44222         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44224 2012-07-31  David S. Miller  <davem@davemloft.net>
44226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44228 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44230         [BZ #13629]
44231         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44232         value between 1.0 and 2.0 and smaller part has absolute value less
44233         than 1.0.
44234         * math/s_clog10.c (__clog10): Likewise.
44235         * math/s_clog10f.c (__clog10f): Likewise.
44236         * math/s_clog10l.c (__clog10l): Likewise.
44237         * math/s_clogf.c (__clogf): Likewise.
44238         * math/s_clogl.c (__clogl): Likewise.
44239         * math/libm-test.inc (clog_test): Add more tests.
44240         (clog10_test): Likewise.
44241         * sysdeps/i386/fpu/libm-test-ulps: Update.
44242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44244 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44246         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44247         Exit with zero in case no suitable GID is found, and write a
44248         message to standard error.
44250 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44252         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44253         rather than to 1.
44254         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44255         (MAXPATHLEN): Removed.
44256         (NOGROUP, NODEV): New macros.
44257         (setbit, clrbit, isset, isclr): New macros.
44258         (howmany, roundup, powerof2): New macros.
44259         (DEV_BSIZE): New macro.
44261         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44262         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44264         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44265         definition on [!__NO_LONG_DOUBLE_MATH].
44267         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44268         PTR_MANGLE and PTR_DEMANGLE.
44270         * socket/accept4.c (accept4): Rename to __libc_accept4.
44271         Define accept4 as a weak alias.
44273         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44274         on [_DIRENT_HAVE_D_TYPE].
44275         * io/ftw.c (ftw_dir): Likewise.
44277         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44279         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44281         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44282         Use the BSD numbers rather than the arbitrary ones we had.
44283         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44284         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44285         (SIGXCPU, SIGXFSZ): New macros.
44286         (_NSIG): Now 32.
44288         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44289         initializer on [_LIBC_REENTRANT].
44291         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44292         definitions inside [_POSIX_MAPPED_FILES].
44294         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44296         * dirent/opendir.c: Include <fcntl.h>.
44298         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44299         (__libc_getspecific): Likewise.
44300         (__libc_key_create): Likewise.
44302         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44303         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44304         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44305         (tmpfile64): Define as alias.
44306         * sysdeps/wordsize-64/tmpfile.c: File removed.
44307         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44308         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44309         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44311         * stdio-common/vfscanf.c: Include <stdbool.h>.
44312         * nss/makedb.c: Likewise.
44313         * stdio-common/_i18n_number.h: Likewise.
44314         * argp/argp-help.c: Likewise.
44315         * posix/wordexp.c: Likewise.
44316         * sysdeps/posix/spawni.c: Likewise.
44317         * nss/nss_files/files-initgroups.c: Likewise.
44318         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44319         * nss/nss_files/files-initgroups.c: Likewise.
44320         * nss/nss_db/db-netgrp.c: Likewise.
44321         * nss/nss_db/db-initgroups.c: Likewise.
44322         * io/fchmodat.c: Include <sys/stat.h>.
44324         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44325         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44327         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44328         [HAVE_MMAP].
44330         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44331         Add multiple inclusion protection.
44333 2012-07-27  David S. Miller  <davem@davemloft.net>
44335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44337 2012-07-27  Gary Benson  <gbenson@redhat.com>
44339         [BZ #14298]
44340         * elf/rtld.c: Include <stap-probe.h>.
44341         (dl_main): Added static probes "init_start" and "init_complete".
44342         * elf/dl-load.c: Include <stap-probe.h>.
44343         (lose): Take new parameter "nsid".
44344         Added static probe "map_failed".
44345         (_dl_map_object_from_fd): Pass namespace id to lose.
44346         Added static probe "map_start".
44347         (open_verify): Pass namespace id to lose.
44348         * elf/dl-open.c: Include <stap-probe.h>.
44349         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44350         and "reloc_complete".
44351         * elf/dl-close.c: Include <stap-probe.h>.
44352         (_dl_close_worker): Added static probes "unmap_start" and
44353         "unmap_complete".
44354         * elf/rtld-debugger-interface.txt: New file documenting the above.
44356 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44358         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44359         rather than a string variable.
44360         * sunrpc/rpc_main.c (h_output): Likewise.
44361         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44363 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44365         * inet/check_native.c: New file.
44367 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44369         [BZ #13629]
44370         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44371         if larger part has absolute value 1.0.
44372         * math/s_clog10.c (__clog10): Likewise.
44373         * math/s_clog10f.c (__clog10f): Likewise.
44374         * math/s_clog10l.c (__clog10l): Likewise.
44375         * math/s_clogf.c (__clogf): Likewise.
44376         * math/s_clogl.c (__clogl): Likewise.
44377         * math/libm-test.inc (clog_test): Add more tests.
44378         (clog10_test): Likewise.
44379         * sysdeps/i386/fpu/libm-test-ulps: Update.
44380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44382         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44383         (pltexit): Likewise.
44384         (La_regs): Likewise.
44385         (La_retval): Likewise.
44386         (int_retval): Likewise.
44387         Update #error for removed macros to refer only to definitions in
44388         tst-audit.h.
44389         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44390         macro.
44391         (pltexit): Likewise.
44392         (La_regs): Likewise.
44393         (La_retval): Likewise.
44394         (int_retval): Likewise.
44395         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44396         macro.
44397         (pltexit): Likewise.
44398         (La_regs): Likewise.
44399         (La_retval): Likewise.
44400         (int_retval): Likewise.
44401         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44402         macro.
44403         (pltexit): Likewise.
44404         (La_regs): Likewise.
44405         (La_retval): Likewise.
44406         (int_retval): Likewise.
44407         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44408         macro.
44409         (pltexit): Likewise.
44410         (La_regs): Likewise.
44411         (La_retval): Likewise.
44412         (int_retval): Likewise.
44413         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44414         macro.
44415         (pltexit): Likewise.
44416         (La_regs): Likewise.
44417         (La_retval): Likewise.
44418         (int_retval): Likewise.
44419         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44420         macro.
44421         (pltexit): Likewise.
44422         (La_regs): Likewise.
44423         (La_retval): Likewise.
44424         (int_retval): Likewise.
44425         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44426         macro definitions in tst-audit.h.
44427         * sysdeps/i386/tst-audit.h: New file.
44428         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44429         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44430         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44431         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44432         * sysdeps/sh/tst-audit.h: Likewise.
44433         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44434         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44435         * sysdeps/x86_64/tst-audit.h: Likewise.
44437 2012-07-26  Andreas Jaeger  <aj@suse.de>
44439         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44440         ptrace.
44442         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44443         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44444         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44445         PTRACE_O_MASK.
44446         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44447         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44448         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44450         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44451         value.
44453         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44454         _sigsys.
44455         (si_call_addr, si_syscall, si_arch): Define new macro.
44456         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44457         _sigsys.
44458         (si_call_addr, si_syscall, si_arch): Define new marcro.
44459         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44460         _sigsys.
44461         (si_call_addr, si_syscall, si_arch): Define new macro.
44462         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44463         _sigsys.
44464         (si_call_addr, si_syscall, si_arch): Define new macro.
44466 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44468         [BZ #13717]
44469         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44470         Change to 2.4.21 where previously 2.4.1.
44471         * sysdeps/unix/sysv/linux/configure: Regenerated.
44472         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44473         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44474         Linux kernel version.
44475         (__ASSUME_STD_AUXV): Remove.
44476         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44477         kernel version.
44478         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44479         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44480         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44481         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44482         (__ASSUME_NETLINK_SUPPORT): Likewise.
44483         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44484         (__no_netlink_support): Remove conditional definition.
44485         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44486         Remove.
44487         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44488         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44489         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44490         (if_nameindex_ioctl): Remove.
44491         (if_nameindex_netlink): Do not handle __no_netlink_support.
44492         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44493         code.
44494         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44495         Remove conditional code.
44496         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44497         code.
44498         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44499         unconditional.
44500         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44501         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44502         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44503         Remove.
44504         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44505         [!__ASSUME_STD_AUXV]: Remove conditional code.
44506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44507         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44508         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44510         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44511         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44512         code.
44513         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44515         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44516         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44517         conditional code.
44518         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44520         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44521         code.
44522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44523         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44524         conditional code.
44525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44526         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44527         code unconditional.
44528         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44529         conditional code.
44530         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44531         unconditional.
44532         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44533         conditional code.
44534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44535         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44536         unconditional.
44537         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44538         conditional code.
44539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44540         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44541         code unconditional.
44542         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44543         conditional code.
44544         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44545         unconditional.
44546         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44547         conditional code.
44548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44549         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44550         code unconditional.
44551         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44552         conditional code.
44553         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44554         unconditional.
44555         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44556         conditional code.
44558 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44560         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44561         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44562         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44563         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44564         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44565         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44566         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44567         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44568         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44569         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44570         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44571         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44572         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44573         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44574         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44575         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44576         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44577         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44578         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44580         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44581         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44582         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44584 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44586         * Versions.def: Add GLIBC_2.17.
44587         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44588         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44589         Introduce __libc_secure_getenv.
44590         * stdlib/Versions (2.17): Add secure_getenv
44591         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44592         * stdlib/secure-getenv.c: Rename __secure_getenv to
44593         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44594         symbol __secure_getenv for GLIBC_2.0.
44595         * stdlib/tst-secure-getenv.c: New.
44596         * stdlib/Makefile (tests): Add testcase.
44597         * manual/startup.texi (Environment Access): Document
44598         secure_getenv.
44599         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44600         __libc_secure_getenv.
44601         * inet/ruserpass.c (ruserpass): Likewise.
44602         * malloc/mtrace.c (mtrace): Likewise.
44603         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44604         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44605         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44606         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44607         HAVE_SECURE_GETENV.
44608         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44609         __secure_getenv to __libc_secure_getenv.
44610         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44612         Likewise.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44614         Likewise.
44615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44617         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44623 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44625         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44626         (struct La_i86_retval): Likewise.
44627         (struct La_x86_64_regs): Likewise.
44628         (struct La_x86_64_retval): Likewise.
44629         (struct La_x32_regs): Likewise.
44630         (struct La_x32_retval): Likewise.
44631         (struct La_ppc32_regs): Likewise.
44632         (struct La_ppc32_retval): Likewise.
44633         (struct La_ppc64_regs): Likewise.
44634         (struct La_ppc64_retval): Likewise.
44635         (struct La_sh_regs): Likewise.
44636         (struct La_sh_retval): Likewise.
44637         (struct La_s390_32_regs): Likewise.
44638         (struct La_s390_32_retval): Likewise.
44639         (struct La_s390_64_regs): Likewise.
44640         (struct La_s390_64_retval): Likewise.
44641         (struct La_sparc32_regs): Likewise.
44642         (struct La_sparc32_retval): Likewise.
44643         (struct La_sparc64_regs): Likewise.
44644         (struct La_sparc64_retval): Likewise.
44645         (struct audit_ifaces): Remove architecture-specific pltenter and
44646         pltexit members.
44647         * sysdeps/i386/ldsodefs.h: New file.
44648         * sysdeps/powerpc/ldsodefs.h: Likewise.
44649         * sysdeps/s390/ldsodefs.h: Likewise.
44650         * sysdeps/sh/ldsodefs.h: Likewise.
44651         * sysdeps/sparc/ldsodefs.h: Likewise.
44652         * sysdeps/x86_64/ldsodefs.h: Likewise.
44654 2012-07-25  Marek Polacek  <polacek@redhat.com>
44656         [BZ #6808]
44657         * math/libm-test.inc (yn_test): Add another test.
44658         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44659         to ERANGE when the result is +-Inf.
44660         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44661         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44662         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44663         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44665 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44667         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44668         equal to 0.
44669         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44670         clock_t.
44671         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44673 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44675         * configure.in <sysdeps resolving>: Correct printing
44676         Implies_before.
44677         * configure: Regenerate.
44679 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44681         * math/w_ilogb.c: Include <limits.h>.
44682         * math/w_ilogbl.c: Likewise.
44684 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44686         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44687         va_copy.  Document allowing for unavailable va_copy only as
44688         pre-C99 compatibility.
44689         * manual/string.texi (Copying and Concatenation): Use va_copy
44690         instead of __va_copy in concat example.
44692 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44694         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44695         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44696         it if not null.
44698         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44699         with O_NOLINK passed to __file_name_lookup.
44701         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44702         with O_NOLINK passed to __file_name_lookup.
44704         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44705         negative N or less than NGIDS.
44707         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44708         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44709         enough.  Use memcpy instead of strncpy.
44711 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44713         * elf/Makefile (check-data): Remove.
44714         (localplt.data): New vpath directive.
44715         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44716         instead of $(check-data).
44717         * scripts/data/localplt-generic.data: Move to ...
44718         * sysdeps/generic/localplt.data: ... here.
44719         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44720         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44721         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44723         ... here.
44724         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44726         ... here.
44727         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44729         ... here.
44730         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44732         ... here.
44733         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44735         ... here.
44736         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44738         ... here.
44740 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44742         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44743         PPC32 and PPC64 files.
44744         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44745         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44747 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44749         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44750         __makecontext_ret to ...
44751         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44752         ... here and call exit if uc_link is NULL.  New file.
44753         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44754         __makecontext_ret.S.
44755         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44756         __makecontext_ret to ...
44757         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44758         ... here and call exit if uc_link is NULL.  New file.
44759         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44760         __makecontext_ret.S.
44762 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44764         * elf/elf.h (R_390_IRELATIVE): New definition.
44765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44766         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44767         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44768         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44769         (elf_machine_lazy_rel): Likewise.
44770         * sysdeps/s390/dl-irel.h: New file.
44771         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44772         * sysdeps/s390/s390-64/memset.S: New asm code.
44773         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44774         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44775         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44776         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44777         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44778         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44779         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44780         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44781         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44782         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44783         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44784         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44785         * sysdeps/s390/s390-32/memset.S: New asm code.
44786         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44788 2012-07-17  Marek Polacek  <polacek@redhat.com>
44790         [BZ #14349]
44791         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44792         * sysdeps/s390/s390-64/configure.in: Likewise.
44793         * sysdeps/sparc/configure.in: Likewise.
44794         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44795         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44796         * sysdeps/i386/configure.in: Likewise.
44797         * sysdeps/x86_64/configure.in: Likewise.
44798         * sysdeps/sh/configure.in: Likewise.
44799         * sysdeps/s390/s390-32/configure: Regenerated.
44800         * sysdeps/s390/s390-64/configure: Likewise.
44801         * sysdeps/x86_64/configure: Likewise.
44802         * sysdeps/sh/configure: Likewise.
44803         * sysdeps/powerpc/powerpc64/configure: Likewise.
44804         * sysdeps/powerpc/powerpc32/configure: Likewise.
44805         * sysdeps/sparc/configure: Likwise.
44806         * sysdeps/i386/configure: Likewise.
44808         * elf/dl-open.c: Comment fixes.
44810 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44812         * Makefile [CXX] (check-data): Remove.
44813         [CXX] (c++-types.data): New vpath directive.
44814         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44815         vpath.  Do not allow for C++ type data being missing.
44816         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44817         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44818         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44819         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44820         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44821         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44822         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44824         ... here.
44825         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44827         ... here.
44828         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44830         ... here.
44831         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44833         ... here.
44834         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44836         ... here.
44837         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44839         ... here.
44840         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44842         ... here.
44843         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44846         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44847         definitions to architecture-specific files.
44848         (TLS_IE): Likewise.
44849         (TLS_LD): Likewise.
44850         (TLS_GD): Likewise.
44851         * sysdeps/i386/tls-macros.h: New file.
44852         * sysdeps/powerpc/tls-macros.h: Likewise.
44853         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44854         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44855         * sysdeps/sh/tls-macros.h: Likewise.
44856         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44857         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44858         * sysdeps/x86_64/tls-macros.h: Likewise.
44860 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44862         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44863         zero value for regular exit case.
44865         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44866         (__start_context): Preserve zero value for regular exit case.
44868 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44869             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44871         * manual/setjmp.texi (setcontext): Clarify normal process
44872         termination when uc_link is the null pointer.
44873         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44874         exit call.
44876 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44878         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44879         preprocessor.  Test for each exception mask separately.
44881 2012-07-16  Andreas Jaeger  <aj@suse.de>
44883         * po/ru.po: Update from translation team.
44885 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44887         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44888         equal to 0.
44889         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44890         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44891         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44892         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44895 2012-07-13  Andreas Jaeger  <aj@suse.de>
44897         * po/fr.po: Update from translation team.
44899 2012-07-12  Marek Polacek  <polacek@redhat.com>
44901         [BZ #14173]
44902         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44903         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44904         loop condition.
44906 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44908         [BZ #13717]
44909         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44910         Change to 2.4.1 where previously 2.4.0.
44911         * sysdeps/unix/sysv/linux/configure: Regenerated.
44912         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44913         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44914         version.
44915         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44916         (__ASSUME_AT_CLKTCK): Remove.
44917         (__ASSUME_AT_PAGESIZE): Likewise.
44918         (__ASSUME_AT_XID): Likewise.
44919         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44920         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44921         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44922         unconditionally.
44923         (HAVE_AUX_PAGESIZE): Likewise.
44924         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44925         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44926         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44928 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44930         [BZ #14307]
44931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44932         the temporary buffer used to invoke __gethostbyname2_r,
44933         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44934         host_data / struct gaih_addrtuple.
44935         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44936         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44937         header file nss/nsswitch.h.
44938         * nss/nsswitch.h (global scope): Add definition of implementation
44939         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44940         resolv/nss_dns/dns-host.c).
44942 2012-07-11  Andreas Jaeger  <aj@suse.de>
44944         * po/fr.po: Update from translation team.
44946         * po/sv.po: Update from translation team
44947         * po/fr.po: Another update from translation team.
44949 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44951         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44952         for subnormals or multiply small sinh result by itself.
44953         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44956 2012-07-11  David S. Miller  <davem@davemloft.net>
44958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44960 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44962         [BZ #14347]
44963         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44964         (INTERNAL_MARK): Shift it here.
44966 2012-07-10  Marek Polacek  <polacek@redhat.com>
44968         [BZ #14151]
44969         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44970         libc_cv_asm_global_directive with .globl.
44971         * configure: Regenerated.
44972         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44973         with .globl.
44974         * sysdeps/i386/configure: Regenerated.
44975         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44976         with .globl.
44977         * sysdeps/x86_64/configure: Regenerated.
44978         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44979         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44980         * elf/tst-unique2mod2.c: Likewise.
44981         * elf/tst-unique2mod1.c: Likewise.
44982         * elf/tst-unique1mod2.c: Likewise.
44983         * elf/tst-unique1mod1.c: Likewise.
44984         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44985         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44986         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44987         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44988         * sysdeps/mach/sysdep.h: Likewise.
44989         * sysdeps/i386/sysdep.h: Likewise.
44990         * sysdeps/i386/i386-mcount.S: Likewise.
44991         * sysdeps/x86_64/_mcount.S: Likewise.
44992         * sysdeps/x86_64/sysdep.h: Likewise.
44993         * sysdeps/sh/_mcount.S: Likewise.
44994         * sysdeps/sh/sysdep.h: Likewise.
44995         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44996         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44997         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44998         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44999         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45000         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45001         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45002         * locale/localeinfo.h: Likewise.
45003         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45004         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45006 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45008         [BZ #14336]
45009         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45010         system".
45011         * manual/message.texi (The Uniforum approach): Likewise.
45012         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45013         (glibc iconv Implementation): Likewise.
45015 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45017         [BZ #14337]
45018         * math/s_clog.c (__clog): Avoid scaling a value down where that
45019         could result in underflow.
45020         * math/s_clog10.c (__clog10): Likewise.
45021         * math/s_clog10f.c (__clog10f): Likewise.
45022         * math/s_clog10l.c (__clog10l): Likewise.
45023         * math/s_clogf.c (__clogf): Likewise.
45024         * math/s_clogl.c (__clogl): Likewise.
45025         * math/libm-test.inc (clog_test): Add more tests.
45026         (clog10_test): Likewise.
45027         * sysdeps/i386/fpu/libm-test-ulps: Update.
45028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45030 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45032         [BZ #14283]
45033         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45034         by 7 not 8 to examine high bit of fractional part.
45036         [BZ #14042]
45037         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45038         for call to __mcount_internal.
45039         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45040         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45041         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45043 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45045         [BZ #14154]
45046         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45047         approximation for values within 0x1p-13f of an odd multiple of
45048         pi/4.
45049         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45050         exception.  Add more tests.
45051         * sysdeps/i386/fpu/libm-test-ulps: Update.
45053         [BZ #6778]
45054         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45055         inputs and return -1 for them.  Do not check for +Inf in case not
45056         reachable for +Inf.
45057         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45058         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45059         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45060         and return -1 for them.  Do not check for +Inf in case not
45061         reachable for +Inf.
45062         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45063         define.
45064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45065         and return -1 for them.  Do not check for +Inf in case not
45066         reachable for +Inf.
45067         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45068         spurious underflow.
45069         * sysdeps/i386/fpu/libm-test-ulps: Update.
45070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45072 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45074         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45076 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45078         [BZ #14157]
45079         [BZ #14331]
45080         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45081         could result in spurious underflow.  Scale down values above
45082         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45083         * math/s_csqrtf.c (__csqrtf): Likewise.
45084         * math/s_csqrtl.c (__csqrtl): Likewise.
45085         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45086         spurious underflow.
45087         * sysdeps/i386/fpu/libm-test-ulps: Update.
45088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45090 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45092         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45093         xopen-msg.sed.
45094         * catgets/xopen-msg.awk: New file.
45095         * catgets/xopen-msg.sed: Removed.
45097         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45098         po2text.sed.
45099         * intl/po2test.awk: New file.
45100         * intl/po2test.sed: Removed.
45102 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45104         [BZ #14328]
45105         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45106         or multiply small sinh result by itself.
45107         * math/s_ctanf.c (__ctanf): Likewise.
45108         * math/s_ctanh.c (__ctanh): Likewise.
45109         * math/s_ctanhf.c (__ctanhf): Likewise.
45110         * math/s_ctanhl.c (__ctanhl): Likewise.
45111         * math/s_ctanl.c (__ctanl): Likewise.
45112         * math/libm-test.inc (ctan_test_tonearest): New function.
45113         (ctan_test_towardzero): Likewise.
45114         (ctan_test_downward): Likewise.
45115         (ctan_test_upward): Likewise.
45116         (ctanh_test_tonearest): Likewise.
45117         (ctanh_test_towardzero): Likewise.
45118         (ctanh_test_downward): Likewise.
45119         (ctanh_test_upward): Likewise.
45120         (main): Call these new functions.
45121         * sysdeps/i386/fpu/libm-test-ulps: Update.
45122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45124 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45126         * .gitignore: Delete /ports entry.
45128 2012-07-03  Andreas Jaeger  <aj@suse.de>
45130         * po/bg.po: Update from translation team.
45131         * po/cs.po: Likewise.
45132         * po/de.po: Likewise.
45133         * po/hr.po: Likewise.
45134         * po/nl.pl: Likewise.
45135         * po/pl.po: Likewise.
45136         * po/vi.po: Likewise.
45138 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45140         * Makeconfig [!+link] (+link-before-libc): New variable.
45141         [!+link] (+link-after-libc): Likewise.
45142         [!+link] (+link-tests): Likewise.
45143         [!+link] (+link): Define in terms of $(+link-before-libc) and
45144         $(+link-after-libc).
45145         [!+link-static] (+link-static-before-libc): New variable.
45146         [!+link-static] (+link-static-after-libc): Likewise.
45147         [!+link-static] (+link-static-tests): Likewise.
45148         [!+link-static] (+link-static): Define in terms of
45149         $(+link-static-before-libc) and $(+link-static-after-libc).
45150         [build-shared] (link-libc-before-gnulib): New variable.
45151         [build-shared] (link-libc-tests): Likewise.
45152         [build-shared] (link-libc): Define in terms of
45153         $(link-libc-before-gnulib).
45154         [!build-shared] (link-libc-tests): New variable.
45155         (link-libc-static-tests): New variable.
45156         [!gnulib] (gnulib-arch): New variable.
45157         [!gnulib] (gnulib-tests): Likewise.
45158         [!gnulib] (static-gnulib-arch): Likewise.
45159         [!gnulib] (static-gnulib-tests): Likewise.
45160         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45161         Define with "=" instead of ":=".
45162         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45163         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45164         * Rules (binaries-all-notests): New variable.
45165         (binaries-all-tests): Likewise.
45166         (binaries-static-notests): Likewise.
45167         (binaries-static-tests): Likewise.
45168         (binaries-all): Define using $(binaries-all-notests) and
45169         $(binaries-all-tests).
45170         (binaries-static): Define using $(binaries-static-notests) and
45171         $(binaries-static-tests).
45172         (binaries-shared-tests): New variable.
45173         (binaries-shared-notests): Likewise.
45174         (binaries-shared): Remove variable.
45175         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45176         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45177         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45178         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45179         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45180         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45181         * elf/Makefile (sln-modules): New variable.
45182         (extra-objs): Add $(sln-modules:=.o).
45183         (ldconfig-modules): Add static-stubs.
45184         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45185         * elf/static-stubs.c: New file.
45187         [BZ #14283]
45188         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45189         by 7 not 8 to examine high bit of fractional part.  Use volatile
45190         variables when splitting into final array of floats if
45191         __FLT_EVAL_METHOD__ != 0.
45192         * math/libm-test.inc (cos_test): Add another test.
45193         (sin_test): Likewise.
45194         * sysdeps/i386/fpu/libm-test-ulps: Update.
45196         [BZ #14273]
45197         * math/libm-test.inc (cosh_test): Add more tests.
45199         * version.h (RELEASE): Set to "development".
45200         (VERSION): Set to "2.16.90".
45202 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45204         * NEWS: Update copyright. Remove last-updated date.
45205         Mention math library bug fixes and timezone data changes.
45206         * README: Mention GNU/Hurd, x32, and HPPA support status.
45208 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45210         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45212 2012-06-27  Andreas Jaeger  <aj@suse.de>
45214         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45216 2012-06-25  Andreas Jaeger  <aj@suse.de>
45218         * sysdeps/s390/fpu/libm-test-ulps: Update.
45220 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45221             Thomas Schwinge  <thomas@codesourcery.com>
45223         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45224         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45225         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45226         fanotify_mark.
45228 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45230         * sysdeps/mach/start.c: Remove file.
45231         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45232         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45233         * sysdeps/sh/init-first.c: Likewise.
45235         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45236         registers for frame unwinding purposes, add CFI directives.
45237         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45238         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45239         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45240         Likewise.
45242         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45243         __fortify_fail returning.
45244         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45246         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45247         sysdeps/sh/____longjmp_chk.S.
45248         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45249         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45250         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45251         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45253         * sysdeps/sh/abort-instr.h: New file.
45254         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45255         process in case exit returns.
45257         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45258         initialize the GOT register before use.
45260         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45261         calculation of ARGC > 4.
45263         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45264         meaningful names to some local labels.
45266 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45267             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45269         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45270         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45271         (__arch_compare_and_exchange_val_16_acq): Likewise.
45272         (__arch_compare_and_exchange_val_32_acq): Likewise.
45273         (atomic_exchange_and_add): Fix gUSA sequence.
45274         (atomic_add): Likewise.
45275         (atomic_add_negative): Likewise.
45276         (atomic_add_zero): Likewise.
45277         (atomic_bit_test_set): Likewise.
45279 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45281         [BZ #13579]
45282         * include/link.h (struct link_map): Add l_free_initfini.
45283         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45284         l_initfini.
45285         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45286         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45287         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45288         set.
45290 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45292         * configure.in: Use AC_LANG_SOURCE.
45293         * configure: Regenerate.
45295 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45297         * configure.in (libc_cv_localstatedir): New substituted variable.
45298         * configure: Regenerated.
45299         * config.make.in (localstatedir): New variable, substituted from
45300         libc_cv_localstatedir.
45301         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45302         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45303         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45304         * sysdeps/gnu/configure: Regenerated.
45306 2012-06-21  Jeff Law  <law@redhat.com>
45308         [BZ #14277]
45309         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45310         free.  Simplify list management for _LIBC case.
45312 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45314         [BZ #14273]
45315         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45316         Clear sign bit of 64-bit integer value before comparing against
45317         overflow value.
45319         * sysdeps/mach/configure: Regenerated.
45321 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45323         [BZ #14278]
45324         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45326 2012-06-21  Jeff Law  <law@redhat.com>
45328         [BZ #13882]
45329         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45330         uint16_t for elements in the "seen" array to avoid char overflows.
45331         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45332         * elf/dl-open.c (dl_open_worker): Likewise.
45334 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45336         * scripts/list-sources.sh: Scan PORTS for translations.
45337         * po/libc.pot: Regenerated.
45339 2012-06-21  Andreas Jaeger  <aj@suse.de>
45341         [BZ #12194]
45342         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45343         warning.
45344         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45345         * bits/byteswap-16.h (__bswap_16): Likewise.
45346         * bits/byteswap.h (__bswap_constant_16): Likewise.
45348 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45350         [BZ #14117]
45351         * sysdeps/i386/fpu_control.h: Removed.
45352         * sysdeps/x86_64/fpu_control.h: Moved to ...
45353         * sysdeps/x86/fpu_control.h: Here.
45355         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45356         (_FPU_SETCW): Likewise.
45358 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45360         [BZ #14117]
45361         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45362         * sysdeps/x86/fpu/bits/mathinline.h: This.
45363         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45365         [BZ #14050]
45366         [BZ #14117]
45367         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45368         functions if __x86_64__ is defined.
45370 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45372         * string/endian.h: Add !__ASSEMBLER__ condition for including
45373         conversion interfaces.
45375 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45377         [BZ #14241]
45378         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45379         of ABS(x) in calculating zero to negative powers other than odd
45380         integers.
45381         * math/libm-test.inc (pow_test): Add more tests.
45383 2012-06-15  Andreas Jaeger  <aj@suse.de>
45385         * manual/contrib.texi (Contributors): Update entry of Liubov
45386         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45387         Machado Filho.
45389 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45391         * string/string.h: Add __wur to GNU version of strerror_r.
45393 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45395         [BZ #14229]
45396         * string/Makefile (tests): Add tst-strtok_r.
45397         * string/tst-strtok_r.c: New file.
45398         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45399         RAX_LP/RDX_LP on SAVE_PTR.
45401 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45403         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45405 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45407         * libm_test.inc (csqrt_test): Allow more spurious underflow
45408         exceptions.
45409         (j0_test): Likewise.
45410         (j1_test): Likewise.
45411         (y0_test): Likewise.
45412         (y1_test): Likewise.
45414 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45416         * po/Makefile (libc.pot): Use UTF-8 charset.
45418 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45420         [BZ #14210]
45421         Suppress sign-conversion warning from FD_SET.
45422         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45423         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45424         not unsigned long int.
45425         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45427 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45429         [BZ #14050]
45430         [BZ #14117]
45431         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45432         __extern_always_inline instead of __extern_inline.
45433         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45434         (__signbit): Likewise.
45435         (__signbitl): Support C++ namespace.
45436         (lrintf): New inline function.
45437         (lrint): Likewise.
45438         (llrintf): Likewise.
45439         (llrint): Likewise.
45440         (fmaxf): Likewise.
45441         (fmax): Likewise.
45442         (fminf): Likewise.
45443         (fmin): Likewise.
45444         (rint): Likewise.
45445         (rintf): Likewise.
45446         (ceil): Likewise.
45447         (ceilf): Likewise.
45448         (floor): Likewise.
45449         (floorf): Likewise.
45450         (nearbyint): Likewise.
45451         (nearbyintf): Likewise.
45453 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45455         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45456         non-default versions.
45458 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45460         [BZ #14218]
45461         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45463 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45465         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45466         (FE_UPWARD, FE_DOWNWARD): Don't define.
45467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45468         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45470         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45471         reading it.
45472         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45473         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45475 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45477         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45478         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45479         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45480         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45482 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45484         [BZ #14117]
45485         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45486         * sysdeps/i386/fpu/Implies: New file.
45487         * sysdeps/x86_64/fpu/Implies: Likewise.
45488         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45489         * sysdeps/x86/fpu/bits/fenv.h: This.
45491         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45492         __SSE_MATH__.
45494 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45496         [BZ #14134]
45497         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45498         character 0xffff that matches the last element of the
45499         conversion table.
45501 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45504         fmodl commit.
45506 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45508         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45509         values higher than 25.6283.
45511 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45513         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45514         subnormal exponent extraction and add some __builtin_expect.
45515         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45516         Fix for subnormal mantissa calculation.
45518 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45520         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45521         cpu2 is -1 and errno is not ENOSYS.
45523 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45525         [BZ #14117]
45526         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45527         * sysdeps/x86/bits/string.h: This.
45528         * sysdeps/x86_64/bits/string.h: Removed.
45530         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45531         if not compiling for x86-64, but compiling for >= i486.
45533         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45534         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45536         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45537         New macro from Linux kernel 3.4.0.
45538         (FP_XSTATE_MAGIC2): Likewise.
45539         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45540         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45541         (struct _fpx_sw_bytes): New struct.
45542         (struct _xsave_hdr): Likewise.
45543         (struct _ymmh_state): Likewise.
45544         (struct _xstate): Likewise.
45546         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45547         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45548         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45549         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45550         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45551         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45553         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45554         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45555         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45556         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45557         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45558         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45560 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45562         [BZ #13743]
45563         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45564         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45565         (sysdep_headers): Include sys/platform/ppc.h.
45566         * sysdeps/powerpc/test-gettimebase.c: Test for
45567         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45568         * manual/Makefile (appendices): Include platform.texi.
45569         * manual/contrib.texi (Contributors): Update @node pointers.
45570         * manual/maint.texi (Maintenance): Likewise.
45571         (Platform): New node.
45572         * manual/platform.texi: New file.  Document the new features.
45574 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45575             Jakub Jelinek  <jakub@redhat.com>
45577         [BZ #14188]
45578         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45579         where __builtin_expect is unavailable.
45581 2012-06-03  David S. Miller  <davem@davemloft.net>
45583         * stdlib/longlong.h: Updated from GCC.
45585 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45587         [BZ #14042]
45588         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45589         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45590         __mcount_internal.
45591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45592         (GLIBC_2.16): Likewise.
45594 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45596         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45598 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45601         (default-abi): New variable.
45602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45603         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45604         variable.
45605         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45606         Likewise.
45607         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45608         Likewise.
45609         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45610         Likewise.
45612         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45613         definition.  Document in comment.
45615 2012-06-01  David S. Miller  <davem@davemloft.net>
45617         * stdlib/longlong.h: Updated from GCC.
45619 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45621         [BZ #14117]
45622         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45623         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45624         sys/debugreg.h sys/io.h here.
45625         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45626         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45627         sys/io.h.
45628         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45629         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45630         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45631         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45632         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45633         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45635         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45636         Define only if __x86_64__ is defined.
45638 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45640         [BZ #14048]
45641         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45642         Use int64_t for variable i.
45643         * math/libm-test.inc (fmod_test): Add more tests.
45645         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45646         z computation is not scheduled after fetestexcept.
45647         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45648         Use math_force_eval instead of asm to ensure calculation scheduled
45649         before exception test.
45650         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45651         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45653 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45656         computation is not scheduled after fetestexcept.
45658 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45660         [BZ #14117]
45661         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45662         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45664 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45666         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45667         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45669 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45671         [BZ #14117]
45672         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45673         <bits/wordsize.h>.
45674         (__WCHAR_MIN): Support __WORDSIZE == 64.
45675         (__WCHAR_MAX): Likewise.
45677         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45678         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45680         [BZ #14183]
45681         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45682         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45684         [BZ #14117]
45685         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45686         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45688         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45689         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45691         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45692         Defined to 1 if __x86_64__ isn't defined.
45693         (_STAT_VER_LINUX_OLD): New.
45694         (st_atime): Remove duplicate.
45695         (st_mtime): Likewise.
45696         (st_ctime): Likewise.
45698 2012-05-31  David S. Miller  <davem@davemloft.net>
45700         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45701         entries.
45703 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45705         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45706         gen-libm-test.pl.
45708         [BZ #14132]
45709         * elf/dl-reloc.c: Include <_itoa.h>.
45710         (_dl_reloc_bad_type): Remove use of INTUSE.
45711         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45712         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45713         * stdio-common/psiginfo.c (psiginfo): Likewise.
45714         * stdio-common/psignal.c (psignal): Likewise.
45715         * string/strsignal.c (strsignal): Likewise.
45716         * include/signal.h (_sys_siglist): Declare hidden proto.
45717         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45718         INTVARDEF with libc_hidden_data_def.
45719         * stdio-common/itoa-udigits.c: Likewise.
45720         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45721         (_itoa_lower_digits_internal): Remove declaration.
45722         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45723         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45724         (_sys_sigabbrev_internal): Remove aliases.
45725         (_sys_siglist): Define hidden alias.
45727 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45730         bits/sysctl.h.
45732 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45734         [BZ #14117]
45735         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45736         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45738         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45739         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45740         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45741         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45743         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45745         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45746         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45747         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45749         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45750         with __addr.
45751         (insw): Likewise.
45752         (insl): Likewise.
45753         (outsb): Likewise.
45754         (outsw): Likewise.
45755         (outsl): Likewise.
45757         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45758         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45759         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45761         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45762         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45763         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45764         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45765         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45766         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45768         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45769         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45771         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45772         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45774         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45775         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45776         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45778         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45779         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45780         to ...
45781         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45783         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45784         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45785         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45787         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45788         for x86-64.
45789         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45791 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45793         * math/math.h (M_El): Use two more decimal places.
45794         (M_LOG2El): Likewise.
45795         (M_LOG10El): Likewise.
45796         (M_LN2l): Likewise.
45797         (M_LN10l): Likewise.
45798         (M_PIl): Likewise.
45799         (M_PI_2l): Likewise.
45800         (M_PI_4l): Likewise.
45801         (M_1_PIl): Likewise.
45802         (M_2_PIl): Likewise.
45803         (M_2_SQRTPIl): Likewise.
45804         (M_SQRT2l): Likewise.
45805         (M_SQRT1_2l): Likewise.
45807 2012-05-31  David S. Miller  <davem@davemloft.net>
45809         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45810         values between float registers.
45811         * sysdeps/sparc/sparc64/memset.S: Likewise.
45812         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45814 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45816         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45817         -D_FORTIFY_SOURCE=1.
45818         (CPPFLAGS-tst-longjmp_chk.c): Define.
45819         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45820         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45821         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45822         CFLAGS-tst-wchar-h.c.
45824 2012-05-31  Marek Polacek  <polacek@redhat.com>
45826         [BZ #14132]
45827         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45828         __endmntent_internal): Remove declaration.
45829         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45830         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45831         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45833 2012-05-30  David S. Miller  <davem@davemloft.net>
45835         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45836         (___Q_simulate_exceptions): Use real FP ops rather than writing
45837         into the %fsr.
45838         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45839         Likewise.
45841 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45843         [BZ #14117]
45844         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45845         * sysdeps/x86/bits/xtitypes.h: This.
45847         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45848         * sysdeps/x86/bits/wordsize.h: This.
45850         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45851         * sysdeps/x86/bits/huge_vall.h: This.
45853         * sysdeps/i386/bits/select.h: Removed.
45854         * sysdeps/x86_64/bits/select.h: Renamed to ...
45855         * sysdeps/x86/bits/select.h: This.
45857         * sysdeps/i386/bits/setjmp.h: Removed.
45858         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45859         * sysdeps/x86/bits/setjmp.h: This.
45861         * sysdeps/i386/bits/mathdef.h: Removed.
45862         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45863         * sysdeps/x86/bits/mathdef.h: This.
45865 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45867         [BZ #14132]
45868         * include/sys/socket.h (__connect_internal)
45869         (__libc_sa_len_internal): Remove declaration.
45870         (__connect, __libc_sa_len): Declare hidden_proto.
45871         (SA_LEN): Remove use of INTUSE.
45872         * socket/connect.c: Add libc_hidden_def.
45873         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45874         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45875         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45876         alias.
45877         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45878         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45879         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45880         of adding _internal alias.
45882 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45884         [BZ #14117]
45885         * sysdeps/i386/bits/link.h: Removed.
45886         * sysdeps/i386/bits/linkmap.h: Likewise.
45887         * sysdeps/x86_64/bits/link.h: Renamed to ...
45888         * sysdeps/x86/bits/link.h: This.
45889         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45890         * sysdeps/x86/bits/linkmap.h: This.
45892         * sysdeps/i386/bits/endian.h: Removed.
45893         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45894         * sysdeps/x86/bits/endian.h: This.
45896         * sysdeps/i386/bits/byteswap.h: Removed.
45897         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45898         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45899         * sysdeps/x86/bits/byteswap.h: This.
45900         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45901         * sysdeps/x86/bits/byteswap-16.h: This.
45902         * sysdeps/i386/Implies: Add x86.
45903         * sysdeps/x86_64/Implies: Likewise.
45905 2012-05-30  David S. Miller  <davem@davemloft.net>
45907         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45908         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45909         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45910         (FP_TRAPPING_EXCEPTIONS): Define.
45911         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45912         (FP_TRAPPING_EXCEPTIONS): Define.
45913         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45914         subnormals only when inexact has been signalled or underflow
45915         exceptions are enabled.
45916         (_FP_PACK_CANONICAL): Likewise.
45918 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45920         [BZ #14183]
45921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45922         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45924 2012-05-30  Richard Henderson  <rth@twiddle.net>
45926         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45927         with #ifndef NOT_IN_libc.
45929         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45930         marked to avoid plt entry.
45932 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45934         [BZ #14112]
45935         * Makeconfig (default-abi): New macro.
45936         (abi-includes): Likewise.
45937         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45938         $(abi-$(default-abi)-lib-soname) for soname if defined.
45939         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45940         abi-variants.
45941         * Makefile (installed-stubs): Likewise.
45942         * include/stubs-biarch.h: Removed.
45943         * scripts/lib-names.awk: Only handle one library at a time.
45944         * scripts/soversions.awk: Remove WORDSIZE support.
45945         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45946         entries.
45947         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45948         Removed.
45949         (syscall-list-default-condition): Likewise.
45950         (syscall-list-default-condition): Likewise.
45951         (syscall-list-includes): Likewise.
45952         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45953         syscall-list-* with abi-*.  Handle undefined abi-variants.
45954         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45955         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45956         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45957         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45958         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45959         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45960         Removed.
45961         (syscall-list-32-options): Likewise.
45962         (syscall-list-32-condition): Likewise.
45963         (syscall-list-64-options): Likewise.
45964         (syscall-list-64-condition): Likewise.
45965         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45966         macro.
45967         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45968         Renamed to ...
45969         (abi-*): This.
45970         (abi-64-ld-soname): New macro.
45971         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45972         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45973         Renamed to ...
45974         (abi-*): This.
45975         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45976         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45978 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45980         * sysdeps/unix/sysv/linux/kernel-features.h
45981         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45982         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45983         include <kernel-features.h>.
45984         [!__NR_ftruncate64]: Remove conditional code.
45985         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45986         [__NR_ftruncate64]: Make code unconditional.
45987         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45988         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45989         include <kernel-features.h>.
45990         [!__NR_ftruncate64]: Remove conditional code.
45991         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45992         [__NR_ftruncate64]: Make code unconditional.
45993         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45995         include <kernel-features.h>.
45996         [!__NR_ftruncate64]: Remove conditional code.
45997         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45998         [__NR_ftruncate64]: Make code unconditional.
45999         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46001         include <kernel-features.h>.
46002         [!__NR_ftruncate64]: Remove conditional code.
46003         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46004         [__NR_ftruncate64]: Make code unconditional.
46005         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46007         * configure.in (libc_cv_fpie): Weaken to a compile test using
46008         LIBC_TRY_CC_OPTION.
46009         * configure: Regenerated.
46011 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46017         Refreshed.
46018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46024         Refreshed.
46026 2012-05-27  David S. Miller  <davem@davemloft.net>
46028         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46029         (___Q_zero): New.
46030         (__Q_simulate_exceptions): Return void.  Change to simulate
46031         exceptions by writing into the %fsr.
46032         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46033         (__Qp_handle_exceptions): Likewise.
46034         (numbers): Delete.
46035         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46036         __Qp_handle_exceptions.
46037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46038         __Qp_handle_exceptions.
46039         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46040         as unused and give dummy FP_RND_NEAREST initializer.
46041         (FP_INHIBIT_RESULTS): Define.
46042         (___Q_simulate_exceptions): Update declaration.
46043         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46044         formatting.
46045         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46046         as unused and give dummy FP_RND_NEAREST initializer.
46047         (__Qp_handle_exceptions): Update declaration.
46048         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46049         formatting.
46051 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46053         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46054         the temporary FPU control word.
46055         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46056         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46057         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46058         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46059         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46060         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46061         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46062         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46063         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46064         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46065         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46067 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46069         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46070         fields.
46072 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46074         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46075         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46076         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46077         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46078         Likewise.
46079         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46080         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46081         Likewise.
46083 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46085         * po/h.po: Update from translation team.
46087 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46089         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46091         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46092         handling of denormals.
46093         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46094         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46095         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46096         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46098         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46100         Likewise.
46102 2012-05-26  Marek Polacek  <polacek@redhat.com>
46104         [BZ #14152]
46105         * math/libm-test.inc (fma_test): Don't always expect underflow
46106         exception.
46108 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46110         [BZ #12416]
46111         * elf/tst-execstack.c: Include stackinfo.h.
46112         (do_test): Adjust test case to ensure that pthread_getattr_np
46113         behaviour remains the same after marking stack executable.
46115 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46117         * sysdeps/unix/sysv/linux/kernel-features.h
46118         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46119         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46120         kernel-features.h.
46121         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46122         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46123         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46124         kernel-features.h.
46125         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46126         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46128 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46130         * configure.in: Define the default includes to being none.
46131         * configure: Regenerated.
46133 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46135         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46136         * sysdeps/x86_64/setjmp.S: Likewise.
46137         * sysdeps/i386/bsd-setjmp.S: Likewise.
46138         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46139         * sysdeps/i386/setjmp.S: Likewise.
46140         * sysdeps/i386/__longjmp.S: Likewise.
46141         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46142         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46144         * include/stap-probe.h: New file.
46145         * configure.in: Handle --enable-systemtap.
46146         * configure: Regenerated.
46147         * config.h.in (USE_STAP_PROBE): New #undef.
46148         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46149         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46150         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46152 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46154         [BZ #13717]
46155         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46156         to 2.4.0 where earlier.
46157         * sysdeps/unix/sysv/linux/configure: Regenerated.
46158         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46159         <kernel-features.h>.
46160         [__ASSUME_32BITUIDS]: Make code unconditional.
46161         [!__ASSUME_32BITUIDS]: Remove conditional code.
46162         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46163         <kernel-features.h>.
46164         [__ASSUME_32BITUIDS]: Make code unconditional.
46165         [!__ASSUME_32BITUIDS]: Remove conditional code.
46166         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46167         [__ASSUME_32BITUIDS]: Make code unconditional.
46168         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46169         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46170         <kernel-features.h>.
46171         [__ASSUME_32BITUIDS]: Make code unconditional.
46172         [!__ASSUME_32BITUIDS]: Remove conditional code.
46173         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46174         <kernel-features.h>.
46175         [__ASSUME_32BITUIDS]: Make code unconditional.
46176         [!__ASSUME_32BITUIDS]: Remove conditional code.
46177         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46178         <kernel-features.h>.
46179         [__ASSUME_32BITUIDS]: Make code unconditional.
46180         [!__ASSUME_32BITUIDS]: Remove conditional code.
46181         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46182         <kernel-features.h>.
46183         [__ASSUME_32BITUIDS]: Make code unconditional.
46184         [!__ASSUME_32BITUIDS]: Remove conditional code.
46185         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46186         <kernel-features.h>.
46187         [__ASSUME_32BITUIDS]: Make code unconditional.
46188         [!__ASSUME_32BITUIDS]: Remove conditional code.
46189         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46190         <kernel-features.h>.
46191         [__ASSUME_32BITUIDS]: Make code unconditional.
46192         [!__ASSUME_32BITUIDS]: Remove conditional code.
46193         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46194         <kernel-features.h>.
46195         [__ASSUME_32BITUIDS]: Make code unconditional.
46196         [!__ASSUME_32BITUIDS]: Remove conditional code.
46197         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46198         <kernel-features.h>.
46199         [__ASSUME_32BITUIDS]: Make code unconditional.
46200         [!__ASSUME_32BITUIDS]: Remove conditional code.
46201         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46202         <kernel-features.h>.
46203         [__ASSUME_32BITUIDS]: Make code unconditional.
46204         [!__ASSUME_32BITUIDS]: Remove conditional code.
46205         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46206         <kernel-features.h>.
46207         [__ASSUME_32BITUIDS]: Make code unconditional.
46208         [!__ASSUME_32BITUIDS]: Remove conditional code.
46209         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46210         <kernel-features.h>.
46211         [__NR_setresgid] (__setresgid): Do not declare.
46212         [__ASSUME_32BITUIDS]: Make code unconditional.
46213         [!__ASSUME_32BITUIDS]: Remove conditional code.
46214         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46215         <kernel-features.h>.
46216         [__NR_setresuid] (__setresuid): Do not declare.
46217         [__ASSUME_32BITUIDS]: Make code unconditional.
46218         [!__ASSUME_32BITUIDS]: Remove conditional code.
46219         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46220         <kernel-features.h>.
46221         [__ASSUME_32BITUIDS]: Make code unconditional.
46222         [!__ASSUME_32BITUIDS]: Remove conditional code.
46223         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46224         <kernel-features.h>.
46225         [__ASSUME_32BITUIDS]: Make code unconditional.
46226         [!__ASSUME_32BITUIDS]: Remove conditional code.
46227         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46228         <kernel-features.h>.
46229         [__ASSUME_32BITUIDS]: Make code unconditional.
46230         [!__ASSUME_32BITUIDS]: Remove conditional code.
46231         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46232         <kernel-features.h>.
46233         [__ASSUME_32BITUIDS]: Make code unconditional.
46234         [!__ASSUME_32BITUIDS]: Remove conditional code.
46235         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46236         <kernel-features.h>.
46237         [__ASSUME_32BITUIDS]: Make code unconditional.
46238         [!__ASSUME_32BITUIDS]: Remove conditional code.
46239         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46240         <kernel-features.h>.
46241         [__ASSUME_32BITUIDS]: Make code unconditional.
46242         [!__ASSUME_32BITUIDS]: Remove conditional code.
46243         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46244         <kernel-features.h>.
46245         [__ASSUME_32BITUIDS]: Make code unconditional.
46246         [!__ASSUME_32BITUIDS]: Remove conditional code.
46247         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46248         <kernel-features.h>.
46249         [__ASSUME_32BITUIDS]: Make code unconditional.
46250         [!__ASSUME_32BITUIDS]: Remove conditional code.
46251         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46252         <kernel-features.h>.
46253         [__ASSUME_32BITUIDS]: Make code unconditional.
46254         [!__ASSUME_32BITUIDS]: Remove conditional code.
46255         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46256         <kernel-features.h>.
46257         [__ASSUME_32BITUIDS]: Make code unconditional.
46258         [!__ASSUME_32BITUIDS]: Remove conditional code.
46259         * sysdeps/unix/sysv/linux/kernel-features.h
46260         (__ASSUME_SETRESUID_SYSCALL): Remove.
46261         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46262         (__ASSUME_32BITUIDS): Likewise.
46263         (__ASSUME_LDT_WORKS): Likewise.
46264         (__ASSUME_O_DIRECTORY): Likewise.
46265         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46266         architecture but not kernel version.
46267         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46268         (__ASSUME_MMAP2_SYSCALL): Likewise.
46269         (__ASSUME_STAT64_SYSCALL): Likewise.
46270         (__ASSUME_IPC64): Likewise.
46271         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46272         <kernel-features.h>.
46273         [__ASSUME_32BITUIDS]: Make code unconditional.
46274         [!__ASSUME_32BITUIDS]: Remove conditional code.
46275         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46276         <kernel-features.h>.
46277         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46278         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46279         132096]: Remove conditional code.
46280         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46281         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46282         <kernel-features.h>.
46283         [__ASSUME_32BITUIDS]: Make code unconditional.
46284         [!__ASSUME_32BITUIDS]: Remove conditional code.
46285         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46286         <kernel-features.h>.
46287         [__ASSUME_32BITUIDS]: Make code unconditional.
46288         [!__ASSUME_32BITUIDS]: Remove conditional code.
46289         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46290         <kernel-features.h>.
46291         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46292         unconditional.
46293         (__setresgid): Do not declare.
46294         [__ASSUME_32BITUIDS]: Make code unconditional.
46295         [!__ASSUME_32BITUIDS]: Remove conditional code.
46296         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46297         <kernel-features.h>.
46298         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46299         unconditional.
46300         (__setresuid): Do not declare.
46301         [__ASSUME_32BITUIDS]: Make code unconditional.
46302         [!__ASSUME_32BITUIDS]: Remove conditional code.
46303         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46304         <kernel-features.h>.
46305         [__ASSUME_32BITUIDS]: Make code unconditional.
46306         [!__ASSUME_32BITUIDS]: Remove conditional code.
46307         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46308         <kernel-features.h>.
46309         [__ASSUME_32BITUIDS]: Make code unconditional.
46310         [!__ASSUME_32BITUIDS]: Remove conditional code.
46312 2012-05-25  Richard Henderson  <rth@twiddle.net>
46314         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46315         dl_hwcap to ifunc resolver.
46316         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46317         elf_ifunc_invoke.
46318         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46319         dl_hwcap to ifunc resolver.
46320         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46322 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46324         [BZ #14153]
46325         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46326         for |x| <= 2**-26, not 2**-57.
46327         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46328         exception.
46330 2012-05-24  Jeff Law  <law@redhat.com>
46332         * stdio-common/Makefile (tests): Add bug25.
46333         * stdio-common/bug25.c: New test.
46335 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46337         [BZ #13576]
46338         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46339         multiple of MALLOC_ALIGNMENT in size.
46340         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46342 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46344         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46345         Require >= 256.
46346         (FILENAME_MAX): Use macro-int-constant.
46347         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46348         (_IOFBF): Use macro-int-constant.
46349         (_IOLBF): Likewise.
46350         (_IONBF): Likewise.
46351         (SEEK_CUR): Likewise.
46352         (SEEK_END): Likewise.
46353         (SEEK_SET): Likewise.
46354         (TMP_MAX): Likewise.
46355         (EOF): Use macro-int-constant.  Require < 0.
46356         (NULL): Use macro-constant.  Require == 0.
46357         (stdin): Require type to be FILE *.
46358         (stdout): Likewise.
46359         (stderr): Likewise.
46360         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46361         macro-int-constant.
46362         (EXIT_SUCCESS): Likewise.
46363         (NULL): Use macro-constant.  Require == 0.
46364         (RAND_MAX): Use macro-int-constant.
46365         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46366         [C99-based standards] (strtof): Require function.
46367         [C99-based standards] (strtold): Likewise.
46368         [C99-based standards] (strtoll): Likewise.
46369         [C99-based standards] (strtoull): Likewise.
46370         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46371         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46372         [ISO || ISO99 || ISO11] (math.h): Likewise.
46373         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46374         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46375         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46377 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46379         [BZ #14132]
46380         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46381         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46382         * intl/dgettext.c (DCGETTEXT): Likewise.
46383         * intl/gettext.c (DCGETTEXT): Likewise.
46384         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46385         * posix/regex_internal.h (gettext): Likewise.
46386         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46387         Remove declaration.
46388         * include/argz.h (__argz_count_internal)
46389         (__argz_stringify_internal): Remove declaration.
46390         (__argz_count, __argz_stringify): Declare hidden proto.
46391         * intl/dcgettext.c: Remove use of INTDEF.
46392         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46393         * string/argz-stringify.c: Likewise.
46394         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46395         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46396         Declare hidden proto.
46397         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46398         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46399         Declare hidden proto.
46400         * include/stdio.h (__asprintf_internal): Don't declare.
46401         (__asprintf): Don't define as macro.  Declare hidden proto.
46402         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46403         (__fsetlocking): Declare hidden proto.
46404         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46405         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46406         hidden proto.
46407         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46408         (_IO_setlinebuf): Remove use of INTUSE.
46409         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46410         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46411         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46412         Remove declaration.
46413         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46414         (_IO_do_flush): Remove use of INTUSE.
46415         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46416         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46417         (_IO_adjust_column, _IO_least_wmarker)
46418         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46419         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46420         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46421         (_IO_default_doallocate, _IO_wdefault_doallocate)
46422         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46423         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46424         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46425         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46426         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46427         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46428         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46429         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46430         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46431         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46432         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46433         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46434         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46435         proto.
46436         (_IO_flush_all_internal, _IO_adjust_column_internal)
46437         (_IO_default_uflow_internal, _IO_default_finish_internal)
46438         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46439         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46440         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46441         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46442         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46443         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46444         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46445         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46446         (_IO_file_close_internal, _IO_file_close_it_internal)
46447         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46448         (_IO_file_init_internal, _IO_file_attach_internal)
46449         (_IO_file_fopen_internal, _IO_file_read_internal)
46450         (_IO_file_sync_internal, _IO_file_seek_internal)
46451         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46452         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46453         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46454         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46455         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46456         (_IO_list_all_internal, _IO_link_in_internal)
46457         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46458         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46459         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46460         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46461         (_IO_do_write_internal, _IO_padn_internal)
46462         (_IO_getline_info_internal, _IO_getline_internal)
46463         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46464         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46465         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46466         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46467         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46468         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46469         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46470         with libc_hidden_ver, remove use of INTUSE.
46471         * libio/genops.c: Likewise.
46472         * libio/freopen.c: Likewise.
46473         * libio/freopen64.c: Likewise.
46474         * libio/iofclose.c: Likewise.
46475         * libio/iofdopen.c: Likewise.
46476         * libio/iofflush.c: Likewise.
46477         * libio/iofflush_u.c: Likewise.
46478         * libio/iofgets.c: Likewise.
46479         * libio/iofgets_u.c: Likewise.
46480         * libio/iofopen.c: Likewise.
46481         * libio/iofopncook.c: Likewise.
46482         * libio/iofread.c: Likewise.
46483         * libio/iofread_u.c: Likewise.
46484         * libio/ioftell.c: Likewise.
46485         * libio/iofwrite.c: Likewise.
46486         * libio/iogetline.c: Likewise.
46487         * libio/iogets.c: Likewise.
46488         * libio/iogetwline.c: Likewise.
46489         * libio/iopadn.c: Likewise.
46490         * libio/iopopen.c: Likewise.
46491         * libio/ioseekoff.c: Likewise.
46492         * libio/ioseekpos.c: Likewise.
46493         * libio/iosetbuffer.c: Likewise.
46494         * libio/iosetvbuf.c: Likewise.
46495         * libio/ioungetc.c: Likewise.
46496         * libio/ioungetwc.c: Likewise.
46497         * libio/iovdprintf.c: Likewise.
46498         * libio/iovsprintf.c: Likewise.
46499         * libio/iovsscanf.c: Likewise.
46500         * libio/memstream.c: Likewise.
46501         * libio/obprintf.c: Likewise.
46502         * libio/oldfileops.c: Likewise.
46503         * libio/oldiofclose.c: Likewise.
46504         * libio/oldiofdopen.c: Likewise.
46505         * libio/oldiofopen.c: Likewise.
46506         * libio/oldiopopen.c: Likewise.
46507         * libio/oldstdfiles.c: Likewise.
46508         * libio/putc.c: Likewise.
46509         * libio/setbuf.c: Likewise.
46510         * libio/setlinebuf.c: Likewise.
46511         * libio/stdfiles.c: Likewise.
46512         * libio/strops.c: Likewise.
46513         * libio/vasprintf.c: Likewise.
46514         * libio/vscanf.c: Likewise.
46515         * libio/vsnprintf.c: Likewise.
46516         * libio/vswprintf.c: Likewise.
46517         * libio/wfiledoalloc.c: Likewise.
46518         * libio/wfileops.c: Likewise.
46519         * libio/wgenops.c: Likewise.
46520         * libio/wmemstream.c: Likewise.
46521         * libio/wstrops.c: Likewise.
46522         * libio/__fpurge.c: Likewise.
46523         * libio/__fsetlocking.c: Likewise.
46524         * assert/assert.c: Likewise.
46525         * debug/fgets_chk.c: Likewise.
46526         * debug/fgets_u_chk.c: Likewise.
46527         * debug/fread_chk.c: Likewise.
46528         * debug/fread_u_chk.c: Likewise.
46529         * debug/gets_chk.c: Likewise.
46530         * debug/obprintf_chk.c: Likewise.
46531         * debug/vasprintf_chk.c: Likewise.
46532         * debug/vdprintf_chk.c: Likewise.
46533         * debug/vsnprintf_chk.c: Likewise.
46534         * debug/vsprintf_chk.c: Likewise.
46535         * malloc/mtrace.c: Likewise.
46536         * misc/error.c: Likewise.
46537         * misc/syslog.c: Likewise.
46538         * stdio-common/asprintf.c: Likewise.
46539         * stdio-common/fxprintf.c: Likewise.
46540         * stdio-common/getw.c: Likewise.
46541         * stdio-common/isoc99_fscanf.c: Likewise.
46542         * stdio-common/isoc99_scanf.c: Likewise.
46543         * stdio-common/isoc99_vfscanf.c: Likewise.
46544         * stdio-common/isoc99_vscanf.c: Likewise.
46545         * stdio-common/isoc99_vsscanf.c: Likewise.
46546         * stdio-common/printf-prs.c: Likewise.
46547         * stdio-common/printf_fp.c: Likewise.
46548         * stdio-common/printf_fphex.c: Likewise.
46549         * stdio-common/printf_size.c: Likewise.
46550         * stdio-common/putw.c: Likewise.
46551         * stdio-common/scanf.c: Likewise.
46552         * stdio-common/sprintf.c: Likewise.
46553         * stdio-common/tmpfile.c: Likewise.
46554         * stdio-common/vfprintf.c: Likewise.
46555         * stdio-common/vfscanf.c: Likewise.
46556         * stdlib/strfmon_l.c: Likewise.
46557         * sunrpc/openchild.c: Likewise.
46558         * sunrpc/xdr_stdio.c: Likewise.
46559         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46560         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46562 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46564         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46566         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46567         in the third column, to generate for the shared library an IFUNC
46568         that uses _dl_vdso_vsym.
46569         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46570         * Makeconfig (object-suffixes-noshared): New variable.
46572         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46573         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46574         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46575         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46577         [BZ #14132]
46578         * include/sys/time.h (__gettimeofday): Remove macro.
46579         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46580         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46581         Remove INTDEF.
46582         (__gettimeofday): Add libc_hidden_def.
46583         (gettimeofday): Add libc_hidden_weak.
46584         * sysdeps/mach/gettimeofday.c: Likewise.
46585         * sysdeps/posix/gettimeofday.c: Likewise.
46586         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46587         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46589         (__gettimeofday_internal): Remove strong_alias.
46590         (__gettimeofday): Add libc_hidden_def.
46591         (gettimeofday): Add libc_hidden_weak.
46592         * sysdeps/unix/syscalls.list (gettimeofday):
46593         Remove __gettimeofday_internal alias.
46595 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46596             H.J. Lu  <hongjiu.lu@intel.com>
46598         [BZ #12495]
46599         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46600         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46601         (largebin_index_32_big): New.
46602         (largebin_index): Use it for 16-byte alignment.
46603         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46604         correction with front_misalign.
46606 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46610         Likewise.
46611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46612         Likewise.
46613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46614         Likewise.
46615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46616         Likewise.
46617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46618         Likewise.
46619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46620         Likewise.
46621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46622         Likewise.
46623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46624         Likewise.
46625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46626         Likewise.
46627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46628         Likewise.
46629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46630         Likewise.
46631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46632         Likewise.
46634         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46635         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46637 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46639         [BZ #10846]
46640         [BZ #14036]
46641         * math/libm-test.inc (exp_test): Add test from bug 14036.
46642         (pow_test): Add test from bug 10846.
46644         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46645         and other flags.
46646         (special_function): Do not include flags in test name.
46647         (parse_args): Likewise.
46648         * sysdeps/i386/fpu/libm-test-ulps: Update.
46649         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46650         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46651         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46654         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46655         exceptions.
46656         * math/libm-test.inc ("Philosophy"): Update comment about
46657         exception testing.
46658         (UNDERFLOW_EXCEPTION): New macro.
46659         (UNDERFLOW_EXCEPTION_OK): Likewise.
46660         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46661         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46662         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46663         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46664         (INVALID_EXCEPTION_OK): Update value.
46665         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46666         (OVERFLOW_EXCEPTION_OK): Likewise.
46667         (IGNORE_ZERO_INF_SIGN): Likewise.
46668         (test_exceptions): Handle underflow exceptions.
46669         (acos_test): Update for underflow exception expectations.
46670         (cexp_test): Likewise.
46671         (clog_test): Likewise.
46672         (clog10_test): Likewise.
46673         (csqrt_test): Likewise.
46674         (ctan_test): Likewise.
46675         (ctanh_test): Likewise.
46676         (exp_test): Likewise.
46677         (exp10_test): Likewise.
46678         (exp2_test): Likewise.
46679         (expm1_test): Likewise.
46680         (fma_test): Likewise.
46681         (j0_test): Likewise.
46682         (jn_test): Likewise.
46683         (nexttoward_test): Likewise.
46684         (pow_test): Likewise.
46685         (scalbn_test): Likewise.
46686         (scalbln_test): Likewise.
46687         (tan_test): Likewise.
46688         (y1_test): Likewise.
46689         * sysdeps/i386/fpu/libm-test-ulps: Update.
46690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46692 2012-05-23  David S. Miller  <davem@davemloft.net>
46694         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46695         (__libc_sigaction): Remove unused local variables.
46697 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46699         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46701 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46703         mktime: avoid signed integer overflow
46704         * time/mktime.c (__mktime_internal): Do not mishandle the case
46705         where diff == INT_MIN.
46707         mktime: simplify computation of average
46708         * time/mktime.c (ranged_convert): Use new time_t_avg function
46709         instead of rolling our own (probably-slower) code.
46711         mktime: do not assume signed right shift propagates sign bit
46712         * time/mktime.c (isdst_differ): New static function.
46713         (__mktime_internal): No need to normalize tm_isdst now.
46714         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46715         tm_isdst values.
46717         mktime: merge another wrapv change from gnulib
46718         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46719         from some compilers.
46721         mktime: remove incorrect attempt at unusual arithmetics
46722         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46723         The code didn't really work on such machines anyway.
46724         (TYPE_MINIMUM): Assume two's complement.
46725         (twos_complement_arithmetic): Verify that long_int and time_t
46726         are two's complement (or unsigned, in the latter case).
46728         mktime: check signed shifts on long_int and time_t, too
46729         * time/mktime.c (SHR): Check that shifts work as desired
46730         on the types long_int and time_t too, as SHR is used on
46731         such types.
46733         mktime: do not assume 'long' is wide enough
46734         * time/mktime.c (verify): Move decl up.
46735         (long_int): New type.
46736         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46737         to remove assumption in the code that 'long' is wide enough to
46738         store year values.  This assumption is not true on x32 and on
46739         some non-glibc platforms.
46741         mktime: merge wrapv change from gnulib
46742         * time/mktime.c (WRAPV): New macro.
46743         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46744         (guess_time_tm, __mktime_internal): Do not assume that signed
46745         integer overflow wraps around; modern compilers generate code
46746         where this assumption is no longer valid.
46748 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46750         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46751         Replace "jmp L(pseudo_end)" with "ret".
46752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46753         Likewise.
46755 2012-05-23  Andreas Jaeger  <aj@suse.de>
46757         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46758         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46760 2012-05-23  Andreas Jaeger  <aj@suse.de>
46761             Maximilian Attems  <max@stro.at>
46763         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46764         New macros.
46766 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46768         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46769         code so that pseudo_end is just ret and the stack pointer is
46770         correct also for static library in error case.
46772 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46774         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46775         move to syscalls.list.
46776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46781         * manual/install.texi (Running make install): Do not mention Linux
46782         kernel version for which pt_chown is not needed.
46783         (Linux): Do not mention problems with nscd with 2.0 kernels.
46784         * INSTALL: Regenerated.
46786 2012-05-23  Andreas Jaeger  <aj@suse.de>
46788         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46789         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46790         macro.
46791         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46792         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46793         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46794         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46795         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46796         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46797         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46798         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46799         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46800         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46801         * sysdeps/unix/sysv/linux/bits/in.h
46802         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46804 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46806         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46807         (PREPARE_VERSION): Just use assert instead, it will be elided
46808         under [NDEBUG] anyway.
46810 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46812         * sysdeps/unix/sysv/linux/Makefile: Include
46813         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46814         (sysdep_routines): Remove sysctl.
46815         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46816         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46817         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46818         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46819         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46821 2012-05-22  Andreas Jaeger  <aj@suse.de>
46823         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46824         that pseudo_end is just ret and the stack pointer is correct also
46825         for static library in error case.
46827 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46829         [BZ #14122]
46830         * nss/nsswitch.c (defconfig_entries): New variable.
46831         (__nss_database_lookup): Don't leak defconfig entries.
46832         (nss_parse_service_list): Don't leak on error paths.
46833         (free_database_entries): New function.
46834         (free_defconfig): New function.
46835         (free_mem): Move common code to free_database_entries.
46837 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46839         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46840         Add arch_prctl.
46841         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46843         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46844         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46846         New macro.
46847         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46848         (INTERNAL_SYSCALL_TYPES): Likewise.
46849         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46850         (LOAD_REGS_TYPES_[1-6]): Likewise.
46851         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46852         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46854 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46856         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46857         copysignl for GLIBC_2_0.
46858         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46859         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46860         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46861         logbl for GLIBC_2_0.
46862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46863         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46865 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46868         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46870         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46871         Use "neg %eax".
46873         * time/mktime.c: Update copyright years.
46875 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46877         mktime: merge comment-quoting-style change from gnulib
46878         * time/mktime.c: Quote 'like this' in comments.
46879         The GNU coding standards suggest that we no longer quote `like this',
46880         as "`" and "'" are typically rendered asymmetrically nowadays.
46881         The typical gnulib style is to quote 'like this' when quoting
46882         code, and "like this" when quoting English.
46884         * time/mktime.c (compile-command): Add "-I.".
46886         mktime: merge mktime-internal.h change from gnulib
46887         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46889         mktime: merge time_r change from gnulib
46890         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46892         mktime: merge DEBUG change from gnulib
46893         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46894         case system <time.h> has a #define.
46896         mktime: merge <sys/types.h> change from gnulib
46897         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46898         since <time.t> is now guaranteed to define time_t.
46900         mktime: merge HAVE_CONFIG_H change from gnulib
46901         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46906         Use "neg %eax".
46908         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46909         __rlim_t cast.
46910         (struct rusage): Use anonymous union to pad each field to
46911         __syscall_slong_t.
46913 2012-05-21  David S. Miller  <davem@davemloft.net>
46915         * Makefules (o-iterator): Remove .s cases.
46916         (compile-command.s): Delete.
46917         (COMPILE.s): Delete.
46918         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46920 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46922         * configure.in (libc_cv_predef_stack_protector): Only consider
46923         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46924         * configure: Regenerated.
46926 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46929         New macro.  Use R*LP on int and pointer.
46930         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46931         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46932         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46933         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46935         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46936         [__WORDSIZE_TIME64_COMPAT32] instead of
46937         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46938         (struct utmp): Likewise.
46939         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46940         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46941         Renamed to ...
46942         (__WORDSIZE_TIME64_COMPAT32): This.
46943         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46944         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46945         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46946         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46947         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46948         (__WORDSIZE_TIME64_COMPAT32): New macro.
46950 2012-05-21  Andreas Jaeger  <aj@suse.de>
46952         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46953         only if [SHARED]. Add prototype for __wcschr_ia32.
46955 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46957         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46958         of %rbp unmolested in the jmp_buf while mangling the low bits.
46959         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46960         unmolested high bits of %rbp while demangling the low bits.
46961         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46963 2012-05-21  Andreas Jaeger  <aj@suse.de>
46965         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46966         * sunrpc/svc_simple.c: Use it for registerrpc.
46967         * sunrpc/xcrypt.c: Use it for passwd2des.
46969         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46971 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46973         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46974         Don't define if [__SYSCALL_WORDSIZE != 32].
46975         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46976         New macro.
46978 2012-05-21  Bruno Haible  <bruno@clisp.org>
46979             Andreas Jaeger  <aj@suse.de>
46981         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46982         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46983         inptr and inend for must_buffer_ch.
46984         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46985         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46986         * stdio-common/Makefile (tests): Remove bug15.
46987         (bug15-ENV): Remove macro.
46988         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46989         anymore.
46991 2012-05-19  Andreas Jaeger  <aj@suse.de>
46992             Roland McGrath  <roland@hack.frob.com>
46994         * manual/contrib.texi: Completely rewritten. It contains now an
46995         alphabetical list of contributors and their contributions.
46997 2012-05-21  Richard Henderson  <rth@twiddle.net>
46999         * misc/getauxval.c (__getauxval): Use unsigned long int.
47000         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47001         (getauxval): Use unsigned long int.
47003 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47005         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47007 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47009         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47010         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47011         __alignof__ (long double).
47013 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47017 2012-05-20  Richard Henderson  <rth@twiddle.net>
47019         * misc/getauxval.c: New file.
47020         * misc/sys/auxv.h: New file.
47021         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47022         (routines): Add getauxval.
47023         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47024         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47025         * elf/dl-sysdep.c (_dl_auxv): Remove.
47026         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47027         * elf/dl-support.c (_dl_auxv): New variable.
47028         (_dl_aux_init): Initialize it.
47029         * manual/startup.texi (Auxiliary Vector): New node.
47030         * sysdeps/generic/bits/hwcap.h: New file.
47031         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47032         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47033         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47034         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47035         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47036         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47038         Update.
47039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47048 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47052 2012-05-19  David S. Miller  <davem@davemloft.net>
47054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47056 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47058         [BZ #14123]
47059         * math/s_ccosh.c: Include <float.h>
47060         (__ccosh): Avoid internal overflow calculating sinh and cosh
47061         values before multiplying by sin and cos values.
47062         * math/s_ccoshf.c: Likewise.
47063         * math/s_ccoshl.c: Likewise.
47064         * math/s_csin.c: Likewise.
47065         * math/s_csinf.c: Likewise.
47066         * math/s_csinl.c: Likewise.
47067         * math/s_csinh.c: Likewise.
47068         * math/s_csinhf.c: Likewise.
47069         * math/s_csinhl.c: Likewise.
47070         * math/libm-test.inc (ccos_test): Add more tests.
47071         (ccosh_test): Likewise.
47072         (csin_test): Likewise.
47073         (csinh_test): Likewise.
47074         * sysdeps/i386/fpu/libm-test-ulps: Update.
47075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47077 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47079         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47080         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47082         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47084 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47086         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47087         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47088         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47089         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47090         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47091         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47092         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47093         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47094         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47095         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47096         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47097         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47098         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47099         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47100         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47101         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47102         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47103         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47104         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47105         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47106         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47107         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47108         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47109         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47110         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47111         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47112         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47113         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47114         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47115         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47116         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47118 2012-05-18  Andreas Jaeger  <aj@suse.de>
47120         * csu/.gitignore: Delete.
47122 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47124         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47125         (timex): Use __syscall_slong_t.
47127 2012-05-18  Andreas Jaeger  <aj@suse.de>
47128             Carlos O'Donell  <carlos_odonell@mentor.com>
47130         * manual/install.texi (Configuring and compiling): Update
47131         description about files modified in the source directory.
47132         * INSTALL: Regenerated.
47134 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47136         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47137         value.  Use "or" to set return value to -1.
47138         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47139         negate return value.
47141 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47143         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47144         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47145         failure if the compiler has Graphite support disabled.
47146         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47147         Likewise.
47148         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47149         (CFLAGS-memmove.c): Likewise.
47150         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47151         Likewise.
47153 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47155         * sysdeps/x86_64/x32/_itoa.h: New file.
47157         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47158         getdents system call only if kernel and user dirents have the
47159         same d_ino and d_off.
47161         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47162         LLONG_MAX != LONG_MAX.
47163         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47164         (_fitoa_word): Likewise.
47166         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47167         years.
47168         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47169         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47170         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47172         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47173         include <bits/wordsize.h>.  Check __x86_64__ instead of
47174         __WORDSIZE.
47175         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47176         if __x86_64__ is defined.  Use anonymous union on fpstate.
47178         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47179         anonymous union.
47181 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47183         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47184         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47185         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47186         Refer to _rtld_local_ro instead of _rtld_global_ro.
47187         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47188         Likewise.
47189         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47190         Likewise.
47191         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47192         Likewise.
47193         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47194         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47195         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47197         * sysdeps/powerpc/powerpc32/dl-machine.c
47198         (__elf_machine_runtime_setup) [PROF]: Don't reference
47199         _dl_prof_resolve.
47201 2012-05-18  Andreas Jaeger  <aj@suse.de>
47203         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47204         function only available for GCCs before 3.4 since GCC 3.4
47205         introduced a builtin.
47206         (lrint): Likewise.
47207         (llrintf): Likewise.
47208         (llrint): Likewise.
47209         (fmaxf): Likewise.
47210         (fmax): Likewise.
47211         (fminf): Likewise.
47212         (fmin): Likewise.
47213         (rint): Likewise.
47214         (rintf): Likewise.
47215         (nearbyint): Likewise.
47216         (nearbyintf): Likewise.
47217         (ceil): Likewise.
47218         (ceilf): Likewise.
47219         (floor): Likewise.
47220         (floorf): Likewise.
47222 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47224         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47225         on both fields and cast pointer to __syscall_ulong_t.
47227         * bits/types.h (__fsword_t): New type.
47228         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47229         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47231         (__FSWORD_T_TYPE): Likewise.
47232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47233         (__FSWORD_T_TYPE): Likewise.
47234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47235         (__FSWORD_T_TYPE): Likewise.
47236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47237         (__FSWORD_T_TYPE): Likewise.
47238         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47239         __SWORD_TYPE with __fsword_t.
47240         (statfs64): Likewise.
47242 2012-05-17  David S. Miller  <davem@davemloft.net>
47244         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47246 2012-05-17  Andreas Jaeger  <aj@suse.de>
47248         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47249         warning.
47251 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47253         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47255 2012-05-17  Andreas Jaeger  <aj@suse.de>
47257         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47258         when it is used.
47260 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47262         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47264 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47266         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47267         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47269 2012-05-17  Andreas Jaeger  <aj@suse.de>
47270             Carlos O'Donell  <carlos_odonell@mentor.com>
47272         [BZ #14059]
47273         * sysdeps/x86_64/multiarch/init-arch.h
47274         (bit_YMM_Usable): Rename to...
47275         (bit_AVX_Usable): ... this.
47276         (bit_FMA4_Usable): New macro.
47277         (bit_XMM_state): New macro.
47278         (bit_YMM_state): New macro.
47279         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47280         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47281         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47282         (CPUID_OSXSAVE): New macro.
47283         (CPUID_AVX): New macro.
47284         (CPUID_FMA4): New macro.
47285         (index_YMM_Usable): Rename to...
47286         (index_AVX_Usable): ... this.
47287         (HAS_AVX): Use HAS_ARCH_FEATURE.
47288         (HAS_FMA4): Likewise.
47289         (HAS_YMM_USABLE): Remove.
47290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47291         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47292         are present.
47293         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47294         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47295         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47296         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47297         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47299 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47301         * math/libm-test.c: Support platforms without multiple rounding modes.
47302         * math/bug-nextafter.c: Support platforms without FP exceptions.
47303         * math/bug-nexttoward.c: Likewise.
47304         * math/test-fenv.c: Likewise.
47305         * math/test-misc.c: Likewise.
47306         * stdlib/bug-getcontext.c: Likewise.
47308 2012-05-17  Andreas Jaeger  <aj@suse.de>
47310         * manual/examples/search.c (critter_cmp): Change signature to
47311         avoid warnings.
47312         * manual/string.texi (Collation Functions): Likewise.
47314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47316         * bits/types.h: Fold copyright years.
47317         * bits/typesizes.h: Likewise.
47318         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47320         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47321         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47322         * time/time.h: Likewise.
47324 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47326         [BZ #208]
47327         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47328         in instead of returning them.  Return void.
47329         (__libc_mallinfo): Accumulate over all arenas.
47330         (__malloc_stats): Adjust for change in int_mallinfo interface.
47332 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47334         [BZ #10375]
47335         * configure.in (NM): Add AC_CHECK_TOOL for it.
47336         (libc_extra_cflags): New substituted variable.
47337         Check for -fstack-protector being used implicitly.
47338         * configure: Regenerated.
47339         * config.make.in (config-extra-cflags): New variable,
47340         gets @libc_extra_cflags@.
47341         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47343         [BZ #10375]
47344         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47345         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47346         * configure: Regenerated.
47347         * config.make.in (CPPUNDEFS): New substituted variable.
47348         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47349         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47350         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47352 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47354         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47355         (mq_attr): Use __syscall_slong_t.
47357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47359         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47360         Check __x86_64__ instead of __WORDSIZE.
47361         (_STAT_VER_LINUX): Likewise.
47362         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47363         __syscall_ulong_t and __syscall_slong_t.
47364         (stat64): Likewise.
47366 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47368         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47370 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47372         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47376         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47377         __syscall_ulong_t.
47379         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47380         include <bits/wordsize.h>.  Check __x86_64__ instead of
47381         __WORDSIZE.
47382         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47383         defined.
47384         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47386         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47387         include <bits/wordsize.h>.  Check __x86_64__ instead of
47388         __WORDSIZE.
47389         (user_regs_struct): Use "__extension__ unsigned long long"
47390         instead of "unsigned long" if __x86_64__ is defined.
47391         (user): Likewise.  Pad after pointer field if __ILP32__ is
47392         defined.
47394 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47396         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47397         versions 5 to 9.
47398         * configure: Regenerated.
47399         * manual/install.texi (texinfo): Increase version requirement to
47400         4.5 or later.
47401         * INSTALL: Regenerated.
47403         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47407         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47409         * sysdeps/x86_64/x32/ffs.c: New file.
47411         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47412         __syscall_ulong_t.
47413         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47414         defined.  Use __syscall_ulong_t.
47415         (shminfo): Use __syscall_ulong_t.
47416         (shm_info): Likewise.
47418         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47419         __syscall_ulong_t.
47421         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47422         <bits/wordsize.h>.
47423         (msgqnum_t): Use __syscall_ulong_t.
47424         (msglen_t): Likewise.
47425         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47426         __syscall_ulong_t.
47428         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47429         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47431         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47433         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47434         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47436         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47437         __syscall_slong_t.
47439         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47440         include <bits/wordsize.h>.  Check __x86_64__ instead of
47441         __WORDSIZE.
47443         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47444         "unsigned long long int" if __x86_64__ is defined.
47445         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47447         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47448         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47449         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47451         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47452         <stdint.h>.
47453         (GET_PC): Cast to uintptr_t first.
47454         (GET_FRAME): Likewise.
47455         (GET_STACK): Likewise.
47457         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47458         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47459         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47460         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47461         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47462         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47463         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47464         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47465         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47466         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47467         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47468         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47469         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47470         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47471         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47472         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47473         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47474         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47475         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47476         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47477         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47478         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47479         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47480         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47481         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47482         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47483         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47484         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47485         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47487 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47489         * Makerules (+depfiles): Also collect depfiles from .oS in
47490         $(extra-objs).
47491         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47492         .oS, $(libnldbl-routines)).
47494         * Makerules (native-compile-mkdep-flags): Define.
47495         * sunrpc/Makefile (extra-objs): Add $(addprefix
47496         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47497         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47498         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47499         calling $(make-target-directory).
47501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47503         * bits/types.h (__snseconds_t): Removed.
47504         * time/time.h (struct timespec): Replace __snseconds_t with
47505         __syscall_slong_t.
47506         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47507         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47508         Likewise.
47509         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47510         (__SNSECONDS_T_TYPE): Likewise.
47511         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47512         (__SNSECONDS_T_TYPE): Likewise.
47513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47514         (__SNSECONDS_T_TYPE): Likewise.
47516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47518         * sysdeps/mach/hurd/bits/typesizes.h
47519         (__SYSCALL_SLONG_TYPE): New macro.
47520         (__SYSCALL_ULONG_TYPE): Likewise.
47522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47524         * bits/types.h (__syscall_slong_t): New type.
47525         (__syscall_ulong_t): Likewise.
47527         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47528         (__SYSCALL_ULONG_TYPE): Likewise.
47529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47530         (__SYSCALL_SLONG_TYPE): Likewise.
47531         (__SYSCALL_ULONG_TYPE): Likewise.
47532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47533         (__SYSCALL_SLONG_TYPE): Likewise.
47534         (__SYSCALL_ULONG_TYPE): Likewise.
47535         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47536         (__SYSCALL_SLONG_TYPE): Likewise.
47537         (__SYSCALL_ULONG_TYPE): Likewise.
47539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47541         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47542         Add sigaltstack-offsets.sym.
47543         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47544         <sigaltstack-offsets.h>.
47545         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47546         longjmp_msg pointer.
47547         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47548         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47549         signal stack.
47550         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47552 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47554         * elf/stackguard-macros.h: Remove file.
47555         * sysdeps/generic/stackguard-macros.h: New file.
47556         * sysdeps/i386/stackguard-macros.h: Likewise.
47557         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47558         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47559         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47560         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47561         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47562         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47563         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47564         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47565         <elf/stackguard-macros.h>.
47567         [BZ #14109]
47568         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47569         __aligned__ in attribute.
47570         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47571         (gregset_t): Likewise.
47573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47575         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47576         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47577         * sysdeps/x86_64/x32/Implies-after: New file.
47579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47581         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47582         and access return value for _dl_profile_fixup.  Use R10_LP to
47583         load frame size.
47585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47587         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47591         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47592         * sysdeps/x86_64/x32/sysdep.h: New file.
47594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47596         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47597         * sysdeps/x86_64/setjmp.S: Likewise.
47599 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47601         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47602         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47603         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47604         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47605         remove unused global constant.
47607 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47609         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47610         include of <not-cancel.h>.
47612 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47614         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47616 2012-05-15  Jeff Law  <law@redhat.com>
47617             Andreas Jaeger  <aj@suse.de>
47619         [BZ #13594]
47620         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47621         out from...
47622         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47623         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47624         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47625         code changing __hst_map_handle.map.
47627 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47629         * configure.in (sysnames): Look for Implies-before and Implies-after
47630         files.
47631         * configure: Regenerated.
47633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47635         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47636         8-byte data alignment with LP_SIZE alignment.
47638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47640         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47641         into R10_LP.
47643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47645         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47649         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47650         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47651         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47652         Likewise.
47653         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47657         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47658         (stackinfo_sub_sp): Likewise.
47660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47662         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47663         RAX_LP.
47665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47667         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47668         into R*_LP.
47670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47672         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47673         sizes into R*_LP.
47675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47677         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47681         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47682         into R11_LP and load __x86_64_shared_cache_size_half into
47683         R8_LP.
47685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47687         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47688         R8_LP.
47690 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47693         logb for POWER7.
47694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47695         logbf for POWER7.
47696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47697         logbl for POWER7.
47698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47699         powerpc32/power7/fpu/s_logb.c via #include.
47700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47701         powerpc32/power7/fpu/s_logbf.c via #include.
47702         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47703         powerpc32/power7/fpu/s_logbl.c via #include.
47705 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47707         * README.libm: Remove file.
47709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47711         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47712         count for x32.  Use R*_LP and omit operand-size suffix.
47714 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47716         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47717         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47718         * sysdeps/x86_64/x32/shlib-versions: New file.
47720 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47722         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47723         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47724         Use _dl_fatal_printf instead.
47726 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47728         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47729         set if not set by the user.  Do not allow for being unset.
47730         * sysdeps/unix/sysv/linux/configure: Regenerated.
47732 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47734         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47735         the `q' suffix from lea and replace .quad with ASM_ADDR.
47737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47740         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47741         instead of $17.
47742         (PTR_DEMANGLE): Likewise.
47744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47746         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47747         (LP_OP): Likewise.
47748         (ASM_ADDR): Likewise.
47749         (RAX_LP): Likewise.
47750         (RBP_LP): Likewise.
47751         (RBX_LP): Likewise.
47752         (RCX_LP): Likewise.
47753         (RDI_LP): Likewise.
47754         (RSI_LP): Likewise.
47755         (RSP_LP): Likewise.
47756         (R8_LP): Likewise.
47757         (R9_LP): Likewise.
47758         (R10_LP): Likewise.
47759         (R10_LP): Likewise.
47760         (R11_LP): Likewise.
47761         (R12_LP): Likewise.
47762         (R13_LP): Likewise.
47763         (R14_LP): Likewise.
47764         (R15_LP): Likewise.
47766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47768         * sysdeps/x86_64/x32/dl-machine.h: New file.
47770 2012-05-14  Andreas Jaeger  <aj@suse.de>
47772         * manual/Makefile (subdir): Remove export of subdir.
47773         (all): Remove target.
47774         (.PHONY): Remove all from list.
47775         (mkinstalldirs): Remove.
47776         (.PHONY): Remove installdirs from list.
47777         ($(inst_infodir)/libc.info): Use make-target-directory.
47778         (installdirs): Remove.
47779         (subdir_%): Remove.
47780         (glibc-targets): Remove.
47781         (lib): Remove.
47782         (stubs): Remove.
47783         ($(objpfx)stubs ../po/manual.pot): Remove.
47784         ($(objpfx)stamp%): Remove.
47785         (make-target-directory): Remove.
47786         (subdir_install): Remove.
47787         (routines): Remove.
47788         (aux): Remove.
47789         (sources): Remove.
47790         (objects): Remove.
47791         (headers): Remove.
47793         [BZ #13750]
47794         * manual/.gitignore: Remove, it's not needed anymore.
47795         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47796         all files in it.
47797         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47798         directory.
47799         (texis): Renamed to $(objpfx)texis.
47800         (texis-path): New, contains path to generated files.
47801         (chapters.%): Use texis-path for complete path, add extra argument
47802         libc-texinfo.sh.
47803         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47804         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47805         (summary,texi, stamp-summary): Use complete path of
47806         files. Generate files in build dir.
47807         (dir-add.texi): Build in build dir.
47808         (libm-err.texi,stamp-libm-err): Likewise.
47809         (version.texi, stamp-version): Likewise.
47810         (.%c.texi): Likewise.
47811         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47812         (mostlyclean): Remove target.
47813         (realclean): Remove target.
47814         (generated): Add new variable with contents from mostlyclean and
47815         realclean, remove entries duplicated in common-mostlyclean, add
47816         stamp-libm-err and stamp-version.
47817         (generated-dirs): Add libc directory.
47818         ($(inst_infodir)/libc.info): Install files from build dir.
47820         * manual/install.texi (Configuring and compiling): Adjust since
47821         the info files are not part of the tar ball anymore.
47823 2012-05-14  Andreas Jaeger  <aj@suse.de>
47825         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47826         variable.
47828 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47830         [BZ #13717]
47831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47832         to 2.2.0 where earlier.
47833         * sysdeps/unix/sysv/linux/configure: Regenerated.
47834         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47835         Remove conditional code.
47836         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47837         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47838         Remove conditional code.
47839         [!__NR_lchown]: Likewise.
47840         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47841         [__NR_lchown]: Likewise.
47842         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47843         comment referencing __ASSUME_LCHOWN_SYSCALL.
47844         * sysdeps/unix/sysv/linux/i386/sigaction.c
47845         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47846         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47847         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47848         Remove conditional code.
47849         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47850         (__protocol_available): Remove #if 0 code.
47851         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47852         conditional code.
47853         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47854         * sysdeps/unix/sysv/linux/kernel-features.h
47855         (__ASSUME_GETCWD_SYSCALL): Don't define.
47856         (__ASSUME_REALTIME_SIGNALS): Likewise.
47857         (__ASSUME_PREAD_SYSCALL): Likewise.
47858         (__ASSUME_PWRITE_SYSCALL): Likewise.
47859         (__ASSUME_POLL_SYSCALL): Likewise.
47860         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47861         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47862         non-SPARC.
47863         (__ASSUME_SIOCGIFNAME): Don't define.
47864         (__ASSUME_MSG_NOSIGNAL): Likewise.
47865         (__ASSUME_SENDFILE): Define unconditionally.
47866         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47867         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47868         conditional code.
47869         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47870         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47871         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47872         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47873         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47874         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47875         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47877         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47880         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47883         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47889         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47890         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47892         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47893         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47895         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47898         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47899         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47900         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47901         Remove conditional code.
47902         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47903         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47904         Remove conditional code.
47905         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47906         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47907         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47908         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47909         Remove conditional code.
47910         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47911         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47912         Remove conditional code.
47913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47914         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47915         Remove conditional code.
47916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47917         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47918         Remove conditional code.
47919         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47920         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47921         Remove conditional code.
47922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47923         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47924         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47925         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47926         * sysdeps/unix/sysv/linux/sigaction.c
47927         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47928         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47929         * sysdeps/unix/sysv/linux/sigpending.c
47930         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47931         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47932         * sysdeps/unix/sysv/linux/sigprocmask.c
47933         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47934         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47935         * sysdeps/unix/sysv/linux/sigsuspend.c
47936         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47937         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47938         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47939         (__libc_missing_rt_sigs): Remove.
47940         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47941         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47942         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47943         Remove conditional code.
47944         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47945         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47946         return 1.
47947         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47948         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47949         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47950         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47952 2012-05-14  Andreas Jaeger  <aj@suse.de>
47954         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47955         it's not used in glibc.
47956         (__coshm1): Likewise.
47957         (__acosh1p): Likewise.
47958         (__sgn): Likewise.
47960         * manual/string.texi (Copying and Concatenation): Add missing
47961         variable in concat example.
47962         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47966         [BZ #14103]
47967         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47968         __builtin_clzl with __builtin_clzll.
47970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47972         [BZ #14104]
47973         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47974         libc_freeres_ptr.
47976 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47978         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47979         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47980         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47981         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47983 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47985         * NEWS: Update ia64 info.
47987 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47989         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47990         used as bcopy.
47992 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47994         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47995         * sysdeps/unix/syscalls.list (dup3): Likewise.
47996         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47997         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47999 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48001         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48002         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48004 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48006         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48007         thread pointer.
48008         (TLS_IE): Use mov/add instead of movq/addq to load thread
48009         pointer.
48010         (TLS_GD_PREFIX): New.
48011         (TLS_GD): Use it.
48013 2012-05-11  David S. Miller  <davem@davemloft.net>
48015         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48016         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48017         (_FPU_SETCW): Likewise.
48019 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48021         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48022         is 32-byte aligned.
48024 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48026         [BZ #11837]
48027         * iconvdata/gb18030.c: Update tables.
48028         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48029         characters specially.
48030         (BODY for TO_LOOP): Add encoding of missing ranges.
48032 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48034         [BZ #13673]
48035         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48036         * sysdeps/mach/hurd/dup3.c: Likewise.
48037         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48038         * sysdeps/powerpc/memmove.c:: Likewise.
48040 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48043         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48047         * elf/elf.h (R_X86_64_RELATIVE64): New.
48048         (R_X86_64_NUM): Updated.
48049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48050         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48051         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48052         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48053         tst-quad1pie tst-quad2pie
48054         (modules-names): Add tst-quadmod1 tst-quadmod2.
48055         ($(objpfx)tst-quad1): New dependency.
48056         ($(objpfx)tst-quad2): Likewise.
48057         ($(objpfx)tst-quad1pie): Likewise.
48058         ($(objpfx)tst-quad2pie): Likewise.
48059         * sysdeps/x86_64/tst-quad1.c: New file.
48060         * sysdeps/x86_64/tst-quad1pie.c: New file.
48061         * sysdeps/x86_64/tst-quad2.c: Likewise.
48062         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48063         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48064         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48065         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48066         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48068 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48070         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48071         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48072         * streams/stropts.h (t_scalar_t): Define type.
48074         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48075         (_PATH_PRESERVE): Set to "/var/lib".
48076         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48078         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48079         instead of int.
48081         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48082         if __dir_mkfile succeeded.
48084         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48085         checking for _hurd_dtablesize.  Unlock it right after having
48086         finished _hurd_dtable allocation.
48088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48090         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48091         * sysdeps/mach/hurd/configure: Regenerated.
48092         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48093         special-casing to...
48094         * sysdeps/gnu/configure.in: ... this new file.
48095         * sysdeps/unix/sysv/linux/configure: Regenerated.
48096         * sysdeps/gnu/configure: New generated file.
48098         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48099         for Linux: use nsec instead of usec, as well as:
48100         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48101         members of type struct timespec.
48102         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48103         New macros.
48104         (struct stat64): Likewise.
48105         (_STATBUF_ST_NSEC): New macro.
48106         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48108         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48109         __strtoul_internal rather than strtoul.
48111 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48113         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48114         and reject them.
48116 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48118         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48119         which preserves existing values.
48120         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48122 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48124         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48125         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48126         greater than FD_SETSIZE.
48128 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48130         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48131         allocated, call __vm_protect to finish enabling the existing space, and
48132         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48133         allocate the remainder.
48135 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48137         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48138         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48142         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48143         sysdeps/mach/hurd/readlink.c.
48145         * posix/tst-sysconf.c (posix_options): Only use
48146         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48147         _POSIX_SYNCHRONIZED_IO when they are defined
48148         * sysdeps/mach/hurd/bits/posix_opt.h:
48149         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48150         (_XOPEN_REALTIME): Undefine macro.
48151         (_XOPEN_REALTIME_THREADS): Undefine macro.
48152         (_XOPEN_SHM): Undefine macro.
48153         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48154         macro to -1.
48155         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48156         macro to -1.
48157         (_POSIX_ASYNC_IO): Undefine macro.
48158         (_POSIX_PRIORITIZED_IO): Undefine macro.
48159         (_POSIX_SPIN_LOCKS): Define macro to -1.
48161         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48162         SA_NODEFER, SA_RESETHAND.
48163         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48164         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48165         F_DUPFD_CLOEXEC.
48167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48169         * elf/Makefile (pldd-modules): Define unconditionally.
48171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48173         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48177         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48178         Return ENOENT when name is empty.
48179         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48183         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48185         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48187 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48189         Fix mlock in all cases except non-readable pages.
48190         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48191         instead of VM_PROT_ALL as parameter to __vm_wire function.
48193         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48194         (__mkdir): When path is `/', just fail with EEXIST.
48195         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48197 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48199         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48200         <sys/uio.h> (for writev).
48201         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48202         and <sys/param.h> (for MIN).
48204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48206         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48207         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48208         if interrupted.
48210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48212         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48213         Depend on against $(link-rpcuserlibs).
48215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48217         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48218         (__libc_stack_end): Do not use attribute_relro.
48219         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48220         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48221         to libthread-provided value.
48222         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48223         attribute_relro.
48225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48227         [BZ #3748]
48228         * bits/libc-lock.h (__libc_once_get): New macro.
48229         * sysdeps/mach/bits/libc-lock.h: Likewise.
48230         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48231         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48232         instead of using implementation details.
48234         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48235         * libio/freopen.c: Likewise.
48236         * libio/freopen64.c: Likewise.
48237         * misc/syslog.c: Likewise.
48238         * nscd/connections.c: Likewise.
48239         * nscd/netgroupcache.c: Likewise.
48240         * sysdeps/posix/getcwd.c: Likewise.
48242 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48244         * math/w_ilogbf.c: Add #include <limits.h>.
48246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48248         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48249         path instead of returning without unlocking.
48251         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48252         immediate-write ioctls.
48253         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48257         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48258         __builtin_frame_address instead of making assumptions about the
48259         location of the return address relative to DATA.  Force early load of
48260         the return address.
48261         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48262         __builtin_frame_address.
48264         dup3 for GNU Hurd.
48265         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48266         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48267         implement dup3 and do some further code clean-ups.
48268         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48269         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48273         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48275         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48276         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48277         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48278         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48279         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48280         d->port.lock.
48282         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48283         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48284         when handler == SIG_ERR, not when handler != SIG_ERR.
48286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48288         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48289         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48290         definitions.
48292         accept4 for GNU Hurd.
48293         * include/sys/socket.h (__libc_accept4): New prototype.
48294         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48295         to implement __libc_accept4.
48296         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48297         __libc_accept4.
48298         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48300         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48301         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48302         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48303         signal-defines.sym.
48305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48307         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48311         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48312         assertion on O_CLOEXEC flag.
48313         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48314         * hurd/intern-fd.c: Likewise.
48315         * hurd/port2fd.c: Likewise.
48317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48319         [BZ #3906]
48320         * bits/in.h (IPV6_PKTINFO): Define new macro.
48321         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48323 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48325         [BZ #13954]
48326         [BZ #13955]
48327         [BZ #13956]
48328         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48329         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48330         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48331         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48332         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48333         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48334         * math/libm-test.inc (logb_test) : Additional logb tests.
48336 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48337             Andreas Jaeger  <aj@suse.de>
48339         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48340         * configure: Regenerated.
48341         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48342         * config.make.in (link-obsolete-rpc): New substituted variable.
48343         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48344         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48345         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48346         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48347         so that libc.a contains the symbols.
48348         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48349         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48350         * sunrpc/auth_none.c: Likewise.
48351         * sunrpc/auth_unix.c: Likewise.
48352         * sunrpc/authdes_prot.c: Likewise.
48353         * sunrpc/authuxprot.c: Likewise.
48354         * sunrpc/clnt_gen.c: Likewise.
48355         * sunrpc/clnt_perr.c: Likewise.
48356         * sunrpc/clnt_raw.c: Likewise.
48357         * sunrpc/clnt_simp.c: Likewise.
48358         * sunrpc/clnt_tcp.c: Likewise.
48359         * sunrpc/clnt_udp.c: Likewise.
48360         * sunrpc/clnt_unix.c: Likewise.
48361         * sunrpc/des_crypt.c: Likewise.
48362         * sunrpc/des_soft.c: Likewise.
48363         * sunrpc/get_myaddr.c: Likewise.
48364         * sunrpc/key_call.c: Likewise.
48365         * sunrpc/key_prot.c: Likewise.
48366         * sunrpc/netname.c: Likewise.
48367         * sunrpc/pm_getmaps.c: Likewise.
48368         * sunrpc/pm_getport.c: Likewise.
48369         * sunrpc/pmap_clnt.c: Likewise.
48370         * sunrpc/pmap_prot.c: Likewise.
48371         * sunrpc/pmap_prot2.c: Likewise.
48372         * sunrpc/pmap_rmt.c: Likewise.
48373         * sunrpc/publickey.c: Likewise.
48374         * sunrpc/rpc_cmsg.c: Likewise.
48375         * sunrpc/rpc_common.c: Likewise.
48376         * sunrpc/rpc_dtable.c: Likewise.
48377         * sunrpc/rpc_prot.c: Likewise.
48378         * sunrpc/rpc_thread.c: Likewise.
48379         * sunrpc/rtime.c: Likewise.
48380         * sunrpc/svc.c: Likewise.
48381         * sunrpc/svc_auth.c: Likewise.
48382         * sunrpc/svc_raw.c: Likewise.
48383         * sunrpc/svc_run.c: Likewise.
48384         * sunrpc/svc_tcp.c: Likewise.
48385         * sunrpc/svc_udp.c: Likewise.
48386         * sunrpc/svc_unix.c: Likewise.
48387         * sunrpc/svcauth_des.c: Likewise.
48388         * sunrpc/xcrypt.c: Likewise.
48389         * sunrpc/xdr.c: Likewise.
48390         * sunrpc/xdr_array.c: Likewise.
48391         * sunrpc/xdr_float.c: Likewise.
48392         * sunrpc/xdr_intXX_t.c: Likewise.
48393         * sunrpc/xdr_mem.c: Likewise.
48394         * sunrpc/xdr_rec.c: Likewise.
48395         * sunrpc/xdr_ref.c: Likewise.
48396         * sunrpc/xdr_sizeof.c: Likewise.
48397         * sunrpc/xdr_stdio.c: Likewise.
48399 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48402         change.  Update copyright years.
48404 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48406         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48408 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48409             Joseph Myers  <joseph@codesourcery.com>
48410             Paul Pluzhnikov  <ppluzhnikov@google.com>
48412         [BZ #14012]
48413         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48414         requiring rpcgen.
48415         [cross-compiling] (extra-libs): Likewise.
48416         [cross-compiling] (extra-libs-others): Likewise.
48417         [cross-compiling] (librpcsvc-routines): Likewise.
48418         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48419         [cross-compiling] (omit-deps): Likewise.
48420         (sunrpc-CPPFLAGS): New variable.
48421         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48422         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48423         (cross-rpcgen-objs): New variable.
48424         (extra-objs): Append $(cross-rpcgen-objs).
48425         ($(cross-rpcgen-objs)): New rule.
48426         ($(objpfx)cross-rpcgen): Likewise.
48427         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48428         comment.
48429         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48430         ($(objpfx)x%.stmp): Likewise.
48431         * sunrpc/proto.h [IS_IN_build] (_): Define.
48432         [IS_IN_build] (_libc_intl_domainname): Likewise.
48434 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48436         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48437         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48438         and R_X86_64_TPOFF64.
48440 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48442         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48443         sysdeps/unix/sysv/syscalls.list.
48444         (stime): Likewise.
48445         (utime): Likewise.
48446         * sysdeps/unix/sysv/syscalls.list: Remove file.
48448 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48450         [BZ #3440]
48451         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48452         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48453         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48454         (__LC_IDENTIFICATION): Make these macros useful in #if
48455         expressions, as required by C99.
48457 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48459         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48460         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48461         after this.
48463 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48465         * stdlib/longlong.h: Updated from GCC.
48467 2012-05-09  Andreas Jaeger  <aj@suse.de>
48469         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48470         default is first entry.
48471         (run_mode): Set type.
48472         (main): Remove informal message about syslog.
48473         (options): Fix typo.
48475         [BZ #14053]
48476         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48477         to asm.
48478         (lrint): Likewise.
48479         (llrintf): Likewise.
48480         (llrint): Likewise.
48481         (rint): Likewise.
48482         (rintf): Likewise.
48483         (nearbyint): Likewise.
48484         (nearbyintf): Likewise.
48486 2012-05-09  Andreas Jaeger  <aj@suse.de>
48487             Pedro Alves  <palves@redhat.com>
48489         * nscd/nscd.c (run_mode): Use enum.
48490         (main): Cleanup coding style issue.
48492 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48493             Andreas Jaeger  <aj@suse.de>
48495         * nscd/nscd.c (go_background): Replaced with...
48496         (run_mode): ... this.
48497         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48498         (options): Add -F --foreground.
48499         (main): Implement it.
48500         (parse_opt): Parse it.
48502 2012-05-09  Andreas Jaeger  <aj@suse.de>
48504         [BZ #14083]
48505         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48506         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48507         -Wconversion warning.
48508         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48509         Likewise.
48511 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48513         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48514         == 0.
48515         (LC_ALL): Use macro-int-constant.
48516         (LC_COLLATE): Likewise.
48517         (LC_CTYPE): Likewise.
48518         (LC_MESSAGES): Likewise.
48519         (LC_MONETARY): Likewise.
48520         (LC_NUMERIC): Likewise.
48521         (LC_TIME): Likewise.
48522         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48523         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48524         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48525         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48526         Specify type.
48527         [C99-based standards] (float_t): Expect type.
48528         [C99-based standards] (double_t): Expect type.
48529         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48530         type.
48531         [C99-based standards] (HUGE_VALL): Likewise.
48532         [C99-based standards] (INFINITY): Likewise.
48533         [C99-based standards] (NAN): Likewise.
48534         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48535         [C99-based standards] (FP_NAN): Likewise.
48536         [C99-based standards] (FP_NORMAL): Likewise.
48537         [C99-based standards] (FP_SUBNORMAL): Likewise.
48538         [C99-based standards] (FP_ZERO): Likewise.
48539         [C99-based standards] (FP_FAST_FMA): Use
48540         optional-macro-int-constant.  Specify type.  Require == 1.
48541         [C99-based standards] (FP_FAST_FMAF): Likewise.
48542         [C99-based standards] (FP_FAST_FMAL): Likewise.
48543         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48544         [C99-based standards] (FP_ILOGBNAN): Likewise.
48545         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48546         Specify type.
48547         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48548         [C99-based standards] (math_errhandling): Specify type.
48549         [ISO99 || ISO11] (signgam): Do not allow.
48550         [non-C99-based standards] (copysignf): Do not allow.
48551         [non-C99-based standards] (exp2f): Likewise.
48552         [non-C99-based standards] (log2f): Likewise.
48553         [non-C99-based standards] (modff): Allow.
48554         [non-C99-based standards] (erff): Do not allow.
48555         [non-C99-based standards] (erfcf): Likewise.
48556         [non-C99-based standards] (gammaf): Likewise.
48557         [non-C99-based standards] (hypotf): Likewise.
48558         [non-C99-based standards] (j0f): Likewise.
48559         [non-C99-based standards] (j1f): Likewise.
48560         [non-C99-based standards] (jnf): Likewise.
48561         [non-C99-based standards] (lgammaf): Likewise.
48562         [non-C99-based standards] (tgammaf): Likewise.
48563         [non-C99-based standards] (y0f): Likewise.
48564         [non-C99-based standards] (y1f): Likewise.
48565         [non-C99-based standards] (ynf): Likewise.
48566         [non-C99-based standards] (isnanf): Likewise.
48567         [non-C99-based standards] (acoshf): Likewise.
48568         [non-C99-based standards] (asinhf): Likewise.
48569         [non-C99-based standards] (atanhf): Likewise.
48570         [non-C99-based standards] (cbrtf): Likewise.
48571         [non-C99-based standards] (expm1f): Likewise.
48572         [non-C99-based standards] (ilogbf): Likewise.
48573         [non-C99-based standards] (log1pf): Likewise.
48574         [non-C99-based standards] (logbf): Likewise.
48575         [non-C99-based standards] (nextafterf): Likewise.
48576         [non-C99-based standards] (remainderf): Likewise.
48577         [non-C99-based standards] (rintf): Likewise.
48578         [non-C99-based standards] (scalbf): Likewise.
48579         [non-C99-based standards] (copysignl): Likewise.
48580         [non-C99-based standards] (exp2l): Likewise.
48581         [non-C99-based standards] (log2l): Likewise.
48582         [non-C99-based standards] (modfl): Allow.
48583         [non-C99-based standards] (erfl): Do not allow.
48584         [non-C99-based standards] (erfcl): Likewise.
48585         [non-C99-based standards] (gammal): Likewise.
48586         [non-C99-based standards] (hypotl): Likewise.
48587         [non-C99-based standards] (j0l): Likewise.
48588         [non-C99-based standards] (j1l): Likewise.
48589         [non-C99-based standards] (jnl): Likewise.
48590         [non-C99-based standards] (lgammal): Likewise.
48591         [non-C99-based standards] (tgammal): Likewise.
48592         [non-C99-based standards] (y0l): Likewise.
48593         [non-C99-based standards] (y1l): Likewise.
48594         [non-C99-based standards] (ynl): Likewise.
48595         [non-C99-based standards] (isnanl): Likewise.
48596         [non-C99-based standards] (acoshl): Likewise.
48597         [non-C99-based standards] (asinhl): Likewise.
48598         [non-C99-based standards] (atanhl): Likewise.
48599         [non-C99-based standards] (cbrtl): Likewise.
48600         [non-C99-based standards] (expm1l): Likewise.
48601         [non-C99-based standards] (ilogbl): Likewise.
48602         [non-C99-based standards] (log1pl): Likewise.
48603         [non-C99-based standards] (logbl): Likewise.
48604         [non-C99-based standards] (nextafterl): Likewise.
48605         [non-C99-based standards] (remainderl): Likewise.
48606         [non-C99-based standards] (rintl): Likewise.
48607         [non-C99-based standards] (scalbl): Likewise.
48608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48609         [non-C99-based standards] (FP_*): Do not allow.
48610         [C99-based standards] (FP_*): Change to
48611         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48612         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48613         allow.
48614         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48615         (SIG_ERR): Likewise.
48616         [X/Open-based standards] (SIG_HOLD): Likewise.
48617         (SIG_IGN): Likewise.
48618         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48619         positive value.
48620         (SIGFPE): Likewise.
48621         (SIGILL): Likewise.
48622         (SIGINT): Likewise.
48623         (SIGSEGV): Likewise.
48624         (SIGTER): Likewise.
48625         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48626         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48627         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48628         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48629         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48630         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48631         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48632         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48633         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48634         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48635         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48636         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48637         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48638         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48639         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48640         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48641         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48642         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48643         [X/Open-based standards] (SIGTRAP): Likewise.
48644         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48645         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48646         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48647         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48648         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48649         allow.
48651 2012-05-08  Ian Wienand  <ianw@vmware.com>
48653         [BZ #14080]
48654         * time/tzset.c (__tzset_parse_tz): Update default rules for
48655         daylight time changes in the Energy Policy Act of 2005.
48657 2012-05-09  Andreas Jaeger  <aj@suse.de>
48659         [BZ #13983]
48660         * elf/ldconfig.c (parse_conf): Change string to make clear that
48661         ldconfig only issued a warning if ld.so.conf does not exist.
48663 2012-05-08  David S. Miller  <davem@davemloft.net>
48665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48666         movxtod instead of popping the value on the stack.
48668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48670 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48672         * config.h.in: Add HAVE_ARM_PCS_VFP.
48674 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48676         [BZ #13979]
48677         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48678         checking but the checks are disabled for any reason.
48680 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48682         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48683         and ELF64_R_TYPE with ELFW(R_TYPE).
48685 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48687         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48688         (ulimit): Likewise.
48690         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48691         (settimeofday): Likewise.
48693 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48695         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48696         a struct th_u2 inside the union, and move tu_block/tu_code into
48697         a new th_u3 union of tu_block/tu_code inside of that.  Move
48698         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48699         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48700         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48701         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48702         (th_stuff): Change to th_u1.tu_stuff.
48703         (th_data): Define.
48704         (th_msg): Change to th_u1.th_u2.tu_data.
48706 2012-05-07  David S. Miller  <davem@davemloft.net>
48708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48710         [BZ #14074]
48711         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48712         (SETUP_PIC_REG): Use it.
48713         (SETUP_PIC_REG_LEAF): Use it.
48715 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48717         [BZ #13885]
48718         [BZ #13923]
48719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48720         USE_AS_EXPM1L.
48721         (EXPL_FINITE): Likewise.
48722         (FLDLOG): Likewise.
48723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48724         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48725         e_expl.S.
48726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48727         USE_AS_EXPM1L.
48728         (EXPL_FINITE): Likewise.
48729         (FLDLOG): Likewise.
48730         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48731         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48732         e_expl.S.
48733         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48734         test of -max_value argument for long double.
48735         * sysdeps/i386/fpu/libm-test-ulps: Update.
48736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48738 2012-05-06  David S. Miller  <davem@davemloft.net>
48740         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48741         quad soft-float symbols whose references which are compiler
48742         generated.
48743         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48745 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48747         [BZ #13884]
48748         [BZ #13914]
48749         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48750         USE_AS_EXP10L.
48751         (EXPL_FINITE): Likewise.
48752         (FLDLOG): Likewise.
48753         (c0): Likewise.
48754         (c1): Likewise.
48755         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48756         Adjust comments for base varying.
48757         (__expl_finite): Change alias to EXPL_FINITE.
48758         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48759         e_expl.S.
48760         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48761         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48762         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48763         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48764         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48765         USE_AS_EXP10L.
48766         (EXPL_FINITE): Likewise.
48767         (FLDLOG): Likewise.
48768         (c0): Likewise.
48769         (c1): Likewise.
48770         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48771         Adjust comments for base varying.
48772         (__expl_finite): Change alias to EXPL_FINITE.
48773         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48774         tests for bugs.
48775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48777         [BZ #14064]
48778         * math/libm-test.inc (check_float_internal): Correct ulp
48779         calculation for subnormal expected results.
48781 2012-05-06  Andreas Jaeger  <aj@suse.de>
48783         * Makeconfig (+math-flags): New, set to -frounding-math.
48784         (+cflags): Add +math-flags so that all of glibc gets compiled with
48785         it.
48787         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48789 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48791         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48792         Disable one test.
48794         [BZ #13787]
48795         [BZ #13922]
48796         [BZ #14036]
48797         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48798         (__ieee754_expl): Allow for and saturate large arguments.
48799         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48800         (u_threshold): Likewise.
48801         (__exp): Call __ieee754_exp before checking for overflow and
48802         underflow.
48803         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48804         (u_threshold): Likewise.
48805         (__expf): Call __ieee754_expf before checking for overflow and
48806         underflow.
48807         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48808         (u_threshold): Likewise.
48809         (__expl): Call __ieee754_expl before checking for overflow and
48810         underflow.
48811         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48812         (__ieee754_expl): Allow for and saturate large arguments.
48813         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48814         missing overflow exception on overflow.
48815         (expm1_test): Do not allow missing overflow exception on overflow.
48817         * sysdeps/i386/fpu/e_expl.c: Move to ...
48818         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48819         rather than using inline asm.
48820         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48821         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48822         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48824         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48825         (nice): Likewise.
48826         (poll): Likewise.
48827         (signal): Likewise.
48828         (time): Likewise.
48829         (times): Likewise.
48831 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48833         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48834         sysdeps/unix/common/syscalls.list.
48835         (fchmod): Likewise.
48836         (fchown): Likewise.
48837         (ftruncate): Likewise.
48838         (getrusage): Likewise.
48839         (gettimeofday): Likewise.
48840         (setpgid): Likewise.
48841         (setregid): Likewise.
48842         (setreuid): Likewise.
48843         (sigaction): Likewise.
48844         (truncate): Likewise.
48845         (vhangup): Likewise.
48846         * sysdeps/unix/common/syscalls.list: Remove file.
48847         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48848         * sysdeps/unix/sysv/linux/Implies: Likewise.
48850 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48852         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48854         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48855         Moved to ...
48856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48857         Here.
48858         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48859         to ...
48860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48861         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48862         to ...
48863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48864         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48865         to ...
48866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48867         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48868         to ...
48869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48870         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48871         to ...
48872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48873         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48874         to ...
48875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48876         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48877         to ...
48878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48879         Here.
48880         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48881         to ...
48882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48883         Here.
48884         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48885         to ...
48886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48887         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48888         Moved to ...
48889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48890         Here.
48891         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48892         to ...
48893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48895 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48897         * sysdeps/unix/common/bits/dirent.h: Remove file.
48898         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48900         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48901         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48902         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48903         * sysdeps/unix/bsd/isatty.c: Likewise.
48904         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48905         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48906         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48908 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48910         [BZ #13563]
48911         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48912         long double comparison inaccuracies.
48913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48916 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48918         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48919         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48921 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48923         [BZ #14049]
48924         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48925         nonzero digits before rounding a hex value.
48926         * stdlib/tst-strtod.c (tests): Add another test.
48928 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48930         * sysdeps/s390/fpu/libm-test-ulps: Update.
48932 2012-05-03  Andreas Jaeger  <aj@suse.de>
48934         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48935         does not get optimized out.
48936         (malloc_opt_barrier): New.
48938 2012-05-03  Andreas Jaeger  <aj@suse.de>
48939             Roland McGrath  <roland@hack.frob.com>
48941         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48942         intermediate file deletion.
48943         (generated): Add .symlist files.
48945 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48947         [BZ #13775]
48948         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48949         Redirect under this condition.
48950         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48951         [__USE_GNU] (__dprintf_chk): Not under this condition.
48952         [__USE_GNU] (__vdprintf_chk): Likewise.
48953         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48954         under this condition.
48955         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48956         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48957         [__USE_XOPEN2K8] (vdprintf): Likewise.
48958         [__USE_GNU] (__dprintf_chk): Not under this condition.
48959         [__USE_GNU] (__vdprintf_chk): Likewise.
48960         [__USE_GNU] (dprintf): Likewise.
48961         [__USE_GNU] (vdprintf): Likewise.
48963 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48965         * elf/Makefile (common-generated): Set this instead of generated for
48966         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48967         $(all-built-dso)-derived lists.
48969 2012-05-03  Andreas Jaeger  <aj@suse.de>
48971         * sysdeps/i386/fpu/libm-test-ulps: Update.
48973         * FAQ: Removed.
48974         * FAQ.in: Likewise.
48975         * scripts/gen-FAQ.pl: Likewise.
48976         * manual/install.texi (Installation): Point to online location of
48977         FAQ.
48978         * Makefile (files-for-dist): Remove FAQ.
48979         (FAQ): Remove.
48981 2012-05-02  Allan McRae  <allan@archlinux.org>
48983         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48984         (LDFLAGS-reldepmod5.so): Likewise.
48985         (LDFLAGS-reldep6mod1.so): Likewise.
48986         (LDFLAGS-reldep6mod4.so): Likewise.
48987         (LDFLAGS-reldep8mod3.so): Likewise.
48988         (LDFLAGS-unload4mod1.so): Likewise.
48989         (LDFLAGS-unload4mod2.so): Likewise.
48990         (LDFLAGS-tst-initorder): Likewise.
48991         (LDFLAGS-tst-initordera2.so): Likewise.
48992         (LDFLAGS-tst-initordera3.so): Likewise.
48993         (LDFLAGS-tst-initordera4.so): Likewise.
48994         (LDFLAGS-tst-initorderb2.so): Likewise.
48995         (LDFLAGS-noload): Likewise.
48996         (LDFLAGS-next): Likewise.
48997         (LDFLAGS-order2mod1.so): Likewise.
48998         (LDFLAGS-order2mod2.so): Likewise.
48999         (LDFLAGS-tst-initorder2): Likewise.
49000         (LDFLAGS-tst-initorder2a.so): Likewise.
49001         (LDFLAGS-tst-initorder2b.so): Likewise.
49002         (LDFLAGS-tst-initorder2c.so): Likewise.
49003         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49005 2012-05-02  David S. Miller  <davem@davemloft.net>
49007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49009 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49011         [BZ #14055]
49012         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49014 2012-05-02  Andreas Jaeger  <aj@suse.de>
49016         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49017         since we manipulate rounding mode.
49018         (CPPFLAGS-test-idouble.c): Likewise.
49019         (CPPFLAGS-test-ifloat.c): Likewise.
49020         (CFLAGS-test-ldouble.c): Likewise.
49021         (CFLAGS-test-double.c): Likewise.
49022         (CFLAGS-test-float.c): Likewise.
49023         (CFLAGS-test-misc.c): Likewise.
49024         (CFLAGS-test-test-fenv.c): Likewise.
49026 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49028         [BZ #2550]
49029         [BZ #2570]
49030         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49031         comparisons to determine direction to adjust input.
49033 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49035         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49036         output to the target.
49038         * scripts/localplt.awk: New file.
49039         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49040         (check-localplt-CFLAGS): Variable removed.
49041         ($(all-built-dso:=.jmprel)): New static pattern rule.
49042         (generated): Add those targets.
49043         (localplt-built-dso): New variable.
49044         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49046         * elf/check-localplt.c: File removed.
49048         * scripts/check-execstack.awk: New file.
49049         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49050         (check-execstack-CFLAGS): Variable removed.
49051         ($(objpfx)check-execstack.h): Target removed.
49052         ($(objpfx)execstack-default): New target.
49053         (generated): Add that instead of check-execstack.h.
49054         ($(all-built-dso:=.phdr)): New static pattern rule.
49055         (generated): Add those targets.
49056         * elf/check-execstack.c: File removed.
49058         * scripts/check-textrel.awk: New file.
49059         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49060         (check-textrel-CFLAGS): Variable removed.
49061         (all-built-dso): Use := to define.o
49062         ($(all-built-dso:=.dyn)): New static pattern rule.
49063         (generated): Add those targets.
49064         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49065         * config.make.in (READELF): New substituted variable.
49066         * elf/check-textrel.c: File removed.
49068 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49070         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49071         allow.
49072         * conform/data/ctype.h-data [C99-based standards] (isblank):
49073         Expect function.
49074         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49075         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49076         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49077         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49078         Specify type.  Require positive value.
49079         (EILSEQ): Likewise.
49080         (ERANGE): Likewise.
49081         [ISO || POSIX] (EILSEQ): Do not expect.
49082         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49083         Specify type.  Require positive value.
49084         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49085         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49086         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49087         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49088         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49089         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49090         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49091         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49092         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49093         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49094         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49095         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49096         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49097         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49098         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49099         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49100         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49101         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49102         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49103         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49104         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49105         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49106         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49107         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49108         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49109         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49110         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49111         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49112         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49113         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49114         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49115         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49116         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49117         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49118         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49119         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49120         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49121         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49122         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49123         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49124         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49125         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49126         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49127         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49128         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49129         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49130         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49131         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49132         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49133         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49134         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49135         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49136         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49137         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49138         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49139         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49140         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49141         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49142         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49143         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49144         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49145         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49146         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49147         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49148         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49149         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49150         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49151         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49152         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49153         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49154         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49155         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49156         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49157         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49158         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49159         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49160         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49161         Require >= 2.
49162         (FLT_ROUNDS): Expect as macro, not constant.
49163         (FLT_MANT_DIG): Use macro-int-constant.
49164         (DBL_MANT_DIG): Likewise.
49165         (LDBL_MANT_DIG): Likewise.
49166         (FLT_DIG): Likewise.
49167         (DBL_DIG): Likewise.
49168         (LDBL_DIG): Likewise.
49169         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49170         (DBL_MIN_EXP): Likewise.
49171         (LDBL_MIN_EXP): Likewise.
49172         (FLT_MAX_EXP): Use macro-int-constant.
49173         (DBL_MAX_EXP): Likewise.
49174         (LDBL_MAX_EXP): Likewise.
49175         (FLT_MAX_10_EXP): Likewise.
49176         (DBL_MAX_10_EXP): Likewise.
49177         (LDBL_MAX_10_EXP): Likewise.
49178         (FLT_MAX): Use macro-constant.
49179         (DBL_MAX): Likewise.
49180         (LDBL_MAX): Likewise.
49181         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49182         (DBL_EPSILON): Likewise.
49183         (LDBL_EPSILON): Likewise.
49184         (FLT_MIN): Likewise.
49185         (DBL_MIN): Likewise.
49186         (LDBL_MIN): Likewise.
49187         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49188         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49189         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49190         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49191         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49192         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49193         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49194         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49195         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49196         [ISO11] (FLT_TRUE_MIN): Likewise.
49197         [ISO11] (LDBL_TRUE_MIN): Likewise.
49198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49199         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49200         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49201         (SCHAR_MAX): Likewise.
49202         (UCHAR_MAX): Likewise.
49203         (CHAR_MIN): Likewise.
49204         (CHAR_MAX): Likewise.
49205         (MB_LEN_MAX): Use macro-int-constant.
49206         (SHRT_MIN): Use macro-int-constant.  Specify type.
49207         (SHRT_MAX): Likewise.
49208         (USHRT_MAX): Likewise.
49209         (INT_MAX): Likewise.
49210         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49211         bound negative.
49212         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49213         bound with "U".
49214         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49215         bound with "L".
49216         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49217         bound negative.  Suffix upper bound with "L".
49218         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49219         bound with "UL".
49220         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49221         Specify type.
49222         [C99-based standards] (LLONG_MAX): Likewise.
49223         [C99-based standards] (ULLONG_MAX): Likewise.
49224         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49225         == 0.
49226         [ISO11] (max_align_t): Require type.
49227         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49229         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49230         from $CFLAGS, without defining away __attribute__ calls.
49231         (checknamespace): Use $CFLAGS_namespace.
49233         * conform/conformtest.pl (@keywords): Only include C99 keywords
49234         for standards based on C99 or C11.
49236         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49237         Disable tests.
49238         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49239         UNIX98]: Likewise.
49241         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49242         usability of symbols in #if.
49244         * conform/conformtest.pl: If macro or constant types start
49245         "promoted:", expect the symbol to be of the following type
49246         promoted by the integer promotions.
49248         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49249         in one place.  Also handle "macro-constant".
49251         * conform/conformtest.pl: Only accept expected macro values with
49252         "==".  Parse all "macro" lines in one place.
49253         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49255         * conform/conformtest.pl: Handle braced types on "constant" lines
49256         instead of handling "typed-constant".
49257         * conform/data/signal.h-data: Use "constant" instead of
49258         "typed-constant".
49260         * conform/conformtest.pl: Handle "optional-" at start of lines in
49261         one place rather than duplicating several cases.  Handle each
49262         format of "macro" line with initial "optional-".
49264         * conform/conformtest.pl: Only accept expected constant or
49265         optional-constant values with "==".  Parse all "constant" lines in
49266         one place.  Parse all "optional-constant" lines in one place.
49267         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49268         * conform/data/fmtmsg.h-data: Likewise.
49269         * conform/data/netinet/in.h-data: Likewise.
49270         * conform/data/tar.h-data: Likewise.
49271         * conform/data/limits.h-data: Use "==" form on "constant" and
49272         "optional-constant" lines.
49274         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49275         Use -std=c99 for XOPEN2K.
49276         (@knownproblems): Remove.
49277         (newtoken): Don't check %isknown.
49279         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49280         Do not expect macro.
49281         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49282         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49283         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49284         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49285         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49286         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49287         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49288         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49289         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49290         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49291         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49292         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49293         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49294         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49295         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49296         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49297         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49298         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49299         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49300         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49301         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49302         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49303         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49304         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49305         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49306         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49307         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49308         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49309         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49310         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49311         [XPG3] (acosh): Likewise.
49312         [XPG3] (asinh): Likewise.
49313         [XPG3] (atanh): Likewise.
49314         [XPG3] (cbrt): Likewise.
49315         [XPG3] (expm1): Likewise.
49316         [XPG3] (ilogb): Likewise.
49317         [XPG3] (log1p): Likewise.
49318         [XPG3] (logb): Likewise.
49319         [XPG3] (nextafter): Likewise.
49320         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49321         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49322         [XPG3] (remainder): Likewise.
49323         [XPG3] (rint): Likewise.
49324         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49325         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49326         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49327         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49328         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49329         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49330         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49331         [UNIX98 || XOPEN2K] (scalb): Expect.
49332         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49333         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49334         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49335         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49336         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49337         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49338         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49339         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49340         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49341         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49342         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49343         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49344         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49345         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49346         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49347         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49348         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49349         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49350         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49351         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49352         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49353         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49354         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49355         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49356         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49357         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49358         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49359         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49360         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49361         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49362         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49363         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49364         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49365         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49366         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49367         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49368         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49369         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49370         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49371         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49372         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49373         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49374         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49375         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49376         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49377         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49378         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49379         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49380         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49381         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49382         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49383         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49384         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49385         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49386         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49387         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49388         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49389         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49390         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49391         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49392         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49393         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49394         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49395         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49396         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49397         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49398         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49399         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49400         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49401         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49402         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49403         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49404         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49405         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49406         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49407         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49408         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49409         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49410         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49411         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49412         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49413         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49414         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49415         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49416         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49417         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49418         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49419         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49420         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49421         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49422         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49423         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49424         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49425         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49426         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49427         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49428         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49429         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49430         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49431         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49432         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49433         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49434         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49435         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49436         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49437         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49438         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49439         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49440         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49441         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49442         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49443         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49444         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49445         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49446         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49447         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49448         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49449         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49450         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49451         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49452         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49453         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49454         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49455         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49456         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49457         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49458         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49459         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49460         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49461         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49462         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49463         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49464         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49465         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49466         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49467         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49468         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49470         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49471         _XOPEN_SOURCE_EXTENDED for XPG4.
49473         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49475         * Makeconfig (localtime): Remove variable.
49476         (inst_localtime-file): Likewise.
49478 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49481         Update.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49483         Update.
49484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49485         Update.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49487         Update.
49488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49489         Update.
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49491         Update.
49492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49493         Update.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49495         Update.
49496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49497         Update.
49499 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49501         [BZ #2550]
49502         [BZ #2570]
49503         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49504         comparisons to determine direction to adjust input.
49505         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49506         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49507         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49508         Likewise.
49509         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49510         Likewise.
49511         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49512         Likewise.
49513         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49514         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49515         Likewise.
49516         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49517         Likewise.
49518         * math/libm-test.inc (nexttoward_test): Add more tests.
49520 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49522         [BZ #14040]
49523         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49524         in version GLIBC_2.1, not GLIBC_2.0.
49525         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49526         Likewise.
49528 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49530         [BZ #13942]
49531         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49532         (1 - x) * (1 + x).
49533         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49534         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49535         * math/libm-test.inc (acos_test): Add more tests.
49536         (asin_test): Likewise.
49537         * sysdeps/i386/fpu/libm-test-ulps: Update.
49538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49540         [BZ #14034]
49541         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49542         of square root.
49543         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49544         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49545         * math/libm-test.inc (acos_test_tonearest): New function.
49546         (acos_test_towardzero): Likewise.
49547         (acos_test_downward): Likewise.
49548         (acos_test_upward): Likewise.
49549         (asin_test_tonearest): Likewise.
49550         (asin_test_towardzero): Likewise.
49551         (asin_test_downward): Likewise.
49552         (asin_test_upward): Likewise.
49553         (main): Call the new functions.
49554         * sysdeps/i386/fpu/libm-test-ulps: Update.
49555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49557         [BZ #13884]
49558         [BZ #13924]
49559         * math/e_exp10.c: Include <float.h>.
49560         (__ieee754_exp10): Handle underflow here rather than multiplying
49561         large negative argument by M_LN10.
49562         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49563         of __ieee754_expf.
49564         * math/e_exp10l.c: Include <float.h>.
49565         (__ieee754_exp10l): Handle underflow here rather than multiplying
49566         large negative argument by M_LN10l.
49567         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49568         spurious overflow exception on underflow.
49570 2012-04-29  Marek Polacek  <polacek@redhat.com>
49572         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49573         (__fortify_function): New macro.
49574         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49575         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49576         __extern_always_inline.
49577         * libio/bits/stdio2.h: Likewise.
49578         * libio/bits/stdio.h: Likewise.
49579         * string/string.h: Likewise.
49580         * string/bits/string3.h: Likewise.
49581         * include/stdio.h: Likewise.
49582         * stdlib/bits/stdlib.h: Likewise.
49583         * stdlib/stdlib.h: Likewise.
49584         * rt/bits/mqueue2.h: Likewise.
49585         * rt/mqueue.h: Likewise.
49586         * posix/bits/unistd.h: Likewise.
49587         * posix/unistd.h: Likewise.
49588         * io/bits/poll2.h: Likewise.
49589         * io/bits/fcntl2.h: Likewise.
49590         * io/fcntl.h: Likewise.
49591         * io/sys/poll.h: Likewise.
49592         * misc/bits/syslog.h: Likewise.
49593         * misc/bits/syslog-ldbl.h: Likewise.
49594         * misc/sys/syslog.h: Likewise.
49595         * socket/bits/socket2.h: Likewise.
49596         * socket/sys/socket.h: Likewise.
49597         * debug/tst-chk1.c: Likewise.
49598         * wcsmbs/bits/wchar2.h: Likewise.
49599         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49600         * wcsmbs/wchar.h: Likewise.
49602 2012-04-29  Andreas Jaeger  <aj@suse.de>
49604         * Makerules (tests): Remove enable-check-abi protection.
49605         (check-abi-warn): Remove.
49606         (check-abi-%): Remove check-abi-warn usage.
49608         * configure.in: Remove check-abi configure option.
49609         * configure: Regenerated.
49610         * config.make.in (enable-check-abi): Remove.
49612 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49614         [BZ #14033]
49615         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49616         double functions to double *_finite functions.
49618         [BZ #13941]
49619         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49620         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49621         LDBL_MIN_EXP.
49622         * stdio-common/Makefile (tests): Add tst-sprintf3.
49623         * stdio-common/tst-sprintf3.c: New file.
49625         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49626         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49628 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49630         * conform/conformtest.pl: Remove duplicate typed-constant
49631         handling.
49633 2012-04-28  David S. Miller  <davem@davemloft.net>
49635         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49636         (check-abi-%): Remove AWK script prerequisite and explicit
49637         abilist directory.
49638         (check-abi): Rewrite to just diff the symlist with the abilist.
49639         (config-tls, config-abi-config): Delete, no longer used.
49640         (update-abi-%): Remove AWK script and explicit abilist directory.
49641         (update-abi): Rewrite to simply compare and conditionally copy the
49642         symlist and the sysdep abilist file.  Remove update-abi-config
49643         checks.
49644         * abilist/ld.abilist: Remove.
49645         * abilist/libBrokenLocale.abilist: Remove.
49646         * abilist/libanl.abilist: Remove.
49647         * abilist/libcrypt.abilist: Remove.
49648         * abilist/libdl.abilist: Remove.
49649         * abilist/librt.abilist: Remove.
49650         * abilist/libthread_db.abilist: Remove.
49651         * abilist/libutil.abilist: Remove.
49652         * scripts/extract-abilist.awk: Remove.
49653         * scripts/merge-abilist.awk: Remove.
49654         * sysdeps/generic/libcidn.abilist: New file.
49655         * sysdeps/generic/libnss_compat.abilist: New file.
49656         * sysdeps/generic/libnss_db.abilist: New file.
49657         * sysdeps/generic/libnss_dns.abilist: New file.
49658         * sysdeps/generic/libnss_files.abilist: New file.
49659         * sysdeps/generic/libnss_hesiod.abilist: New file.
49660         * sysdeps/generic/libnss_nis.abilist: New file.
49661         * sysdeps/generic/libnss_nisplus.abilist: New file.
49662         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49663         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49664         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49665         file.
49666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49667         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49668         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49669         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49670         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49671         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49672         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49673         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49674         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49675         file.
49676         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49677         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49678         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49679         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49680         file.
49681         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49682         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49683         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49684         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49685         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49686         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49687         file.
49688         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49689         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49690         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49691         file.
49692         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49693         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49694         New file.
49695         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49696         New file.
49697         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49698         New file.
49699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49700         New file.
49701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49702         New file.
49703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49704         New file.
49705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49706         New file.
49707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49708         New file.
49709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49710         New file.
49711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49712         New file.
49713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49714         New file.
49715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49716         New file.
49717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49718         New file.
49719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49720         file.
49721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49722         New file.
49723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49724         New file.
49725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49726         file.
49727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49728         New file.
49729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49730         New file.
49731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49732         file.
49733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49734         New file.
49735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49736         New file.
49737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49738         New file.
49739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49740         New file.
49741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49742         New file.
49743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49744         New file.
49745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49747         file.
49748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49749         New file.
49750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49751         file.
49752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49753         file.
49754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49755         file.
49756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49757         file.
49758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49759         file.
49760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49761         New file.
49762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49763         file.
49764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49765         file.
49766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49767         New file.
49768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49769         file.
49770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49772         file.
49773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49774         New file.
49775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49776         file.
49777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49778         file.
49779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49780         file.
49781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49782         file.
49783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49784         file.
49785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49786         New file.
49787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49788         file.
49789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49790         file.
49791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49792         New file.
49793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49794         file.
49795         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49796         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49797         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49798         file.
49799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49800         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49801         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49802         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49803         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49804         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49805         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49806         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49807         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49808         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49811         file.
49812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49813         New file.
49814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49815         file.
49816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49817         file.
49818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49819         file.
49820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49821         file.
49822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49823         file.
49824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49825         New file.
49826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49827         New file.
49828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49829         file.
49830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49831         New file.
49832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49833         file.
49834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49836         file.
49837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49838         New file.
49839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49840         file.
49841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49842         file.
49843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49844         file.
49845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49846         file.
49847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49848         file.
49849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49850         New file.
49851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49852         New file.
49853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49854         file.
49855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49856         New file.
49857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49858         file.
49860 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49862         * conform/conformtest.pl: Fix typo in handling typed-constant from
49863         allow-header.
49865 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49867         * README: Cut down references to pre-2.6 Linux kernels and
49868         Linuxthreads.  Update lists of configurations in libc and ports
49869         and sort alphabetically.  Say "or newer" with Linux kernel version
49870         requirements.
49872         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49874 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49876         [BZ #887]
49877         * math/libm-test.inc (logb_test_downward): New test to expose
49878         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49879         rounding mode.
49881 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49883         [BZ #14027]
49884         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49885         to be done.
49886         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49887         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49889 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49891         * sysdeps/unix/i386/brk.S: Remove file.
49892         * sysdeps/unix/i386/dl-brk.S: Likewise.
49893         * sysdeps/unix/i386/pipe.S: Likewise.
49894         * sysdeps/unix/i386/sigreturn.S: Likewise.
49895         * sysdeps/unix/i386/syscall.S: Likewise.
49896         * sysdeps/unix/i386/vfork.S: Likewise.
49897         * sysdeps/unix/i386/wait.S: Likewise.
49899         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49900         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49902         * configure.in (arm*-none*): Do not allow without
49903         --enable-hacker-mode.
49904         (netbsd*): Remove case setting base_os.
49905         (386bsd*): Likewise.
49906         (freebsd*): Likewise.
49907         (bsdi*): Likewise.
49908         (osf*): Likewise.
49909         (sunos*): Likewise.
49910         (ultrix*): Likewise.
49911         (newsos*): Likewise.
49912         (dynix*): Likewise.
49913         (*bsd*): Likewise.
49914         (sysv*): Likewise.
49915         (isc*): Likewise.
49916         (esix*): Likewise.
49917         (sco*): Likewise.
49918         (minix*): Likewise.
49919         (irix4*): Likewise.
49920         (irix6*): Likewise.
49921         (solaris[2-9]*): Likewise.
49922         (none): Likewise.
49923         * configure: Regenerated.
49925 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49927         [BZ #11521]
49928         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49929         overflow or cancellation in calculating denominator.
49930         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49932         down expression to avoid unexpected rounding in newer GCCs.
49933         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49935 2012-04-26  David S. Miller  <davem@davemloft.net>
49937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49938         long-double compat symbols.
49939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49953 2012-04-25  David S. Miller  <davem@davemloft.net>
49955         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49956         HWCAP_* values only after the memory barriers have been defined.
49957         (atomic_full_barrier): Define.
49958         (atomic_read_barrier): Define.
49959         (atomic_write_barrier): Define.
49961 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49963         * shlib-versions: Add libgcc_s version information.
49964         * sysdeps/generic/libgcc_s.h: Remove.
49965         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49966         libgcc_s.h.
49967         * sysdeps/gnu/unwind-resume.c: Likewise.
49968         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49970 2012-04-25  David S. Miller  <davem@davemloft.net>
49972         * sysdeps/unix/sparc/brk.S: Delete.
49973         * sysdeps/unix/sparc/dl-brk.S: Delete.
49974         * sysdeps/unix/sparc/pipe.S: Delete.
49975         * sysdeps/unix/sparc/sysdep.S: Delete.
49976         * sysdeps/unix/sparc/sysdep.h: Delete.
49977         * sysdeps/unix/sparc/vfork.S: Delete.
49978         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49979         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49980         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49981         (ret_ERRVAL, r0, r1, MOVE): Define.
49982         (JUMPTARGET): Remove.
49983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49984         sysdeps/unix/sparc/sysdep.h
49985         (ENTRY, END): Remove.
49986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49988 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49990         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49991         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49992         -DIS_IN_build.
49994         * timezone/README: Update upstream location and email address for
49995         tzcode and tzdata.
49996         * timezone/zdump.c: Update from tzcode 2012b.
49997         * timezone/zic.c: Likewise.
49999         * configure.in (libc_cv_as_needed): Remove test.
50000         * configure: Regenerated.
50001         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50002         conditional definition.
50003         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50004         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50005         * config.make.in (have-as-needed): Remove variable.
50007 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50008             Paul Pluzhnikov  <ppluzhnikov@google.com>
50010         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50011         strings correctly.
50013 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50015         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50016         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50017         * sysdeps/sh/strlen.S: Likewise.
50019 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50021         * sysdeps/unix/fork.S: Remove file.
50022         * sysdeps/unix/i386/fork.S: Likewise.
50023         * sysdeps/unix/sparc/fork.S: Likewise.
50025         * sysdeps/unix/system.c: Remove file.
50026         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50028         * sysdeps/unix/getegid.S: Remove file.
50029         * sysdeps/unix/geteuid.S: Likewise.
50031 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50033         * scripts/check-localplt.awk: New file.
50034         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50035         of diff.
50036         * scripts/data/localplt-generic.data: Add a comment.
50038         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50039         NODE when __dir_mkfile failed.
50040         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50041         Reported by Ludovic Courtès <ludo@gnu.org>.
50043 2012-04-24  Andreas Jaeger  <aj@suse.de>
50045         * Makerules (common-clean): Also remove gen-as-const-headers
50046         files.
50048 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50050         * Makerules (native-compile): Do not change working directory for
50051         build.  Use $(OUTPUT_OPTION) in command.
50052         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50054 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50056         [BZ #13886]
50057         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50058         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50059         * math/libm-test.inc (floor_test): Add more tests.
50060         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50062 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50064         * sysdeps/unix/getdents.c: Remove file.
50065         * sysdeps/unix/sysv/getdents.c: Likewise.
50066         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50068         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50069         sysdeps/unix/mman/syscalls.list.
50070         (mmap): Likewise.
50071         (mprotect): Likewise.
50072         (msync): Likewise.
50073         (munmap): Likewise.
50074         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50075         * sysdeps/unix/mman/syscalls.list: Remove.
50076         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50078         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50079         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50080         * configure: Regenerated.
50081         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50082         $(libgcc_s_suffix).
50083         * config.make.in (libgcc_s_suffix): Remove variable.
50085 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50087         * sysdeps/unix/sysv/gethostname.c: Move to ...
50088         * sysdeps/posix/gethostname.c: ... here.
50090         * sysdeps/unix/execve.S: Remove file.
50092         * sysdeps/unix/_exit.S: Remove file.
50094 2012-04-23  Andreas Jaeger  <aj@suse.de>
50096         [BZ #13739]
50097         * manual/Makefile: Remove make dist support, there's no
50098         need for a stand-alone documentation tar ball.
50099         (TEXI2DVI): Define always, it's not in Makeconfig.
50100         (dist): Removed.
50101         (tar-it): Removed.
50102         (edition): Removed.
50103         (glibc-doc-$(edition).tar): Removed
50104         (%.Z): Removed.
50105         (%.gz): Removed.
50106         (%.uu): Removed.
50107         (ETAGS): Remove, it's in Makeconfig.
50108         (move-if-change): Remove, it's in Makeconfig.
50110 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50112         [BZ #13970]
50113         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50114         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50115         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50116         (strtod_l, strtof_l, strtold_l): Remove __wur.
50117         It is not necessarily an error to ignore strtol's return value.
50118         One can reliably look at the stored endptr to decide whether
50119         the number had valid syntax.
50121 2012-04-21  Andreas Jaeger  <aj@suse.de>
50123         [BZ #13739]
50124         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50126 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50128         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50129         * sysdeps/unix/sysv/Versions: Remove file.
50131 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50133         [BZ #13927]
50134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50136 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50138         [BZ #7064]
50139         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50140         version from __vm86.
50142 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50144         * sysdeps/unix/common/lxstat.c: Remove file.
50145         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50147         * sysdeps/unix/sysv/Makefile: Remove file.
50149         * sysdeps/unix/sysv/direct.h: Remove file.
50151         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50152         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50153         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50154         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50155         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50156         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50157         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50159         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50161         * sysdeps/unix/xmknod.c: Remove file.
50162         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50164         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50166         * sysdeps/unix/sysv/i386/time.S: Remove file.
50168         * sysdeps/unix/fxstat.c: Remove file.
50169         * sysdeps/unix/xstat.c: Likewise.
50170         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50172         * sysdeps/unix/sysv/sigaction.c: Remove file.
50174         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50175         (sysdep_headers): Remove variable.
50176         [termio.h not in sysdep_headers] (generated): Likewise.
50177         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50178         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50179         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50180         * sysdeps/unix/sysv/tcflow.c: Likewise.
50181         * sysdeps/unix/sysv/tcflush.c: Likewise.
50182         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50183         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50184         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50185         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50186         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50188         * sysdeps/unix/siglist.c: Remove file.
50190         * sysdeps/unix/getppid.S: Remove file.
50192         * sysdeps/unix/mkdir.c: Remove file.
50193         * sysdeps/unix/rmdir.c: Likewise.
50195 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50197         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50198         ERR_MAX value.
50199         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50200         errlist-compat value.
50202 2012-04-18  David S. Miller  <davem@davemloft.net>
50204         * sysdeps/generic/memcopy.h (reg_char): Delete.
50205         * debug/strcat_chk.c: Use char, not reg_char.
50206         * debug/strcpy_chk.c: Likewise.
50207         * debug/strncat_chk.c: Likewise.
50208         * debug/strncpy_chk.c: Likewise.
50209         * string/memchr.c: Likewise.
50210         * string/memrchr.c: Likewise.
50211         * string/rawmemchr.c: Likewise.
50212         * string/strcat.c: Likewise.
50213         * string/strchr.c: Likewise.
50214         * string/strchrnul.c: Likewise.
50215         * string/strcmp.c: Likewise.
50216         * string/strcpy.c: Likewise.
50217         * string/strncat.c: Likewise.
50218         * string/strncmp.c: Likewise.
50219         * string/strncpy.c: Likewise.
50221 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50223         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50224         __builtin_memcopy is called when src and dest ranges are known to not
50225         overlap.
50227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50229         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50230         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50231         fwd_align_merge macro call.
50232         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50233         bwd_align_merge macro call.
50234         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50236 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50238         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50239         bwd_align_merge macros.
50240         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50241         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50242         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50244 2012-04-18  David S. Miller  <davem@davemloft.net>
50246         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50248 2012-04-18  Andreas Jaeger  <aj@suse.de>
50250         [BZ# 6794]
50251         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50252         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50253         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50255         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50256         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50257         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50259         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50260         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50261         Adjust for changed ldbl-128 files.
50263         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50264         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50265         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50267 2012-04-17  David S. Miller  <davem@davemloft.net>
50269         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50271 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50273         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50274         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50275         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50276         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50277         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50278         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50280 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50282         [BZ #6794]
50283         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50284         * math/libm-test.inc: Add ilogb errno and exception tests.
50285         * math/w_ilogb.c: New file: ilogb wrapper.
50286         * math/w_ilogbf.c: New file: ilogbf wrapper.
50287         * math/w_ilogbl.c: New file: ilogbl wrapper.
50288         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50289         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50290         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50291         exception being thrown with 0.0 as argument.
50292         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50293         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50294         exception being thrown with 0.0 as argument.
50295         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50296         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50297         exception being thrown with 0.0 as argument.
50298         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50299         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50300         exception being thrown with 0.0 as argument.
50301         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50302         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50303         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50304         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50305         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50306         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50307         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50308         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50309         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50311 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50313         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50314         with altivec.
50316 2012-04-16  Marek Polacek  <polacek@redhat.com>
50318         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50320 2012-04-16  Marek Polacek  <polacek@redhat.com>
50322         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50323         operands of fdivp instruction.
50325 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50327         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50328         * elf/tst-auditmod3b.c: Likewise.
50329         * elf/tst-auditmod4b.c: Likewise.
50330         * elf/tst-auditmod5b.c: Likewise.
50331         * elf/tst-auditmod6b.c: Likewise.
50332         * elf/tst-auditmod6c.c: Likewise.
50333         * elf/tst-auditmod7b.c: Likewise.
50334         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50335         * sysdeps/x86_64/preconfigure.in: Likewise.
50336         * sysdeps/x86_64/preconfigure: Regenerated.
50338 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50340         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50341         __ILP32__.
50343 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50346         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50348 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50350         [BZ #13973]
50351         * locale/iso-639.def: Fix gl language name. Spotted by
50352         Yaron Shahrabani.
50354 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50356         [BZ #2074]
50357         * libio/libio.h (__io_write_fn): Update comment.
50359 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50361         [BZ #2074]
50362         * stdio.texi (Hook Functions): The user provided writer function
50363         is not allowed to return -1.
50365 2012-04-11  David S. Miller  <davem@davemloft.net>
50367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50369 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50371         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50372         Add a leading slash to rtkaio.
50374 2012-04-11  Jim Meyering  <meyering@redhat.com>
50376         [BZ #11959]
50377         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50378         It is not necessarily an error to ignore fwrite's return
50379         value.  One can reliably use ferror to test for errors after
50380         the fact.
50382 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50384         * bits/types.h (__snseconds_t): New type.
50385         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50387         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50388         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50389         (__SNSECONDS_T_TYPE): Likewise.
50390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50391         (__SNSECONDS_T_TYPE): Likewise.
50392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50393         (__SNSECONDS_T_TYPE): Likewise.
50395 2012-04-10  Andreas Jaeger  <aj@suse.de>
50397         [BZ #2636]
50398         * manual/time.texi (Processor Time): Return type of times is
50399         elapsed real time since an arbitrary point in the past.
50400         (CPU Time): Move CLK_TCK from here...
50401         (Processor Time): ...to here.  Correct description.
50402         * manual/conf.texi (Constants for Sysconf): Correct description of
50403         _SC_CLK_TCK.
50405 2012-04-10  David S. Miller  <davem@davemloft.net>
50407         [BZ #13967]
50408         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50409         where the is a gap between DT_REL(A) and DT_JMPREL.
50411 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50413         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50414         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50415         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50417 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50419         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50420         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50421         (dl_main): Handle --inhibit-cache.
50422         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50423         _dl_inhibit_cache.
50424         * elf/dl-load.c (_dl_map_object): Use it.
50425         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50427 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50429         [BZ #13872]
50430         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50431         (__ieee754_powl): Saturate large exponents rather than testing for
50432         overflow of y*log2(x).
50433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50434         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50435         exceptions.
50437         [BZ #11521]
50438         * math/s_ctan.c: Include <float.h>.
50439         (__ctan): Avoid internal overflow or cancellation in calculating
50440         denominator.
50441         * math/s_ctanf.c: Likewise.
50442         * math/s_ctanl.c: Likewise.
50443         * math/s_ctanh.c: Likewise.
50444         * math/s_ctanhf.c: Likewise.
50445         * math/s_ctanhl.c: Likewise.
50446         * math/libm-test.inc (ctan_test): Add more tests.
50447         (ctanh_test): Likewise.
50448         * sysdeps/i386/fpu/libm-test-ulps: Update.
50449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50451 2012-04-09  Andreas Jaeger  <aj@suse.de>
50453         [BZ #6894]
50454         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50455         is an optional BSD extension.
50457         [BZ #10254]
50458         * manual/stdio.texi (Opening Streams): Document additional fopen
50459         parameters.
50461 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50463         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50464         %eax without telling the compiler.
50466 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50468         [BZ # 13963]
50469         * manual/install.texi: Use sourceware.org.
50471 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50473         [BZ #13873]
50474         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50475         (__ieee754_pow): Generate overflow and underflow using huge*huge
50476         and tiny*tiny rather than just returning constant infinity or zero
50477         for large exponents.
50478         * math/libm-test.inc (pow_test): Require overflow exceptions for
50479         applicable cases of large exponents.
50481         [BZ #706]
50482         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50483         (__ieee754_pow): Use iterative multiplication algorithm only for
50484         integer exponents with absolute value below 1024.  Check for odd
50485         integer exponents when using algorithm for real exponents.
50486         * math/libm-test.inc (pow_test): Add more tests.
50487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50489 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50491         [BZ #13705]
50492         * math/libm-test.inc (exp_test): Do not allow overflow exception
50493         on underflow test.
50495 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50497         [BZ #13705]
50498         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50499         instead of __kernel_standard_f.
50501 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50503         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50504         * sysdeps/x86_64/memset_chk.S: Likewise.
50506 2012-04-08  Andreas Jaeger  <aj@suse.de>
50508         [BZ #10153]
50509         * manual/startup.texi (Environment Access): Describe return value
50510         for putenv and setenv.
50512         [BZ #6895]
50513         * manual/filesys.texi (Directory Entries): Add description for
50514         DT_LNK.
50516         [BZ #6890]
50517         * manual/filesys.texi (Directory Entries): Clarify that it's file
50518         system not operating system in the description of DT_UNKNOWN.
50520         [BZ #6578]
50521         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50523 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50525         [BZ #6649]
50526         * manual/llio.texi (Opening and Closing Files): Add cross
50527         reference to explain mode argument.
50529 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50531         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50532         * sysdeps/x86_64/memset_chk.S: Likewise.
50534 2012-04-07  David S. Miller  <davem@davemloft.net>
50536         * elf/elf.h (R_SPARC_WDISP10): Define.
50537         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50538         R_SPARC_SIZE32.
50539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50540         R_SPARC_SIZE64 and R_SPARC_H34.
50542 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50544         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50545         conditions and remove no longer applicable assertion.
50547 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50549         * bits/byteswap.h: Include <features.h>.
50550         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50551         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50553 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50555         * bits/byteswap.h (__bswap_16): Removed.
50556         Include <bits/byteswap-16.h> to get __bswap_16.
50557         * sysdeps/i386/bits/byteswap.h: Likewise.
50558         * sysdeps/s390/bits/byteswap.h: Likewise.
50559         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50560         * bits/byteswap-16.h: New file.
50561         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50562         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50563         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50564         * string/Makefile (headers): Add bits/byteswap-16.h.
50566 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50568         [BZ #13895]
50569         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50570         extra indirection.
50571         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50572         * nss/tst-nss-static.c: New.
50574 2012-04-06  Robert Millan  <rmh@gnu.org>
50576         [BZ #6486]
50577         * manual/llio.texi (File Position Primitive): lseek
50578         refers to WHENCE when it really means OFFSET.
50580 2012-04-06  Andreas Jaeger  <aj@suse.de>
50582         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50583         strncmp declarations.
50585         * abilist/libc.abilist: Add __poll and __ppoll.
50587 2012-04-05  David S. Miller  <davem@davemloft.net>
50589         * scripts/check-local-headers.sh: Accept a host triplet in the
50590         path matched by the exclude regexp.
50592         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50593         definition.
50594         * sysdeps/powerpc/powerpc32/dl-machine.h
50595         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50596         * sysdeps/s390/s390-32/dl-machine.h
50597         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50598         * sysdeps/sparc/sparc32/dl-machine.h
50599         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50600         * sysdeps/sparc/sparc64/dl-machine.h
50601         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50603         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50604         lazy binding.
50605         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50606         undefined symbol errors.
50608         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50609         DT_NEEDED entries.
50611 2012-04-05  Michael Matz  <matz@suse.de>
50613         [BZ #13592]
50614         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50616 2012-04-05  Andreas Jaeger  <aj@suse.de>
50618         [BZ #13908]
50619         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50620         comment.
50622 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50624         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50625         which ROUND is no valid rounding mode.
50627 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50629         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50630         read again.
50631         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50633 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50635         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50636         an exception using FPU order intentionally.
50638 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50640         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50641         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50642         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50643         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50645 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50647         [BZ #12340]
50648         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50649         EINVAL when BUFLEN is too smal.
50651 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50653         [BZ #13553]
50654         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50655         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50657 2012-04-03  Andreas Jaeger  <aj@suse.de>
50659         [BZ #13938]
50660         * manual/setjmp.texi (System V contexts): Fix sentence.
50662         [BZ #13926]
50663         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50664         New macro for this case.
50665         [!__GNUC__] (__bswap_64): New inline function for this case.
50666         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50667         * bits/byteswap.h: Likewise.
50668         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50669         ull, guard with __GLIBC_HAVE_LONG_LONG.
50671         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50672         __GLIBC_HAVE_LONG_LONG.
50674         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50675         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50677 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50679         [BZ #13691]
50680         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50681         inptr and inend, rather than using last_ch.
50683 2012-04-02  David S. Miller  <davem@davemloft.net>
50685         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50686         * stdio-common/printf-parse.h (read_int): Change return type to
50687         'int', return -1 on INT_MAX overflow.
50688         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50689         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50690         overflows INT_MAX.  Check for overflow of in-format-string precision
50691         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50692         SIZE_MAX not INT_MAX for integer overflow test.
50693         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50694         skip the construct in the format string but do not record anything.
50695         * stdio-common/bug22.c: Adjust to test both width/prevision
50696         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50697         explicitly for proper errno values.
50699 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50701         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50702         CHAR_MAX.
50703         * string/test-strcmp.c [! WIDE]: Likewise.
50704         * time/tst-mktime2.c: Likewise for INT_MAX.
50705         * string/test-string.h: #include <sys/param.h> for MIN.
50707         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50708         * sysdeps/i386/init-first.c (init): Likewise.
50709         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50710         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50711         * sysdeps/sh/init-first.c (init): Likewise.
50713 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50715         * po/ru.po: Update from translation team.
50716         * po/vi.po: Likewise.
50718 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50720         * resolv/nss_dns/dns-host.c: Merge copyright years.
50722 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50724         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50725         Optimize memcpy with prefetch if
50726         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50727         src, dst pointers have unequal 16 byte alignments.
50729 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50731         [BZ #13928]
50732         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50733         from a CNAME entry and return the minimum ttl for the query.
50734         (gaih_getanswer_slice): Likewise.
50736 2012-03-30  Jeff Law  <law@redhat.com>
50738         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50739         due to long keys.
50740         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50741         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50743         * resolv/nss_dns/dns-host.c: Update copyright year.
50745 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50747         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50748         requests to save a system call.  Fix check that all bytes are sent.
50750         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50751         comments for sendmmsg.
50753 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50755         [BZ #13691]
50756         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50757         with only 1 character between 0x0041 and 0x01b0.
50758         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50759         * wcsmbs/tst-mbsnrtowcs.c: New file.
50761 2012-03-29  David S. Miller  <davem@davemloft.net>
50763         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50764         small copies by hand.
50766 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50768         [BZ #13761]
50769         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50770         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50771         group memberships.
50773 2012-03-28  David S. Miller  <davem@davemloft.net>
50775         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50776         that branches into memcpy.
50777         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50780         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50782         bits.
50783         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50784         implementation too.
50785         * sysdeps/sparc/mempcpy.S: New file.
50787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50788         the IFUNC routine in the libc case.
50789         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50791         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50792         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50793         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50794         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50795         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50796         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50797         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50798         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50800         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50801         loop to 256 bytes instead of 64 bytes and fix test signedness.
50803         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50804         * sysdeps/sparc/sparc32/Makefile: rather than here...
50805         * sysdeps/sparc/sparc64/Makefile: and here.
50807 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50809         * malloc/mallocbug.c: Avoid warnings about unused variables.
50811 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50813         [BZ #13760]
50814         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50815         in the right place. Discard and retry query if response is
50816         larger than input buffer size.
50818 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50820         [BZ #369]
50821         [BZ #2678]
50822         [BZ #3866]
50823         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50824         x for large integer exponent.
50825         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50826         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50827         sign of result as needed afterwards.
50828         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50829         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50830         result for underflowing pow the same as for overflow.
50831         (__kernel_standard_l): Handle powl overflow and underflow here
50832         rather than calling __kernel_standard.
50833         * math/libm-test.inc (pow_test): Add more tests.
50835         [BZ #3868]
50836         [BZ #13879]
50837         [BZ #13910]
50838         [BZ #13911]
50839         [BZ #13912]
50840         [BZ #13913]
50841         [BZ #13915]
50842         [BZ #13916]
50843         [BZ #13917]
50844         [BZ #13918]
50845         [BZ #13919]
50846         [BZ #13920]
50847         [BZ #13921]
50848         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50849         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50850         (__kernel_standard_l): New function.
50851         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50852         __kernel_standard.
50853         * math/w_acosl.c (__acosl): Likewise.
50854         * math/w_asinl.c (__asinl): Likewise.
50855         * math/w_atan2l.c (__atan2l): Likewise.
50856         * math/w_atanhl.c (__atanhl): Likewise.
50857         * math/w_coshl.c (__coshl): Likewise.
50858         * math/w_exp10l.c (__exp10l): Likewise.
50859         * math/w_exp2l.c (__exp2l): Likewise.
50860         * math/w_fmodl.c (__fmodl): Likewise.
50861         * math/w_hypotl.c (__hypotl): Likewise.
50862         * math/w_j0l.c (__j0l, __y0l): Likewise.
50863         * math/w_j1l.c (__j1l, __y1l): Likewise.
50864         * math/w_jnl.c (__jnl, __ynl): Likewise.
50865         * math/w_lgammal.c (__lgammal): Likewise.
50866         * math/w_log10l.c (__log10l): Likewise.
50867         * math/w_log2l.c (__log2l): Likewise.
50868         * math/w_logl.c (__logl): Likewise.
50869         * math/w_powl.c (__powl): Likewise.
50870         * math/w_remainderl.c (__remainderl): Likewise.
50871         * math/w_scalbl.c (sysv_scalbl): Likewise.
50872         * math/w_sinhl.c (__sinhl): Likewise.
50873         * math/w_sqrtl.c (__sqrtl): Likewise.
50874         * math/w_tgammal.c (__tgammal): Likewise.
50875         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50876         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50877         * math/libm-test.inc (acos_test): Add more tests.
50878         (acosh_test): Likewise.
50879         (asin_test): Likewise.
50880         (atanh_test): Likewise.
50881         (exp_test): Likewise.
50882         (exp10_test): Likewise.
50883         (exp2_test): Likewise.
50884         (expm1_test): Likewise.
50885         (lgamma_test): Likewise.
50886         (log_test): Likewise.
50887         (log10_test): Likewise.
50888         (log1p_test): Likewise.
50889         (log2_test): Likewise.
50890         (pow_test): Do not allow some spurious overflow exceptions.
50891         (sqrt_test): Add more tests.
50892         (tgamma_test): Likewise.
50893         (y0_test): Likewise.
50894         (y1_test): Likewise.
50895         (yn_test): Likewise.
50897 2012-03-27  Anton Blanchard  <anton@samba.org>
50899         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50900         MAP_HUGETLB.
50901         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50902         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50903         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50905 2012-03-27  David S. Miller  <davem@davemloft.net>
50907         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50909         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50910         have-as-vis3 check.
50912 2012-03-27  Andreas Jaeger  <aj@suse.de>
50914         * sysdeps/x86_64/elf/configure.in: Moved to ...
50915         * sysdeps/x86_64/configure.in: ... here.
50916         * sysdeps/x86_64/elf/start.S: Moved to ...
50917         * sysdeps/x86_64/start.S: ... here.
50918         * sysdeps/x86_64/elf/configure: Delete.
50920         * sysdeps/x86_64/configure.in: Merge contents from
50921         sysdeps/i386/configure.in (without i686 check).
50923         * sysdeps/i386/elf/Versions: Merge into ...
50924         * sysdeps/i386/Versions: ... this.
50925         * sysdeps/i386/elf/Versions: Delete file.
50926         * sysdeps/i386/elf/start.S: Moved to ...
50927         * sysdeps/i386/start.S: ...here.
50928         * sysdeps/i386/elf/configure.in: Merge into...
50929         * sysdeps/i386/configure.in: ...here.
50930         * sysdeps/i386/elf/configure.in: Delete file.
50931         * sysdeps/i386/elf/configure: Delete file.
50933         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50934         * debug/backtracesyms.c: ... here.
50935         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50936         * debug/backtracesymsfd.c: ... here.
50937         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50938         * sysdeps/generic/ifunc-sel.h: ... here.
50940         * sysdeps/unix/i386/start.c: Delete file.
50941         * sysdeps/unix/sparc/start.c: Delete file.
50942         * sysdeps/unix/start.c: Delete file.
50944         * sysdeps/sh/elf/configure.in: Moved to ...
50945         * sysdeps/sh/configure.in: ... here.
50946         * sysdeps/sh/elf/start.S: Moved to ...
50947         * sysdeps/sh/start.S: ... here.
50948         * sysdeps/sh/elf/configure: Delete file.
50950         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50951         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50952         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50953         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50954         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50955         * sysdeps/powerpc/powerpc64/start.S: here.
50956         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50957         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50958         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50959         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50960         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50962         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50963         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50964         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50965         * sysdeps/powerpc/powerpc32/start.S: ... here.
50966         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50967         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50968         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50970         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50971         * sysdeps/powerpc/ifunc-sel.h: ... here.
50972         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50973         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50975         * sysdeps/sparc/elf/configure.in: Moved to ...
50976         * sysdeps/sparc/configure.in: ... here.
50977         * sysdeps/sparc/elf/configure: Delete file.
50978         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50979         * sysdeps/sparc/sparc32/start.S: ... here.
50980         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50981         * sysdeps/sparc/sparc64/start.S: ... here.
50982         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50983         * sysdeps/sparc/sparc32/Makefile: ... this.
50984         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50985         * sysdeps/sparc/sparc64/Makefile: ... this.
50987         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50988         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50989         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50990         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50991         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50992         * sysdeps/s390/s390-32/setjmp.S: ... here.
50993         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50994         * sysdeps/s390/s390-32/configure.in: ... here.
50995         * sysdeps/s390/s390-32/elf/configure: Delete file.
50996         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50997         * sysdeps/s390/s390-32/start.S: ... here.
50999         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51000         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51001         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51002         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51003         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51004         * sysdeps/s390/s390-64/setjmp.S: ... here.
51005         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51006         * sysdeps/s390/s390-64/configure.in: ... here
51007         * sysdeps/s390/s390-64/elf/configure: Delete file.
51008         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51009         * sysdeps/s390/s390-64/start.S: ... here.
51010         * sysdeps/s390/s390-64/elf/configure: Delete.
51012         * configure.in: Remove support for elf directories in sysdeps.
51014         * configure: Regenerated.
51015         * sysdeps/i386/configure: Regenerated.
51016         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51017         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51018         * sysdeps/s390/s390-32/configure: Regenerated.
51019         * sysdeps/s390/s390-64/configure: Regenerated.
51020         * sysdeps/sh/configure: Regenerated.
51021         * sysdeps/sparc/configure: Regenerated.
51022         * sysdeps/x86_64/configure: Regenerated.
51024 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51028         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51029         denormal result into account.
51031 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51033         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51034         Reported by Allan McRae <allan@archlinux.org>.
51036 2012-03-23  Jeff Law  <law@redhat.com>
51038         * nss/getnssent.c (__nss_getent): Fix typo.
51040 2012-03-23  David S. Miller  <davem@davemloft.net>
51042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51044 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51046         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51047         to pad to uint64_t for each field.
51048         (dl_tls_index): Replace unsigned long with uint64_t.
51050 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51051         Paul Pluzhnikov  <ppluzhnikov@google.com>
51053         [BZ #6528]
51054         * grp/Makefile (otherlibs): Don't set it.
51055         * inet/Makefile (otherlibs): Likewise.
51056         * login/Makefile (otherlibs): Likewise.
51057         * nscd/Makefile (otherlibs): Likewise.
51058         * posix/Makefile (otherlibs): Likewise.
51059         * pwd/Makefile (otherlibs): Likewise.
51060         * rt/Makefile (otherlibs): Likewise.
51061         * sunrpc/Makefile (otherlibs): Likewise.
51062         * nss/Makefile (otherlibs): Likewise.
51063         Add libnss_files to routines and static-only-routines.
51064         ($(objpfx)getent): Remove rule.
51065         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51066         static-only-routines.
51068 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51070         [BZ #13892]
51071         * math/s_cexp.c: Include <float.h>.
51072         (__cexp): Handle exp result overflowing not necessarily
51073         overflowing both real and imaginary parts of result.
51074         * math/s_cexpf.c: Likewise.
51075         * math/s_cexpl.c: Likewise.
51076         * math/libm-test.inc (cexp_test): Add more tests.
51077         * sysdeps/i386/fpu/libm-test-ulps: Update.
51078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51080 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51082         * include/link.h (ELFW): New macro.
51083         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51084         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51086 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51088         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51089         with uint64_t.
51091 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51093         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51094         declaration.
51095         (struct La_x32_retval): Likewise.
51097 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51099         * sysdeps/x86_64/preconfigure.in: New file.
51100         * sysdeps/x86_64/preconfigure: New generated file.
51102 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51104         [BZ #13824]
51105         * math/e_exp2l.c: Include <float.h>.
51106         (__ieee754_exp2l): Handle overflow and underflow cases
51107         separately.  Only pass fractional part of argument to
51108         __ieee754_expl.
51109         * math/libm-test.inc (exp2_test): Add more tests.
51111         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51112         negating x to take absolute value.
51113         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51114         Likewise.
51115         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51116         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51117         Likewise.
51118         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51119         computing low part if x was negated.
51120         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51122 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51124         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51125         la_x32_gnu_pltexit.
51126         (pltexit): Cast int_retval to ptrdiff_t.
51127         * elf/tst-auditmod3b.c: Likewise.
51128         * elf/tst-auditmod4b.c: Likewise.
51129         * elf/tst-auditmod5b.c: Likewise.
51130         * elf/tst-auditmod6b.c: Likewise.
51131         * elf/tst-auditmod6c.c: Likewise.
51132         * elf/tst-auditmod7b.c: Likewise.
51134         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51135         and x32_gnu_pltexit.
51137         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51138         __ELF_NATIVE_CLASS.
51139         (La_x32_regs): New macro.
51140         (La_x32_retval): Likewise.
51141         (la_x32_gnu_pltenter): New function prototype.
51142         (la_x32_gnu_pltexit): Likewise.
51144 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51146         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51147         exponent.
51149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51151         * configure.in (libc_cv_cc_nofma): Check for option to disable
51152         generation of FMA instructions.
51153         * configure: Regenerate.
51154         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51155         * sysdeps/ieee754/dbl-64/Makefile: New file.
51156         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51157         Remove brandred-fma4.
51158         (CFLAGS-brandred-fma4.c): Remove.
51159         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51160         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51161         define.
51162         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51163         define.
51165 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51167         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51168         LLONG_MAX != LONG_MAX.
51169         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51170         (_fitoa_word): Likewise.
51171         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51172         LLONG_MAX != LONG_MAX.
51173         * stdio-common/_itowa.h: Include <_itoa.h>.
51174         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51175         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51176         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51177         only if not defined.
51178         (_ITOA_WORD_TYPE): Likewise.
51179         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51180         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51182 2012-03-21  David S. Miller  <davem@davemloft.net>
51184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51186 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51188         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51189         of x86_64 when setting libc_cv_slibdir, libdir and
51190         libc_cv_localedir.
51191         * sysdeps/unix/sysv/linux/configure: Regenerated.
51193 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51195         * manual/lang.texi (Old Varargs): Remove section.
51196         (How Variadic): Update menu.
51197         (va_start): Do not mention varargs.h.
51199 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51200             Joseph Myers  <joseph@codesourcery.com>
51202         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51203         link test.
51204         * configure: Regenerated.
51206 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51208         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51209         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51210         conformtest.pl
51212 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51214         * NOTES: Remove.
51215         * Makefile (files-for-dist): Remove NOTES.
51216         (NOTES): Remove rule.
51217         * README: Don't refer to NOTES.
51218         * manual/creature.texi: Don't include macros.texi.
51219         * manual/intro.texi (creature.texi): Remove comment referring to
51220         NOTES.
51222         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51223         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51224         * configure: Regenerated.
51225         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51226         LIBC_TRY_CC_OPTION.
51227         (libc_cv_as_i686): Likewise.
51228         (libc_cv_cc_avx): Likewise.
51229         (libc_cv_cc_sse2avx): Likewise.
51230         (libc_cv_cc_fma4): Likewise.
51231         (libc_cv_cc_novzeroupper): Likewise.
51232         * sysdeps/i386/configure: Regenerated.
51234         [BZ #13883]
51235         * sysdeps/i386/fpu/s_cexp.S: Remove.
51236         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51237         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51238         * math/libm-test.inc (cexp_test): Add more tests.
51239         * sysdeps/i386/fpu/libm-test-ulps: Update.
51240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51242 2012-03-21  Allan McRae  <allan@archlinux.org>
51244         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51246 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51248         [BZ #13871]
51249         * math/w_exp2.c: Do not include <float.h>.
51250         (o_threshold, u_threshold): Remove.
51251         (__exp2): Calculate result before checking finiteness and calling
51252         __kernel_standard.
51253         * math/w_exp2f.c: Likewise.
51254         * math/w_exp2l.c: Likewise.
51255         * math/libm-test.inc (exp2_test): Require overflow exception for
51256         1e6 input.
51258         [BZ #3866]
51259         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51260         range of signed 64-bit integers before using fistpll.  Remove
51261         checks for whether integers fit in mantissa bits.
51262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51263         the range of signed 32-bit integers before using fistpl.  Remove
51264         checks for whether integers fit in mantissa bits.
51265         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51266         (__ieee754_powl): Test for y outside the range of signed 64-bit
51267         integers before using fistpll.  Reduce 64-bit values to 63-bit
51268         ones as needed.
51269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51270         divide-by-zero is raised for zero to large negative powers.
51271         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51272         (__ieee754_powl): Test for y outside the range of signed 64-bit
51273         integers before using fistpll.  Reduce 64-bit values to 63-bit
51274         ones as needed.
51275         * math/libm-test.inc (pow_test): Add more tests.
51277 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51279         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51280         <stdio-common/_itoa.h>.
51281         * debug/segfault.c: Likewise.
51282         * elf/dl-cache.c: Likewise.
51283         * elf/dl-minimal.c: Likewise.
51284         * elf/dl-misc.c: Likewise.
51285         * elf/dl-sysdep.c: Likewise.
51286         * elf/dl-version.c: Likewise.
51287         * elf/rtld.c: Likewise.
51288         * hurd/hurdsock.c: Likewise.
51289         * hurd/lookup-retry.c: Likewise.
51290         * malloc/malloc.c: Likewise.
51291         * malloc/mtrace.c: Likewise.
51292         * nscd/nscd_getgr_r.c: Likewise.
51293         * nscd/nscd_getpw_r.c: Likewise.
51294         * nscd/nscd_getserv_r.c: Likewise.
51295         * posix/getopt_init.c: Likewise.
51296         * posix/wordexp.c: Likewise.
51297         * stdio-common/_itoa.c: Likewise.
51298         * stdio-common/printf_fphex.c: Likewise.
51299         * stdio-common/vfprintf.c: Likewise.
51300         * string/_strerror.c: Likewise.
51301         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51302         * sysdeps/i386/i686/hp-timing.h: Likewise.
51303         * sysdeps/mach/_strerror.c: Likewise.
51304         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51305         * sysdeps/mach/hurd/sethostid.c: Likewise.
51306         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51307         * sysdeps/mach/xpg-strerror.c: Likewise.
51308         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51310         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51311         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51312         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51313         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51314         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51315         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51316         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51317         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51318         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51319         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51320         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51321         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51322         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51323         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51324         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51325         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51326         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51327         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51328         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51330         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51332         * stdio-common/_itoa.h: Moved to ...
51333         * sysdeps/generic/_itoa.h: Here.
51335         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51337         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51338         instead of "_itoa.h" and "_itowa.h".
51339         * stdio-common/vfprintf.: Likewise.
51341 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51343         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51344         <bits/wordsize.h>.
51345         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51346         (__signbit): Likwise.
51347         (llrintf): Likwise.
51348         (llrint): Likwise.
51350 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51352         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51353         __WORDSIZE != 64.
51355 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51357         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51358         OVERFLOW_EXCEPTION_OK.
51359         * math/libm-test.inc ("Philosophy"): Update comment about
51360         exception testing.
51361         (OVERFLOW_EXCEPTION): Define.
51362         (OVERFLOW_EXCEPTION_OK): Likewise.
51363         (INVALID_EXCEPTION_OK): Renumber.
51364         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51365         (IGNORE_ZERO_INF_SIGN): Likewise.
51366         (test_exceptions): Handle FE_OVERFLOW.
51367         (exp10_test): Expect overflow exceptions.
51368         (exp2_test): Likewise.
51369         (expm1_test): Likewise.
51370         (nextafter_test): Likewise.
51371         (pow_test): Likewise.
51372         (scalbn_test): Likewise.
51373         (scalbln_test): Likewise.
51375 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51377         * sysdeps/x86_64/bits/atomic.h
51378         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51379         64bit integer.
51380         (atomic_exchange_acq): Likewise.
51381         (__arch_exchange_and_add_body): Likewise.
51382         (__arch_add_body): Likewise.
51383         (atomic_add_negative): Likewise.
51384         (atomic_add_zero): Likewise.
51386 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51388         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51389         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51393         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51394         Check __x86_64__ instead of __WORDSIZE.
51396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51398         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51400 2012-03-19  David S. Miller  <davem@davemloft.net>
51402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51404         * sysdeps/sparc/fpu/fenv_private.h: New file.
51405         * sysdeps/sparc/fpu/math_private.h: Use it.
51406         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51407         Remove.
51408         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51409         (libc_feholdexcept_setroundl): Remove.
51410         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51411         Remove.
51412         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51413         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51415 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51417         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51418         int64_t instead of long int.
51419         (INSERT_WORDS64): Likwise.
51421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51423         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51424         _Unwind_GetCFA return to _Unwind_Ptr first.
51426 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51428         [BZ #13629]
51429         * math/s_clog.c: Include <float.h>.
51430         (__clog): Scale large or subnormal inputs.
51431         * math/s_clogf.c: Likewise.
51432         * math/s_clogl.c: Likewise.
51433         * math/s_clog10.c: Include <float.h>.
51434         (M_LOG10_2): Define.
51435         (__clog10): Scale large or subnormal inputs.
51436         * math/s_clog10f.c: Likewise.
51437         * math/s_clog10l.c: Likewise.
51438         * math/libm-test.inc (clog_test): Add more tests.
51439         (clog10_test): Likewise.
51440         * sysdeps/i386/fpu/libm-test-ulps: Update.
51441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51443         [BZ #11451]
51444         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51445         x and y.
51446         * math/libm-test.inc (atan2_test): Add another test.
51448         * Makerules (common-objdir-compile): Remove.
51449         * sysdeps/unix/Makefile (config-generated): Do not add
51450         $(unix-generated) to variable.
51451         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51452         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51453         Remove rule.
51454         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51455         Likewise.
51456         [generic bits/local_lim.h] (before-compile): Do not append to
51457         variable.
51458         [generic bits/local_lim.h] (common-generated): Likewise.
51459         [generic sys/param.h] (before-compile): Do not append to variable.
51460         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51461         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51462         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51463         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51464         include.
51465         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51466         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51467         [generic sys/param.h] ($(addprefix
51468         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51469         [generic sys/param.h] (common-generated): Do not append to
51470         variable.
51471         [generic sys/param.h] (sysdep_headers): Likewise.
51472         [generic bits/errno.h] (before-compile): Do not append to
51473         variable.
51474         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51475         rule.
51476         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51477         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51478         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51479         [generic bits/errno.h] (common-generated): Do not append to
51480         variable.
51481         [generic bits/ioctls.h] (before-compile): Do not append to
51482         variable.
51483         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51484         rule.
51485         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51486         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51487         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51488         rule.
51489         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51490         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51491         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51492         [generic bits/ioctls.h] (common-generated): Do not append to
51493         variable.
51494         [generic sys/syscall.h] (syscall.h): Remove variable.
51495         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51496         rule.
51497         [generic sys/syscall.h] (before-compile): Do not append to
51498         variable.
51499         [generic sys/syscall.h] (common-generated): Likewise.
51500         * sysdeps/unix/errnos-tmpl.c: Remove file.
51501         * sysdeps/unix/errnos.awk: Likewise.
51502         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51503         * sysdeps/unix/ioctls.awk: Likewise.
51504         * sysdeps/unix/mk-local_lim.c: Likewise.
51505         * sysdeps/unix/snarf-ioctls: Likewise.
51507 2012-03-19  Richard Henderson  <rth@twiddle.net>
51509         * sysdeps/i386/fpu/fenv_private.h: New file.
51510         * sysdeps/i386/fpu/math_private.h: Use it.
51511         (math_opt_barrier, math_force_eval): Remove.
51512         (libc_feholdexcept_setround_53bit): Remove.
51513         (libc_feupdateenv_53bit): Remove.
51514         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51515         (math_opt_barrier, math_force_eval): Remove.
51516         (libc_feholdexcept): Remove.
51517         (libc_feholdexcept_setround): Remove.
51518         (libc_fetestexcept, libc_fesetenv): Remove.
51519         (libc_feupdateenv_test): Remove.
51520         (libc_feupdateenv, libc_feholdsetround): Remove.
51521         (libc_feresetround): Remove.
51523         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51524         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51526         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51527         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51528         (libc_feupdateenv_testl): New.
51529         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51530         (libc_feupdateenv_testf): New.
51531         (libc_feupdateenv): Use libc_feupdateenv_test.
51532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51533         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51535         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51536         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51537         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51538         (libc_feresetround_noex): New.
51539         (libc_feresetround_noexf): New.
51540         (libc_feresetround_noexl): New.
51541         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51542         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51543         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51544         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51545         SET_RESTORE_ROUND.
51546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51548         (__cos): Likewise.
51549         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51550         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51551         SET_RESTORE_ROUND_NOEX.
51552         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51553         SET_RESTORE_ROUND_NOEXF.
51554         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51555         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51556         (libc_feholdsetroundf): New.
51557         (libc_feresetround, libc_feresetroundf): New.
51559         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51560         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51561         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51563         * sysdeps/generic/math_private.h: Include <fenv.h>.
51564         (default_libc_feholdexcept): New.
51565         (default_libc_feholdexcept_setround): New.
51566         (default_libc_fesetenv, default_libc_feupdateenv): New.
51567         (libc_feholdexcept): Only define if undefined.
51568         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51569         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51570         (libc_feholdexcept_setroundl): Likewise.
51571         (libc_feholdexcept_setround_53bit): Likewise.
51572         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51573         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51574         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51575         (libc_feupdateenv_53bit): Likewise.
51576         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51577         (libc_feholdexcept): Convert from macro to inline function.
51578         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51579         (libc_fesetenv, libc_feupdateenv): Likewise.
51581         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51582         not previously defined.
51583         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51584         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51585         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51586         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51587         * sysdeps/ieee754/flt-32/math_private.h: New file.
51588         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51589         math_private.h below SET_FLOAT_WORD.
51590         (__isnan, __isinf_ns, __finite): Remove.
51591         (__isnanf, __isinf_nsf, __finitef): Remove.
51593 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51597 2012-03-17  David S. Miller  <davem@davemloft.net>
51599         [BZ #6471]
51600         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51601         for 2.16.
51603 2012-03-16  David S. Miller  <davem@davemloft.net>
51605         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51606         warnings.
51608         [BZ #6471]
51609         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51610         properly.
51611         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51612         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51613         sysdep_routines when subdir is sysvipc.
51614         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51615         __getshmlba helper.
51617         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51619 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51621         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51622         [__LP64__].
51624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51626         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51627         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51628         (__lround): Renamed to ...
51629         (__llround): This.  Replace long int with long long int.
51630         Define lround functions as aliases of llround functions.
51631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51633 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51635         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51636         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51637         adresses to uintptr_t.  Replace "long int" and "unsigned long
51638         int" with "greg_t" on va_arg.
51640 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51642         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51643         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51645         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51646         Move e_machine check before EI_CLASS check.  Handle x32
51647         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51648         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51649         SKIP_EM_IA_64 and include
51650         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51652         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51653         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51654         (add_system_dir): New macro.
51656         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51657         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51659 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51661         [BZ #2551]
51662         [BZ #2552]
51663         [BZ #2553]
51664         [BZ #2554]
51665         [BZ #2562]
51666         [BZ #2563]
51667         [BZ #2565]
51668         [BZ #2566]
51669         [BZ #2576]
51670         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51671         (y0): Likewise.
51672         * math/w_j0f.c (j0f): Likewise.
51673         (y0f): Likewise.
51674         * math/w_j0l.c (__j0l): Likewise.
51675         (__y0l): Likewise.
51676         * math/w_j1.c (j1): Likewise.
51677         (y1): Likewise.
51678         * math/w_j1f.c (j1f): Likewise.
51679         (y1f): Likewise.
51680         * math/w_j1l.c (__j1l): Likewise.
51681         (__y1l): Likewise.
51682         * math/w_jn.c (jn): Likewise.
51683         (yn): Likewise.
51684         * math/w_jnf.c (jnf): Likewise.
51685         (ynf): Likewise.
51686         * math/w_jnl.c (__jnl): Likewise.
51687         (__ynl): Likewise.
51688         * math/libm-test.inc (j0_test): Add more tests.
51689         (j1_test): Likewise.
51690         (jn_test): Likewise.  Add trailing semicolon to existing test.
51691         (y0_test): Likewise.
51692         (y1_test): Likewise.
51693         * sysdeps/i386/fpu/libm-test-ulps: Update.
51694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51696         [BZ #13851]
51697         [BZ #13854]
51698         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51699         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51700         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51701         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51702         (__tanl): Set errno for infinite argument.
51703         * sysdeps/i386/fpu/mptan.c: Remove.
51704         * sysdeps/i386/fpu/s_tan.S: Likewise.
51705         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51706         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51707         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51708         * math/libm-test.inc (tan_test): Add more tests and enable more
51709         tests for double and long double.
51710         * sysdeps/i386/fpu/libm-test-ulps: Update.
51711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51713 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51715         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51716         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51718 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51720         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51721         * configure.in: Use it for both main tree and add-ons.
51722         * configure: Regenerated.
51724 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51726         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51728 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51730         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51731         in comment.
51733         [BZ #13851]
51734         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51735         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51736         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51737         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51738         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51739         infinite argument.
51740         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51742         != 0 for prec == 2.
51743         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51744         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51745         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51746         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51747         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51748         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51749         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51750         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51751         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51752         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51753         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51754         * math/libm-test.inc (cos_test): Add more tests and enable more
51755         tests for long double.
51756         (sin_test): Likewise.
51757         (sincos_test): Likewise.
51758         * sysdeps/i386/fpu/libm-test-ulps: Update.
51759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51761 2012-03-16  David S. Miller  <davem@davemloft.net>
51763         * sysdeps/sparc/fpu/math_private.h: New file.
51765 2012-03-15  David S. Miller  <davem@davemloft.net>
51767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51768         file.
51769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51771         file.
51772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51778         sysdep routines.
51779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51781         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51782         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51784         * sysdeps/sparc/sparc-ifunc.h: New file.
51785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51786         sparc-ifunc.h
51787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51789         Likewise.
51790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51791         Likewise.
51792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51796         Likewise.
51797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51802         Likewise.
51803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51804         Likewise.
51805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51811         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51812         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51822         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51827         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51828         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51830 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51832         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51833         scaling.
51834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51836 2012-03-15  Andreas Jaeger  <aj@suse.de>
51838         [BZ #13852]
51839         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51840         ieee754/flt-32 implementation for sin, cos and sincos.
51841         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51842         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51843         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51844         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51845         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51846         ieee754/flt-32 implementation for tan.
51848         * math/libm-test.inc (cos_test): Enable some large input tests for
51849         float as well
51850         (sin_test): Likewise.
51851         (sincos_test): Likewise.
51852         (tan_test): Add tests for large input.
51854         * sysdeps/i386/fpu/libm-test-ulps: Update.
51856 2012-03-15  Andreas Jaeger  <aj@suse.de>
51858         [BZ #13658]
51859         * math/libm-test.inc (cos_test): Add more test cases.
51860         (sin_test): Likewise.
51861         (sincos_test): Likewise.
51863 2012-03-15  Andreas Jaeger  <aj@suse.de>
51865         [BZ #13837]
51866         * math/libm-test.inc (cos_test): Add a test case for large input
51867         value.
51868         (sin_test): Likewise.
51869         (sincos_test): Likewise.
51871 2012-03-15  Andreas Jaeger  <aj@suse.de>
51872             Joseph Myers  <joseph@codesourcery.com>
51874         [BZ #13658]
51875         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51876         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51877         * sysdeps/i386/fpu/branred.c: Likewise.
51878         * sysdeps/i386/fpu/dosincos.c: Likewise.
51879         * sysdeps/i386/fpu/mpa.c: Likewise.
51880         * sysdeps/i386/fpu/s_cos.S: Likewise.
51881         * sysdeps/i386/fpu/s_sin.S: Likewise.
51882         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51883         * sysdeps/i386/fpu/sincos32.c: Likewise.
51885         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51886         Define.
51887         (libc_feupdateenv_53bit): Define.
51888         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51889         Define.
51890         (libc_feupdateenv_53bit): Define.
51892         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51893         53 bit (without extend i386 double precision).
51895         * math/libm-test.inc (sincos_test): Add tests for large input.
51896         (sin): Likewise.
51897         (cos): Likewise.
51899         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51901 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51905 2012-03-15  David S. Miller  <davem@davemloft.net>
51907         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51908         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51909         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51910         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51923         file.
51924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51926         file.
51927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51929         file.
51930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51932         file.
51933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51935         fmin/fmax sysdep routines.
51936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51938 2012-03-14  David S. Miller  <davem@davemloft.net>
51940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51944         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51945         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51946         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51947         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51954         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51955         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51960         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51961         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51962         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51963         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51964         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51965         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51966         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51967         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51968         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51969         routines.
51970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51971         file.
51972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51974         file.
51975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51977         file.
51978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51980         file.
51981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51983         file.
51984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51986         file.
51987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51988         file.
51989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51990         file.
51991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51992         file.
51993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51994         New file.
51995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51996         file.
51997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51998         file.
51999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52001         file.
52002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52004         file.
52005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52007         file.
52008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52010         VIS3 routines.
52012         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52013         New file.
52015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52017         * sysdeps/sparc/configure.in: New file.
52018         * sysdeps/sparc/configure: Generate.
52019         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52020         * configure: Regenerate.
52021         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52022         * config.make.in (have-as-vis3): New.
52023         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52024         available use -Av9d instead of -Av9a.
52025         * sysdeps/sparc/sparc64/Makefile: Likewise.
52026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52028         New file.
52029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52030         file.
52031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52032         New file.
52033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52034         file.
52035         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52036         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52037         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52038         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52039         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52041         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52042         fzeros/fnegs to load 0x80000000 into a float register instead of
52043         using the stack.
52044         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52046 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52049         bits/syscall.h.
52050         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52051         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52052         ($(inst_includedir)/bits/syscall.h): Remove rule.
52053         ($(objpfx)bits/syscall.d): Include instead of
52054         $(objpfx)syscall-list.d.
52055         (generated): Change syscall-list.h and syscall-list.d to
52056         bits/syscall.h and bits/syscall.d.
52058 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52060         [BZ #13846]
52061         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52063 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52065         [BZ #13841]
52066         * math/s_csqrt.c: Include <float.h>.
52067         (__csqrt): Scale large or subnormal inputs.
52068         * math/s_csqrtf.c: Likewise.
52069         * math/s_csqrtl.c: Likewise.
52070         * math/libm-test.inc (csqrt_test): Add more tests.
52071         * sysdeps/i386/fpu/libm-test-ulps: Update.
52072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52074         [BZ #13840]
52075         * math/libm-test.inc (hypot_test): Add more tests.
52077 2012-03-13  David S. Miller  <davem@davemloft.net>
52079         [BZ #13840]
52080         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52081         double-precision for the calculation instead of scaling.
52083 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52085         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52086         manipulate bits before adding and subtracting TWO52[sx].
52087         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52088         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52089         Likewise.
52090         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52092 2012-03-13  David S. Miller  <davem@davemloft.net>
52094         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52095         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52097         rtld-global-offsets.h
52098         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52100         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52101         large parameters.
52103         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52105         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52106         'err' in the ifdef scope in which it is actually used.
52108         * nss/nss_db/db-init.c: Include string.h
52110 2012-03-12  David S. Miller  <davem@davemloft.net>
52112         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52113         masking out of the most significant byte of random value used.
52114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52115         Fix coding style in previous change.
52117         * sysdeps/unix/sysv/linux/kernel-features.h
52118         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52119         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52120         expression.
52121         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52122         later.
52124 2012-03-11  David S. Miller  <davem@davemloft.net>
52126         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52127         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52128         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52129         for 'resultvar' otherwise things get truncated on 64-bit.
52131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52132         Fix masking out of the most significant byte of random value used.
52134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52136 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52140 2012-03-09  David S. Miller  <davem@davemloft.net>
52142         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52143         variables with appropriate CPP guards.
52144         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52145         from the frame pointer, not the stack pointer.  Correct layout
52146         comments.  Fix test on resulting framesize and the management of
52147         the outregs buffer for pltexit.  Preserve floating point return
52148         values across _dl_call_pltexit call.
52149         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52150         framesize and the management of the outregs buffer for pltexit.
52151         Preserve floating point return values across _dl_call_pltexit
52152         call.
52153         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52154         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52155         (la_sparc64_gnu_pltexit): New functions.
52156         (print_exit): Fix format string for return register value.
52158 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52160         * sunrpc/Makefile (others): Add rpcgen.
52161         ($(objpfx)rpcgen): Remove special build rule and dependency on
52162         libc.
52163         * sunrpc/rpcgen.c: New file.
52165 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52167         [BZ #13673]
52168         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52169         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52170         * sysdeps/i386/crti.S: Likewise.
52171         * sysdeps/i386/crtn.S: Likewise.
52172         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52173         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52174         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52175         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52176         * sysdeps/sh/crti.S: Likewise.
52177         * sysdeps/sh/crtn.S: Likewise.
52178         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52180         [BZ #13673]
52181         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52182         with URL.
52183         * locale/programs/locfile-kw.gperf: Likewise.
52184         * locale/programs/charmap-kw.h: Regenerated.
52185         * locale/programs/locfile-kw.h: Likewise.
52187         [BZ #13673]
52188         * intl/plural.y: Replace FSF snail mail address with URL.
52189         * intl/plural.c: Regenerated.
52191 2012-03-09  Richard Henderson  <rth@twiddle.net>
52193         * include/math_private.h: Remove file.
52194         * math/math_private.h: Move file ...
52195         * sysdeps/generic/math_private.h: ... here.
52197         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52198         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52199         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52201         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52202         and <math_private.h>.
52203         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52204         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52205         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52206         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52207         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52208         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52209         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52211         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52212         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52213         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52214         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52215         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52216         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52217         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52218         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52219         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52220         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52221         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52222         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52223         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52224         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52225         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52227         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52228         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52229         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52230         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52232         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52233         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52234         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52235         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52236         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52237         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52238         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52239         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52240         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52241         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52242         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52243         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52244         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52245         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52246         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52247         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52248         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52249         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52250         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52251         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52252         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52253         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52254         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52255         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52256         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52257         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52258         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52259         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52260         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52261         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52262         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52263         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52264         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52266         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52267         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52268         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52269         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52270         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52271         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52272         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52273         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52274         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52275         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52276         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52277         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52282         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52283         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52284         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52285         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52286         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52287         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52290         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52291         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52292         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52293         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52294         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52295         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52296         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52297         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52298         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52299         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52300         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52301         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52302         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52303         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52304         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52305         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52306         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52307         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52308         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52309         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52310         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52311         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52312         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52313         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52314         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52315         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52316         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52317         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52318         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52319         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52320         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52321         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52322         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52323         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52324         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52325         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52326         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52327         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52328         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52329         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52330         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52331         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52332         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52333         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52334         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52335         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52336         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52337         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52338         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52339         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52340         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52341         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52342         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52343         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52344         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52345         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52346         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52347         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52348         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52349         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52350         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52351         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52352         * sysdeps/ieee754/k_standard.c: Likewise.
52353         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52354         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52355         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52356         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52357         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52358         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52359         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52360         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52361         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52362         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52363         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52365         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52366         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52367         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52368         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52369         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52370         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52371         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52372         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52373         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52374         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52375         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52376         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52377         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52378         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52379         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52380         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52381         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52382         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52383         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52384         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52385         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52386         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52387         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52388         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52389         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52390         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52391         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52392         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52393         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52394         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52395         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52396         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52397         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52398         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52399         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52400         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52401         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52402         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52403         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52404         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52405         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52406         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52407         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52408         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52409         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52410         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52411         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52412         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52413         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52414         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52415         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52416         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52419         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52420         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52421         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52422         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52423         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52424         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52425         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52426         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52427         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52429         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52430         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52432         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52433         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52434         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52435         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52436         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52437         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52438         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52439         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52440         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52442         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52443         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52444         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52445         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52446         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52447         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52448         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52449         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52450         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52451         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52452         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52454         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52455         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52456         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52457         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52458         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52459         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52460         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52461         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52462         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52463         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52464         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52465         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52466         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52467         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52468         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52469         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52470         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52471         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52472         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52473         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52474         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52475         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52476         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52477         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52478         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52479         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52480         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52481         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52482         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52483         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52484         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52485         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52486         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52487         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52488         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52489         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52490         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52491         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52492         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52493         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52494         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52495         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52496         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52497         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52498         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52499         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52500         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52501         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52502         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52503         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52504         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52505         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52506         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52507         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52508         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52509         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52510         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52511         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52512         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52513         * sysdeps/ieee754/s_lib_version.c: Likewise.
52514         * sysdeps/ieee754/s_matherr.c: Likewise.
52515         * sysdeps/ieee754/s_signgam.c: Likewise.
52516         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52517         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52518         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52519         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52520         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52521         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52522         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52523         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52524         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52525         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52526         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52527         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52528         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52529         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52530         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52531         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52532         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52533         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52534         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52535         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52536         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52538 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52540         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52541         * sunrpc/rpc_main.c: Likewise.
52542         * sunrpc/rpc_svcout.c: Likewise.
52544 2012-03-09  David S. Miller  <davem@davemloft.net>
52546         * include/math_private.h: New file.
52548 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52550         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52551         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52552         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52553         from <bits/socket_type.h>.
52554         (enum __socket_type): Don't define here.
52555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52557         bits/socket_type.h.
52559         [BZ #13566]
52560         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52561         checking __USE_GNU.
52563         * Makerules ($(inst_includedir)/%.h): New rule.
52564         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52565         (install-others): Remove variable setting.
52566         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52568 2012-03-08  Richard Henderson  <rth@twiddle.net>
52570         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52571         from macro to inline function; merge with the
52572         !__LIBC_INTERNAL_MATH_INLINES version.
52573         (__ieee754_sqrtf): Likewise.
52575         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52576         to inline function.
52577         (__rintf, __floor, __floorf): Likewise.
52579         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52580         macro to inline function.
52581         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52583         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52584         not <math/math_private.h>.
52586 2012-03-08  David S. Miller  <davem@davemloft.net>
52588         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52589         copyright year.
52590         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52592 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52594         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52595         normalization.
52596         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52597         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52599 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52601         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52602         be defined individually, they must be defined as a block.  Define
52603         S for printing a string instead of hidint the different by using a
52604         macro for adding the 'l'.
52605         * stdio-common/tst-fphex-wide.c: Adjust.
52607 2012-03-07  Marek Polacek  <polacek@redhat.com>
52609         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52611 2012-03-08  Marek Polacek  <polacek@redhat.com>
52613         [BZ #13806]
52614         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52615         * stdio-common/tst-fphex.c: Define a few macros to make the
52616         test reusable.  Use them.
52617         * stdio-common/tst-fphex-wide.c: New file.
52619 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52621         [BZ #6911]
52622         * manual/macros.texi (gnusystems): New macro.
52623         (nongnusystems): Likewise.
52624         (gnulinuxhurdsystems): Likewise.
52625         (gnuhurdsystems): Likewise..
52626         (gnulinuxsystems): Likewise.
52627         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52628         variants of the GNU system, not "GNU system".
52629         * manual/conf.texi: Likewise.
52630         * manual/errno.texi: Likewise.  Update example of errno macro
52631         expansion.
52632         * manual/filesys.texi: Likewise.
52633         (getumask): Document as specific to GNU/Hurd.
52634         * manual/install.texi: Likewise.  Reword some references to
52635         GNU/Linux.
52636         * manual/intro.texi: Likewise.
52637         * manual/io.texi: Likewise.
52638         (File Name Portability): Detail which constraints are inapplicable
52639         to all GNU systems and which are only inapplicable to GNU/Hurd.
52640         * manual/job.texi: Likewise.
52641         * manual/llio.texi: Likewise.
52642         (O_NOCTTY): Document as present on GNU/Linux.
52643         * manual/maint.texi: Likewise.
52644         * manual/memory.texi: Likewise.
52645         * manual/pattern.texi: Likewise.
52646         * manual/pipe.texi: Likewise.
52647         * manual/process.texi: Likewise.
52648         * manual/resource.texi: Likewise.
52649         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52650         child on GNU/Hurd.
52651         * manual/setjmp.texi: Likewise.
52652         * manual/signal.texi: Likewise.
52653         * manual/startup.texi: Likewise.
52654         * manual/stdio.texi: Likewise.
52655         * manual/terminal.texi: Likewise.
52656         (ONLCR): Document as POSIX.
52657         (OXTABS): Document availability on GNU/Linux as XTABS.
52658         (ONOEOT): Document availability separately from other bits.
52659         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52660         * manual/time.texi: Likewise.
52661         * manual/users.texi: Likewise.
52662         * INSTALL: Regenerated.
52663         * sysdeps/gnu/errlist.c: Regenerated.
52665         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52666         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52667         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52668         puts.
52669         * configure: Regenerated.
52671 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52673         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52674         default includes instead of AC_HEADER_CHECK.
52675         * sysdeps/i386/configure: Regenerated.
52677         [BZ #10716]
52678         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52679         * math/s_cacoshf.c (__cacoshf): Likewise.
52680         * math/s_cacoshl.c (__cacoshl): Likewise.
52681         * math/s_casinh.c (__casinh): Set signs of result from argument.
52682         * math/s_casinhf.c (__casinhf): Likewise.
52683         * math/s_casinhl.c (__casinhl): Likewise.
52684         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52685         (casinh_test): Add more tests.
52686         * sysdeps/i386/fpu/libm-test-ulps: Update.
52687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52689 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52691         * po/zh_TW.po: Update from translation team.
52693         * login/Makefile (distribute): Remove variable.
52694         * catgets/Makefile: Likewise.
52695         * mach/Makefile: Likewise.
52696         * malloc/Makefile: Likewise.
52697         * misc/Makefile: Likewise.
52698         * iconv/Makefile: Likewise.
52699         * nscd/Makefile: Likewise.
52700         * hurd/Makefile: Likewise.
52701         * manual/Makefile: Likewise.
52702         * locale/Makefile: Likewise.
52703         * intl/Makefile: Likewise.
52704         * conform/Makefile: Likewise.
52705         * nss/Makefile: Likewise.
52706         * time/Makefile: Likewise.
52707         * soft-fp/Makefile: Likewise.
52708         * dirent/Makefile: Likewise.
52709         * gmon/Makefile: Likewise.
52710         * po/Makefile: Likewise.
52711         * rt/Makefile: Likewise.
52712         * socket/Makefile: Likewise.
52713         * math/Makefile: Likewise.
52714         * signal/Makefile: Likewise.
52715         * debug/Makefile: Likewise.
52716         * elf/Makefile: Likewise.
52717         * timezone/Makefile: Likewise.
52718         * stdlib/Makefile: Likewise.
52719         * iconvdata/Makefile: Likewise.
52720         * sunrpc/Makefile: Likewise.
52721         * io/Makefile: Likewise.
52722         * argp/Makefile: Likewise.
52723         * inet/Makefile: Likewise.
52724         * hesiod/Makefile: Likewise.
52725         * grp/Makefile: Likewise.
52726         * csu/Makefile: Likewise.
52727         * wctype/Makefile: Likewise.
52728         * crypt/Makefile: Likewise.
52729         * libio/Makefile: Likewise.
52730         * string/Makefile: Likewise.
52731         * nis/Makefile: Likewise.
52732         * resolv/Makefile: Likewise.
52733         * stdio-common/Makefile: Likewise.
52734         * wcsmbs/Makefile: Likewise.
52735         * dlfcn/Makefile: Likewise.
52736         * posix/Makefile: Likewise.
52738         [BZ #6959]
52739         * timezone/Makefile: Don't install timezone files, just the programs
52740         and scripts.
52742 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52744         * nss/databases.def: Add missing gshadow entry.
52746         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52748 2012-03-06  Marek Polacek  <polacek@redhat.com>
52750         [BZ #13726]
52751         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52752         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52753         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52754         * stdio-common/tst-long-dbl-fphex.c: New file.
52756 2012-03-06  David S. Miller  <davem@davemloft.net>
52758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52759         (set_obp_int): New function.
52760         (get_obp_int): New function.
52761         (__get_clockfreq_via_dev_openprom): Likewise.
52762         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52763         Avoid unused variable warnings on 'val' and use builtin_expect.
52764         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52765         __builtin_expect.
52766         (INLINE_CLONE_SYSCALL): Likewise.
52768 2012-03-05  David S. Miller  <davem@davemloft.net>
52770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52772 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52776         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52777         only for |x| >= 40.
52778         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52780 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52783         Replace gettimeofday with __vdso_gettimeofday.
52785         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52786         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52787         __vdso_clock_gettime and __vdso_getcpu.
52789         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52790         time with __vdso_time.
52792 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52794         * manual/lang.texi (size_t): Note types to which size_t may be
52795         equivalent with the GNU C Library, but do not describe when
52796         differences between them are significant.
52798 2012-03-05  Andreas Jaeger  <aj@suse.de>
52800         * sysdeps/i386/fpu/libm-test-ulps: Update.
52802 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52804         [BZ #3976]
52805         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52806         (__ieee754_pow): Save and restore rounding mode and use
52807         round-to-nearest for main computations.
52808         * math/libm-test.inc (pow_test_tonearest): New function.
52809         (pow_test_towardzero): Likewise.
52810         (pow_test_downward): Likewise.
52811         (pow_test_upward): Likewise.
52812         (main): Call the new functions.
52813         * sysdeps/i386/fpu/libm-test-ulps: Update.
52814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52816         [BZ #3976]
52817         * math/libm-test.inc (cosh_test_tonearest): New function.
52818         (cosh_test_towardzero): Likewise.
52819         (cosh_test_downward): Likewise.
52820         (cosh_test_upward): Likewise.
52821         (sinh_test_tonearest): Likewise.
52822         (sinh_test_towardzero): Likewise.
52823         (sinh_test_downward): Likewise.
52824         (sinh_test_upward): Likewise.
52825         (main): Call the new functions.
52826         * sysdeps/i386/fpu/libm-test-ulps: Update.
52827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52829 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52831         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52832         default stack guard is set in last bytes.
52833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52835 2012-03-05  Kees Cook  <keescook@chromium.org>
52837         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52839         [BZ #13656]
52840         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52841         possibly allocate from heap instead of stack.
52842         * stdio-common/bug-vfprintf-nargs.c: New file.
52843         * stdio-common/Makefile (tests): Add nargs overflow test.
52845 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52849 2012-03-03  Marek Polacek  <polacek@redhat.com>
52851         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52852         * math/math_private.h: Likewise.
52853         * stdlib/tst-strtod.c: Likewise.
52854         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52855         * sysdeps/x86_64/bits/atomic.h: Likewise.
52857 2012-03-02  David S. Miller  <davem@davemloft.net>
52859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52863         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52864         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52865         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52866         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52868 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52870         [BZ #13792]
52871         * manual/examples/README: New file, says the example source files
52872         can be used under GPL>=2.
52873         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52874         line containing just "*/".
52875         * manual/examples/add.c: Add copyright header (GPL>=2).
52876         * manual/examples/argp-ex1.c: Likewise.
52877         * manual/examples/argp-ex2.c: Likewise.
52878         * manual/examples/argp-ex3.c: Likewise.
52879         * manual/examples/argp-ex4.c: Likewise.
52880         * manual/examples/atexit.c: Likewise.
52881         * manual/examples/db.c: Likewise.
52882         * manual/examples/dir.c: Likewise.
52883         * manual/examples/dir2.c: Likewise.
52884         * manual/examples/execinfo.c: Likewise.
52885         * manual/examples/filecli.c: Likewise.
52886         * manual/examples/filesrv.c: Likewise.
52887         * manual/examples/fmtmsgexpl.c: Likewise.
52888         * manual/examples/genpass.c: Likewise.
52889         * manual/examples/inetcli.c: Likewise.
52890         * manual/examples/inetsrv.c: Likewise.
52891         * manual/examples/isockad.c: Likewise.
52892         * manual/examples/longopt.c: Likewise.
52893         * manual/examples/memopen.c: Likewise.
52894         * manual/examples/memstrm.c: Likewise.
52895         * manual/examples/mkfsock.c: Likewise.
52896         * manual/examples/mkisock.c: Likewise.
52897         * manual/examples/mygetpass.c: Likewise.
52898         * manual/examples/pipe.c: Likewise.
52899         * manual/examples/popen.c: Likewise.
52900         * manual/examples/rprintf.c: Likewise.
52901         * manual/examples/search.c: Likewise.
52902         * manual/examples/select.c: Likewise.
52903         * manual/examples/setjmp.c: Likewise.
52904         * manual/examples/sigh1.c: Likewise.
52905         * manual/examples/sigusr.c: Likewise.
52906         * manual/examples/stpcpy.c: Likewise.
52907         * manual/examples/strdupa.c: Likewise.
52908         * manual/examples/strftim.c: Likewise.
52909         * manual/examples/strncat.c: Likewise.
52910         * manual/examples/subopt.c: Likewise.
52911         * manual/examples/swapcontext.c: Likewise.
52912         * manual/examples/termios.c: Likewise.
52913         * manual/examples/testopt.c: Likewise.
52914         * manual/examples/testpass.c: Likewise.
52915         * manual/examples/timeval_subtract.c: Likewise.
52917         [BZ #13792]
52918         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52919         function to ...
52920         * manual/timeval_subtract.c.texi: ... here, new file.
52922 2012-03-02  David S. Miller  <davem@davemloft.net>
52924         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52926 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52928         [BZ #3976]
52929         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52930         (__sin): Save and restore rounding mode and use round-to-nearest
52931         for all computations.
52932         (__cos): Save and restore rounding mode and use round-to-nearest
52933         for all computations.
52934         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52935         <fenv.h>.
52936         (tan): Save and restore rounding mode and use round-to-nearest for
52937         all computations.
52938         * math/libm-test.inc (cos_test_tonearest): New function.
52939         (cos_test_towardzero): Likewise.
52940         (cos_test_downward): Likewise.
52941         (cos_test_upward): Likewise.
52942         (sin_test_tonearest): Likewise.
52943         (sin_test_towardzero): Likewise.
52944         (sin_test_downward): Likewise.
52945         (sin_test_upward): Likewise.
52946         (tan_test_tonearest): Likewise.
52947         (tan_test_towardzero): Likewise.
52948         (tan_test_downward): Likewise.
52949         (tan_test_upward): Likewise.
52950         (main): Call the new functions.
52951         * sysdeps/i386/fpu/libm-test-ulps: Update.
52952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52954         [BZ #10135]
52955         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52956         small n, then large n, before computing and testing k+n.
52957         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52958         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52959         Likewise.
52960         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52961         Likewise.
52962         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52963         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52964         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52965         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52966         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52968         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52969         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52970         * math/libm-test.inc (scalbn_test): Add more tests.
52971         (scalbln_test): Likewise.
52973         * manual/filesys.texi (mode_t): Describe constraints on size and
52974         signedness, not exact equivalence to a particular type.
52975         (ino_t): Likewise.
52976         (ino64_t): Likewise.
52977         (dev_t): Likewise.
52978         (nlink_t): Likewise.
52979         (blkcnt_t): Likewise.
52980         (blkcnt64_t): Likewise.
52981         * manual/llio.texi (off_t): Likewise.
52983         [BZ #3976]
52984         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52985         (__ieee754_exp): Save and restore rounding mode and use
52986         round-to-nearest for all computations.
52987         * math/libm-test.inc (exp_test_tonearest): New function.
52988         (exp_test_towardzero): Likewise.
52989         (exp_test_downward): Likewise.
52990         (exp_test_upward): Likewise.
52991         (main): Call the new functions.
52992         * sysdeps/i386/fpu/libm-test-ulps: Update.
52993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52995 2012-03-01  Chris Demetriou  <cgd@google.com>
52997         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52998         have predictable order.
53000 2012-03-01  David S. Miller  <davem@davemloft.net>
53002         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53004         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53005         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53006         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53007         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53009         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53010         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53011         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53013         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53014         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53015         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53016         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53017         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53021         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53022         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53023         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53025         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53026         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53027         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53028         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53029         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53030         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53031         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53032         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53033         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53034         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53035         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53036         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53038         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53039         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53040         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53041         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53042         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53043         * sysdeps/sparc/elf/configure: Regenerated.
53045 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53047         * configure.in (AS, LD): Require binutils 2.20 or later.
53048         * configure: Regenerated.
53049         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53050         as required minimum version.
53051         * INSTALL: Regenerated.
53053         [BZ #2541]
53054         [BZ #4108]
53055         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53056         before squaring exponent.
53057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53058         bottom long double and 27 bits of top long double before squaring
53059         exponent.
53060         * math/libm-test.inc (erfc_test): Add more tests.
53061         * sysdeps/i386/fpu/libm-test-ulps: Update.
53062         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53065 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53067         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53068         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53069         containing bit-fields.
53070         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53071         * soft-fp/single.h (_FP_UNION_S): Likewise.
53072         * soft-fp/double.h (_FP_UNION_D): Likewise.
53074 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53076         [BZ #13786]
53077         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53078         not include ../strcmp.S.
53079         [USE_AS_STRNCASECMP_L]: Likewise.
53080         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53081         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53082         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53083         (__strncasecmp_l_ia32): Define as alias to
53084         __strncasecmp_l_nonascii.
53086         [BZ #5794]
53087         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53088         * sysdeps/i386/fpu/libm-test-ulps: Update.
53089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53091         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53094 2012-02-29  Jeff Law  <law@redhat.com>
53096         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53097         out of bounds read.
53099 2012-02-29  Marek Polacek  <polacek@redhat.com>
53101         [BZ #13706]
53102         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53103         * elf/Makefile: Add rules to run tst-unused-dep.out.
53105 2012-02-28  David S. Miller  <davem@davemloft.net>
53107         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53108         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53109         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53110         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53111         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53112         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53114 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53116         * math/libm-test.inc (llround_test): Move one test from
53117         lround_test.  Use TEST_f_L in moved test.
53118         (lround_test): Move misplaced test to llround_test.  Add testcase
53119         from bug 2561.
53121 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53123         * sysdeps/x86_64/fpu/e_expf.S: New file.
53124         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53126 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53128         [BZ #13637]
53129         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53130         of remain_len that may cause incomplete multi-byte character and
53131         false match.
53132         * posix/bug-regex33.c: New file.
53133         * posix/Makefile (tests): Add bug-regex33.
53135 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53137         * manual/macros.texi: New file.
53138         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53139         * manual/libc.texinfo: Include macros.texi.
53140         * manual/creatute.texi: Likewise.
53141         * manual/install.texi: Likewise.
53142         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53143         @glibcadj{} in references to the GNU C Library.
53144         * manual/charset.texi: Likewise.
53145         * manual/conf.texi: Likewise.
53146         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53147         when not using those macros.
53148         * manual/creature.texi: Likewise.
53149         * manual/crypt.texi: Likewise.
53150         * manual/errno.texi: Likewise.
53151         * manual/filesys.texi: Likewise.
53152         * manual/header.texi: Likewise.
53153         * manual/install.texi: Likewise.
53154         * manual/intro.texi: Likewise.
53155         * manual/io.texi: Likewise.
53156         * manual/job.texi: Likewise.
53157         * manual/lang.texi: Likewise.
53158         * manual/libc.texiinfo: Likewise.
53159         * manual/llio.texi: Likewise.
53160         * manual/locale.texi: Likewise.
53161         * manual/maint.texi: Likewise.
53162         * manual/math.texi: Likewise.
53163         * manual/memory.texi: Likewise.
53164         * manual/message.texi: Likewise.
53165         * manual/nss.texi: Likewise.
53166         * manual/pattern.texi: Likewise.
53167         * manual/process.texi: Likewise.
53168         * manual/resource.texi: Likewise.
53169         * manual/search.texi: Likewise.
53170         * manual/setjmp.texi: Likewise.
53171         * manual/signal.texi: Likewise.
53172         * manual/socket.texi: Likewise.
53173         * manual/startup.texi: Likewise.
53174         * manual/stdio.texi: Likewise.
53175         * manual/string.texi: Likewise.
53176         * manual/sysinfo.texi: Likewise.
53177         * manual/syslog.texi: Likewise.
53178         * manual/terminal.texi: Likewise.
53179         * manual/time.texi: Likewise.
53180         * manual/users.texi: Likewise.
53181         * INSTALL: Regenerated.
53182         * NOTES: Regenerated.
53183         * sysdeps/gnu/errlist.c: Regenerated.
53185 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53187         * include/dirent.h: Include <dirstream.h> before
53188         <dirent/dirent.h>.
53190 2012-02-28  David S. Miller  <davem@davemloft.net>
53192         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53193         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53194         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53195         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53197 2012-02-27  David S. Miller  <davem@davemloft.net>
53199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53201         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53202         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53205         frame pointer instead of stack pointer relative arg slot.
53206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53207         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53208         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53210 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53212         [BZ #3992]
53213         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53215 2012-02-27  David S. Miller  <davem@davemloft.net>
53217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53221         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53222         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53223         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53224         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53226 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53228         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53229         later.  Allow versions 5-9.
53230         * configure: Regenerated.
53231         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53232         required minimum version and 4.6 as recommended version.  Do not
53233         mention bugs in GCC 2.7 and 2.8.
53234         * INSTALL: Regenerated.
53236 2012-02-27  David S. Miller  <davem@davemloft.net>
53238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53242         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53243         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53244         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53245         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53247         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53248         manipulate bits before adding and subtracting TWO112[sx].
53249         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53251 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53253         [BZ #13775]
53254         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53255         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53256         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53257         being in POSIX, because they are in 1003.1-2008.
53259         * rt/tst-aio.c: Include <fcntl.h>.
53260         * rt/tst-aio7.c: Likewise.
53261         * rt/tst-aio64.c: Likewise.
53263         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53265 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53267         * manual/install.texi (--with-headers): Describe headers as
53268         interface headers, not private headers.
53269         (Specific advice for GNU/Linux systems): Describe use of headers
53270         from "make headers_install", not private headers from older
53271         kernels.
53272         * INSTALL: Regenerated.
53273         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53274         Change to 2.6.19.
53275         * sysdeps/unix/sysv/linux/configure: Regenerated.
53277         * manual/llio.texi (fclean): Remove documentation.
53279         * manual/Makefile (libc-texi-generated): New variable.  Include
53280         version.texi.
53281         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53282         $(libc-texi-generated), not duplicated list of files.
53283         (version.texi, stamp-version): New rules.
53284         (realclean): Remove $(libc-texi-generated), not individual files
53285         from that list.  Do not remove dir-add.texinfo.
53286         * manual/libc.texinfo: Comment out uses of edition numbers and
53287         references to printed manual.  Remove last-updated dates.
53288         (EDITION): Comment out.
53289         (ISBN): Likewise.
53290         (VERSION, UPDATED): Remove.
53291         (version.texi): Include.
53293 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53295         * sysdeps/posix/spawni.c: Include <signal.h>.
53296         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53297         * sysdeps/pthread/aio_fsync.c: Likewise.
53299 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53301         * conform/Makefile (tests): Run only when not cross-compiling and
53302         when fast-check is not defined.
53304         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53305         * conform/data/limits.h-data: Fixes for POSIX2008.
53306         * conform/run-conformtest.sh: Run all tests.
53307         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53308         headers.
53309         * include/bits/dlfcn.h: Likewise.
53310         * include/langinfo.h: Likewise.
53311         * include/monetary.h: Likewise.
53312         * include/sys/poll.h: Likewise.
53314         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53315         for __USE_GNU.
53316         * posix/spawn.h: Define __need_sigset_t.
53317         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53318         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53319         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53320         to get sigevent_t only.
53321         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53322         only for __USE_GNU.
53323         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53324         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53325         process_vm_writev only for __USE_GNU.
53326         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53328         * conform/Makefile: For now ignore errors from run-conformtest.
53329         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53330         POSIX to avoid namespace pollution.  Don't prepend headers.
53331         * conform/data/aio.h-data: Fixes for POSIX testing.
53332         * conform/data/fcntl.h-data: Likewise.
53333         * conform/data/glob.h-data: Likewise.
53334         * conform/data/grp.h-data: Likewise.
53335         * conform/data/pthread.h-data: Likewise.
53336         * conform/data/pwd.h-data: Likewise.
53337         * conform/data/signal.h-data: Likewise.
53338         * conform/data/spawn.h-data: Likewise.
53339         * conform/data/stdio.h-data: Likewise.
53340         * conform/data/stdlib.h-data: Likewise.
53341         * conform/data/stropts.h-data: Likewise.
53342         * conform/data/sys/mman.h-data: Likewise.
53343         * conform/data/sys/stat.h-data: Likewise.
53344         * conform/data/sys/types.h-data: Likewise.
53345         * conform/data/sys/wait.h-data: Likewise.
53346         * conform/data/time.h-data: Likewise.
53347         * conform/data/unistd.h-data: Likewise.
53348         * conform/data/utime.h-data: Likewise.
53350         * io/sys/stat.h: fchmod was always in POSIX.
53351         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53352         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53353         * rt/aio.h: Define __need_timespec before including <time.h>.
53354         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53355         struct.  Add forward declaration of pthread_attr_t and use it in
53356         sigevent.
53357         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53359         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53360         always remove CLK_TCK definition.
53362 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53364         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53366 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53368         * conform/run-conformtest.sh: New file.
53369         * conform/Makefile: Run run-conformtest for tests.
53370         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53371         support.
53373         * conform/data/uchar.h-data: New file.
53374         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53375         * conform/data/arpa/inet.h-data: Likewise.
53376         * conform/data/assert.h-data: Likewise.
53377         * conform/data/complex.h-data: Likewise.
53378         * conform/data/cpio.h-data: Likewise.
53379         * conform/data/ctype.h-data: Likewise.
53380         * conform/data/dirent.h-data: Likewise.
53381         * conform/data/dlfcn.h-data: Likewise.
53382         * conform/data/errno.h-data: Likewise.
53383         * conform/data/fcntl.h-data: Likewise.
53384         * conform/data/float.h-data: Likewise.
53385         * conform/data/fmtmsg.h-data: Likewise.
53386         * conform/data/fnmatch.h-data: Likewise.
53387         * conform/data/ftw.h-data: Likewise.
53388         * conform/data/glob.h-data: Likewise.
53389         * conform/data/grp.h-data: Likewise.
53390         * conform/data/iconv.h-data: Likewise.
53391         * conform/data/inttypes.h-data: Likewise.
53392         * conform/data/langinfo.h-data: Likewise.
53393         * conform/data/libgen.h-data: Likewise.
53394         * conform/data/limits.h-data: Likewise.
53395         * conform/data/locale.h-data: Likewise.
53396         * conform/data/math.h-data: Likewise.
53397         * conform/data/monetary.h-data: Likewise.
53398         * conform/data/mqueue.h-data: Likewise.
53399         * conform/data/ndbm.h-data: Likewise.
53400         * conform/data/net/if.h-data: Likewise.
53401         * conform/data/netdb.h-data: Likewise.
53402         * conform/data/netinet/in.h-data: Likewise.
53403         * conform/data/nl_types.h-data: Likewise.
53404         * conform/data/poll.h-data: Likewise.
53405         * conform/data/pthread.h-data: Likewise.
53406         * conform/data/pwd.h-data: Likewise.
53407         * conform/data/regex.h-data: Likewise.
53408         * conform/data/sched.h-data: Likewise.
53409         * conform/data/search.h-data: Likewise.
53410         * conform/data/semaphore.h-data: Likewise.
53411         * conform/data/setjmp.h-data: Likewise.
53412         * conform/data/signal.h-data: Likewise.
53413         * conform/data/spawn.h-data: Likewise.
53414         * conform/data/stdarg.h-data: Likewise.
53415         * conform/data/stdio.h-data: Likewise.
53416         * conform/data/stdlib.h-data: Likewise.
53417         * conform/data/string.h-data: Likewise.
53418         * conform/data/strings.h-data: Likewise.
53419         * conform/data/stropts.h-data: Likewise.
53420         * conform/data/sys/ipc.h-data: Likewise.
53421         * conform/data/sys/mman.h-data: Likewise.
53422         * conform/data/sys/msg.h-data: Likewise.
53423         * conform/data/sys/resource.h-data: Likewise.
53424         * conform/data/sys/select.h-data: Likewise.
53425         * conform/data/sys/sem.h-data: Likewise.
53426         * conform/data/sys/shm.h-data: Likewise.
53427         * conform/data/sys/socket.h-data: Likewise.
53428         * conform/data/sys/stat.h-data: Likewise.
53429         * conform/data/sys/statvfs.h-data: Likewise.
53430         * conform/data/sys/time.h-data: Likewise.
53431         * conform/data/sys/timeb.h-data: Likewise.
53432         * conform/data/sys/times.h-data: Likewise.
53433         * conform/data/sys/types.h-data: Likewise.
53434         * conform/data/sys/uio.h-data: Likewise.
53435         * conform/data/sys/un.h-data: Likewise.
53436         * conform/data/sys/utsname.h-data: Likewise.
53437         * conform/data/sys/wait.h-data: Likewise.
53438         * conform/data/syslog.h-data: Likewise.
53439         * conform/data/tar.h-data: Likewise.
53440         * conform/data/termios.h-data: Likewise.
53441         * conform/data/utime.h-data: Likewise.
53442         * conform/data/utmpx.h-data: Likewise.
53443         * conform/data/varargs.h-data: Likewise.
53444         * conform/data/wchar.h-data: Likewise.
53445         * conform/data/wctype.h-data: Likewise.
53446         * conform/data/wordexp.h-data: Likewise.
53448         * include/stropts.h: New file.
53449         * include/uchar.h: New file.
53450         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53451         * include/assert.h: Likewise.
53452         * include/ctype.h: Likewise.
53453         * include/dirent.h: Likewise.
53454         * include/dlfcn.h: Likewise.
53455         * include/fcntl.h: Likewise.
53456         * include/fnmatch.h: Likewise.
53457         * include/glob.h: Likewise.
53458         * include/grp.h: Likewise.
53459         * include/libio.h: Likewise.
53460         * include/locale.h: Likewise.
53461         * include/math.h: Likewise.
53462         * include/net/if.h: Likewise.
53463         * include/netdb.h: Likewise.
53464         * include/netinet/in.h: Likewise.
53465         * include/pthread.h: Likewise.
53466         * include/pwd.h: Likewise.
53467         * include/regex.h: Likewise.
53468         * include/sched.h: Likewise.
53469         * include/search.h: Likewise.
53470         * include/setjmp.h: Likewise.
53471         * include/signal.h: Likewise.
53472         * include/stdio.h: Likewise.
53473         * include/stdlib.h: Likewise.
53474         * include/string.h: Likewise.
53475         * include/sys/cdefs.h: Likewise.
53476         * include/sys/mman.h: Likewise.
53477         * include/sys/msg.h: Likewise.
53478         * include/sys/resource.h: Likewise.
53479         * include/sys/select.h: Likewise.
53480         * include/sys/socket.h: Likewise.
53481         * include/sys/stat.h: Likewise.
53482         * include/sys/statvfs.h: Likewise.
53483         * include/sys/time.h: Likewise.
53484         * include/sys/times.h: Likewise.
53485         * include/sys/uio.h: Likewise.
53486         * include/sys/utsname.h: Likewise.
53487         * include/sys/wait.h: Likewise.
53488         * include/termios.h: Likewise.
53489         * include/time.h: Likewise.
53490         * include/ulimit.h: Likewise.
53491         * include/unistd.h: Likewise.
53492         * include/utime.h: Likewise.
53493         * include/wchar.h: Likewise.
53494         * include/wctype.h: Likewise.
53495         * include/wordexp.h: Likewise.
53497         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53499         * time/time.h: TIME_UTC must be a macro.
53500         Make timespec_get available for ISO C11 only as well.
53502 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53504         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53505         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53507 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53509         * configure.in: Use -o not -a in test for unsupported multi-arch.
53511 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53513         * manual/texinfo.tex: Update to version 2012-01-19.16.
53515 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53517         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53519 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53521         [BZ #13738]
53522         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53523         * manual/fdl-1.3.texi: New file.
53524         * manual/fdl-1.1.texi: File removed.
53526         [BZ #13738]
53527         * manual/libc.texinfo (FDL_VERSION): New @set.
53528         Use it for mention of FDL in cover text.
53529         (Documentation License): Use it in @include file name.
53531 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53532             Roland McGrath  <roland@hack.frob.com>
53534         [BZ #5461]
53535         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53536         (not LONG_LONG_MAX and LONG_LONG_MIN.
53537         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53538         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53539         name.
53540         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53542 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53544         [BZ #2547]
53545         [BZ #11365]
53546         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53547         manipulate bits before adding and subtracting TWO23[sx].
53548         * math/libm-test.inc (nearbyint_test): Add more tests.
53550 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53552         [BZ #2548]
53553         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53554         bits before adding and subtracting TWO23[sx].
53555         * math/libm-test.inc (rint_test): Add more tests.
53556         (rint_test_tonearest): Likewise.
53557         (rint_test_towardzero): Likewise.
53558         (rint_test_downward): Likewise.
53559         (rint_test_upward: Likewise.
53561 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53563         [BZ #10110]
53564         * include/stdc-predef.h: New file.  Extracted from features.h.
53565         * include/features.h: Include stdc-predef.h.
53566         * Makefile (headers): Add stdc-predef.h.
53567         * CONFORMANCE (Compiler limitations): Update.
53569 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53571         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53573 2012-02-21  David S. Miller  <davem@davemloft.net>
53575         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53576         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53578 2012-02-20  David S. Miller  <davem@davemloft.net>
53580         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53581         using a normal save/restore sequence, rather than allocating a
53582         dummy stack frame just to store a frame pointer and restore.
53583         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53585 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53587         * manual/install.texi: Fix stray word in line-wrapped comment.
53589 2012-02-20  David S. Miller  <davem@davemloft.net>
53591         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53592         both binutils and gcc support GOTDATA.
53594         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53595         "rd %pc" in the PIC register setup sequences.
53597         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53598         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53599         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53600         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53601         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53602         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53603         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53604         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53606         (SYSCALL_ERROR_HANDLER): Likewise.
53607         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53608         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53609         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53610         (SYSCALL_ERROR_HANDLER): Likewise.
53612         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53613         (HAVE_GCC_GOTDATA): New.
53614         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53615         relocation support in both binutils and gcc.
53616         * sysdeps/sparc/elf/configure: Regenerate.
53618         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53619         * sysdeps/sparc/sparc32/elf/configure: Delete.
53620         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53621         * sysdeps/sparc/sparc64/elf/configure: Delete.
53622         * sysdeps/sparc/elf/configure.in: New file.
53623         * sysdeps/sparc/elf/configure: Generate.
53625         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53626         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53627         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53628         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53629         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53631 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53633         * manual/install.texi: Do not mention specific glibc version
53634         numbers.
53635         * manual/libc.texinfo (VERSION, UPDATED): Update.
53636         (@copying): Use @copyright{} and range of years.
53638 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53640         [BZ #13695]
53641         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53642         [crti.S not in sysdirs] (generated): Do not append.
53643         [crti.S not in sysdirs] (omit-deps): Likewise.
53644         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53645         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53646         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53647         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53648         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53649         Likewise.
53650         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53651         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53652         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53653         * csu/defs.awk: Remove file.
53654         * sysdeps/generic/initfini.c: Likewise.
53655         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53656         variable.
53657         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53658         Likewise.
53660 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53662         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53663         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53664         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53665         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53666         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53667         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53668         <bits/epoll.h>.
53669         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53670         (__EPOLL_PACKED): Define to empty if not defined by
53671         <bits/epoll.h>.
53672         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53674         bits/epoll.h.
53676 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53678         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53679         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53680         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53681         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53682         <bits/timerfd.h>.
53683         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53685         bits/timerfd.h.
53687 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53689         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53690         in C locale.
53691         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53693         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53696 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53698         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53699         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53701 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53703         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53704         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53705         defined.
53706         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53707         Likewise.
53708         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53709         entry for 2.16.
53711 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53713         * math/w_acos.c: Use non-signaling floating-point comparisons.
53714         * math/w_acosf.c: Likewise.
53715         * math/w_acosh.c: Likewise.
53716         * math/w_acoshf.c: Likewise.
53717         * math/w_acoshl.c: Likewise.
53718         * math/w_acosl.c: Likewise.
53719         * math/w_asin.c: Likewise.
53720         * math/w_asinf.c: Likewise.
53721         * math/w_asinl.c: Likewise.
53722         * math/w_atanh.c: Likewise.
53723         * math/w_atanhf.c: Likewise.
53724         * math/w_atanhl.c: Likewise.
53725         * math/w_exp2.c: Likewise.
53726         * math/w_exp2f.c: Likewise.
53727         * math/w_exp2l.c: Likewise.
53728         * math/w_j0.c: Likewise.
53729         * math/w_j0f.c: Likewise.
53730         * math/w_j0l.c: Likewise.
53731         * math/w_j1.c: Likewise.
53732         * math/w_j1f.c: Likewise.
53733         * math/w_j1l.c: Likewise.
53734         * math/w_jn.c: Likewise.
53735         * math/w_jnf.c: Likewise.
53736         * math/w_log.c: Likewise.
53737         * math/w_log10.c: Likewise.
53738         * math/w_log10f.c: Likewise.
53739         * math/w_log10l.c: Likewise.
53740         * math/w_log2.c: Likewise.
53741         * math/w_log2f.c: Likewise.
53742         * math/w_log2l.c: Likewise.
53743         * math/w_logf.c: Likewise.
53744         * math/w_logl.c: Likewise.
53745         * math/w_sqrt.c: Likewise.
53746         * math/w_sqrtf.c: Likewise.
53747         * math/w_sqrtl.c: Likewise.
53748         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53749         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53750         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53751         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53752         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53754 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53756         [BZ #9739]
53757         * manual/string.texi (strnlen): Use correct parameter name in
53758         equivalent expression.
53760 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53762         [BZ #11174]
53763         * manual/users.texi (seteuid): Consistently use neweuid for
53764         argument name.
53766 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53768         [BZ #13704]
53769         * manual/nss.texi (Services in the NSS configuration): Correct
53770         list of services in example configuration file.
53772 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53774         [BZ #11322]
53775         * manual/arith.texi: Remove statements about negative zero
53776         behaving identically to zero.
53778 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53780         [BZ #5993]
53781         * manual/install.texi: Do not document upgrading from libc5.
53783 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53785         [BZ #4596]
53786         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53788 2012-02-18  David S. Miller  <davem@davemloft.net>
53790         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53791         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53792         %o7 across the call.
53793         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53794         instead.
53795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53796         SETUP_PIC_REG_LEAF.
53797         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53798         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53799         * sysdeps/sparc/crtn.S: Likewise.
53801 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53803         * aout/Makefile: Remove.
53805 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53807         [BZ #13058]
53808         * manual/examples/argp-ex1.c (main): Format definition in GNU
53809         style.
53810         * manual/examples/argp-ex2.c (main): Likewise.
53811         * manual/examples/argp-ex3.c (main): Likewise.
53812         * manual/examples/argp-ex4.c (main): Likewise.
53813         * manual/examples/longopt.c (main): Use new-style prototype
53814         definition.
53815         * manual/examples/strncat.c (main): Specify return type and use
53816         (void) for arguments.
53817         * manual/examples/subopt.c (main): Use char **argv argument.
53819 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53821         [BZ #5077]
53822         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53823         rounding modes.
53825 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53827         [BZ #6907]
53828         * manual/string.texi (strchr): Change when strchrnul is
53829         recommended.
53831 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53833         [BZ #174]
53834         * manual/locale.texi (setlocale): Document LOCPATH.
53836 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53838         [BZ #10210]
53839         * manual/process.texi (execle): Move @dots{} before last argument.
53841 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53843         [BZ #12047]
53844         * manual/charset.texi (Generic Charset Conversion): Fix typo
53845         (LC_TYPE -> LC_CTYPE).
53847 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53849         [BZ #5805]
53850         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53851         (scalbnf): Likewise.
53852         (scalbnl): Likewise.
53853         (scalbln): Likewise.
53854         (scalblnf): Likewise.
53855         (scalblnl): Likewise.
53856         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53857         (vwarnx): Likewise.
53858         (verr): Likewise.
53859         (verrx): Likewise.
53860         * manual/filesys.texi (telldir): Use braces around return type.
53861         * manual/llio.texi (mmap): Add space after comma.
53862         (mmap64): Likewise.
53863         * manual/math.texi (jn): Use @var{} on parameter names.
53864         (jnf): Likewise.
53865         (jnl): Likewise.
53866         (yn): Likewise.
53867         (ynf): Likewise.
53868         (ynl): Likewise.
53869         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53870         line.
53871         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53872         "...".
53873         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53874         (sched_get_priority_max): Likewise.
53875         * manual/signal.texi (sigvec): Add space after comma.
53876         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53877         names.
53878         (if_indextoname): Likewise.
53879         (if_freenameindex): Likewise.
53880         (sendto): Use ',' instead of '.' in prototype.
53881         * manual/startup.texi (syscall): Use @dots{} instead of literal
53882         "...".
53883         * manual/stdio.texi (__fpending): Separate initial words of
53884         paragraph from @deftypefun line.
53885         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53886         "...".
53887         (vsyslog): Use @var{} on parameter names.
53888         * manual/terminal.texi (stty): Use @var{} on parameter names.
53889         * manual/users.texi (getutmp): Use @var{} on parameter names.
53890         (getutmpx): Likewise.
53892 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53894         [BZ #6884]
53895         * manual/stdio.texi (fopen): Fix typos in description of
53896         ",ccs=STRING".
53898 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53900         [BZ #4026]
53901         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53902         get clock_id definition.
53904 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53906         [BZ #4822]
53907         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53908         (madvise): Cast every argument to void on its own.
53910 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53912         [BZ #9902]
53913         * manual/startup.texi (Exit Status): Fix typo.
53915 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53917         [BZ #10140]
53918         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53919         * manual/examples/argp-ex2.c: Likewise.
53920         * manual/examples/argp-ex3.c: Likewise.
53922 2012-02-16  Richard Henderson  <rth@redhat.com>
53924         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53925         * sysdeps/s390/s390-32/initfini.c: Remove.
53926         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53927         * sysdeps/s390/s390-64/initfini.c: Remove.
53929 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53931         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53932         compiler output for sysdeps/generic/initfini.c.
53933         * sysdeps/sh/elf/initfini.c: Remove file.
53935 2012-02-16  David S. Miller  <davem@davemloft.net>
53937         [BZ #11494]
53938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53940         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53941         * sysdeps/sparc/crti.S: New file.
53942         * sysdeps/sparc/crtn.S: New file.
53943         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53944         * sysdeps/sparc/sparc64/Makefile: Likewise.
53946 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53948         [BZ #3335]
53949         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53951 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53953         [BZ #4822]
53954         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53956         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53957         (write, read, close): Likewise.
53958         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53960 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53962         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53963         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53964         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53965         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53966         <bits/signalfd.h>.
53967         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53969         bits/signalfd.h.
53971 2012-02-14  Marek Polacek  <polacek@redhat.com>
53973         * sysdeps/x86_64/crti.S: New file.
53974         * sysdeps/x86_64/crtn.S: New file.
53975         * sysdeps/x86_64/elf/initfini.c: Remove file.
53977 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53979         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53980         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53981         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53982         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53983         <bits/inotify.h>.
53984         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53986         bits/inotify.h.
53988 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53990         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53991         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53992         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53993         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53994         <bits/eventfd.h>.
53995         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53996         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53997         bits/eventfd.h.
53999 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54001         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54002         __feraiseexcept instead of feraiseexcept.
54004         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54005         nanosleep invocations.
54006         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54007         strings, and add error checking for a nanosleep invocations.
54009 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54011         Replace FSF snail mail address with URLs, as per GNU coding standards.
54012         Most of the snail mail addresses were wrong anyway, and omitting
54013         them makes the source code easier to maintain.  Almost all of the
54014         changes are to license notices and to locale LC_IDENTIFICATION
54015         addresses, except for this one:
54016         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54017         not its snail mail address.
54019 2012-02-09  Richard Henderson  <rth@twiddle.net>
54021         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54022         of kernel-features.h.
54024         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54026 2012-02-08  Marek Polacek  <polacek@redhat.com>
54028         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54029         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54030         * sysdeps/gnu/_G_config.h: Likewise.
54031         * sysdeps/generic/_G_config.h: Likewise.
54033 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54035         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54036         tests.
54037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54039         * sysdeps/powerpc/powerpc32/crti.S: New file.
54040         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54041         * sysdeps/powerpc/powerpc64/crti.S: New file.
54042         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54044         * Makeconfig (have-initfini): Don't set.
54045         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54046         * configure.in (nopic_initfini): Don't substitute.
54047         * config.h.in (HAVE_INITFINI): Don't #undef.
54048         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54049         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54051 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54053         Support crti.S and crtn.S provided directly by architectures.
54054         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54055         [crti.S in sysdirs] (omit-deps): Likewise.
54056         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54057         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54058         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54059         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54060         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54061         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54062         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54063         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54064         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54065         compiler output for sysdeps/generic/initfini.c.
54066         * sysdeps/i386/elf/Makefile: Remove file.
54067         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54069 2012-02-07  Marek Polacek  <polacek@redhat.com>
54071         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54072         * sysdeps/gnu/_G_config.h: Likewise.
54073         * sysdeps/mach/hurd/_G_config.h: Likewise.
54075 2012-02-07  Marek Polacek  <polacek@redhat.com>
54077         * math/Makefile (tests): Add tst-CMPLX2.
54078         * math/tst-CMPLX2.c: New file.
54080 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54082         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54084         * math/libm-test.inc (jn_test): Add missing L suffix.
54086 2012-02-06  Marek Polacek  <polacek@redhat.com>
54088         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54089         * sysdeps/i386/fpu/e_powf.S: Likewise.
54090         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54091         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54092         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54093         * sysdeps/i386/fpu/e_pow.S: Likewise.
54094         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54095         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54096         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54097         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54098         * sysdeps/i386/fpu/e_log2.S: Likewise.
54099         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54100         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54101         * sysdeps/i386/fpu/e_powl.S: Likewise.
54102         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54103         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54104         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54105         * sysdeps/i386/fpu/e_logl.S: Likewise.
54106         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54107         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54108         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54109         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54110         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54111         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54112         * sysdeps/i386/fpu/e_log.S: Likewise.
54113         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54114         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54115         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54116         * sysdeps/i386/fpu/e_logf.S: Likewise.
54117         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54118         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54119         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54120         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54121         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54122         * sysdeps/i386/fpu/e_log10.S: Likewise.
54123         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54124         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54125         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54126         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54127         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54128         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54129         * sysdeps/i386/asm-syntax.h: Likewise.
54130         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54131         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54132         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54133         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54134         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54135         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54136         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54137         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54138         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54139         * sysdeps/powerpc/sysdep.h: Likewise.
54140         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54141         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54143 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54145         [BZ #411]
54146         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54148 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54150         * sysdeps/i386/sysdep.h: Include <features.h>.
54151         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54152         version.
54154 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54156         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54157         Define.
54158         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54159         LOAD_PIC_REG_STR.
54161 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54163         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54164         (SETUP_PIC_REG): Use GET_PC_THUNK.
54165         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54166         macro.
54168 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54170         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54171         for non-PIC compilation.
54172         (SETUP_PIC_REG): Add .p2align directive.
54173         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54174         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54175         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54176         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54177         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54178         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54179         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54180         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54181         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54182         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54183         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54184         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54185         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54186         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54187         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54188         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54189         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54190         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54191         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54192         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54194         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54195         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54196         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54197         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54198         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54199         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54200         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54201         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54202         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54203         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54204         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54205         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54206         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54207         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54208         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54209         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54210         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54211         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54212         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54213         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54215 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54217         * math/tst-CMPLX.c: Include <stdio.h>.
54219 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54221         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54222         float.
54223         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54224         * sysdeps/sparc/bits/mathdef.h: Likewise.
54226 2012-01-31  Marek Polacek  <polacek@redhat.com>
54228         * libio/libio.h: Don't define _PARAMS.
54229         * locale/programs/config.h: Don't define PARAMS.
54230         * stdlib/strtol_l.c: Likewise.
54231         (__strtol_l): Remove PARAMS from the prototype.
54233 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54235         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54236         names.  Just use the correct names.  Remove unnecessary wrapper
54237         functions.
54238         * malloc/arena.c: Likewise.
54239         * malloc/hooks.c: Likewise.
54241         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54242         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54243         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54245 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54247         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54248         into tail calls.
54249         (update_get_addr): New function.
54250         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54251         GET_ADDR_MODULE parameter.
54253 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54255         * crypt/cert.c: Remove __STDC__ conditionals.
54256         * crypt/crypt-entry.c: Likewise.
54257         * crypt/crypt_util.c: Likewise.
54258         * libio/filedoalloc.c: Likewise.
54259         * libio/fileops.c: Likewise.
54260         * libio/genops.c: Likewise.
54261         * libio/iofclose.c: Likewise.
54262         * libio/iofdopen.c: Likewise.
54263         * libio/iofopen.c: Likewise.
54264         * libio/iofopen64.c: Likewise.
54265         * libio/iogetdelim.c: Likewise.
54266         * libio/iopopen.c: Likewise.
54267         * libio/obprintf.c: Likewise.
54268         * libio/oldfileops.c: Likewise.
54269         * libio/oldiofclose.c: Likewise.
54270         * libio/oldiofdopen.c: Likewise.
54271         * libio/oldiofopen.c: Likewise.
54272         * libio/oldiopopen.c: Likewise.
54273         * libio/wfiledoalloc.c: Likewise.
54274         * libio/wgenops.c: Likewise.
54275         * locale/programs/xmalloc.c: Likewise.
54276         * misc/syslog.c: Likewise.
54277         * stdio-common/xbug.c: Likewise.
54278         * string/memchr.c: Likewise.
54279         * string/memcmp.c: Likewise.
54280         * string/memrchr.c: Likewise.
54281         * string/rawmemchr.c: Likewise.
54282         * sysdeps/posix/getcwd.c: Likewise.
54283         * time/strftime_l.c: Likewise.
54285 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54287         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54288         * config.make.in (config-cflags-sse2avx): Define.
54289         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54290         Fix typo.
54292 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54294         * scripts/config.guess: Update from upstream config git repository.
54295         * scripts/config.sub: Likewise.
54297 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54299         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54300         (EM_NUM): Update.
54301         (R_TILEPRO_*, R_TILEGX_*): New macros.
54303         * scripts/firstversions.awk: Fix bug in version range handling.
54305         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54307         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54309         * include/sys/epoll.h: New file.
54310         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54311         libc_hidden_def.
54313 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54315         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54316         Avoid unnecessary __WORDSIZE == 64 test.
54317         (fmaxf): Use VEX format if possible.
54318         (fmax): Likewise.
54319         (fminf): Likewise.
54320         (fmin): Likewise.
54322         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54323         * math/math_private.h: Remove libc_fegetround* and
54324         libc_fesetround*.
54325         * sysdeps/i386/configure.in: Check for -msse2avx.
54326         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54327         also if SSE2AVX is defined.
54328         Remove libc_fegetround* and libc_fesetround*.
54329         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54330         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54331         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54332         of HAS_YMM_USABLE.
54333         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54334         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54335         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54337         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54339         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54341 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54343         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54344         size is not set.
54345         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54347 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54349         [BZ #13618]
54350         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54351         relocation.
54352         * Makeconfig (libm): Define.
54353         * elf/Makefile: Add rules to build and run tst-relsort1.
54354         * elf/tst-relsort1.c: New file.
54355         * elf/tst-relsort1mod1.c: New file.
54356         * elf/tst-relsort1mod2.c: New file.
54358 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54360         * math/s_ldexp.c: Remove __STDC__ conditionals.
54361         * math/s_ldexpf.c: Likewise.
54362         * math/s_ldexpl.c: Likewise.
54363         * math/s_nextafter.c: Likewise.
54364         * math/s_nexttowardf.c: Likewise.
54365         * math/s_significand.c: Likewise.
54366         * math/s_significandf.c: Likewise.
54367         * math/s_significandl.c: Likewise.
54368         * math/w_jnl.c: Likewise.
54369         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54370         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54371         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54372         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54373         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54374         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54375         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54376         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54377         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54378         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54379         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54380         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54381         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54382         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54383         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54384         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54385         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54386         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54388         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54389         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54390         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54391         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54392         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54393         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54394         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54395         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54396         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54397         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54398         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54399         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54400         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54401         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54402         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54403         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54404         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54405         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54406         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54407         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54408         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54409         * sysdeps/ieee754/k_standard.c: Likewise.
54410         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54414         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54419         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54422         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54423         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54424         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54428         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54429         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54435         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54439         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54441         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54442         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54446         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54447         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54448         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54455         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54456         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54457         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54458         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54459         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54460         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54461         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54462         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54463         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54464         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54465         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54466         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54467         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54468         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54469         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54470         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54471         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54472         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54473         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54474         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54475         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54476         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54477         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54478         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54479         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54480         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54481         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54482         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54483         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54484         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54485         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54486         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54487         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54488         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54489         * sysdeps/ieee754/s_matherr.c: Likewise.
54490         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54491         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54492         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54493         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54495 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54497         * crypt/md5.h: Remove __STDC__ conditionals.
54498         * libio/libioP.h: Likewise.
54499         * locale/programs/config.h: Likewise.
54500         * sysdeps/generic/sysdep.h: Likewise.
54501         * sysdeps/i386/asm-syntax.h: Likewise.
54502         * sysdeps/s390/asm-syntax.h: Likewise.
54503         * sysdeps/unix/sysdep.h: Likewise.
54504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54507 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54509         * libio/libio.h: Remove __STDC__ conditionals.
54510         * malloc/obstack.h: Likewise.
54511         * math/complex.h: Likewise.
54512         * math/math.h: Likewise.
54513         * sysdeps/generic/_G_config.h: Likewise.
54514         * sysdeps/gnu/_G_config.h: Likewise.
54515         * sysdeps/mach/hurd/_G_config.h: Likewise.
54516         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54517         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54518         * sysdeps/sparc/bits/mathdef.h: Likewise.
54520 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54522         [BZ #13583]
54523         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54524         Clean up HAS_* macros.
54525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54526         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54527         possible.
54528         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54529         HAS_AVX.
54530         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54531         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54532         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54533         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54534         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54536 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54538         * elf/tst-unique3.cc (gets): Remove declaration.
54539         * elf/tst-unique3lib.cc (gets): Likewise.
54540         * elf/tst-unique3lib2.cc (gets): Likewise.
54541         * elf/tst-unique4.cc (gets): Likewise.
54543 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54545         * include/stdio.h: Add C++ protection.  Add gets declarations and
54546         definitions.
54547         * debug/tst-chk1.c: Don't declare gets here.
54548         * stdio-common/tst-gets.c: Likewise.
54550 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54552         * posix/glob: Remove directory.
54554 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54556         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54558 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54560         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54561         of the non-standard EPFNOSUPPORT.
54563 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54565         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54566         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54567         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54569 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54571         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54573 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54575         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54576         transient errors.
54577         * nscd/grpcache.c (cache_addgr): Likewise.
54578         * nscd/hstcache.c (cache_addhst): Likewise.
54579         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54580         * nscd/pwdcache.c (cache_addpw): Likewise.
54581         * nscd/servicescache.c (cache_addserv): Likewise.
54583 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54585         * malloc/malloc.c: Various cleanups.
54586         * malloc/hooks.c: Likewise.
54588         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54589         * stdlib/bug-fmtmsg1.c: New file.
54591         * stdlib/fmtmsg.c (init): Add missing unlock.
54592         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54594 2012-01-12  Marek Polacek  <polacek@redhat.com>
54596         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54597         and _GNU_SOURCE.
54599 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54601         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54602         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54603         macro to ensure uniqueness of label name.
54604         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54605         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54607 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54609         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54611         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54612         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54613         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54616 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54618         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54620         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54621         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54622         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54624         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54626         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54627         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54628         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54631         * math/bits/math-finite.h: Add ldexp support.
54633 2012-01-10  Marek Polacek  <polacek@redhat.com>
54635         * locale/programs/localedef.h (show_archive_content): Add noreturn
54636         attribute.
54638 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54640         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54642 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54644         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54646         * io/Makefile (headers): Add bits/poll2.h.
54648 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54651         typo #include statement.
54653 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54655         * include/sys/cdefs.h: Define __attribute_alloc_size.
54656         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54657         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54658         * elf/pldd.c: Likewise.
54659         * iconv/iconv_charmap.c: Likewise.
54660         * iconv/iconvconfig.c: Likewise.
54661         * iconv/strtab.c: Likewise.
54662         * locale/programs/locale.c: Likewise.
54663         * locale/programs/localedef.h: Likewise.
54664         * locale/programs/simple-hash.c: Likewise.
54665         * nscd/nscd.h: Likewise.
54666         * nss/makedb.c: Likewise.
54667         * sysdeps/generic/ldconfig.h: Likewise.
54668         * locale/programs/localedef.c: Remove xmalloc prototype.
54669         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54671 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54673         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54674         appropriate.
54676 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54678         * math/Makefile (tests): Add tst-CMPLX.
54679         * math/tst-CMPLX.c: New file.
54681         * math/complex.h (CMPLXL): Fix typo.
54683         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54684         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54685         GLIBC_2.16.
54686         * debug/tst-chk1.c: Add poll and ppoll tests.
54687         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54688         * include/sys/poll.h: Add hidden proto for ppoll.
54689         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54690         * sysdeps/mach/hurd/ppoll.c: Likewise.
54691         * io/ppoll.c: Likewise.
54692         * debug/poll_chk.c: New file.
54693         * debug/ppoll_chk.c: New file.
54694         * include/bits/poll2.h: New file.
54695         * io/bits/poll2.h: New file.
54697         [BZ #1350]
54698         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54700         * configure.in: static is always set to yes.  Remove.
54701         * config.make.in: Don't set build-static.
54702         * Makeconfig: Remove use of build-static.
54703         * dlfcn/Makefile: Likewise.
54704         * elf/Makefile: Likewise.
54705         * math/Makefile: Likewise.
54706         * misc/Makefile: Likewise.
54707         * nptl/Makefile: Likewise.
54708         * sysdeps/mach/hurd/Makefile: Likewise.
54710         * configure.in: PWD_P is not used anymore.
54711         * config.make.in: Remove PWD_P entry.
54713         * configure.in: Remove last remnants of RANLIB.
54714         No need to check for signed size_t anymore.
54715         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54716         and IA-64.
54717         Remove __builtin_expect test because we require at least gcc 3.4.
54718         * aclocal.m4: Likewise.
54720         * wcsmbs/mbrtoc16.c: Implement using towc function.
54721         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54722         * wcsmbs/wcsmbsload.c: Likewise.
54723         * iconv/gconv_simple.c: Likewise.
54724         * iconv/gconv_int.h: Likewise.
54725         * iconv/gconv_builtin.h: Likewise.
54726         * iconv/iconv_prog.c: Remove CHAR16 handling.
54728         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54730         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54732         * configure.in: Remove --with-elf and --enable-bounded options.
54733         Dont set base_machine for ia64.  More non-ELF conditions removed.
54734         Remove testing and setting of leading underscore information.
54735         * config.make.in (build-bounded): Set to no.
54736         * config.h.in: Remove NO_UNDERSCORES entry.
54737         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54738         them.
54739         * csu/start.c: Remove !NO_UNDERSCORE code.
54740         * locale/localeinfo.h: Likewise.
54741         * sysdeps/generic/machine-gmon.h: Likewise.
54742         * sysdeps/generic/sysdep.h: Likewise.
54743         * sysdeps/i386/sysdep.h: Likewise.
54744         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54745         * sysdeps/mach/sysdep.h: Likewise.
54746         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54747         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54748         * sysdeps/sh/sysdep.h: Likewise.
54749         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54750         * sysdeps/unix/i386/sysdep.S: Likewise.
54751         * sysdeps/unix/sparc/start.c: Likewise.
54752         * sysdeps/unix/sparc/sysdep.S: Likewise.
54753         * sysdeps/unix/sparc/sysdep.h: Likewise.
54754         * sysdeps/unix/start.c: Likewise.
54755         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54756         * sysdeps/x86_64/sysdep.h: Likewise.
54758 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54760         [BZ #13553]
54761         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54762         for non-gcc.
54763         * argp/argp-fmtstream.h: Use const instead __const.
54764         * argp/argp.h: Likewise.
54765         * assert/assert.h: Likewise.
54766         * bits/fenv.h: Likewise.
54767         * bits/sched.h: Likewise.
54768         * bits/sigset.h: Likewise.
54769         * bits/sigthread.h: Likewise.
54770         * catgets/nl_types.h: Likewise.
54771         * conform/data/pthread.h-data: Likewise.
54772         * crypt/crypt-private.h: Likewise.
54773         * crypt/crypt.h: Likewise.
54774         * crypt/crypt_util.c: Likewise.
54775         * ctype/ctype.h: Likewise.
54776         * debug/execinfo.h: Likewise.
54777         * debug/mbsnrtowcs_chk.c: Likewise.
54778         * debug/mbsrtowcs_chk.c: Likewise.
54779         * debug/wcsnrtombs_chk.c: Likewise.
54780         * debug/wcsrtombs_chk.c: Likewise.
54781         * debug/wcstombs_chk.c: Likewise.
54782         * dirent/dirent.h: Likewise.
54783         * dlfcn/dlfcn.h: Likewise.
54784         * elf/neededtest4.c: Likewise.
54785         * grp/grp.h: Likewise.
54786         * gshadow/gshadow.h: Likewise.
54787         * iconv/gconv.h: Likewise.
54788         * iconv/gconv_int.h: Likewise.
54789         * iconv/gconv_simple.c: Likewise.
54790         * iconv/iconv.h: Likewise.
54791         * iconv/loop.c: Likewise.
54792         * iconv/skeleton.c: Likewise.
54793         * include/aio.h: Likewise.
54794         * include/aliases.h: Likewise.
54795         * include/argz.h: Likewise.
54796         * include/arpa/inet.h: Likewise.
54797         * include/assert.h: Likewise.
54798         * include/dirent.h: Likewise.
54799         * include/dlfcn.h: Likewise.
54800         * include/execinfo.h: Likewise.
54801         * include/fcntl.h: Likewise.
54802         * include/fenv.h: Likewise.
54803         * include/glob.h: Likewise.
54804         * include/grp.h: Likewise.
54805         * include/libintl.h: Likewise.
54806         * include/mntent.h: Likewise.
54807         * include/netdb.h: Likewise.
54808         * include/pwd.h: Likewise.
54809         * include/rpc/netdb.h: Likewise.
54810         * include/sched.h: Likewise.
54811         * include/search.h: Likewise.
54812         * include/shadow.h: Likewise.
54813         * include/signal.h: Likewise.
54814         * include/stdio.h: Likewise.
54815         * include/stdlib.h: Likewise.
54816         * include/string.h: Likewise.
54817         * include/sys/socket.h: Likewise.
54818         * include/sys/stat.h: Likewise.
54819         * include/sys/statfs.h: Likewise.
54820         * include/sys/statvfs.h: Likewise.
54821         * include/sys/syslog.h: Likewise.
54822         * include/sys/time.h: Likewise.
54823         * include/sys/uio.h: Likewise.
54824         * include/time.h: Likewise.
54825         * include/unistd.h: Likewise.
54826         * include/utmp.h: Likewise.
54827         * include/wchar.h: Likewise.
54828         * include/wctype.h: Likewise.
54829         * inet/aliases.h: Likewise.
54830         * inet/arpa/inet.h: Likewise.
54831         * inet/netinet/ether.h: Likewise.
54832         * inet/netinet/in.h: Likewise.
54833         * intl/libintl.h: Likewise.
54834         * io/bits/fcntl2.h: Likewise.
54835         * io/fcntl.h: Likewise.
54836         * io/ftw.h: Likewise.
54837         * io/sys/poll.h: Likewise.
54838         * io/sys/stat.h: Likewise.
54839         * io/sys/statfs.h: Likewise.
54840         * io/sys/statvfs.h: Likewise.
54841         * io/utime.h: Likewise.
54842         * libio/bits/stdio.h: Likewise.
54843         * libio/bits/stdio2.h: Likewise.
54844         * libio/libio.h: Likewise.
54845         * libio/libioP.h: Likewise.
54846         * libio/stdio.h: Likewise.
54847         * locale/lc-ctype.c: Likewise.
54848         * locale/locale.h: Likewise.
54849         * login/utmp.h: Likewise.
54850         * malloc/arena.c: Likewise.
54851         * malloc/malloc.c: Likewise.
54852         * malloc/malloc.h: Likewise.
54853         * malloc/mcheck.c: Likewise.
54854         * malloc/mtrace.c: Likewise.
54855         * math/bits/mathcalls.h: Likewise.
54856         * math/fenv.h: Likewise.
54857         * math/math_private.h: Likewise.
54858         * misc/bits/error.h: Likewise.
54859         * misc/bits/syslog.h: Likewise.
54860         * misc/err.h: Likewise.
54861         * misc/error.h: Likewise.
54862         * misc/fstab.h: Likewise.
54863         * misc/mntent.h: Likewise.
54864         * misc/regexp.h: Likewise.
54865         * misc/search.h: Likewise.
54866         * misc/sgtty.h: Likewise.
54867         * misc/sys/mman.h: Likewise.
54868         * misc/sys/syslog.h: Likewise.
54869         * misc/sys/uio.h: Likewise.
54870         * misc/sys/xattr.h: Likewise.
54871         * misc/ttyent.h: Likewise.
54872         * nis/rpcsvc/ypclnt.h: Likewise.
54873         * nss/nss.h: Likewise.
54874         * posix/bits/unistd.h: Likewise.
54875         * posix/fnmatch.h: Likewise.
54876         * posix/glob.h: Likewise.
54877         * posix/sched.h: Likewise.
54878         * posix/spawn.h: Likewise.
54879         * posix/sys/wait.h: Likewise.
54880         * posix/unistd.h: Likewise.
54881         * posix/wordexp.h: Likewise.
54882         * pwd/pwd.h: Likewise.
54883         * resolv/netdb.h: Likewise.
54884         * resource/sys/resource.h: Likewise.
54885         * rt/aio.h: Likewise.
54886         * rt/bits/mqueue2.h: Likewise.
54887         * rt/mqueue.h: Likewise.
54888         * shadow/shadow.h: Likewise.
54889         * signal/signal.h: Likewise.
54890         * socket/send.c: Likewise.
54891         * socket/sendto.c: Likewise.
54892         * socket/sys/socket.h: Likewise.
54893         * stdio-common/printf.h: Likewise.
54894         * stdlib/bits/stdlib.h: Likewise.
54895         * stdlib/fmtmsg.h: Likewise.
54896         * stdlib/monetary.h: Likewise.
54897         * stdlib/stdlib.h: Likewise.
54898         * stdlib/ucontext.h: Likewise.
54899         * streams/stropts.h: Likewise.
54900         * string/argz.h: Likewise.
54901         * string/bits/string2.h: Likewise.
54902         * string/string.h: Likewise.
54903         * string/strings.h: Likewise.
54904         * sunrpc/rpc/auth.h: Likewise.
54905         * sunrpc/rpc/auth_des.h: Likewise.
54906         * sunrpc/rpc/clnt.h: Likewise.
54907         * sunrpc/rpc/netdb.h: Likewise.
54908         * sunrpc/rpc/pmap_clnt.h: Likewise.
54909         * sunrpc/rpc/xdr.h: Likewise.
54910         * sysdeps/generic/inttypes.h: Likewise.
54911         * sysdeps/generic/net/if.h: Likewise.
54912         * sysdeps/generic/sys/swap.h: Likewise.
54913         * sysdeps/gnu/net/if.h: Likewise.
54914         * sysdeps/gnu/utmpx.h: Likewise.
54915         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54916         * sysdeps/i386/i486/bits/string.h: Likewise.
54917         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54918         * sysdeps/s390/bits/string.h: Likewise.
54919         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54920         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54921         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54922         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54923         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54924         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54925         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54926         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54927         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54928         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54929         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54930         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54931         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54932         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54933         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54934         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54935         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54937         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54939         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54940         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54941         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54942         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54943         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54944         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54945         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54946         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54947         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54948         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54949         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54950         * sysvipc/sys/ipc.h: Likewise.
54951         * sysvipc/sys/msg.h: Likewise.
54952         * sysvipc/sys/sem.h: Likewise.
54953         * sysvipc/sys/shm.h: Likewise.
54954         * termios/termios.h: Likewise.
54955         * time/sys/time.h: Likewise.
54956         * time/time.h: Likewise.
54957         * wcsmbs/bits/wchar2.h: Likewise.
54958         * wcsmbs/uchar.h: Likewise.
54959         * wcsmbs/wchar.h: Likewise.
54960         * wctype/wctype.h: Likewise.
54962         [BZ #13551]
54963         * Makeconfig: Remove all but ELF support including AIX support.
54964         * Makerules: Likewise.
54965         * config.h.in: Likewise.
54966         * config.make.in: Likewise.
54967         * configure: Likewise.
54968         * configure.in: Likewise.
54969         * csu/Makefile: Likewise.
54970         * csu/version.c: Likewise.
54971         * debug/Makefile: Likewise.
54972         * dlfcn/Makefile: Likewise.
54973         * elf/Makefile: Likewise.
54974         * extra-lib.mk: Likewise.
54975         * iconv/Makefile: Likewise.
54976         * include/libc-symbols.h: Likewise.
54977         * include/shlib-compat.h: Likewise.
54978         * resolv/Makefile: Likewise.
54979         * resolv/res_libc.c: Likewise.
54980         * rt/Makefile: Likewise.
54981         * sysdeps/i386/asm-syntax.h: Likewise.
54982         * sysdeps/i386/sysdep.h: Likewise.
54983         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54984         * sysdeps/mach/sysdep.h: Likewise.
54985         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54986         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54987         * sysdeps/s390/asm-syntax.h: Likewise.
54988         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54989         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54990         * sysdeps/sh/sysdep.h: Likewise.
54991         * sysdeps/unix/sparc/sysdep.h: Likewise.
54992         * sysdeps/wordsize-32/divdi3.c: Likewise.
54993         * sysdeps/x86_64/sysdep.h: Likewise.
54995         * argp/Versions: Remove _argp_unlock_xxx.
54997         [BZ #13559]
54998         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54999         * abilist/libBrokenLocale.abilist: Likewise.
55000         * abilist/libanl.abilist: Likewise.
55001         * abilist/libc.abilist: Likewise.
55002         * abilist/libcrypt.abilist: Likewise.
55003         * abilist/libdl.abilist: Likewise.
55004         * abilist/libm.abilist: Likewise.
55005         * abilist/libnsl.abilist: Likewise.
55006         * abilist/libpthread.abilist: Likewise.
55007         * abilist/libresolv.abilist: Likewise.
55008         * abilist/librt.abilist: Likewise.
55009         * abilist/libthread_db.abilist: Likewise.
55010         * abilist/libutil.abilist: Likewise.
55011         * abilist/libnss_db.abilist: New file.
55013         * scripts/abilist.awk: Add support for indirect functions.
55015         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55017         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55019         * shlib-versions: Remove entries for ports architectures.
55021         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55022         files in ports.
55023         * elf/stackguard-macros.h: Remove support for IA-64.
55024         * elf/tst-auditmod1.c: Likewise.
55025         * sysdeps/generic/ldsodefs.h: Likewise.
55027         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55028         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55029         configure files.
55031         [BZ #13552]
55032         * configure.in: Remove --enable-omitfp support.
55033         * FAQ.in: Adjust.
55034         * config.make.in: Likewise.
55035         * Makeconfig: Likewise.
55036         * manual/install.texi: Likewise.
55038         In case anyone cares, the IA-64 architecture could move to ports.
55039         * sysdeps/ia64/*: Removed.
55040         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55041         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55043         [BZ #13555]
55044         * configure.in: Remove entries for unsupported architectures.
55046         [BZ #13533]
55047         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55048         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55049         routines.
55050         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55051         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55052         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55053         fall back to using wcrtomb.
55054         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55055         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55056         renaming.
55057         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55058         * wcsmbs/tst-c16c32-1.c: New file.
55060         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55061         local variable.
55063         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55065         * elf/tst-unique3.cc: Add explicit declaration of gets.
55066         * elf/tst-unique3lib.cc: Likewise.
55067         * elf/tst-unique3lib2.cc: Likewise.
55068         * elf/tst-unique4.cc: Likewise.
55070         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55072 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55074         [BZ #13566]
55075         * assert/assert.h (static_assert): Don't define for C++.
55076         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55077         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55079 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55081         * iconv/loop.c (single loop): Fix assertion in storing of
55082         remaining bytes.
55084         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55086 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55088         * posix/getconf.c: Update copyright year.
55089         * nss/getent.c: Likewise.
55090         * nss/makedb.c: Likewise.
55091         * iconv/iconvconfig.c: Likewise.
55092         * iconv/iconv_prog.c: Likewise.
55093         * elf/ldconfig.c: Likewise.
55094         * elf/pldd.c: Likewise.
55095         * elf/sotruss.ksh: Likewise.
55096         * catgets/gencat.c: Likewise.
55097         * csu/version.c: Likewise.
55098         * elf/ldd.bash.in: Likewise.
55099         * elf/sprof.c (print_version): Likewise.
55100         * locale/programs/locale.c: Likewise.
55101         * locale/programs/localedef.c: Likewise.
55102         * login/programs/pt_chown.c: Likewise.
55103         * nscd/nscd.c (print_version): Likewise.
55104         * debug/xtrace.sh: Likewise.
55105         * malloc/memusage.sh: Likewise.
55106         * malloc/mtrace.pl: Likewise.
55107         * debug/catchsegv.sh: Likewise.
55109 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55111         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55112         pure attribute.
55114 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55116         [BZ #13533]
55117         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55118         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55119         transformations.
55120         * iconv/gconv_int.h: Likewise.
55121         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55122         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55123         from libc for GLIBC_2.16.
55124         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55125         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55126         * wcsmbs/uchar.h: Really define mbstate_t.
55127         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55128         * wcsmbs/c16rtomb.c: New file.
55129         * wcsmbs/mbrtoc16.c: New file.
55130         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55131         for C/POSIX locale.
55132         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55133         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55135         * wcsmbs/wchar.h: Add missing __restrict.
55137 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55139         [BZ #13532]
55140         * time/Makefile (routines): Add timespec_get.
55141         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55142         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55143         timespec for ISO C11.
55144         * time/timespec_get.c: New file.
55145         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55146         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55148         [BZ #13531]
55149         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55150         * stdlib/stdlib.h: Declare aligned_alloc.
55151         * Versions.def: Add GLIBC_2.16 for libc.
55152         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55154         [BZ 13527]
55155         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55156         ISO C11.
55158         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55159         code.
55161         [BZ #13528]
55162         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55164         [BZ #13529]
55165         * assert/assert.h (static_assert): Define.
55167         * version.h: Update for 2.16 development version.
55169         [BZ #13526]
55170         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55171         _ISOC11_SOURCE.
55173         * version.h (RELEASE): Bump for 2.15 release.
55174         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55176         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55177         Patch by Marek Polacek <mpolacek@redhat.com>.
55179         * bits/byteswap.h: Protect long long constants with __extension__.
55180         * sysdeps/i386/bits/byteswap.h: Likewise.
55181         * sysdeps/ia64/bits/byteswap.h: Likewise.
55182         * sysdeps/s390/bits/byteswap.h: Likewise.
55183         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55185 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55187         [BZ #13540]
55188         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55189         destination buffer.
55190         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55192 2011-12-23  Marek Polacek  <polacek@redhat.com>
55194         * elf/dl-addr.c (determine_info): Add inline keyword.
55195         * elf/tst-auditmod4b.c (check_avx): Likewise.
55196         * elf/tst-auditmod6b.c (check_avx): Likewise.
55197         * elf/tst-auditmod6c.c (check_avx): Likewise.
55198         * elf/tst-auditmod7b.c (check_avx): Likewise.
55200 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55202         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55203         !__SSE_MATH__.
55205 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55207         [BZ #13540]
55208         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55209         processing for last bytes.
55211 2011-08-06  Bruno Haible  <bruno@clisp.org>
55213         [BZ #13061]
55214         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55215         U+0385, not to U+1FEE.
55217         [BZ #13062]
55218         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55219         entry for U+00A5 U+0301.
55221 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55223         [BZ #13166]
55224         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55225         buffer for the output is too small.
55227         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55228         optimization.
55230         [BZ #13185]
55231         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55232         SSE flags if possible.
55234 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55236         [BZ #13540]
55237         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55238         processing for last bytes.
55240 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55242         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55243         (syscall-list-default-options, syscall-list-default-condition)
55244         (syscall-list-includes): Define.
55245         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55246         list of ABIs and options and #if conditions for each ABI.  Do not
55247         handle common syscalls between ABIs specially.
55248         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55249         Remove.
55250         (syscall-list-variants, syscall-list-32bit-options)
55251         (syscall-list-32bit-condition, syscall-list-64bit-options)
55252         (syscall-list-64bit-condition): Define.
55253         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55254         (syscall-list-variants, syscall-list-32bit-options)
55255         (syscall-list-32bit-condition, syscall-list-64bit-options)
55256         (syscall-list-64bit-condition): Define.
55257         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55258         Remove.
55259         (syscall-list-variants, syscall-list-32bit-options)
55260         (syscall-list-32bit-condition, syscall-list-64bit-options)
55261         (syscall-list-64bit-condition): Define.
55262         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55263         Remove.
55264         (syscall-list-variants, syscall-list-32bit-options)
55265         (syscall-list-32bit-condition, syscall-list-64bit-options)
55266         (syscall-list-64bit-condition): Define.
55268 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55270         * locale/iso-639.def: Add brx entry.
55272         [BZ #13328]
55273         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55274         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55276         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55277         __feraiseexcept_renamed.
55279 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55281         [BZ #13538]
55282         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55283         EPOLLET with unsigned values.
55284         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55285         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55287         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55288         to large cancellation.
55289         * math/s_cacoshf.c: Likewise.
55290         * math/s_cacoshl.c: Likewise.
55292 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55294         [BZ #13305]
55295         [BZ #12786]
55296         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55297         * math/s_cacoshf.c: Likewise.
55298         * math/s_cacoshl.c: Likewise.
55300 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55302         [BZ #13439]
55303         * iconv/gconv.h: Define __GCONV_SWAP.
55304         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55305         * iconvdata/utf-16.c: Likewise.
55306         * iconvdata/utf-32.c: Likewise.
55308 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55310         [BZ #13524]
55311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55312         numerator after shifting it by one limb.
55314 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55316         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55317         under [__USE_EXTERN_INLINES].
55319 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55321         [BZ #13446]
55322         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55324 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55326         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55327         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55328         optimized code.
55329         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55330         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55331         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55332         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55333         for strncasecmp/strncasecmp_l compilation.
55334         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55335         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55337 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55339         [BZ #13484]
55340         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55341         of __asm__.
55343 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55345         [BZ #13506]
55346         * time/tzfile.c (__tzfile_read): Check values from file header.
55348 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55350         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55351         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55352         * powerpc/powerpc32/dl-start.S: Likewise.
55353         * powerpc/powerpc32/elf/start.S: Likewise.
55354         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55355         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55356         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55357         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55358         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55359         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55360         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55361         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55362         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55363         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55364         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55365         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55366         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55367         * powerpc/powerpc32/memset.S: Likewise.
55368         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55369         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55370         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55371         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55372         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55373         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55374         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55375         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55376         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55377         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55378         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55379         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55380         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55382 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55384         * math/libm-test.inc: Added more nearbyint tests.
55385         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55386         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55388         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55390 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55392         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55393         FD_CLOEXEC.
55395 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55397         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55398         Add wcscpy-ssse3 wcscpy-c.
55399         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55400         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55401         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55402         * sysdeps/x86_64/wcschr.S: New file.
55403         * sysdeps/x86_64/wcsrchr.S: New file.
55404         * string/test-strcmp.c: Remove checking of wcscmp function for
55405         wrong alignments.
55406         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55407         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55408         wcsrchr-sse2 wcsrchr-c.
55409         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55410         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55411         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55412         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55413         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55414         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55415         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55416         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55417         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55418         * wcsmbc/wcschr.c (WCSCHR): New macro.
55420 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55422         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55423         * wcsmbs/test-wcsrchr.c: New file.
55424         * string/test-strrchr.c: Add wcsrchr support.
55425         (WIDE): New macro.
55426         * wcsmbs/test-wcscpy.c: New file.
55427         * string/test-strcpy.c: Add wcscpy support.
55428         (WIDE): New macro.
55430 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55432         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55433         the inner loop.
55435 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55437         [BZ #13472]
55438         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55440 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55442         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55443         Minor optimizations.
55445         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55446         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55447         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55449 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55451         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55452         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55453         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55454         for gcc to avoid warnings.
55455         * inet/Makefile (tests): Add tst-checks.
55456         * inet/tst-checks.c: New file.
55458         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55459         warning.
55461         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55462         __wmemcmp_sse2.
55464         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55465         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55467         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55469 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55471         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55472         problem.
55474         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55476 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55478         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55479         conditional on GCC version.
55480         (__arch_compare_and_exchange_val_8_acq)
55481         (__arch_compare_and_exchange_val_16_acq)
55482         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55483         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55484         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55486 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55488         * sysdeps/sh/backtrace.c: New file.
55490 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55492         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55493         parenthesis.
55495 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55497         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55498         falling back to utime.
55500 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55502         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55503         expectations for float.
55505 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55507         * locale/weight.h (findidx): Add parameter len.
55508         * locale/weightwc.h (findidx): Likewise.
55509         * posix/fnmatch_loop.c (FCT): Adjust caller.
55510         * posix/regcomp.c (build_equiv_class): Likewise.
55511         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55512         * posix/regexec.c (check_node_accept_bytes): Likewise.
55513         * string/strcoll_l.c (STRCOLL): Likewise.
55514         * string/strxfrm_l.c (STRXFRM): Likewise.
55516 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55518         * Makefile.in: Remove CVSOPT handling.
55519         * configure.in: Remove use of AC_REVISION.
55520         * iconvdata/Makefile (distribute): No need to filter out CVS.
55521         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55522         handling.
55524 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55526         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55527         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55528         [USE_AS_STRNCASECMP_L]: Likewise.
55529         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55530         NO_TLS_DIRECT_SEG_REFS.
55531         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55532         Fix argument offsets for non-PIC.
55533         [USE_AS_STRNCASECMP_L]: Likewise.
55534         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55535         NO_TLS_DIRECT_SEG_REFS.
55537 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55539         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55540         O_CLOEXEC.
55541         * locale/loadlocale.c (_nl_load_locale): Likewise.
55543 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55545         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55546         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55547         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55548         (SYSCALL_GETTIME): Set errno on error.
55550         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55551         count references to noai6ai_cached.
55553 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55555         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55557         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55558         FD_CLOEXEC for /proc/self/maps.
55560         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55561         FD_CLOEXEC for /proc/meminfo.
55563         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55564         gai.conf.
55566         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55567         FD_CLOEXEC for given file.
55569         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55571         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55572         FD_CLOEXEC for /etc/hosts.
55573         (_gethtent): Likewise.
55575         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55577         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55578         cancellation and set FD_CLOEXEC for /etc/netgroup.
55580         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55581         reading /etc/publickey.
55583         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55584         allow cancellation when reading /etc/group.
55586         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55587         cancellation.
55588         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55590         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55591         when using data file.
55593         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55595         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55596         (write_nis_obj): Use "c" and "e" in fopen.
55598         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55600         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55602         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55604         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55606         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55607         locale.alias.
55609         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55611         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55613         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55615         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55616         file parsing and set FD_CLOEXEC.
55618 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55620         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55622 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55624         * malloc/arena.c (arena_get2): Don't call reused_arena when
55625         _int_new_arena failed.
55627 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55629         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55630         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55631         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55632         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55633         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55635         to compile strcasecmp and strncasecmp.
55636         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55637         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55639         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55641 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55643         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55644         locale-defines.sym to gen-as-const-headers.
55645         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55646         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55647         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55648         to compile strcasecmp and strncasecmp.
55649         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55650         strcasecmp_l and strncasecmp_l.
55651         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55652         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55653         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55654         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55655         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55656         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55657         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55658         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55659         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55660         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55661         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55663 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55665         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55666         result of SYSDEP_GETTIME_CPU to retval.
55667         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55668         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55670         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55671         variable.
55673         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55674         mantissa words.
55675         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55677         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55678         from unused variable.
55680         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55681         DWARF definitions.
55682         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55683         for assembling.
55685         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55686         over namespaces.
55688         * sunrpc/rpc_prot.c (rejected): Fix case value.
55690         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55691         unsigned long long int to avoid warnings in shift.
55693         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55694         of use of trans.
55695         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55696         variable tmp.
55698         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55699         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55700         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55702         * nis/nis_table.c (nis_list): Use variable of correct type for
55703         result of __follow_path call.
55705 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55707         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55708         of math functions ceil, trunc, floor, round, and sqrt, when
55709         avaliable on the platform.
55710         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55711         name clash.
55712         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55713         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55714         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55716 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55718         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55719         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55721 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55723         * include/unistd.h: Fix __readlink return type.
55724         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55726 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55728         * stdlib/ucontext.h: Undo last change for makecontext.
55730 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55732         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55734         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55735         * setjmp/setjmp.h: Mark functions as non-leaf.
55736         * setjmp/bits/setjmp2.h: Likewise.
55737         * stdlib/ucontext.h: Likewise.
55739 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55741         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55742         (reused_arena): Don't check arena limit.
55743         (arena_get2): Atomically check arena limit.
55745 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55747         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55748         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55751         instructions.
55753 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55755         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55756         handler when locking.
55758         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55759         Fix size of allocated buffer.
55761 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55763         [BZ #10103]
55764         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55765         declarations for long double functions.
55766         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55768         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55770 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55772         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55773         installed.
55775         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55776         is disabled.
55778 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55780         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55782 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55784         * include/alloca.h (stackinfo_alloca_round): Define.
55785         (extend_alloca): Use it.
55786         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55787         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55788         here.
55790         * scripts/check-local-headers.sh: Ignore libaudit.h.
55792         * nscd/Makefile (extra-objs): Make recursively expanded.
55794 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55796         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55797         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55799         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55800         * posix/tst-rfc3484-2.c: Likewise.
55801         * posix/tst-rfc3484-3.c: Likewise.
55803         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55804         process_vm_writev.
55805         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55806         process_vm_writev.
55807         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55808         process_vm_writev from libc using GLIBC_2.15 version.
55810         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55812 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55814         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55815         stack usage.
55817 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55819         [BZ #13367]
55820         * nss/getent.c (initgroups_keys): Show error message in case no group
55821         names are given.
55823         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55824         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55825         __bump_nl_timestamp.
55826         * nscd/connections (nscd_init): When host database is served open
55827         netlink socket and request notification about configuration changes.
55828         (main_loop_poll): Track netlink file descriptor and bump timestamp
55829         in case data becomes available.
55830         (main_loop_epoll): Likewise.
55831         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55832         (database_pers_head): Add extra_data fileds.
55833         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55834         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55835         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55836         Adjust caller.
55837         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55838         in6ai data, call __free_in6ai.
55839         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55840         Add -DHAVE_NETLINK.
55841         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55842         interface information.  Reuse previous data if netlink timestamp
55843         is not changed.
55844         (__bump_nl_timestamp): New function.
55845         (__free_in6ai): New function.
55847 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55849         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55850         close_not_cancel_no_status here.
55851         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55853 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55855         [BZ #13276]
55856         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55857         return value.
55859         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55860         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55861         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55863 2011-07-03  Andreas Jaeger  <aj@suse.de>
55865         [BZ #10709]
55866         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55867         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55868         * math/libm-test.inc (sin_test): Add test case.
55870 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55872         [BZ #13337]
55873         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55874         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55876         * elf/chroot_canon.c (chroot_canon): Cleanups.
55878         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55880         [BZ #13335]
55881         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55882         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55884         * string/test-strchr.c: Make usable for strchrnul testing.
55885         * string/test-strchrnul.c: New file.
55886         * string/Makefile (strop-tests): Add strchrnul.
55888         * po/it.po: Update from translation team.
55889         * po/es.po: Likewise.
55891 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55893         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55894         the three constants needed as parameters.  Drop the others.
55895         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55896         __m128i_strloadu_tolower.
55897         Create and initialize variable zero and use it in all the places
55898         where _mm_setzero_si128 was used.
55900         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55901         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55902         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55903         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55904         anymore.
55905         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55906         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55907         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55908         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55909         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55910         __mpranred, __mptan.
55911         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55912         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55913         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55914         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55915         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55916         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55917         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55918         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55919         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55921 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55923         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55924         redefine if SHARED.
55925         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55928         wide char related routines to wcsmbs subdir.
55930 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55932         [BZ #13344]
55933         * misc/sys/cdefs.h (__THROWNL): Define.
55934         * posix/unistd.h: Use __THREADNL instead of __THREAD
55935         for memory synchronization functions.
55937 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55939         [BZ #13349]
55940         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55941         doesn't exist.
55942         * manual/stdio.texi (Obstack Streams): Node removed.
55944 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55946         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55947         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55948         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55950         * math/math_private.h (math_force_eval): Allow non-addressable
55951         arguments.
55952         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55954 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55956         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55957         file is not needed.
55959         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55960         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55961         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55962         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55963         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55964         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55965         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55966         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55967         Add AVX variants.
55968         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55969         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55970         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55971         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55972         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55973         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55974         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55975         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55976         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55977         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55978         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55979         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55980         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55981         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55982         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55983         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55984         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55985         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55986         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55988         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55989         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55991         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55992         place.  Use VEX encoding when compiling for AVX.
55994 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55996         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55997         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55999         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56001 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56003         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56004         useless if() expression.
56005         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56006         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56007         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56008         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56009         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56010         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56011         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56012         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56013         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56014         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56015         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56016         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56017         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56018         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56019         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56020         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56021         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56022         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56023         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56025         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56027 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56029         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56030         condition.
56031         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56033 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56035         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56036         .text section.  Avoid duplicate constants.
56037         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56039         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56044         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56045         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56046         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56047         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56048         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56049         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56050         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56051         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56052         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56053         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56054         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56055         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56057         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56058         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56059         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56060         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56061         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56062         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56063         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56064         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56065         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56066         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56067         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56068         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56069         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56070         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56071         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56072         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56073         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56074         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56075         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56076         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56077         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56078         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56079         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56080         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56081         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56083 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56085         * sysdeps/x86_64/dla.h: Move to ...
56086         * sysdeps/x86_64/fpu/dla.h: ...here.
56087         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56088         situations.  Use __builtin_fma only for gcc 4.6 and up.
56090         * config.make.in: Add have-mfma4 entry.
56091         * configure.in: Substitute libc_cv_cc_fma4.
56092         * math/Makefile (dbl-only-routines): Add sincostab.
56093         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56094         Use __sincostab not sincos.
56095         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56096         name is a macro.
56097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56100         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56101         using __copysign.
56102         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56103         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56104         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56105         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56106         and __inv.
56107         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56108         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56109         __copysign.
56110         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56111         define aliases when function name is a macro.
56112         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56113         sysdeps/ieee754/dbl-64/sincos.tbl.
56114         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56115         fma4-enabled routines.
56116         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56117         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56118         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56119         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56120         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56121         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56122         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56123         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56124         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56125         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56126         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56127         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56128         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56129         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56130         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56131         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56132         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56133         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56134         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56135         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56136         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56137         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56138         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56139         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56140         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56141         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56142         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56143         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56144         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56145         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56147         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56148         rename.
56149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56154         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56155         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56156         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56158 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56160         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56162 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56164         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56166         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56167         prediction.
56168         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56170         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56171         Remove unused variable magic_bits.
56172         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56174         * string/strnlen.c: Define and use STRNLEN macro.
56175         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56176         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56177         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56178         * wcsmbs/wcslen.c: Define and use WCSLEN.
56179         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56180         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56181         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56182         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56183         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56184         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56185         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56187 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56190         strnlen-sse2-no-bsf.
56191         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56192         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56193         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56194         Add strnlen support.
56195         (USE_AS_STRNLEN): New macro.
56196         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56197         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56198         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56199         * sysdeps/x86_64/wcslen.S: New file.
56201 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56203         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56204         XMM-moves are used for copying on small sizes.
56206 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56208         * wcsmbs/Makefile (strop-tests): Add wcschr.
56209         * wcsmbs/test-wcschr.c: New file.
56210         * string/test-strchr.c: Update.
56211         Add wcschr support.
56212         (WIDE): New macro.
56214 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56216         * wcsmbs/Makefile (strop-tests): Add wcslen.
56217         * wcsmbs/test-wcslen.c: New file.
56218         * string/test-strlen.c: Update.
56219         Add wcslen support.
56220         (WIDE): New macro.
56222 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56224         * po/it.po: Update from translation team.
56226 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56228         * sysdeps/x86_64/wcscmp.S: Update.
56229         Fix wrong comparison semantics.
56230         wcscmp shall use signed comparison not unsigned.
56231         Don't use substraction to avoid overflow bug.
56232         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56233         * wcsmbc/wcscmp.c: Likewise.
56234         * string/test-strcmp.c: Likewise.
56235         Add new tests to check cases with negative values.
56237 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56239         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56240         * sysdeps/x86_64/dla.h: ...here.  New file.
56241         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56243         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56245         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56246         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56251 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56254         __ynl_finite aliases.
56256 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56260         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56261         define DLA_FMA.
56262         [DLA_FMA] (EMULV): Use DLA_FMA.
56263         [DLA_FMA] (MUL12): Use EMULV.
56264         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56265         that are not needed.
56266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56267         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56268         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56270         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56271         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56272         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56274 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56276         * math/s_nan.c: Undef __nan.
56277         * math/s_nanf.c: Undef __nanf.
56278         * math/s_nanl.c: Undef __nanl.
56279         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56280         "math_private.h".
56282 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56284         * math/s_catan.c: Add branch predictions.
56285         * math/s_catanf.c: Likewise.
56286         * math/s_catanh.c: Likewise.
56287         * math/s_catanhf.c: Likewise.
56288         * math/s_catanhl.c: Likewise.
56289         * math/s_catanl.c: Likewise.
56290         * math/s_cexp.c: Likewise.
56291         * math/s_cexpf.c: Likewise.
56292         * math/s_cexpl.c: Likewise.
56293         * math/s_clog.c: Likewise.
56294         * math/s_clog10.c: Likewise.
56295         * math/s_clog10f.c: Likewise.
56296         * math/s_clog10l.c: Likewise.
56297         * math/s_clogf.c: Likewise.
56298         * math/s_clogl.c: Likewise.
56299         * math/s_csqrt.c: Likewise.
56300         * math/s_csqrtf.c: Likewise.
56301         * math/s_csqrtl.c: Likewise.
56302         * math/s_ctanf.c: Likewise.
56303         * math/s_ctanh.c: Likewise.
56304         * math/s_ctanhf.c: Likewise.
56305         * math/s_ctanhl.c: Likewise.
56306         * math/s_ctanl.c: Likewise.
56308         * math/math_private.h: Define __nan, __nanf, __nanl.
56309         * math/s_cacosh.c: Include <math_private.h>.
56310         * math/s_cacoshl.c: Likewise.
56311         * math/s_casinh.c: Likewise.
56312         * math/s_casinhf.c: Likewise.
56313         * math/s_casinhl.c: Likewise.
56314         * math/s_ccos.c: Rely entire on ccosh.
56315         * math/s_ccosf.c: Rely entire on ccoshf.
56316         * math/s_ccosl.c: Rely entirely on ccoshl.
56317         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56318         Remove tests for FE_INVALID.
56319         * math/s_ccoshf.c: Likewise.
56320         * math/s_ccoshl.c: Likewise.
56321         * math/s_csin.c: Likewise.
56322         * math/s_csinf.c: Likewise.
56323         * math/s_csinh.c Likewise.
56324         * math/s_csinhf.c: Likewise.
56325         * math/s_csinhl.c: Likewise.
56326         * math/s_csinl.c: Likewise.
56327         * math/s_ctan.c: Likewise.
56328         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56329         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56330         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56332 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56335         compilation problems.
56337         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56338         __builtin_expect.
56340 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56342         * sysdeps/i386/configure.in: Test for -mfma4 option.
56343         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56344         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56345         COMMON_CPUID_INDEX_80000001.
56346         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56347         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56348         use it if FMA3 is not supported.
56349         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56351         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56352         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56354 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56356         [BZ #12892]
56357         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56358         it would create a cycle with a link time dependency.
56360 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56362         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56363         instruction.
56364         * string/Makefile (strop-tests): Add rawmemchr.
56365         * string/test-rawmemchr.c: New file.
56367         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56369         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56370         when compiling str{,n}casecmp and when AVX is available.  Hook up
56371         new optimized code in initializers.
56373 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56375         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56376         __feraiseexcept instead of feraiseexcept.
56378 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56380         * math/math_private.h: Define defaults for libc_fetestexcept and
56381         libc_feupdateenv.
56382         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56383         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56384         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56385         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56386         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56387         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56388         libc_fetestexcept and libc_feupdateenv.
56390         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56391         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56392         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56393         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56394         libc_feholdexcept_setround.
56396         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56397         Add s_nearbyint-c and s_nearbyintf-c.
56398         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56399         nearbyintf inlines.
56400         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56401         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56402         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56403         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56405         * math/math_private.h: Define defaults for libc_fegetround,
56406         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56407         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56408         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56409         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56410         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56411         standard functions.
56412         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56413         Remove comments and hacks for old compiler versions.
56414         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56415         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56416         libc_feholdexceptl.
56418 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56420         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56421         (__feraiseexcept_renamed): Add __NTH.
56422         (feraiseexcept): Add __NTH.  Rename local variables to fix
56423         namespace violations.
56425 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56429         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56431         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56432         recently added interfaces.
56433         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56435         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56436         about macro parameter expansion.
56438         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56439         __NO_MATH_INLINES is defined.  Cleanups.
56441         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56442         and __floorf is target has SSE4.1.
56443         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56444         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56445         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56446         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56448         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56449         name.
56450         (floorf): Likewise.
56452         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56454 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56456         * misc/sys/cdefs.h: Fix last change.
56458         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56459         database lookup.
56461 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56463         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56465         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56466         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56467         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56468         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56470         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56471         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56472         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56473         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56474         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56475         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56476         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56477         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56478         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56479         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56480         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56481         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56482         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56483         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56484         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56485         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56486         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56488         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56489         ceil, ceilf, floor, floorf.
56491         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56492         Perform IRELATIVE relocations last.
56494         * elf/do-rel.h: Add another parameter nrelative, replacing the
56495         local variable with the same name.  Change name of the function
56496         to end in Rel or Rela (uppercase).
56497         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56498         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56499         elf_dynamic_do_##reloc function.
56501 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56503         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56504         is sufficient, at least on modern CPUs.
56506         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56508         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56509         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56511         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56512         __expl_finite.
56513         * math/bits/math-finite.h: Add entries for exp.
56514         * math/e_expl.c: Add __*_finite alias.
56515         * sysdeps/i386/fpu/e_exp.S: Likewise.
56516         * sysdeps/i386/fpu/e_expf.S: Likewise.
56517         * sysdeps/i386/fpu/e_expl.c: Likewise.
56518         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56519         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56520         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56521         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56522         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56523         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56524         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56526         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56527         is sufficient, at least on modern CPUs.
56529         * ctype/ctype-info.c (__ctype_init): Define.
56530         * include/ctype.h (__ctype_init): Declare.
56531         (__ctype_b_loc): The variable is always initialized.
56532         (__ctype_toupper_loc): Likewise.
56533         (__ctype_tolower_loc): Likewise.
56534         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56535         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56537 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56539         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56541         * configure.in: Also look in $cxxmachine/include for C++ system
56542         headers.
56544 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56546         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56547         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56548         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56549         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56550         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56551         (USE_AS_WMEMCMP): New macro.
56552         Fixing indents.
56553         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56554         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56555         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56556         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56558         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56559         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56560         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56561         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56562         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56563         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56564         (USE_AS_WMEMCMP): New macro.
56565         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56566         * sysdeps/string/test-memcmp.c: Update.
56567         Fix simple_wmemcmp.
56568         Add new tests.
56569         * wcsmbs/wmemcmp.c: Update.
56570         (WMEMCMP): New macro.
56571         Fix overflow bug.
56573 2011-10-12  Andreas Jaeger  <aj@suse.de>
56575         [BZ #13268]
56576         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56578 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56580         * libio/iofwide.c (do_length): Avoid warning.
56582         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56584 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56586         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56588         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56589         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56590         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56591         * sysdeps/i386/i686/fpu/e_log.S: New file.
56592         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56593         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56595         * ctype/ctype.h: Add support for inlined isXXX functions when
56596         compiling C++ code.
56598 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56600         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56602         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56604 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56606         [BZ #13291]
56607         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56609 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56611         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56612         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56613         feraiseexcept.
56615         * sysdeps/x86_64/memrchr.S: Check for zero size.
56617         * string/stratcliff.c: Add memrchr tests.
56619 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56622         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56623         rawmemchr-sse2 rawmemchr-sse2-bsf.
56624         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56625         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56626         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56627         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56628         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56629         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56630         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56631         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56632         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56633         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56634         * string/memrchr.c (MEMRCHR): New macro.
56636 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56638         Add integration with gcc's -ffinite-math-only and optimize wrapper
56639         functions in libm.
56640         * Versions.def: Define GLIBC_2.15 version for libm.
56641         * math/Makefile (headers): Add bits/math-finite.h.
56642         * math/bits/math-finite.h: New file.
56643         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56644         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56645         * math/e_acoshl.c: Add __*_finite alias.
56646         * math/e_acosl.c: Likewise.
56647         * math/e_asinl.c: Likewise.
56648         * math/e_atan2l.c: Likewise.
56649         * math/e_atanhl.c: Likewise.
56650         * math/e_coshl.c: Likewise.
56651         * math/e_exp10.c: Likewise.
56652         * math/e_exp10f.c: Likewise.
56653         * math/e_exp10l.c: Likewise.
56654         * math/e_exp2l.c: Likewise.
56655         * math/e_fmodl.c: Likewise.
56656         * math/e_gammal_r.c: Likewise.
56657         * math/e_hypotl.c: Likewise.
56658         * math/e_j0l.c: Likewise.
56659         * math/e_j1l.c: Likewise.
56660         * math/e_jnl.c: Likewise.
56661         * math/e_lgammal_r.c: Likewise.
56662         * math/e_log10l.c: Likewise.
56663         * math/e_log2l.c: Likewise.
56664         * math/e_logl.c: Likewise.
56665         * math/e_powl.c: Likewise.
56666         * math/e_sinhl.c: Likewise.
56667         * math/e_sqrtl.c: Likewise.
56668         * math/e_scalb.c: Completely rewritten and optimized.
56669         * math/e_scalbf.c: Likewise.
56670         * math/e_scalbl.c: Likewise.
56671         * math/w_acos.c: Likewise.
56672         * math/w_acosf.c: Likewise.
56673         * math/w_acosl.c: Likewise.
56674         * math/w_acosh.c: Likewise.
56675         * math/w_acoshf.c: Likewise.
56676         * math/w_acoshl.c: Likewise.
56677         * math/w_asin.c: Likewise.
56678         * math/w_asinf.c: Likewise.
56679         * math/w_asinl.c: Likewise.
56680         * math/w_atan2.c: Likewise.
56681         * math/w_atan2f.c: Likewise.
56682         * math/w_atan2l.c: Likewise.
56683         * math/w_atanh.c: Likewise.
56684         * math/w_atanhf.c: Likewise.
56685         * math/w_atanhl.c: Likewise.
56686         * math/w_exp10.c: Likewise.
56687         * math/w_exp10f.c: Likewise.
56688         * math/w_exp10l.c: Likewise.
56689         * math/w_fmod.c: Likewise.
56690         * math/w_fmodf.c: Likewise.
56691         * math/w_fmodl.c: Likewise.
56692         * math/w_j0.c: Likewise.
56693         * math/w_j0f.c: Likewise.
56694         * math/w_j0l.c: Likewise.
56695         * math/w_j1.c: Likewise.
56696         * math/w_j1f.c: Likewise.
56697         * math/w_j1l.c: Likewise.
56698         * math/w_jn.c: Likewise.
56699         * math/w_jnf.c: Likewise.
56700         * math/w_log.c: Likewise.
56701         * math/w_logf.c: Likewise.
56702         * math/w_logl.c: Likewise.
56703         * math/w_log10.c: Likewise.
56704         * math/w_log10f.c: Likewise.
56705         * math/w_log10l.c: Likewise.
56706         * math/w_log2.c: Likewise.
56707         * math/w_log2f.c: Likewise.
56708         * math/w_log2l.c: Likewise.
56709         * math/w_pow.c: Likewise.
56710         * math/w_powf.c: Likewise.
56711         * math/w_powl.c: Likewise.
56712         * math/w_remainder.c: Likewise.
56713         * math/w_remainderf.c: Likewise.
56714         * math/w_remainderl.c: Likewise.
56715         * math/w_scalb.c: Likewise.
56716         * math/w_scalbf.c: Likewise.
56717         * math/w_scalbl.c: Likewise.
56718         * math/w_sqrt.c: Likewise.
56719         * math/w_sqrtf.c: Likewise.
56720         * math/w_sqrtl.c: Likewise.
56721         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56722         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56723         used.
56724         * math/math_private.h: Declare __kernel_standard_f.
56725         * math/w_cosh.c: Remove cruft and optimize a bit.
56726         * math/w_coshf.c: Likewise.
56727         * math/w_coshl.c: Likewise.
56728         * math/w_exp2.c: Likewise.
56729         * math/w_exp2f.c: Likewise.
56730         * math/w_exp2l.c: Likewise.
56731         * math/w_hypot.c: Likewise.
56732         * math/w_hypotf.c: Likewise.
56733         * math/w_hypotl.c: Likewise.
56734         * math/w_lgamma.c: Likewise.
56735         * math/w_lgamma_r.c: Likewise.
56736         * math/w_lgammaf.c: Likewise.
56737         * math/w_lgammaf_r.c: Likewise.
56738         * math/w_lgammal.c: Likewise.
56739         * math/w_lgammal_r.c: Likewise.
56740         * math/w_sinh.c: Likewise.
56741         * math/w_sinhf.c: Likewise.
56742         * math/w_sinhl.c: Likewise.
56743         * math/w_tgamma.c: Likewise.
56744         * math/w_tgammaf.c: Likewise.
56745         * math/w_tgammal.c: Likewise.
56746         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56747         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56748         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56749         Minor optimizations.  Pretty printing.  Remove cruft.
56750         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56751         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56752         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56753         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56754         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56755         * sysdeps/i386/fpu/e_asin.S: Likewise.
56756         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56757         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56758         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56759         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56760         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56761         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56762         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56763         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56764         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56765         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56766         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56767         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56768         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56769         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56770         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56771         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56772         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56773         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56774         * sysdeps/i386/fpu/e_log.S: Likewise.
56775         * sysdeps/i386/fpu/e_log10.S: Likewise.
56776         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56777         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56778         * sysdeps/i386/fpu/e_log2.S: Likewise.
56779         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56780         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56781         * sysdeps/i386/fpu/e_logf.S: Likewise.
56782         * sysdeps/i386/fpu/e_logl.S: Likewise.
56783         * sysdeps/i386/fpu/e_pow.S: Likewise.
56784         * sysdeps/i386/fpu/e_powf.S: Likewise.
56785         * sysdeps/i386/fpu/e_powl.S: Likewise.
56786         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56787         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56788         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56789         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56790         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56791         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56792         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56793         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56794         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56795         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56796         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56797         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56798         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56799         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56800         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56801         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56802         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56803         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56804         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56805         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56806         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56808         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56809         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56810         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56811         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56812         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56816         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56817         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56818         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56819         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56820         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56821         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56822         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56823         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56824         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56825         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56826         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56827         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56828         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56829         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56830         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56831         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56832         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56833         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56834         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56835         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56836         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56837         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56838         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56839         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56840         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56841         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56842         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56843         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56845         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56846         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56847         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56848         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56849         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56850         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56851         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56852         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56853         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56854         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56855         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56856         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56857         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56858         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56859         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56860         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56861         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56862         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56863         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56864         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56865         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56866         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56867         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56868         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56869         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56870         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56871         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56872         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56873         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56874         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56875         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56876         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56877         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56878         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56879         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56880         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56881         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56882         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56883         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56884         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56885         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56886         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56887         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56888         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56889         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56890         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56891         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56892         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56893         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56894         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56895         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56896         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56897         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56898         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56899         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56900         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56901         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56902         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56903         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56904         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56905         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56906         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56907         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56908         (__isnanf): Likewise.
56909         (__isinf_ns): Likewise.
56910         (__isinf_nsf): Likewise.
56911         (__finite): Likewise.
56912         (__finitef): Likewise.
56913         (__ieee754_sqrt): Define as macro.
56914         (__ieee754_sqrtf): Define as macro.
56915         (__ieee754_sqrtl): Define as macro.
56916         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56917         inlined copy.
56918         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56919         __FINITE_MATH_ONLY__ consistent.
56920         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56922 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56924         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56925         of rawmemchr.
56927         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56929 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56931         * po/ja.po: Update from translation team.
56933 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56935         * locale/programs/locarchive.c (prepare_address_space): New function.
56936         (create_archive, enlarge_archive, open_archive): Use it.
56938         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56939         inside [SHARED], where it is used.
56941         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56943         * nss/getent.c (netgroup_keys): Remove unused variable.
56944         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56946 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56948         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56949         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56951         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56952         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56953         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56954         * math/Makefile (libm-calls): Add s_isinf_ns.
56955         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56956         * math/multc3.c: Likewise.
56957         * math/s_casin.c: Likewise.
56958         * math/s_casinf.c: Likewise.
56959         * math/s_casinl.c: Likewise.
56960         * math/s_ccos.c: Likewise.
56961         * math/s_ccosf.c: Likewise.
56962         * math/s_ccosl.c: Likewise.
56963         * math/s_ctan.c: Likewise.
56964         * math/s_ctanf.c: Likewise.
56965         * math/s_ctanh.c: Likewise.
56966         * math/s_ctanhf.c: Likewise.
56967         * math/s_ctanhl.c: Likewise.
56968         * math/s_ctanl.c: Likewise.
56969         * math/w_fmod.c: Likewise.
56970         * math/w_fmodf.c: Likewise.
56971         * math/w_fmodl.c: Likewise.
56972         * math/w_remainder.c: Likewise.
56973         * math/w_remainderf.c: Likewise.
56974         * math/w_remainderl.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56976         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56977         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56978         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56979         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56980         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56981         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56982         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56984         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56985         of the number.
56986         * stdio-common/printf_fphex.c: Likewise.
56987         * stdio-common/printf_size.c: Likewise.
56989         * math/e_exp10.c: Include math_private.h using <...> not "...".
56990         * math/e_exp10f.c: Likewise.
56991         * math/e_exp10l.c: Likewise.
56992         * math/e_exp2l.c: Likewise.
56993         * math/e_j0l.c: Likewise.
56994         * math/e_j1l.c: Likewise.
56995         * math/e_jnl.c: Likewise.
56996         * math/e_lgammal_r.c: Likewise.
56997         * math/e_rem_pio2l.c: Likewise.
56998         * math/e_scalb.c: Likewise.
56999         * math/e_scalbf.c: Likewise.
57000         * math/e_scalbl.c: Likewise.
57001         * math/k_cosl.c: Likewise.
57002         * math/k_sinl.c: Likewise.
57003         * math/k_tanl.c: Likewise.
57004         * math/s_cacoshf.c: Likewise.
57005         * math/s_catan.c: Likewise.
57006         * math/s_catanf.c: Likewise.
57007         * math/s_catanh.c: Likewise.
57008         * math/s_catanhf.c: Likewise.
57009         * math/s_catanhl.c: Likewise.
57010         * math/s_catanl.c: Likewise.
57011         * math/s_ccosh.c: Likewise.
57012         * math/s_ccoshf.c: Likewise.
57013         * math/s_ccoshl.c: Likewise.
57014         * math/s_cexp.c: Likewise.
57015         * math/s_cexpf.c: Likewise.
57016         * math/s_cexpl.c: Likewise.
57017         * math/s_clog.c: Likewise.
57018         * math/s_clog10.c: Likewise.
57019         * math/s_clog10f.c: Likewise.
57020         * math/s_clog10l.c: Likewise.
57021         * math/s_clogf.c: Likewise.
57022         * math/s_clogl.c: Likewise.
57023         * math/s_csin.c: Likewise.
57024         * math/s_csinf.c: Likewise.
57025         * math/s_csinh.c: Likewise.
57026         * math/s_csinhf.c: Likewise.
57027         * math/s_csinhl.c: Likewise.
57028         * math/s_csinl.c: Likewise.
57029         * math/s_csqrt.c: Likewise.
57030         * math/s_csqrtf.c: Likewise.
57031         * math/s_csqrtl.c: Likewise.
57032         * math/s_ctan.c: Likewise.
57033         * math/s_ctanf.c: Likewise.
57034         * math/s_ctanh.c: Likewise.
57035         * math/s_ctanhf.c: Likewise.
57036         * math/s_ctanhl.c: Likewise.
57037         * math/s_ctanl.c: Likewise.
57038         * math/s_ldexp.c: Likewise.
57039         * math/s_ldexpf.c: Likewise.
57040         * math/s_ldexpl.c: Likewise.
57041         * math/s_significand.c: Likewise.
57042         * math/s_significandf.c: Likewise.
57043         * math/s_significandl.c: Likewise.
57044         * math/w_acos.c: Likewise.
57045         * math/w_acosf.c: Likewise.
57046         * math/w_acosh.c: Likewise.
57047         * math/w_acoshf.c: Likewise.
57048         * math/w_acoshl.c: Likewise.
57049         * math/w_acosl.c: Likewise.
57050         * math/w_asin.c: Likewise.
57051         * math/w_asinf.c: Likewise.
57052         * math/w_asinl.c: Likewise.
57053         * math/w_atan2.c: Likewise.
57054         * math/w_atan2f.c: Likewise.
57055         * math/w_atan2l.c: Likewise.
57056         * math/w_atanh.c: Likewise.
57057         * math/w_atanhf.c: Likewise.
57058         * math/w_atanhl.c: Likewise.
57059         * math/w_cosh.c: Likewise.
57060         * math/w_coshf.c: Likewise.
57061         * math/w_coshl.c: Likewise.
57062         * math/w_dremf.c: Likewise.
57063         * math/w_exp10.c: Likewise.
57064         * math/w_exp10f.c: Likewise.
57065         * math/w_exp10l.c: Likewise.
57066         * math/w_exp2.c: Likewise.
57067         * math/w_exp2f.c: Likewise.
57068         * math/w_fmod.c: Likewise.
57069         * math/w_fmodf.c: Likewise.
57070         * math/w_fmodl.c: Likewise.
57071         * math/w_hypot.c: Likewise.
57072         * math/w_hypotf.c: Likewise.
57073         * math/w_hypotl.c: Likewise.
57074         * math/w_j0.c: Likewise.
57075         * math/w_j0f.c: Likewise.
57076         * math/w_j0l.c: Likewise.
57077         * math/w_j1.c: Likewise.
57078         * math/w_j1f.c: Likewise.
57079         * math/w_j1l.c: Likewise.
57080         * math/w_jn.c: Likewise.
57081         * math/w_jnf.c: Likewise.
57082         * math/w_jnl.c: Likewise.
57083         * math/w_lgamma.c: Likewise.
57084         * math/w_lgamma_r.c: Likewise.
57085         * math/w_lgammaf.c: Likewise.
57086         * math/w_lgammaf_r.c: Likewise.
57087         * math/w_lgammal.c: Likewise.
57088         * math/w_lgammal_r.c: Likewise.
57089         * math/w_log.c: Likewise.
57090         * math/w_log10.c: Likewise.
57091         * math/w_log10f.c: Likewise.
57092         * math/w_log10l.c: Likewise.
57093         * math/w_log2.c: Likewise.
57094         * math/w_log2f.c: Likewise.
57095         * math/w_log2l.c: Likewise.
57096         * math/w_logf.c: Likewise.
57097         * math/w_logl.c: Likewise.
57098         * math/w_pow.c: Likewise.
57099         * math/w_powf.c: Likewise.
57100         * math/w_powl.c: Likewise.
57101         * math/w_remainder.c: Likewise.
57102         * math/w_remainderf.c: Likewise.
57103         * math/w_remainderl.c: Likewise.
57104         * math/w_scalb.c: Likewise.
57105         * math/w_scalbf.c: Likewise.
57106         * math/w_scalbl.c: Likewise.
57107         * math/w_sinh.c: Likewise.
57108         * math/w_sinhf.c: Likewise.
57109         * math/w_sinhl.c: Likewise.
57110         * math/w_sqrt.c: Likewise.
57111         * math/w_sqrtf.c: Likewise.
57112         * math/w_sqrtl.c: Likewise.
57113         * math/w_tgamma.c: Likewise.
57114         * math/w_tgammaf.c: Likewise.
57115         * math/w_tgammal.c: Likewise.
57117         * po/ja.po: Update from translation team.
57119 2011-09-29  Andreas Jaeger  <aj@suse.de>
57121         [BZ #13179]
57122         * sunrpc/netname.c (netname2host): Fix logic.
57124         [BZ #6779]
57125         [BZ #6783]
57126         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57127         correctly.
57128         * math/w_remainder.c (__remainder): Likewise.
57129         * math/w_remainderf.c (__remainderf): Likewise.
57130         * math/libm-test.inc (remainder_test): Add test cases.
57132 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57134         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57135         sdiv_qrnnd.
57137 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57139         * string/test-memcmp.c: Avoid unncessary #defines.
57140         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57142 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57144         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57145         Use new sse2 version for core i3 - i7 as it's faster
57146         than sse42 version.
57147         (bit_Prefer_PMINUB_for_stringop): New.
57148         * sysdeps/x86_64/rawmemchr.S: Update.
57149         Replace with faster SSE2 version.
57150         * sysdeps/x86_64/memrchr.S: New file.
57151         * sysdeps/x86_64/memchr.S: Update.
57152         Replace with faster SSE2 version.
57154 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57156         * elf/dl-load.c (lose): Add cast to avoid warning.
57158 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57160         * po/ca.po: Update from translation team.
57162         * inet/getnetgrent_r.c: Hook up nscd.
57163         * nscd/Makefile (routines): Add nscd_netgroup.
57164         (nscd-modules): Add netgroupcache.
57165         (CFLAGS-netgroupcache.c): Define.
57166         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57167         (cache_search): Add const to second parameter.
57168         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57169         INNETGR.
57170         (dbs): Add netgrdb entry.
57171         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57172         (verify_persistent_db): Handle netgrdb.
57173         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57174         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57175         GETFDNETGR.
57176         (netgroup_response_header): Define.
57177         (innetgroup_response_header): Define.
57178         (datahead): Add netgroup_response_header and innetgroup_response_header
57179         elements.
57180         * nscd/nscd.conf: Add entries for netgroup cache.
57181         * nscd/nscd.h (dbtype): Add netgrdb.
57182         (_PATH_NSCD_NETGROUP_DB): Define.
57183         (netgroup_iov_disabled): Declare.
57184         (xmalloc, xcalloc, xrealloc): Move declarations here.
57185         (cache_search): Adjust prototype.
57186         Add netgroup-related prototypes.
57187         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57188         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57189         (__nscd_innetgr): Declare.
57190         * nscd/selinux.c (perms): Use access_vector_t as element type and
57191         add netgroup-related initializers.
57192         * nscd/netgroupcache.c: New file.
57193         * nscd/nscd_netgroup.c: New file.
57194         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57195         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57196         For four parameters use innetgr.
57197         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57198         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57199         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57200         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57202         * nscd/connections.c (register_traced_file): Don't register file
57203         for disabled databases.
57205 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57207         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57209         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57210         from tree and freeing node.
57212 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57214         * nss/nsswitch.c (__nss_database_lookup): Handle
57215         nss_parse_service_list out of memory case.
57217 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57219         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57220         out of memory case.
57222 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57224         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57225         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57226         pass it down.
57227         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57228         elf_machine_rela, elf_machine_lazy_rel.
57229         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57230         (ELF_DYNAMIC_DO_REL): Likewise.
57231         (ELF_DYNAMIC_DO_RELA): Likewise.
57232         (ELF_DYNAMIC_RELOCATE): Likewise.
57233         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57234         to ELF_DYNAMIC_DO_REL.
57235         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57236         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57237         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57238         elf_machine_rela.
57239         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57240         skip_ifunc, don't call ifunc function if non-zero.
57241         (elf_machine_rela): Likewise.
57242         (elf_machine_lazy_rel): Likewise.
57243         (elf_machine_lazy_rela): Likewise.
57244         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57245         (elf_machine_lazy_rel): Likewise.
57246         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57247         Likewise.
57248         (elf_machine_lazy_rel): Likewise.
57249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57250         Likewise.
57251         (elf_machine_lazy_rel): Likewise.
57252         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57253         (elf_machine_lazy_rel): Likewise.
57254         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57255         (elf_machine_lazy_rel): Likewise.
57256         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57257         (elf_machine_lazy_rel): Likewise.
57258         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57259         (elf_machine_lazy_rel): Likewise.
57260         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57261         (elf_machine_lazy_rel): Likewise.
57262         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57263         (elf_machine_lazy_rel): Likewise.
57265 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57267         * nss/nss_files/files-init.c (_nss_files_init): Use static
57268         initialization for all the *_traced_file variables.
57270 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57272         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57274 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57276         [BZ #13226]
57277         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57279 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57281         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57282         Reread the line before reparsing it.
57284 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57286         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57288 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57289             Maxim Kuvyrkov  <maxim@codesourcery.com>
57290             Joseph Myers  <joseph@codesourcery.com>
57292         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57293         if needed for __stack_chk_guard.
57295 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57297         * sysdeps/posix/spawni.c (script_execute): Always define it.
57298         It will be optimized away if unused.
57299         (maybe_script_execute): New function.
57300         (__spawni): Call it.
57302         * Makerules: Don't include tls.make.
57303         (config-tls): Always set to thread.
57304         * tls.make.c: File removed.
57306 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57308         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57309         * config.make.in (CPPFLAGS-config): New substituted variable.
57311 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57313         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57315         [BZ #13192]
57316         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57317         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57319 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57321         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57322         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57324         (CALL_FAIL): Likewise.
57325         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57326         (CALL_FAIL): Macro removed.
57327         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57329 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57331         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57332         for __FINITE_MATH_ONLY__ == 1.
57334 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57336         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57337         __ieee754_sqrt instead of sqrt.
57338         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57339         __ieee754_sqrtf instead of sqrtf.
57340         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57341         __floorf instead of floorf.
57342         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57343         __floorf, __truncf instead of floorf, truncf.
57345 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57347         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57349         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57350         __extern_always_inline.
57351         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57352         32-bit.
57354 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57356         * elf/rtld.c (dl_main): Also relocate in dependency order when
57357         doing symbol dependency testing.
57359 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57362         Always define `refsym'.
57364 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57366         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57367         (__FD_ELT): Renamed from __FDELT.
57368         * misc/bits/select2.h (__FD_ELT): Likewise.
57369         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57370         __FD_MASK instead of __FDELT, __FDMASK.
57371         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57372         Likewise.
57373         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57374         Likewise.
57376         * elf/Makefile (gen-ldd): Fix pattern.
57378         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57379         (init_tls): Likewise.
57381 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57385 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57387         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57388         `struct cmsghdr *' instead of `void *'.
57389         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57390         Likewise.
57392 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57394         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57395         if non-absolute.
57396         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57397         ldd_rewrite_script.
57399 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57401         * configure.in: Remove --with-tls option.
57402         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57403         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57404         out in case it is missing.
57405         * sysdeps/ia64/elf/configure.in: Likewise.
57406         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57407         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57408         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57409         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57410         * sysdeps/sh/elf/configure.in: Likewise.
57411         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57412         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57413         * sysdeps/x86_64/elf/configure.in: Likewise.
57414         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57415         * sysdeps/mach/hurd/tls.h: Likewise.
57417         [BZ #13067]
57418         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57420         [BZ #13090]
57421         * configure.in: Fix use of AC_INIT.
57423         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57425 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57427         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57428         __set_errno.
57429         * malloc/hooks.c: Likewise.
57431         [BZ #11929]
57432         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57433         variables statically.
57434         (narenas): Initialize.
57435         (list_lock): Initialize.
57436         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57437         initializtion of main_arena and list_lock.  Small cleanups.
57438         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57439         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57440         Add initializers to main_arena and mp_.
57441         (malloc_state): Remove pagesize member.  Change all users to use
57442         GLRO(dl_pagesize).
57444         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57445         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57446         is always initialized.
57448         * malloc/malloc.c: Removed unused configurations and dead code.
57449         * malloc/arena.c: Likewise.
57450         * malloc/hooks.c: Likewise.
57451         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57453         * include/tls.h: Removed.  USE___THREAD must always be defined.
57454         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57455         * elf/dl-libc.c: Likewise.
57456         * elf/dl-tsd.c: Likewise.
57457         * include/errno.h: Likewise.
57458         * include/netdb.h: Likewise.
57459         * include/resolv.h: Likewise.
57460         * inet/herrno-loc.c: Likewise.
57461         * inet/herrno.c: Likewise.
57462         * malloc/arena.c: Likewise.
57463         * malloc/hooks.c: Likewise.
57464         * malloc/malloc.c: Likewise.
57465         * resolv/res-state.c: Likewise.
57466         * resolv/res_libc.c: Likewise.
57467         * sysdeps/i386/dl-machine.h: Likewise.
57468         * sysdeps/ia64/dl-machine.h: Likewise.
57469         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57470         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57471         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57472         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57473         * sysdeps/sh/dl-machine.h: Likewise.
57474         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57475         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57476         * sysdeps/unix/i386/sysdep.S: Likewise.
57477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57478         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57480         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57483         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57487         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57488         * sysdeps/x86_64/dl-machine.h: Likewise.
57489         * tls.make.c: Likewise.
57491         * configure.in: Remove --with-__thread option.  Make tests for
57492         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57493         tls_model attribute fail if no support is available.  Remove
57494         USE_IN_LIBIO.
57495         * Makeconfig: Adjust for dropped configure option.  All features are
57496         now mandatory.
57497         * Makerules: Likewise.
57498         * Versions.def: Likewise.
57499         * argp/argp-fmtstream.c: Likewise.
57500         * argp/argp-fmtstream.h: Likewise.
57501         * argp/argp-help.c: Likewise.
57502         * assert/assert.c: Likewise.
57503         * config.h.in: Likewise.
57504         * config.make.in: Likewise.
57505         * configure: Likewise.
57506         * configure.in: Likewise.
57507         * csu/Versions: Likewise.
57508         * csu/init.c: Likewise.
57509         * elf/tst-audit2.c: Likewise.
57510         * elf/tst-tls10.c: Likewise.
57511         * elf/tst-tls10.h: Likewise.
57512         * elf/tst-tls11.c: Likewise.
57513         * elf/tst-tls12.c: Likewise.
57514         * elf/tst-tls14.c: Likewise.
57515         * elf/tst-tlsmod11.c: Likewise.
57516         * elf/tst-tlsmod12.c: Likewise.
57517         * elf/tst-tlsmod13.c: Likewise.
57518         * elf/tst-tlsmod13a.c: Likewise.
57519         * elf/tst-tlsmod14a.c: Likewise.
57520         * elf/tst-tlsmod15b.c: Likewise.
57521         * elf/tst-tlsmod16a.c: Likewise.
57522         * elf/tst-tlsmod16b.c: Likewise.
57523         * elf/tst-tlsmod7.c: Likewise.
57524         * elf/tst-tlsmod8.c: Likewise.
57525         * elf/tst-tlsmod9.c: Likewise.
57526         * gmon/gmon.c: Likewise.
57527         * grp/fgetgrent_r.c: Likewise.
57528         * grp/putgrent.c: Likewise.
57529         * hurd/fopenport.c: Likewise.
57530         * include/libc-symbols.h: Likewise.
57531         * include/tls.h: Likewise.
57532         * intl/gettextP.h: Likewise.
57533         * intl/loadinfo.h: Likewise.
57534         * locale/global-locale.c: Likewise.
57535         * locale/localeinfo.h: Likewise.
57536         * mach/devstream.c: Likewise.
57537         * malloc/arena.c: Likewise.
57538         * malloc/set-freeres.c: Likewise.
57539         * misc/err.c: Likewise.
57540         * misc/getttyent.c: Likewise.
57541         * misc/mntent_r.c: Likewise.
57542         * posix/getopt.c: Likewise.
57543         * posix/wordexp.c: Likewise.
57544         * pwd/fgetpwent_r.c: Likewise.
57545         * resolv/Versions: Likewise.
57546         * resolv/res_hconf.c: Likewise.
57547         * shadow/fgetspent_r.c: Likewise.
57548         * shadow/putspent.c: Likewise.
57549         * stdio-common/printf_fphex.c: Likewise.
57550         * stdio-common/tmpfile.c: Likewise.
57551         * stdlib/abort.c: Likewise.
57552         * stdlib/fmtmsg.c: Likewise.
57553         * sunrpc/auth_unix.c: Likewise.
57554         * sunrpc/clnt_perr.c: Likewise.
57555         * sunrpc/clnt_tcp.c: Likewise.
57556         * sunrpc/clnt_udp.c: Likewise.
57557         * sunrpc/clnt_unix.c: Likewise.
57558         * sunrpc/openchild.c: Likewise.
57559         * sunrpc/svc_simple.c: Likewise.
57560         * sunrpc/svc_tcp.c: Likewise.
57561         * sunrpc/svc_udp.c: Likewise.
57562         * sunrpc/svc_unix.c: Likewise.
57563         * sunrpc/xdr.c: Likewise.
57564         * sunrpc/xdr_array.c: Likewise.
57565         * sunrpc/xdr_rec.c: Likewise.
57566         * sunrpc/xdr_ref.c: Likewise.
57567         * sunrpc/xdr_stdio.c: Likewise.
57569 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57571         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57573 2011-07-03  Andreas Jaeger  <aj@suse.de>
57575         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57576         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57577         regenerate with gen-libm-tests.pl.
57579 2010-05-12  Petr Baudis  <pasky@suse.cz>
57581         [BZ #11589]
57582         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57583         around j0() zero points by switching to j1().
57584         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57585         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57587         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57589 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57591         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57592         instead of 0.
57593         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57594         instead of 0.
57595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57596         Patch in part by Pavel Roskin <proski@gnu.org>.
57598         [BZ #13138]
57599         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57600         realloc.
57601         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57602         Free memory block if necessary.
57604         [BZ #12847]
57605         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57606         be NULL.  Don't lock in this case.
57608 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57610         * elf/elf.h (ELFOSABI_GNU): New macro.
57611         (ELFOSABI_LINUX): Define to that.
57613 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57615         * string/strncat.c (strncat): Undef the symbol in case it has been
57616         defined in bits/string.h.
57618 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57620         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57622         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57623         link map.
57625 2011-08-17  Andreas Jaeger  <aj@suse.de>
57627         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57629 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57630             Ian Lance Taylor  <iant@google.com>
57632         * math/libm-test.inc (lround_test): New testcase.
57633         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57635 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57637         * Makefile: Remove support for automatic cvs check-ins.
57638         * Makerules: Likewise.
57639         * config.make.in: Likewise.
57640         * configure.in: Likewise.
57641         * intl/Makefile: Likewise.
57642         * locale/Makefile: Likewise.
57643         * po/Makefile: Likewise.
57644         * posix/Makefile: Likewise.
57645         * sysdeps/gnu/Makefile: Likewise.
57646         * sysdeps/mach/hurd/Makefile: Likewise.
57647         * sysdeps/sparc/sparc32/Makefile: Likewise.
57649         [BZ #13118]
57650         * posix/Makefile (bug-regex32-ENV): Define.
57651         Patch by John Stanley <jpsinthemix@verizon.net>.
57653         * misc/Makefile (headers): Add bits/select2.h.
57654         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57655         * misc/bits/select2.h: New file.
57656         * include/bits/select2.h: New file.
57657         * debug/Makefile (routines): Add fdelt_chk.
57658         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57659         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57660         FD_ISSET.
57661         * debug/fdelt_chk.c: New file.
57663         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57664         * wcsmbs/test-wmemcmp.c: Likewise.
57665         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57666         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57668 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57670         * string/Makefile (strop-tests): Add memcmp.
57671         * string/test-wmemcmp.c: New file.
57672         * string/test-memcmp.c: Add wmemcmp support.
57674 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57676         [BZ #13153]
57677         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57678         2011-07-19 change.
57680         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57681         garbage value in a __mach_port_mod_refs call in the cases of the
57682         task-self and thread-self ports.
57684 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57686         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57688 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57690         * elf/dl-load.c (lose): Check for non-null L.
57692 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57694         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57696         * elf/dl-libc.c (dlerror_run): Pass back error code from
57697         dl_catch_error.
57699         [BZ #13123]
57700         * elf/dl-load.c (lose): Free l_origin if it is valid.
57702         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57703         names.
57704         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57705         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57706         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57707         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57708         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57709         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57711 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57713         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57714         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57715         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57716         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57717         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57718         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57719         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57720         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57721         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57722         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57724 2011-08-15  Alan Modra  <amodra@gmail.com>
57726         [BZ #13092]
57727         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57728         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57729         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57730         ppc_mcount to static-only-routines.
57731         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57732         __mcount_internal.
57733         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57734         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57736 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57738         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57739         for finite and infinity parameters.
57741 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57744         and add nop instructions for throughput optimization.
57745         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57747 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57749         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57750         aligned copy for power7 with vector-scalar instructions.
57751         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57753 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57755         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57756         AVX check.
57758 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57760         [BZ #13144]
57761         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57762         last change.
57764 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57766         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57767         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57768         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57769         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57770         clock_gettime.
57772 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57774         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57775         Forgot to demangle the pointer.
57777         * sysdeps/i386/sysdep.h: Define atom_text_section.
57778         * sysdeps/x86_64/sysdep.h: Likewise.
57779         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57780         section with atom_text_section.
57781         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57782         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57783         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57784         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57785         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57787         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57788         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57789         already be defined.  Change to take two parameters and don't assign
57790         result to variable.  Adjust all users.
57791         Define INTERNAL_GETTIME if not already defined.
57792         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57793         call.
57794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57795         HAVE_CLOCK_GETTIME_VSYSCALL.
57796         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57798         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57799         gettimeofday vsyscall, just use time.
57801 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57804         <errno.h>.
57806 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57808         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57809         syscall on x86-64.
57810         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57811         syscall.
57812         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57813         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57814         syscall if possible.
57816 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57818         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57819         e_ident.  Don't pass to find_mapsXX.
57820         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57822 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57825         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57826         * sysdeps/x86_64/multiarch/strchr.S: Update.
57827         Check bit_slow_BSF bit.
57828         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57829         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57830         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57832 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57834         [BZ #13134]
57835         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57836         before glibc 2.15.
57837         (tryshell): Define.
57838         (__spawni): Change last parameter to be flag.  Test
57839         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57840         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57841         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57842         * posix/spawni.c: Likewise.
57843         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57844         * posix/spawnp.c: Likewise.  Change normal version to use
57845         SPAWN_XFLAGS_USE_PATH.
57846         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57847         SPAWN_XFLAGS_TRY_SHELL.
57849         [BZ #13150]
57850         * posix/glob.h: Remove gcc 1.x support.
57852         [BZ #13068]
57853         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57855 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57858         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57859         strrchr-sse2-bsf
57860         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57861         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57862         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57863         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57864         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57865         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57867 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57869         * sysdeps/x86_64/wcscmp.S: New file.
57871         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57872         wcscmp-c wcscmp-sse2
57873         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57874         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57875         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57876         * wcsmbs/wcscmp.c: Allow renaming.
57878 2011-09-05  David S. Miller  <davem@davemloft.net>
57880         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57881         stack slot, rather than the struct return pointer slot.
57882         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57883         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57885         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57887 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57889         * po/ja.po: Update from translation team.
57891         [BZ #13144]
57892         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57893         kernel in 64-bit binaries.
57895 2011-09-01  David S. Miller  <davem@davemloft.net>
57897         * elf/elf.h (HWCAP_SPARC_*): Move to..
57898         * sysdeps/sparc/sysdep.h: this new file and add new values.
57899         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57900         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57901         _DL_HWCAP_COUNT to 24.
57902         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57903         entries.
57904         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57905         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57906         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57907         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57908         instead of magic constants.
57909         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57911 2011-08-31  David S. Miller  <davem@davemloft.net>
57913         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57915         Reimplement to do errno handling inline.
57916         (SYSCALL_ERROR_HANDLER): New macro.
57917         (__SYSCALL_STRING): Do not do errno handling in asm.
57918         (__CLONE_SYSCALL_STRING): Delete.
57919         (__INTERNAL_SYSCALL_STRING): Delete.
57920         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57921         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57922         (PSEUDO): Reimplement to do errno handling inline.
57923         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57924         (SYSCALL_ERROR_HANDLER): New macro.
57925         (__SYSCALL_STRING): Do not do errno handling in asm.
57926         (__CLONE_SYSCALL_STRING): Delete.
57927         (__INTERNAL_SYSCALL_STRING): Delete.
57928         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57929         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57930         i386.
57931         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57932         (inline_syscall*): Add 'err' argument.
57933         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57934         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57935         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57936         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57938         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57939         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57941 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57943         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57945 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57947         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57948         directive.
57950 2011-08-24  David S. Miller  <davem@davemloft.net>
57952         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57954 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57956         * elf/Makefile: Add rules to build and run unload8 test.
57957         * elf/unload8.c: New file.
57958         * elf/unload8mod1.c: New file.
57959         * elf/unload8mod1x.c: New file.
57960         * elf/unload8mod2.c: New file.
57961         * elf/unload8mod3.c: New file.
57963         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57964         it wasn't used.
57966 2011-08-23  David S. Miller  <davem@davemloft.net>
57968         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57969         subtract stack bias.
57970         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57971         %sp not %fp in calculations.
57972         (_JMPBUF_UNWINDS_ADJ): Likewise.
57974         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57975         (aio_suspend): Call it to force an exception region around the
57976         AIO_MISC_WAIT() invocation.
57978 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57980         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57981         backslash.
57983 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57985         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57986         protection macro.
57987         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57988         and <dl-machine.h>.
57989         (Elf64_FuncDesc): Remove.
57991 2011-08-22  David S. Miller  <davem@davemloft.net>
57993         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57994         sigaltstack check, add missing cfi directives.
57995         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57996         missing cfi directives, and sigaltstack handling.
57998 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58000         [BZ #11724]
58001         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58002         object is seen twice.
58003         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58005         * elf/Makefile (distribute): Add tst-initorder2.c.
58006         (tests): Add tst-initorder2.
58007         (modules-names): Add tst-initorder2a tst-initorder2b
58008         tst-initorder2c tst-initorder2d.  Add rules to build them.
58009         ($(objpfx)tst-initorder2.out): New rule.
58010         * elf/tst-initorder2.c: New file.
58011         * elf/tst-initorder2.exp: New file.
58013 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58015         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58017         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58018         dependencies back to end of function.
58020         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58021         $(elfobjdir)/ld.so.
58023 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58026         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58028         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58029         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58030         of __vdso_gettimeofday.
58031         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58032         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58033         attribute_hidden.
58034         (_libc_vdso_platform_setup): Remove initialization of
58035         __vdso_gettimeofday and __vdso_time.
58037 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58039         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58040         and fgetc_unlocked.
58041         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58042         getc_unlocked.
58044         * elf/dl-open.c (add_to_global): Report additions to the global scope
58045         for LD_DEBUG=scopes.
58046         (dl_open_worker): Also print scope of newly loaded dependencies.
58047         (_dl_show_scope): Indicate if there is no scope.
58049         [BZ #13114]
58050         * stdio-common/Makefile (tests): Add bug24.
58051         * stdio-common/bug24.c: New file.
58053 2011-08-19  Andreas Jaeger  <aj@suse.de>
58055         [BZ #13114]
58056         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58057         non-existant file when using close-on-exec mode.
58059 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58061         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58062         the very first instruction.
58064         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58065         the CFI state in the end.
58066         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58067         inclusion of dl-trampoline.h.
58068         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58070 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58072         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58073         expectations for long double.
58075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58076         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58078 2011-08-14  David S. Miller  <davem@davemloft.net>
58080         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58081         artificual limit depends upon the system page size.
58083 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58085         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58086         * resolv/Makefile: Define CFLAGS-libresolv.
58088 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58090         * nss/makedb.c (compute_tables): Make variables used in nested
58091         function static.
58093 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58095         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58096         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58097         if buffer was too small.
58099         * elf/pldd.c (main): Attach to all threads in the process.
58100         Rewrite /proc handling to use *at functions.
58102 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58104         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58105         specifies first scope to show.
58106         (dl_open_worker): Update callers.  Move printing scope of new
58107         object to before the relocation.
58108         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58109         * sysdeps/generic/ldsodefs.h: Update declaration.
58111         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58112         string for the scope number.
58114 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58116         * nscd/servicescache.c (cache_addserv): Make sure written is always
58117         initialized.
58119 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58121         * sysdeps/i386/i486/bits/atomic.h
58122         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58123         statement expression, so as to suppress "set but not used" warning.
58124         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58126         * string/strncat.c (STRNCAT): Use prototype definition.
58128         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58129         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58130         -Iprograms here.
58131         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58132         (localedef-modules): Add localedef.
58133         (locale-modules): Add locale.
58135         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58136         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58137         to avoid a warning.
58139 2011-08-14  David S. Miller  <davem@davemloft.net>
58141         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58142         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58144 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58146         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58147         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58148         * elf/rtld.c (dl_main): Set l_name of vDSO.
58149         Call _dl_show_scope when DL_DEBUG_SCOPES.
58150         (process_dl_debug): Recognize scopes flag and also set it for all.
58151         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58152         Declare _dl_show_scope.
58154         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58155         (do_dlopen): Pass caller_dlopen to dl_open.
58156         (__libc_dlopen_mode): Initialize caller_dlopen.
58158         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58159         of libc.  Make tolower call locale-independent.  Optimize a bit by
58160         using isdigit instead of isalnum.
58161         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58163 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58165         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58166         was a dependency or dynamically loaded.
58168 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58170         * intl/l10nflist.c: Allow architecture-specific pop function.
58171         * sysdeps/x86_64/l10nflist.c: New file.
58173         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58174         classification.
58176 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58178         * include/dirent.h: Add libc_hidden_proto for scandirat and
58179         scandirat64.  Don't declare __scandirat64.
58180         * dirent/scandirat.c: Add libc_hidden_def.
58181         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58182         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58184 2011-08-10  David S. Miller  <davem@davemloft.net>
58186         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58187         enum.
58188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58192 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58194         * Versions.def [libc]: Add GLIBC_2.15.
58195         * dirent/Makefile (routines): Add scandirat and scandirat64.
58196         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58197         GLIBC_2.15.
58198         * dirent/dirent.h: Declare scandirat and scandirat64.
58199         * dirent/scandirat.c: New file.
58200         * dirent/scandirat64.c: New file.
58201         * sysdeps/wordsize-64/scandirat.c: New file.
58202         * sysdeps/wordsize-64/scandirat64.c: New file.
58203         * dirent/opendir.c: Define opendirat.
58204         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58205         using scandirat.
58206         * dirent/scandir64.c: Adjust for scandir.c change.
58207         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58208         __scandirat64, and __scandir_cancel_handler.
58209         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58210         additional parameter and use openat instead of open (outside of ld.so).
58211         Add new __opendir as wrapper around __opendirat.
58212         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58213         here without requiring old scandirat implementation.
58215 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58217         * dirent/scandir.c (cancel_handler): Renamed to
58218         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58219         defined.  Adjust users.
58220         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58221         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58223 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58225         * string/test-string.h (IMPL): Use __STRING to expand name and then
58226         stringify it.
58228         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58229         of cleanups.
58231 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58233         * string/Makefile: Update.
58234         (strop-tests): Append strncat.
58235         * string/test-wcscmp.c: New file.
58236         New comprehensive test for wcscmp.
58237         * string/test-strcmp.c: Update.
58238         (WIDE): New define.
58240 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58242         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58243         line.
58245 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58248         encoding to ACE if AI_IDN.
58250 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58252         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58253         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58255 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58257         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58258         Fix overflow bug in strncat.
58259         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58261         * string/test-strncat.c: Update.
58262         Add new tests for checking overflow bugs.
58264 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58267         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58268         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58269         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58270         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58271         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58272         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58273         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58274         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58276         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58277         (USE_AS_STRCAT): Define.
58278         Add strcat and strncat support.
58279         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58281 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58283         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58284         __n bigger than INT_MAX+1.
58285         (__strncmp_g): Likewise.
58287 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58289         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58290         * libio/stido.h: Likewise.
58292         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58293         (AF_NFC): Define.
58294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58295         (AF_NFC): Define.
58297         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58299         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58300         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58301         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58303         [BZ #13021]
58304         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58305         installed.
58307         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58308         typo.
58309         (_dl_x86_64_save_sse): Likewise.
58311 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58314         OSXSAVE.
58315         (_dl_x86_64_save_sse): Likewise.
58317         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58319         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58321 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58324         change.
58325         (_dl_x86_64_save_sse): Use correct AVX check.
58327 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58329         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58330         bug in strncpy/strncat.
58331         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58333 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58335         * string/tester.c (test_strcat): Add tests for different alignments
58336         of source and destination.
58337         (test_strncat): Likewise.
58339 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58341         [BZ #12852]
58342         * posix/glob.c (glob): Check passed in values before using them in
58343         expressions to avoid some overflows.
58344         (glob_in_dir): Likewise.
58346         [BZ #13007]
58347         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58348         check for AVX enablement so that we don't crash with old kernels and
58349         new hardware.
58350         * elf/tst-audit4.c: Add same checks here.
58351         * elf/tst-audit6.c: Likewise.
58353         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58355 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58357         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58359 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58361         * po/cs.po: Update from translation team.
58362         * po/bg.po: Likewise.
58364 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58366         * misc/sys/cdefs.h: Add support for const attribute.
58367         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58368         to gnu_dev_{major,minor,makedev} functions.
58370 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58372         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58374 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58376         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58377         strlen results.
58379 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58382         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58383         register in order to avoid conflicts with the soft frame pointer
58384         being held in r11 when necessary.
58385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58386         (INTERNAL_VSYSCALL_NCS): Likewise.
58388 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58390         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58391         * elf/dl-fini.c (_dl_fini): Adjust caller.
58392         * elf/dl-close.c (_dl_close_worker): Likewise.
58393         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58395 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58397         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58398         "aux_cache->nlibs < 0".
58400         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58401         in the reload-count case.
58403 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58406         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58407         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58408         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58409         * sysdeps/x86_64/multiarch/strcat.S: New file.
58410         * sysdeps/x86_64/multiarch/strncat.S: New file.
58411         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58412         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58413         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58414         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58415         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58416         (USE_AS_STRCAT): Define.
58417         Add strcat and strncat support.
58418         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58419         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58420         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58421         * string/strncat.c: Update.
58422         (USE_AS_STRNCAT): Define.
58423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58424         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58425         and i7.
58426         * sysdeps/x86_64/multiarch/init-arch.h
58427         (bit_Prefer_PMINUB_for_stringop): New.
58428         (index_Prefer_PMINUB_for_stringop): Likewise.
58429         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58430         bit_Prefer_PMINUB_for_stringop.
58432 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58434         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58435         buffer64.
58436         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58437         of casting of buffer.
58438         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58439         buffer32 and buffer64.
58440         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58441         writes instead of casting of buffer.
58442         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58443         buffer32.
58444         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58445         casting of buffer.
58447 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58449         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58451 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58453         * nscd/nscd.c (termination_handler): Don't do anything for a database
58454         if it has not yet been initialized.
58456 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58458         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58460 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58462         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58464 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58466         * po/nl.po: Update from translation team.
58467         * po/sv.po: Likewise.
58469 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58471         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58472         now disallowed by GCC.
58474         * configure.in (use-default-link): Default to yes if a test -shared
58475         link meets our qualifications.
58476         * configure: Regenerated.
58478         * config.make.in (output-format): New variable.
58479         * configure.in: Check for ld --print-output-format support.
58480         * configure: Regenerated.
58481         * Makerules ($(common-objpfx)format.lds)
58482         [$(output-format) != unknown]: Just use $(output-format),
58483         instead of the linker-script munging.
58485 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58487         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58488         of $(common-objpfx)shlib.lds.
58489         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58491         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58492         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58494         * configure.in (-z relro check): Adjust test code to add a large
58495         writable data section after it.
58496         * configure: Regenerated.
58498 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58500         * configure.in (-z relro check): Fix test code to make the variable
58501         truly const.
58502         * configure: Regenerated.
58504 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58506         * nscd/nscd.h (struct traced_file): Define.
58507         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58508         elements.  Add traced_files.
58509         (inotify_fd): Declare.
58510         (register_traced_file): Declare.
58511         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58512         (inotify_fd): Export.
58513         (resolv_conf_descr): Remove.
58514         (nscd_init): Move inotify descriptor creation to main.
58515         Don't register files for notification here.
58516         (register_traced_file): New function.
58517         (invalidate_cache): Don't use reset_res to determine whether to call
58518         res_init, go through the list of registered files.
58519         (main_loop_poll): The inotify descriptors are now stored in the
58520         structures for the traced files.
58521         (main_loop_epoll): Likewise
58522         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58523         to __nss_disable_nscd.
58524         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58525         for a database anymore.  Check the records for all the registered
58526         files instead.
58527         * nss/Makefile (libnss_files-routines): Add files-init.
58528         (libnss_db-routines): Add db-init.
58529         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58530         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58531         * nss/nss_db/db-init.c: New file.
58532         * nss/nss_files/files-init.c: New file.
58533         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58534         __nss_lookup_function.
58535         (__nss_lookup_function): Call nss_load_library.
58536         (nss_load_all_libraries): New function.
58537         (__nss_disable_nscd): Take parameter with callback function for files
58538         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58539         used for the cached services.
58540         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58541         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58542         options for features to all the files in nscd.
58544         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58546 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58548         * csu/elf-init.c (__libc_csu_init): Comment typo.
58550 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58552         * po/pl.po: Update from translation team.
58553         * po/ja.po: Likewise.
58554         * po/ru.po: Likewise.
58555         * po/ko.po: Likewise.
58556         * po/fr.po: Likewise.
58558 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58560         * configure.in (.ctors/.dtors header and trailer check):
58561         Use an empirical test on a built program.
58562         * configure: Regenerated.
58564         * configure.in (-z relro check): Use an empirical test on a built DSO.
58565         Detect, but do not require, on ia64.
58566         * configure: Regenerated.
58568         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58569         Update tests that use readelf to use $READELF instead.
58570         * configure: Regenerated.
58572 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58574         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58575         if the result is not used.
58577 2011-07-05  Andreas Jaeger  <aj@suse.de>
58579         [BZ#9696]
58580         * stdlib/tst-strtod.c: Add testcase.
58582 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58584         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58585         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58586         The latter has a higher limit.  Take additional parameter to pass to
58587         the new function.
58588         (__pathconf): Pass file to __statfs_link_max.
58589         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58590         __statfs_link_max.
58591         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58592         __statfs_link_max.
58594         [BZ #12868]
58595         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58596         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58597         Handle Lustre.
58598         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58599         (__statfs_filesize_max): Likewise.
58600         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58602 2011-07-05  Andreas Jaeger  <aj@suse.de>
58604         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58606 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58608         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58609         `status' variable.
58610         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58611         Likewise.
58613 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58615         * Makefile (strop-tests): Add strncat.
58616         * string/test-strncat.c: New file.
58618 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58620         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58622 2011-06-21  Andreas Jaeger  <aj@suse.de>
58624         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58625         Copy rule from iconvdata/Makefile.
58627 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58629         [BZ #12922]
58630         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58631         but no long options are defined, just return 'W'.
58633 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58635         [BZ #9696]
58636         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58638 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58640         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58641         netgroups to read.
58642         (innetgr): Likewise.
58644 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58646         * config.make.in (install_root): Default to $(DESTDIR).
58648 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58650         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58652 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58654         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58656         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58657         containing directory rather than embedding absolute directory names.
58659         * scripts/check-local-headers.sh: Rewritten using awk.
58660         Match by word, not by line.  Print error messages for matches.
58661         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58663         * Makerules [shlib-lds-flags empty]:
58664         ($(common-objpfx)libc_pic.opts): New target.
58665         ($(common-objpfx)libc_pic.os.clean): New target.
58666         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58668         * config.make.in (OBJCOPY): New variable.
58669         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58670         * configure: Regenerated.
58672         * config.make.in (use-default-link): New variable.
58673         * configure.in (use_default_link): Grok --with-default-link to set it.
58674         * configure: Regenerated.
58675         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58676         (shlib-lds, shlib-lds-flags): Define to empty.
58678         * Makerules (shlib-lds): New variable.
58679         (shlib-lds-flags): New variable.
58680         (build-shlib, build-moduile, build-module-asneeded): Use it.
58681         ($(common-objpfx)libc.so): Use $(shlib-lds).
58682         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58683         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58685         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58686         DT_FLAGS/DT_FLAGS_1 with zero flags.
58688         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58689         linker script munging.
58691 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58693         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58694         as 128-bit value.
58695         * crypt/sha512.c (sha512_process_block): Perform total addition using
58696         128-bit if possible.
58697         (__sha512_finish_ctx): Likewise.
58698         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58699         as 64-bit value.
58700         * crypt/sha256.c (SWAP64): Define.
58701         (sha256_process_block): Perform total addition using 64-bit if
58702         possible.
58703         (__sha256_finish_ctx): Likewise.
58705 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58707         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58709         * nscd/hstcache.c (cache_addhst): Likewise.
58710         * nscd/grpcache.c (cache_addgr): Likewise.
58711         * nscd/aicache.c (addhstaiX): Likewise
58712         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58714 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58716         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58717         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58718         * nscd/hstcache.c (cache_addhst): Likewise.
58719         * nscd/grpcache.c (cache_addgr): Likewise.
58720         * nscd/aicache.c (addhstaiX): Likewise
58722 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58724         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58725         domain only when needed.
58727 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58730         is always restored.
58732 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58734         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58735         are re-adding the entry.
58736         * nscd/servicescache.c (cache_addserv): Likewise.
58738 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58740         * sysdeps/generic/dl-irel.h: fix protection against multiple
58741         inclusions.
58742         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58744 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58746         [BZ #12935]
58747         * malloc/memusage.sh: Fix quoting in message.
58748         * debug/xtrace.sh: Likewise.
58750         * configure.in: Remove support for --experimental-malloc option, make
58751         it the default.
58752         * config.make.in: Likewise.
58753         * malloc/Makefile: Likewise.
58755 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58757         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58758         two-byte characters.
58760 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58762         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58763         AC_CACHE_CHECK invocation.
58764         * configure: Regenerated.
58766         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58768 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58770         [BZ #12350]
58771         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58772         bit from old_res_options.
58774         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58776         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58777         value type for setfct.
58779 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58782         __gettimeofday instead of gettimeofday.
58784 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58786         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58788 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58790         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58792         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58793         info.
58795 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58798         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58799         strcpy-sse2-unaligned strncpy-sse2-unaligned
58800         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58801         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58802         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58803         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58804         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58805         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58806         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58807         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58808         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58809         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58810         (STRCPY): Support SSE2 and SSSE3 versions.
58812 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58814         [BZ #12874]
58815         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58816         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58817         kernels which artificially limit size of requests.
58819 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58821         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58822         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58823         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58824         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58825         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58826         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58827         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58828         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58829         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58830         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58831         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58832         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58833         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58834         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58835         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58837         Enable unaligned load optimization for Intel Core i3, i5 and i7
58838         processors.
58839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58840         Define.
58841         (index_Fast_Unaligned_Load): Define.
58842         (HAS_FAST_UNALIGNED_LOAD): Define.
58844 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58846         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58848 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58850         [BZ #12907]
58851         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58852         until it is clear that the information is realy needed.
58853         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58855 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58859 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58861         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58862         /sys/devices/system/cpu/online if it is usable.
58864         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58865         reading the information from the /proc filesystem to once a second.
58867 2011-06-21  Andreas Jaeger  <aj@suse.de>
58869         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58870         NULL after inclusion of kernel headers.
58872 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58874         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58875         calls to internal_setent.
58877         [BZ #12885]
58878         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58879         addresses using gethostbyname4_r ignore IPv4 addresses.
58881         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58882         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58884         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58886 2011-06-20  David S. Miller  <davem@davemloft.net>
58888         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58889         inclusions.
58890         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58892         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58893         (elf_irel): Use it.
58894         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58895         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58896         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58897         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58898         * sysdeps/x86_64/dl-irel.h: Likewise.
58900         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58901         * elf/dl-sym.c: Likewise.
58903 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58905         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58906         need to dereference resplen2.
58908 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58910         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58912 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58914         * Makeconfig: Define vardbdir and inst_vardbdir.
58915         * nss/Makefile: Add rules to install db-Makefile.
58917         * nss/nss_db/db-XXX.c: Cleanup.
58919         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58920         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58921         GLIBC_PRIVATE.
58922         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58923         * nss/makedb.c: Implement -g option to specify that value strings
58924         are generated and should not be added to table iterated over for
58925         get*ent calls.
58926         * nss/nss_db/db-initgroups.c: New file.
58928         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58929         interface.
58931         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58932         (internal_getgrouplist): Adjust to name change.
58933         Update use_initgroups_entry if this is not the first call.
58934         * nss/databases.def: Add initgroups entry.
58936         * nss/makedb.c (compute_tables): Check result of multiple hash table
58937         sizes to minimize maximum chain length.
58939 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58941         * Versions.def: Add entry for libnss_db.
58942         * shlib-versions: Likewise.
58943         * nss/Makefile: Add rules to build libnss_db.
58944         * nss/Versions: Add libnss_db information.  Organize libnss_files
58945         entries better.
58946         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58947         makedb progra.  Some minor improvements to generate smaller files.
58948         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58949         here from...
58950         * nss/makedb.c: ...here.
58951         Improve database format to be smaller and require less memory at
58952         runtime.
58953         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58954         db anymore.
58955         * nss/nss_db/db-netgrp.c: Likewise.
58956         * nss/nss_db/db-open.c: Likewise.
58957         * nss/nss_files/flies-XXX.x: Adjust comments.
58958         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58959         * nss/nss_files/files-grp.c: Likewise.
58960         * nss/nss_files/files-hosts.c: Likewise.
58961         * nss/nss_files/files-network.c: Likewise.
58962         * nss/nss_files/files-proto.c: Likewise.
58963         * nss/nss_files/files-pwd.c: Likewise.
58964         * nss/nss_files/files-rpc.c: Likewise.
58965         * nss/nss_files/files-service.c: Likewise.
58966         * nss/nss_files/files-sgrp.c: Likewise.
58967         * nss/nss_files/files-spwd.c: Likewise.
58968         * nss/nss_db/db-alias.c: Removed.
58969         * nss/nss_db/dummy-db.h: Removed.
58971 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58973         * nss/makedb.c: Rewritten to not use database library.
58974         * nss/Makefile: Update to build new makedb program.
58976 2011-06-14  Andreas Jaeger  <aj@suse.de>
58978         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58979         memset declaration.
58981 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58984         tmpbuf.
58986 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58988         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58989         * elf/Makefile ($(objpfx)ld.so): Likewise.
58991         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58992         Don't list ld.so twice in dependencies.
58994         * posix/bug-regex31.c: Include <stdlib.h>.
58996         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58998         * nis/nss_compat/compat-spwd.c
58999         (getspent_next_nss_netgr): Remove unused variable.
59000         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59002         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59003         nonmembers" output to use the right array.
59005         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59007         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59009         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59010         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59011         * catgets/gencat.c (read_input_file): Likewise.
59012         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59014         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59015         variable definition inside #if's controlling its use.
59017         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59019         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59021         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59023         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59024         unreachable code.
59026         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59028         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59029         * configure: Regenerated.
59031         * Makerules: Revert last change.
59032         * elf/Makefile: Likewise.
59034 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59036         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59037         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59038         (reloc-link): Likewise.
59040 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59042         * elf/Makefile: Add rules to build pldd.
59043         * elf/pldd.c: New file.
59044         * elf/pldd-xx.c: New file.
59046 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59048         * version.h: Update for 2.15 development version.
59050 2011-06-07  David S. Miller  <davem@davemloft.net>
59052         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59053         ifuncs.
59054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59055         elf_machine_lazy_rel): Likewise.
59056         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59057         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59058         elf_machine_lazy_rel): Likewise.
59059         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59060         dl_hwcap via passed in argument.
59061         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59062         Likewise.
59064 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59066         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59068 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59070         [BZ #12849]
59071         * manual/fdl-1.1.texi: New file, verbatim from:
59072         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59073         * manual/lgpl-2.1.texi: New file, verbatim from:
59074         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59075         * manual/Makefile (licenses): New variable, list those new file names.
59076         (texis): Use it.
59077         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59079         * manual/fdl.texi: File removed.
59080         * manual/lesser.texi: File removed.
59081         * manual/libc.texinfo (Copying, Documentation License):
59082         Use new @include file names, put @appendix directive before @include.
59084 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59086         [BZ #12841]
59087         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59088         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59089         (mq_open): Add __NTH.
59091 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59094         Assume Intel Core i3/i5/i7 processor if AVX is available.
59096 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59099         typo.
59101 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59103         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59104         memory.  Use alloca_account.  Fix memory leak when retrying.
59106 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59108         * version.h (RELEASE): Bump for 2.14 release.
59109         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59111         * config.make.in (RANLIB): Remove entry.
59113 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59115         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59116         (libc.pot): Work around missing support for .ksh extension in xgettext.
59118         [BZ #12684]
59119         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59120         if both request failed.
59121         (send_dg): In case of server errors clear resplen or *resplen2.
59123         [BZ #12454]
59124         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59125         when there are multiple maps.
59126         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59127         (_dl_fini): Remove test here.
59129         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59131 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59133         [BZ #12350]
59134         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59135         bit from old_res_options.
59136         (gaih_inet): Likewise.
59138         [BZ #11099]
59139         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59140         as signed.
59142         * resolv/res_init.c (res_setoptions): Make the code more compact.
59144         [BZ #11558]
59145         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59146         set RES_USEVC.
59148         [BZ #11634]
59149         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59151         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59153         [BZ #11781]
59154         * malloc/malloc.h: Declare malloc hook variables as volatile.
59156         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59157         in last patch.
59159         [BZ #11799]
59160         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59161         raise in the comment.
59162         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59164         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59166 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59168         [BZ #12811]
59169         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59170         grow the buffers more if it already has to be sufficient.
59171         (build_wcs_upper_buffer): Likewise.
59172         * posix/regexec.c (check_matching): Likewise.
59173         (clean_state_log_if_needed): Likewise.
59174         (extend_buffers): Don't enlarge buffers beyond size of the input
59175         buffer.
59176         Patches mostly by Emil Wojak <emil@wojak.eu>.
59177         * posix/bug-regex32.c: New file.
59178         * posix/Makefile (tests): Add bug-regex32.
59180         * locale/findlocale.c (_nl_find_locale): Return right away if
59181         _nl_explode_name failed.
59182         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59184         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59186         * debug/xtrace.sh: Unify messages.
59187         * malloc/memusage.sh: Likewise.
59189         [BZ #12813]
59190         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59191         time symbol from vDSO.  Substitute with vsyscall if not available.
59192         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59193         __vdso_time.
59195         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59196         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59197         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59198         Add sendmmsg and internal_sendmmsg.
59199         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59200         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59201         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59203         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59204         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59205         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59207 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59209         [BZ #12813]
59210         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59211         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59212         available.
59213         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59214         __vdso_getcpu.
59216         [BZ #12814]
59217         * iconvdata/Makefile (tests): Add bug-iconv9.
59218         * iconvdata/bug-iconv9.c: New file.
59220 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59222         [BZ #12814]
59223         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59225 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59228         (struct user_regs_struct): Change intcs field back to cs.
59230 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59232         * po/ja.po: Update from translation team.
59234 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59236         [BZ #12795]
59237         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59238         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59240 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59242         * stdlib/longlong.h: Update from GCC.
59244 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59246         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59247         parameter name.
59248         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59249         Add parameter name.
59250         (__sysconf): Pass it down.
59252 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59254         [BZ #12671]
59255         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59256         some situations.
59257         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59258         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59259         add in in __libc_use_alloca calls.  Adjust callers.
59260         (glob): Use malloc in some situations.
59262         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59263         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59264         pltexit.
59266 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59268         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59269         and CLOCK_BOOTTIME_ALARM.
59271         [BZ #12782]
59272         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59273         is returned.
59275         * string/_strerror.c (__strerror_r): Print negative errors as signed
59276         numbers.
59278         [BZ #12777]
59279         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59280         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59281         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59283         * configure.in: Fix typo in redirection and correct removal of test
59284         files in two cases.
59286         [BZ #12788]
59287         * locale/setlocale.c (new_composite_name): Fix test to check for
59288         identical name of all categories.
59290         [BZ #12792]
59291         * libio/filedoalloc.c (local_isatty): New function.
59292         (_IO_file_doallocate): Use local_isatty.
59293         * stdio-common/perror.c (perror): In case a new stream is used
59294         forward the stream error.
59295         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59296         error flag.
59298 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59300         [BZ #11869]
59301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59302         alloca.
59303         * include/alloca.h (extend_alloca_account): Define.
59305         [BZ #11857]
59306         * posix/regex.h: Fix comments with documentation of user-accessible
59307         fields after compilation and describe correct free'ing of pattern
59308         after re_compile_pattern.
59309         Patch by Reuben Thomas <rrt@sc3d.org>.
59311 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59313         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59314         and -mno-altivec to prevent the compiler from using Altivec and/or
59315         VSX instructions when the corresponding registers are not available.
59317 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59319         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59321 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59323         * libio/freopen.c (freopen): Use __dup2, not dup2.
59324         * libio/freopen64.c (freopen64): Likewise.
59326 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59328         [BZ #12775]
59329         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59330         * math/Makefile (tests): Add test-powl.
59331         (CFLAGS-test-powl.c): Define.
59332         * math/test-powl.c: New file.
59334 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59336         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59338 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59340         [BZ #11837]
59341         * iconvdata/gb18030.c: Update to GB18020-2005.
59343 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59345         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59346         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59347         Patch by Aharon Robbins <arnold@skeeve.com>.
59349         [BZ #11892]
59350         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59351         on the stack.
59353         [BZ #11895]
59354         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59355         through underflows.
59357         [BZ #12766]
59358         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59359         point to strings before performing equality test for error_one_per_line
59360         mode.
59362         [BZ #11697]
59363         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59365         [BZ #11820]
59366         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59367         (struct user_fpregs_struct): Avoid __uint*_t types.
59369         [BZ #6420]
59370         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59371         symbol info.  Use it instead of calling _dl_addr locally.
59372         (lock_and_info): New function.
59373         (tr_freehook): Call lock_and_info and pass symbol info as additional
59374         parameter to tr_where.
59375         (tr_mallochook): Likewise.
59376         (tr_reallochook): Likewise.
59377         (tr_memalignhook): Likewise.
59379         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59380         used and couldn't be at all thread-safe.
59382 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59384         * libio/freopen.c (freopen): Don't close old file descriptor
59385         before the new one is opened.  Instead dup the new file descriptor
59386         to the old one after the new stream is created.
59387         * libio/freopen64.c (freopen64): Likewise.
59388         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59389         * libio/fileops.c (_IO_new_file_close_it): Handle new
59390         _IO_FLAGS2_NOCLOSE flag.
59391         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59392         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59393         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59394         _IO_FLAGS2_NOCLOSE flag.
59395         * include/unistd.h: Add hidden_proto for dup3.
59396         Define __have_dup3.
59397         * io/dup3.c: Define hidden symbol.
59398         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59400         [BZ #7101]
59401         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59402         when an incomplete long option is used.
59403         * posix/tst-getopt_long1.c: New file.
59404         * posix/Makefile (tests): Add tst-getopt_long1.
59406         [BZ #10138]
59407         * scripts/config.guess: Update from autoconf-2.68.
59408         * scripts/config.sub: Likewise.
59410         [BZ #10157]
59411         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59412         tests into ...
59413         (has_cpuclock): ...this.  New function.
59414         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59415         macro here based on has_cpuclock code.
59417         [BZ #10149]
59418         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59419         First byte (not low byte) is now always NUL.
59420         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59423         Use non-cancelable interfaces.
59425         [BZ #9809]
59426         * locale/iso-639.def: Add entry for Sorani.
59428         [BZ #11901]
59429         * include/stdlib.h: Move include protection to the right place.
59430         Define abort_msg_s.  Declare __abort_msg with it.
59431         * stdlib/abort.c (__abort_msg): Adjust type.
59432         * assert/assert.c (__assert_fail_base): New function.  Majority
59433         of code from __assert_fail.  Allocate memory for __abort_msg with
59434         mmap.
59435         (__assert_fail): Now call __assert_fail_base.
59436         * assert/assert-perr.c: Remove bulk of implementation.  Use
59437         __assert_fail_base.
59438         * include/assert.hL Declare __assert_fail_base.
59439         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59440         mmap.
59441         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59443 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59445         [BZ #11952]
59446         [BZ #12453]
59447         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59448         until all modules are registered in the DTV.
59449         * elf/Makefile: Add rules to build and run tst-tls19.
59450         * elf/tst-tls19.c: New file.
59451         * elf/tst-tls19mod1.c: New file.
59452         * elf/tst-tls19mod2.c: New file.
59453         * elf/tst-tls19mod3.c: New file.
59454         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59456         [BZ #12083]
59457         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59458         correctly.
59460         [BZ #12601]
59461         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59462         two-byte sequence errors.
59463         * iconvdata/Makefile (tests): Add bug-iconv8.
59464         * iconvdata/bug-iconv8.c: New file.
59466         [BZ #12626]
59467         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59468         buf2 definition.
59470         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59472         [BZ #12432]
59473         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59474         (dummy_getcfa): New function.
59475         (init): Get _Unwind_GetCFA address, use dummy if not found.
59476         (backtrace_helper): In recursion check, also check whether CFA changes.
59477         (__backtrace): Completely initialize arg.
59479         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59480         storing incomplete byte sequence in state object.  Avoid testing for
59481         guaranteed too small input if we know there is enough data available.
59483 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59485         * Makeconfig (+link-pie): Indent.
59486         * Rules (binaries-pie): Define if $(have-fpie) and
59487         $(build-shared).
59488         (binaries-shared): Also filter out $(binaries-pie).
59489         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59490         * nscd/Makefile (others-pie): Add nscd.
59491         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59492         ($(objpfx)nscd): Remove command override.
59493         * login/Makefile (others-pie): Add pt_chown.
59494         ($(objpfx)pt_chown): Remove command override.
59495         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59496         remove command overrides.
59498 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59500         * libio/tst_putwc.c: Fix error messages.
59502         [BZ #12724]
59503         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59504         currently writing and seek to current position when not.
59505         * libio/Makefile (tests): Add bug-fclose1.
59506         * libio/bug-fclose1.c: New file.
59508 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59510         [BZ #12511]
59511         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59512         don't set DF_1_NODELETE here.
59513         (do_lookup_x): When entering new entry test for copy relocation
59514         and if necessary set DF_1_NODELETE flag.
59515         * elf/tst-unique4.cc: New file.
59516         * elf/tst-unique4.h: New file.
59517         * elf/tst-unique4lib.cc: New file.
59518         * elf/Makefile: Add rules to build and run tst-unique4.
59519         Patch by Piotr Bury <pbury@goahead.com>.
59521 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59523         [BZ #12052]
59524         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59526         [BZ #12625]
59527         * misc/mntent_r.c (addmntent): Flush the stream after the output
59529         [BZ #12393]
59530         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59531         (is_trusted_path_normalize): Skip initial colon.  Append slash
59532         to empty buffer.  Duplicate is_trusted_path code but allow
59533         constructed patch to be prefix.
59534         (is_dst): Allow $ORIGIN followed by /.
59535         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59536         Correct testing of result of is_trusted_path_normalize
59537         (decompose_rpath): Fix warning.
59539 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59541         [BZ #11257]
59542         * grp/initgroups.c (internal_getgrouplist): When we found the service
59543         list through the initgroups entry in nsswitch.conf do not always
59544         continue on a successful lookup.  Don't always use the
59545         __nss_group_database value if it is set.
59546         * nss/nsswitch.conf (initgroups): Change action for successful db
59547         lookup to continue for compatibility.
59549 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59551         [BZ #11532]
59552         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59553         and CP774 modules.
59554         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59555         and CP774 modules.
59556         * iconvdata/tst-tables.sh: Likewise.
59557         * iconvdata/cp770.c: New file.
59558         * iconvdata/cp771.c: New file.
59559         * iconvdata/cp772.c: New file.
59560         * iconvdata/cp773.c: New file.
59561         * iconvdata/cp774.c: New file.
59562         * iconvdata/testdata/CP770: New file.
59563         * iconvdata/testdata/CP770..UTF8: New file.
59564         * iconvdata/testdata/CP771: New file.
59565         * iconvdata/testdata/CP771..UTF8: New file.
59566         * iconvdata/testdata/CP772: New file.
59567         * iconvdata/testdata/CP772..UTF8: New file.
59568         * iconvdata/testdata/CP773: New file.
59569         * iconvdata/testdata/CP773..UTF8: New file.
59570         * iconvdata/testdata/CP774: New file.
59571         * iconvdata/testdata/CP774..UTF8: New file.
59573         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59574         END CHARMAP line.
59575         * iconvdata/gen-8bit-gap.sh: Likewise.
59576         * iconvdata/gen-8bit.sh: Likewise.
59578         * locale/iso-639.def: Add ary entry.
59580         [BZ #11258]
59581         * locale/C-translit.h.in: Add U20A1 transliteration.
59583         [BZ #12178]
59584         * locale/iso-639.def: Add wae entry.
59585         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59587         [BZ #12545]
59588         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59589         for n.
59591         [BZ #12711]
59592         * locale/C-translit.h.in: Add entry for U20B9.
59593         Patch by pravin.d.s@gmail.com.
59595 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59597         [BZ #12713]
59598         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59599         ENAMETOOLONG use generic getcwd.
59600         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59601         in rtld.  Use *stat64.
59602         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59603         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59604         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59605         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59606         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59607         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59608         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59609         __fstatat64 macros.
59610         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59611         * dirent/rewinddir.c: Add libc_hidden_def.
59612         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59613         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59615         * include/dirent.h (__alloc_dir): Add flags parameter.
59616         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59617         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59618         __alloc_dir.
59619         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59620         from fdopendir if O_CLOEXEC is already set.
59622 2011-03-15  Alan Modra  <amodra@gmail.com>
59624         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59625         l_tls_firstbyte_offset non-zero.  Save padding offset in
59626         l_tls_firstbyte_offset for later use.
59627         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59628         freeing static tls block.
59630 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59632         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59633         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59634         being defined by the kernel headers.
59636 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59638         [BZ #12734]
59639         * resolv/resolv.h: Define RES_NOTLDQUERY.
59640         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59641         no-tld-query and set RES_NOTLDQUERY.
59642         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59643         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59644         modern BIND to search name as TLD unless forbidden.
59646 2011-05-07  Petr Baudis  <pasky@suse.cz>
59647             Ulrich Drepper  <drepper@gmail.com>
59649         [BZ #12393]
59650         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59651         (is_trusted_path): ...to here.
59652         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59653         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59654         using is_trusted_path_normalize() in setuid scripts.
59656 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59658         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59659         __BEGIN/__END_DECLS.
59661 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59663         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59664         NSS_STATUS_NOTFOUND if no record was found.
59666 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59668         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59669         (headers-not-in-tirpc): Remove rpc/netdb.h
59670         * resolv/netdb.h: Revert last change.
59672 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59674         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59675         circular dependency between libgcc.a and libc.a.
59677 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59679         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59680         * nis/Makefile: Don't install rpcsvc/*.
59681         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59682         instead of <rpc/types.h>.
59683         (MAXHOSTNAMELEN): Define.
59685 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59687         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59689 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59691         [BZ #12714]
59692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59693         gethostbyname4_r when IPv6 results are possible.
59695 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59697         [BZ #12723]
59698         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59699         _PC_PIPE_BUF handling.
59701 2011-04-30  Bruno Haible  <bruno@clisp.org>
59703         [BZ #12717]
59704         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59705         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59706         to 'int'.
59707         * inet/getnameinfo.c (getnameinfo): Likewise.
59709 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59711         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59712         to groups setting in database lookup.
59713         * nss/nsswitch.conf: Add initgroups entry.
59715 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59717         [BZ #12685]
59718         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59719         mode string.
59720         Patch by Eric Blake <eblake@redhat.com>.
59722 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59724         * sunrpc/Makefile (need-export-routines): Add svc_run.
59725         (routines): Remove svc_run.
59726         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59727         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59728         * sunrpc/svc_run.c (svc_run): Likewise.
59729         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59731 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59733         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59734         problem in reallocation in last patch.
59736 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59738         * sunrpc/Makefile: Move inclusion of Rules.
59740 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59742         * nss/nss_files/files-initgroups.c: New file.
59743         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59744         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59745         _nss_files_initgroups_dyn.
59747 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59749         * elf/elf.h (R_ARM_IRELATIVE): Define.
59751 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59753         * po/ru.po: Update from translation team.
59755 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59757         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59758         dependencies.
59760 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59762         [BZ #12653]
59763         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59764         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59765         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59766         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59767         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59769 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59771         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59772         differing bytes.
59773         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59774         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59777 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59779         [BZ #12420]
59780         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59781         storing it.
59782         * stdlib/bug-getcontext.c: New file.
59783         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59785 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59787         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59788         instructions into .machine "z9-109".
59789         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59790         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59792 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59794         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59795         between environment variables and auxiliary vector.
59797 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59799         * Makefile: Add rules to build linkobj/libc.so.
59800         * include/libc-symbols.h: Define libc_hidden_nolink.
59801         * include/rpc/auth.h: Mark functions which are to be hidden.
59802         * include/rpc/auth_des.h: Likewise.
59803         * include/rpc/auth_unix.h: Likewise.
59804         * include/rpc/clnt.h: Likewise.
59805         * include/rpc/des_crypt.h: Likewise.
59806         * include/rpc/key_prot.h: Likewise.
59807         * include/rpc/pmap_clnt.h: Likewise.
59808         * include/rpc/pmap_prot.h: Likewise.
59809         * include/rpc/pmap_rmt.h: Likewise.
59810         * include/rpc/rpc_msg.h: Likewise.
59811         * include/rpc/svc.h: Likewise.
59812         * include/rpc/svc_auth.h: Likewise.
59813         * include/rpc/xdr.h: Likewise.
59814         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59815         * nss/Makefile: Likewise.
59816         * sunrpc/Makefile: Don't install headers.  Build library with normal
59817         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59818         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59819         for the compat linking library.  Remove use of INTDEF/INTUSE.
59820         * sunrpc/auth_none.c: Likewise.
59821         * sunrpc/auth_unix.c: Likewise.
59822         * sunrpc/authdes_prot.c: Likewise.
59823         * sunrpc/authuxprot.c: Likewise.
59824         * sunrpc/clnt_gen.c: Likewise.
59825         * sunrpc/clnt_perr.c: Likewise.
59826         * sunrpc/clnt_raw.c: Likewise.
59827         * sunrpc/clnt_simp.c: Likewise.
59828         * sunrpc/clnt_tcp.c: Likewise.
59829         * sunrpc/clnt_udp.c: Likewise.
59830         * sunrpc/clnt_unix.c: Likewise.
59831         * sunrpc/des_crypt.c: Likewise.
59832         * sunrpc/des_soft.c: Likewise.
59833         * sunrpc/get_myaddr.c: Likewise.
59834         * sunrpc/key_call.c: Likewise.
59835         * sunrpc/key_prot.c: Likewise.
59836         * sunrpc/netname.c: Likewise.
59837         * sunrpc/pm_getmaps.c: Likewise.
59838         * sunrpc/pm_getport.c: Likewise.
59839         * sunrpc/pmap_clnt.c: Likewise.
59840         * sunrpc/pmap_prot.c: Likewise.
59841         * sunrpc/pmap_prot2.c: Likewise.
59842         * sunrpc/pmap_rmt.c: Likewise.
59843         * sunrpc/publickey.c: Likewise.
59844         * sunrpc/rpc_cmsg.c: Likewise.
59845         * sunrpc/rpc_common.c: Likewise.
59846         * sunrpc/rpc_dtable.c: Likewise.
59847         * sunrpc/rpc_prot.c: Likewise.
59848         * sunrpc/rpc_thread.c: Likewise.
59849         * sunrpc/rtime.c: Likewise.
59850         * sunrpc/svc.c: Likewise.
59851         * sunrpc/svc_auth.c: Likewise.
59852         * sunrpc/svc_authux.c: Likewise.
59853         * sunrpc/svc_raw.c: Likewise.
59854         * sunrpc/svc_run.c: Likewise.
59855         * sunrpc/svc_simple.c: Likewise.
59856         * sunrpc/svc_tcp.c: Likewise.
59857         * sunrpc/svc_udp.c: Likewise.
59858         * sunrpc/svc_unix.c: Likewise.
59859         * sunrpc/svcauth_des.c: Likewise.
59860         * sunrpc/xcrypt.c: Likewise.
59861         * sunrpc/xdr.c: Likewise.
59862         * sunrpc/xdr_array.c: Likewise.
59863         * sunrpc/xdr_float.c: Likewise.
59864         * sunrpc/xdr_intXX_t.c: Likewise.
59865         * sunrpc/xdr_mem.c: Likewise.
59866         * sunrpc/xdr_rec.c: Likewise.
59867         * sunrpc/xdr_ref.c: Likewise.
59868         * sunrpc/xdr_sizeof.c: Likewise.
59869         * sunrpc/xdr_stdio.c: Likewise.
59871 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59873         [BZ #12650]
59874         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59875         * sysdeps/ia64/dl-tls.h: Likewise.
59876         * sysdeps/powerpc/dl-tls.h: Likewise.
59877         * sysdeps/s390/dl-tls.h: Likewise.
59878         * sysdeps/sh/dl-tls.h: Likewise.
59879         * sysdeps/sparc/dl-tls.h: Likewise.
59880         * sysdeps/x86_64/dl-tls.h: Likewise.
59881         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59883 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59885         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59886         rpath element also skip the following colon.
59887         (expand_dynamic_string_token): Add is_path parameter and pass
59888         down to DL_DST_REQUIRED and _dl_dst_substitute.
59889         (decompose_rpath): Call expand_dynamic_string_token with
59890         non-zero is_path.  Ignore empty rpaths.
59891         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59892         with zero is_path.
59894 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59897         Make cancelable.
59899 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59901         [BZ #12655]
59902         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59903         Patch by Filipe David Manana <fdmanana@apache.org>.
59905 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59907         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59908         Maintain aligned stack.
59909         (CHECK_RSP): Remove unused macro.
59911 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59913         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59914         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59916 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59918         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59920         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59922 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59924         [BZ #12518]
59925         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59926         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59927         * sysdeps/x86_64/memmove.c: New file.
59928         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59929         (memcpy): Renamed to ...
59930         (__new_memcpy): This.
59931         (memcpy): Provide GLIBC_2_14 memcpy.
59932         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59933         (memcpy): Provide GLIBC_2_2_5 memcpy.
59935 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59937         [BZ #12631]
59938         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59940 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59942         * misc/syncfs.c: New file.
59943         * misc/Makefile (routines): Add syncfs.
59944         * posix/unistd.h: Declare syncfs.
59945         * sysdeps/unix/syscalls.list: Add syncfs.
59947 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59949         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59950         open_by_handle_at.
59951         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59952         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59954         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59956         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59957         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59959 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59961         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59962         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59963         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59965         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59969         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59970         sync_file_range.c with -fexceptions.
59971         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59972         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59973         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59974         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59975         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59976         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59978         sync_file_range as cancellation point
59979         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59980         now a wrapper around __call_sync_file_range with cancellation handling.
59981         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59982         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59983         function name to __call_sync_file_range.
59984         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59985         Add call_sync_file_range.
59987 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59990         bits/timex.h.
59992 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59994         * iconv/iconv.h: Fix typo in comment.
59995         * io/fcntl.h: Likewise.
59996         * libio/stdio.h: Likewise.
59997         * posix/spawn.h: Likewise.
59998         * posix/unistd.h: Likewise.
59999         * stdlib/stdlib.h: Likewise.
60000         * time/time.h: Likewise.
60001         * wcsmbs/wchar.h: Likewise.
60003         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60004         open_by_handle): Add.
60005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60006         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60007         Augment a few comments.
60008         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60010         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60012         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60013         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60014         open_by_handle.
60016         * io/fcntl.h (AT_EMPTY_PATH): Define.
60018 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60020         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60021         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60022         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60023         to...
60024         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60025         * Versions.def: Add GLIBC_2.14.
60026         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60027         Export.
60029 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60031         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60032         round counter.
60033         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60035 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60037         [BZ #12597]
60038         * string/test-strncmp.c (do_page_test): New function.
60039         (check2): Likewise.
60040         (test_main): Call check2.
60041         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60043 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60045         [BZ #12587]
60046         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60047         Handle cache information in CPU leaf 4.
60048         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60050 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60052         [BZ #12583]
60053         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60054         character representation.
60055         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60057 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60059         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60060         END(__isnan) to END(__isnanf) to match function entry point/label
60061         EALIGN(__isnanf,...).
60063 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60065         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60067 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60069         [BZ #12510]
60070         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60071         copy from the symbol referenced in the relocation to initialize the
60072         used variable.
60073         Patch by Piotr Bury <pbury@goahead.com>.
60074         * elf/Makefile: Add rules to build and tst-unique3.
60075         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60076         * elf/tst-unique3.cc: New file.
60077         * elf/tst-unique3.h: New file.
60078         * elf/tst-unique3lib.cc: New file.
60079         * elf/tst-unique3lib2.cc: New file.
60081         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60083 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60085         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60086         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60087         to _start.
60089 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60091         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60092         to-be-loaded object along a path to loader is ld.so.
60094 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60095             Ulrich Drepper  <drepper@gmail.com>
60097         * sysdeps/x86_64/memset.S: After aligning destination, code
60098         branches to different locations depending on the value of
60099         misalignment, when multiarch is enabled. Fix this.
60101 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60103         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60104         Set _x86_64_preferred_memory_instruction for AMD processsors.
60105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60106         Set bit_Prefer_SSE_for_memop for AMD processors.
60108 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60110         * libio/fmemopen.c (fmemopen): Optimize a bit.
60112 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60114         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60116 2011-03-03  Roland McGrath  <roland@redhat.com>
60118         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60120 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60122         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60123         __bzero_ultra1 instead of __memset_ultra1.
60125 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60126             Ulrich Drepper  <drepper@gmail.com>
60128         [BZ #12509]
60129         * include/link.h (struct link_map): Add l_orig_initfini.
60130         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60131         returning unsuccessfully.
60132         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60133         close of a file loaded at startup, restore the original l_initfini
60134         list.
60135         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60136         list, store the pointer.
60137         * elf/Makefile ($(objpfx)noload-mem): New rule.
60138         (noload-ENV): Define.
60139         (tests): Add $(objpfx)noload-mem.
60140         * elf/noload.c: Include <memcheck.h>.
60141         (main): Call mtrace.  Close all opened handles.
60143 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60145         [BZ #12454]
60146         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60147         dependencies are missing.
60149 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60151         Fix __if_freereq crash: Unlike the generic version which uses free,
60152         Hurd needs munmap.
60153         * sysdeps/mach/hurd/ifreq.h: New file.
60155 2011-01-27  Petr Baudis  <pasky@suse.cz>
60156             Ulrich Drepper  <drepper@gmail.com>
60158         [BZ 12445]#
60159         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60160         to extend_alloca().
60161         * stdio-common/bug23.c: New file.
60162         * stdio-common/Makefile (tests): Add bug23.
60164 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60165             Ulrich Drepper  <drepper@gmail.com>
60167         [BZ #12489]
60168         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60169         before performing relro protection.  At old place add assertion
60170         to make sure nothing changed.
60172 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60173             Glauber de Oliveira Costa  <glommer@gmail.com>
60175         * elf/elf.h: Add new ARM TLS relocs.
60177 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60180         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60181         cast from r3.
60182         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60183         'tests' variable.
60184         * sysdeps/wordsize-64/tst-writev.c: New file.
60186 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60188         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60189         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60190         insns in _dl_start to prevent a TOC reference before relocs are
60191         resolved.
60193 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60195         [BZ #12469]
60196         * Makeconfig: Remove RANLIB definition.
60197         * Makerules: Don't use RANLIB.
60198         * aclocal.m4: Remove ranlib test.
60199         * configure.in: No need to check for ranlib.
60200         * elf/rtld-Rules: Don't use RANLIB.
60202 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60204         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60205         protection macro.
60206         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60207         inclusion protection macro.
60209         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60210         SIGRTMIN and SIGRTMAX and print information in that case only when
60211         SIGRTMIN is defined.
60213 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60215         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60216         arginfo fn returning -1.
60218         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60219         and thousands string is zero terminated.
60221 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60224         sysdeps/unix/sysv/linux/bits/socket.h.
60226 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60228         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60229         (__CPU_COUNT): Remove old macros.
60230         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60231         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60232         (__CPU_ALLOC, __CPU_FREE): Add macros.
60233         (__sched_cpualloc, __sched_cpufree): Add declarations.
60235 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60237         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60238         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60239         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60240         (readdhstai): Return value of addhstaiX call.
60241         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60242         (addgrbyX): Return value returned by cache_addgr.
60243         (readdgrbyname): Return value returned by addgrbyX.
60244         (readdgrbygid): Likewise.
60245         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60246         (addpwbyX): Return value returned by cache_addpw.
60247         (readdpwbyname): Return value returned by addhstbyX.
60248         (readdpwbyuid): Likewise.
60249         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60250         (addservbyX): Return value returned by cache_addserv.
60251         (readdservbyname): Return value returned by addservbyX:
60252         (readdservbyport): Likewise.
60253         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60254         (addhstbyX): Return value returned by cache_addhst.
60255         (readdhstbyname): Return value returned by addhstbyX.
60256         (readdhstbyaddr): Likewise.
60257         (readdhstbynamev6): Likewise.
60258         (readdhstbyaddrv6): Likewise.
60259         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60260         (readdinitgroups): Return value returned by addinitgroupsX.
60261         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60262         (prune_cache): Keep track of timeout value of re-added entries.
60263         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60264         * nscd/nscd.h: Adjust prototypes of readd* functions.
60266 2011-02-04  Roland McGrath  <roland@redhat.com>
60268         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60269         (nis_stats): Likewise.
60270         * nis/nis_modify.c (nis_modify): Likewise.
60271         * nis/nis_remove.c (nis_remove): Likewise.
60272         * nis/nis_add.c (nis_add): Likewise.
60274         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60276         * posix/fnmatch_loop.c: Add some consts.
60278         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60280 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60282         [BZ #12460]
60283         * config.make.in (config-cflags-novzeroupper): Define.
60284         * configure.in: Substitute libc_cv_cc_novzeroupper.
60285         * elf/Makefile (AVX-CFLAGS): Define.
60286         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60287         (CFLAGS-tst-auditmod4a.c): Likewise.
60288         (CFLAGS-tst-auditmod4b.c): Likewise.
60289         (CFLAGS-tst-auditmod6b.c): Likewise.
60290         (CFLAGS-tst-auditmod6c.c): Likewise.
60291         (CFLAGS-tst-auditmod7b.c): Likewise.
60292         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60294 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60296         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60297         function to the callback.
60298         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60300 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60302         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60303         of errno.
60305 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60307         [BZ #11724]
60308         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60309         of constructors.
60310         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60311         of destructors.
60312         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60314         [BZ #11724]
60315         * elf/Makefile: Add rules to build and run new test.
60316         * elf/tst-initorder.c: New file.
60317         * elf/tst-initorder.exp: New file.
60318         * elf/tst-initordera1.c: New file.
60319         * elf/tst-initordera2.c: New file.
60320         * elf/tst-initordera3.c: New file.
60321         * elf/tst-initordera4.c: New file.
60322         * elf/tst-initorderb1.c: New file.
60323         * elf/tst-initorderb2.c: New file.
60324         * elf/tst-order-a1.c: New file.
60325         * elf/tst-order-a2.c: New file.
60326         * elf/tst-order-a3.c: New file.
60327         * elf/tst-order-a4.c: New file.
60328         * elf/tst-order-b1.c: New file.
60329         * elf/tst-order-b2.c: New file.
60330         * elf/tst-order-main.c: New file.
60331         New test case by George Gensure <werkt0@gmail.com>.
60333 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60336         decoding ACE if AI_CANONIDN.
60338 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60340         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60342 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60344         * version.h (RELEASE): Bump for 2.13 release.
60345         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60347         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60349         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60350         MADV_NOHUGEPAGE.
60351         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60352         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60353         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60354         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60355         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60356         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60358         * posix/getconf.c: Update copyright year.
60359         * catgets/gencat.c: Likewise.
60360         * csu/version.c: Likewise.
60361         * debug/catchsegv.sh: Likewise.
60362         * debug/xtrace.sh: Likewise.
60363         * elf/ldconfig.c: Likewise.
60364         * elf/ldd.bash.in: Likewise.
60365         * elf/sprof.c (print_version): Likewise.
60366         * iconv/iconv_prog.c: Likewise.
60367         * iconv/iconvconfig.c: Likewise.
60368         * locale/programs/locale.c: Likewise.
60369         * locale/programs/localedef.c: Likewise.
60370         * malloc/memusage.sh: Likewise.
60371         * malloc/mtrace.pl: Likewise.
60372         * nscd/nscd.c (print_version): Likewise.
60373         * nss/getent.c: Likewise.
60375         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60376         PF_CAIF, and PF_ALG.
60377         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60379 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60381         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60382         (modules-names): Use them.
60383         (ifunc-test-modules, ifunc-pie-tests): Define.
60384         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60385         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60386         (test-extras): Likewise.
60387         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60388         $(compile-command.c).
60389         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60390         (all-built-dso): Define.
60391         (check-textrel.out, check-execstack.out): Depend on it.
60393         * configure.in: Don't override --enable-multi-arch.
60395 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60397         [BZ #6812]
60398         * nscd/hstcache.c (tryagain): Define.
60399         (cache_addhst): Return tryagain not notfound for temporary errors.
60400         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60401         failed.
60403 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60405         [BZ #10563]
60406         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60407         to make the syscall.
60408         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60410         [BZ #12378]
60411         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60412         and fall back to matching as normal character if the string ends before
60413         the matching ']' is found.  This is what POSIX requires.
60414         * posix/testfnm.c: Adjust test result.
60415         * posix/globtest.sh: Adjust test result.  Add new test.
60416         * posix/tst-fnmatch.input: Likewise.
60417         * posix/tst-fnmatch2.c: Add new test.
60419 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60421         * elf/Makefile (check-execstack): Revert last change.  Depend on
60422         check-execstack.h.
60423         (check-execstack.h): New target.
60424         (generated): Add check-execstack.h.
60425         * elf/check-execstack.c: Include "check-execstack.h".
60426         (main): Revert last change.
60427         (handle_file): Return zero if GNU_STACK is absent and
60428         DEFAULT_STACK_PERMS doesn't include PF_X.
60430 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60432         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60433         in child fails because the descriptor is already closed.
60434         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60435         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60436         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60438         [BZ #12397]
60439         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60440         syscall.
60442         [BZ #10484]
60443         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60444         temporary buffer used to handle multi lookups locally.
60445         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60447 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60449         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60450         loader is ld.so.
60452 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60454         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60455         alignment for SSE2.
60457 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60459         [BZ #12394]
60460         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60461         characters.  When rounding increased number of integer digits recompute
60462         number of groups.
60463         * stdio-common/tst-grouping.c: New file.
60464         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60466 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60468         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60469         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60471         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60472         void.
60473         * bits/select.h: Likewise.
60475 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60477         * po/ja.po: Update from translation team.
60479 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60481         [BZ #11155]
60482         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60483         implementation just like for lxstat, fxstatat, et al.
60485 2010-12-27  Jim Meyering  <meyering@redhat.com>
60487         [BZ #12348]
60488         * posix/regexec.c (build_trtable): Return failure indication upon
60489         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60491 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60493         [BZ #12201]
60494         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60495         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60496         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60497         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60499         [BZ #12207]
60500         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60502         [BZ #12204]
60503         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60504         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60506 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60508         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60509         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60510         script has SORT_BY_INIT_PRIORITY.
60511         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60512         NO_CTORS_DTORS_SECTIONS is defined.
60513         * elf/soinit.c: Likewise.
60514         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60515         NO_CTORS_DTORS_SECTIONS is defined.
60516         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60517         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60518         * sysdeps/sh/init-first.c: Likewise.
60519         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60521 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60523         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60524         always use the slow path.
60526 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60528         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60529         similar rule which adds the sysdep directories to the header search in
60530         order to pick up the correct platform stackinfo.h.
60531         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60532         perform test if it is, otherwise return successfully without testing.
60533         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60534         DEFAULT_STACK_PERMS define in stackinfo.h.
60535         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60536         defined in stackinfo.h.
60537         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60538         DEFAULT_STACK_PERMS defined in stackinfo.h.
60539         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60540         * sysdeps/ia64/stackinfo.h: Likewise.
60541         * sysdeps/s390/stackinfo.h: Likewise.
60542         * sysdeps/sh/stackinfo.h: Likewise.
60543         * sysdeps/sparc/stackinfo.h: Likewise.
60544         * sysdeps/x86_64/stackinfo.h: Likewise.
60545         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60546         PF_X for powerpc64.  Retain PF_X for powerpc32.
60548 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60550         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60551         accurately.
60552         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60553         GETDENTS_64BIT_ALIGNED.
60555 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60557         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60559 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60561         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60562         _GNU_SOURCE.
60564         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60565         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60566         Remove __restrict.
60567         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60568         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60570 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60572         [BZ #11655]
60573         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60574         are initialized.
60576 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60578         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60580 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60582         * po/it.po: Update from translation team.
60584 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60586         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60587         unused codes.
60589 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60591         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60593 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60595         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60596         specially.
60597         (gaih_getanswer_slice): Likewise.
60599 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60601         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60603 2010-05-31  Petr Baudis  <pasky@suse.cz>
60605         [BZ #11149]
60606         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60607         silently even in the chroot mode.
60609 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60611         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60612         last patch a bit.  Pretty printing
60614 2010-05-31  Petr Baudis <pasky@suse.cz>
60616         [BZ #10085]
60617         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60618         initialization of skip_initgroups_dyn.
60620 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60622         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60623         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60625 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60627         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60629 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60631         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60632         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60633         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60634         ($(objpfx)tst-fnmatch-mem): New rule.
60635         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60636         * posix/tst-fnmatch.c (main): Call mtrace.
60638 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60641         Support Intel processor model 6 and model 0x2c.
60643 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60645         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60646           signed comparison.
60648 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60650         [BZ #12205]
60651         * string/test-strncasecmp.c (check_result): New function.
60652         (do_one_test): Use it.
60653         (check1): New function.
60654         (test_main): Use it.
60655         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60656         Support strcasecmp and strncasecmp.
60658 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60660         [BZ #12194]
60661         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60662         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60664 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60666         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60667         IFUNC support.
60668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60669         memset-x86-64.
60670         * sysdeps/x86_64/multiarch/bzero.S: New file.
60671         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60672         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60673         * sysdeps/x86_64/multiarch/memset.S: New file.
60674         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60676         Set bit_Prefer_SSE_for_memop for Intel processors.
60677         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60678         Define.
60679         (index_Prefer_SSE_for_memop): Define.
60680         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60682 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60684         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60685         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60687 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60689         [BZ #12191]
60690         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60691         (__x86_64_raw_data_cache_size_half): Likewise.
60692         (__x86_64_raw_shared_cache_size): Likewise.
60693         (__x86_64_raw_shared_cache_size_half): Likewise.
60695         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60696         (__x86_64_raw_data_cache_size_half): Likewise.
60697         (__x86_64_raw_shared_cache_size): Likewise.
60698         (__x86_64_raw_shared_cache_size_half): Likewise.
60699         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60700         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60701         and __x86_64_raw_shared_cache_size_half.  Round
60702         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60703         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60704         to multiple of 256 bytes.
60706 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60708         [BZ #12167]
60709         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60710         of inacessible symlinks.  Verify result of symlink before returning it.
60711         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60712         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60714 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60716         * math/math.h (isinf): Fix typo in comment.
60718 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60720         * po/da.po: Update from translation team.
60722 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60724         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60725         is added to the list.
60727 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60728             Ulrich Drepper  <drepper@gmail.com>
60730         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60731         the global list here.  Move code to...
60732         (_dl_add_to_namespace_list): ...here.  New function.
60733         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60734         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60735         * elf/dl-load.c (lose): Don't remove the element from the list.
60736         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60737         (_dl_map_object): Likewise.
60739 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60741         [BZ #12159]
60742         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60743         into all bytes of SSE register.
60744         Patch by Richard Li <richardpku@gmail.com>.
60746 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60748         [BZ #12140]
60749         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60750         perturbing.
60752 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60754         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60755         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60756         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60757         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60759         submachine.
60760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60762 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60764         * include/dlfcn.h (__RTLD_SECURE): Define.
60765         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60766         mode & __RTLD_SECURE instead.
60767         (open_path): Rename preloaded parameter to secure.
60768         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60769         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60770         * elf/dl-deps.c (openaux): Likewise.
60771         * elf/rtld.c (struct map_args): Remove is_preloaded.
60772         (map_doit): Don't use it.
60773         (dl_main): Likewise.
60774         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60775         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60777 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60779         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60780         (sysd-rules-targets): Remove duplicates.
60781         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60782         rtld-%.$o dependency.
60784 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60786         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60787         _dl_map_object do it.
60789 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60791         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60792         fast fma builtins, define the macros in the C99 standard.
60793         (FP_FAST_FMAF): Likewise.
60794         (FP_FAST_FMAL): Likewise.
60795         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60797         * bits/mathdef.h: Update copyright year.
60798         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60800 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60802         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60803         builtins, define the macros in the C99 standard.
60804         (FP_FAST_FMAF): Likewise.
60805         (FP_FAST_FMAL): Likewise.
60806         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60807         multiply/add.
60808         (FP_FAST_FMAF): Likewise.
60810 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60812         [BZ #3268]
60813         * math/libm-test.inc (fma_test): Some new testcases.
60814         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60815         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60816         y and infinite z.  Do multiplication by C already in long double.
60817         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60819         y and infinite z.  Do bitwise or of inexact bit into u.d.
60820         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60821         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60822         * sysdeps/i386/fpu/s_fma.S: Removed.
60823         * sysdeps/i386/fpu/s_fmal.S: Removed.
60825 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60827         [BZ #3268]
60828         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60830         computation is not scheduled after fetestexcept.  Fix value
60831         of minimum denormal long double.
60833 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60835         [BZ #3268]
60836         * math/libm-test.inc (fma_test): Add some more tests.
60837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60838         correctly.
60840 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60842         * scripts/data/localplt-s390-linux-gnu.data: New file.
60843         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60845 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60847         [BZ #3268]
60848         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60849         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60850         instead of dbl-64.
60851         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60852         inlines.
60853         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60855         if one of x and y is very large and the other is subnormal.
60856         * sysdeps/s390/fpu/s_fmaf.c: New file.
60857         * sysdeps/s390/fpu/s_fma.c: New file.
60858         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60859         * sysdeps/powerpc/fpu/s_fma.S: New file.
60860         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60861         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60862         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60864 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60866         [BZ #3268]
60867         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60868         fma tests.
60869         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60870         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60871         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60872         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60873         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60874         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60875         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60877 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60879         [BZ #12078]
60880         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60881         * posix/bug-regex31.input: Add test case.
60883 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60885         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60886         * posix/bug-regex31.input: New file.
60888         [BZ #12078]
60889         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60890         (parse_sub_exp): Fix last change, use postorder.
60892         * posix/bug-regex31.c: New file.
60893         * posix/Makefile: Add rules to build and run bug-regex31.
60895         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60897         [BZ #12078]
60898         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60900         [BZ #12108]
60901         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60902         to have entries in sys_siglist.
60904         [BZ #12093]
60905         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60906         be NULL.
60908 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60910         [BZ #3268]
60911         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60912         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60913         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60914         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60915         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60916         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60917         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60918         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60919         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60920         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60921         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60922         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60923         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60924         * math/ftestexcept.c (fetestexcept): Likewise.
60925         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60926         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60927         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60928         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60929         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60930         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60931         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60933 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60935         [BZ #12107]
60936         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60937         newline.
60939 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60941         * string/bug-strstr1.c: New file.
60942         * string/Makefile: Add rules to build and run bug-strstr1.
60944 2010-10-05  Eric Blake  <eblake@redhat.com>
60946         [BZ #12092]
60947         * string/str-two-way.h (two_way_long_needle): Always clear memory
60948         when skipping input due to the shift table.
60950 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60952         [BZ #12005]
60953         * malloc/mcheck.c: Handle large requests.
60955         [BZ #12077]
60956         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60957         for strncmp and strncasecmp.
60958         * string/stratcliff.c: Add tests for strcmp and strncmp.
60959         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60961 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60963         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60964         __set_fpscr.
60966 2010-09-30  Andreas Jaeger  <aj@suse.de>
60968         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60969         (CGROUP_SUPER_MAGIC): Define.
60970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60971         Handle btrfs and cgroup file systems.
60972         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60973         Likewise.
60975 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60977         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60978         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60980 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60982         [BZ #12067]
60983         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60984         trying to locate the ELF header.
60986 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60988         [BZ #11611]
60989         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60990         Mask out sign-bit copies when constructing f_fsid.
60992 2010-09-24  Petr Baudis <pasky@suse.cz>
60994         * debug/stack_chk_fail_local.c: Add missing licence exception.
60995         * debug/warning-nop.c: Likewise.
60997 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60999         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61000         implementing getdents64 using getdents syscall, set d_type if
61001         __ASSUME_GETDENTS32_D_TYPE.
61003 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61005         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61006         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61008 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61010         [BZ #12037]
61011         * posix/unistd.h: Undo change of feature selection for ftruncate from
61012         2010-01-11.
61014 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61016         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61017         detection.
61019 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61021         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61022         fanotify_mark.
61023         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61025 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61027         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61028         variables after CHECK_SP call.
61029         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61031 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61032             Ulrich Drepper  <drepper@redhat.com>
61034         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61035         re-relocationg ld.so.
61036         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61037         _dl_init_paths call.
61038         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61039         here anymore.
61041 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61043         * resolv/res_init.c (__res_vinit): Count the default server we added.
61045 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61046             Ulrich Drepper  <drepper@redhat.com>
61048         [BZ #11968]
61049         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61050         (____longjmp_chk): Use %ebx for saving value across system call.
61051         Add unwind info.
61053 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61055         * manual/Makefile: Don't mix pattern rules with normal rules.
61057 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61059         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61060         operation.
61061         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61062         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61063         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61064         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61066         Likewise.
61068 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61070         [BZ #11979]
61071         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61072         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61074 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61076         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61077         * sysdeps/x86_64/addmul_1.S: Likewise.
61078         * sysdeps/x86_64/lshift.S: Likewise.
61079         * sysdeps/x86_64/mul_1.S: Likewise.
61080         * sysdeps/x86_64/rshift.S: Likewise.
61081         * sysdeps/x86_64/sub_n.S: Likewise.
61082         * sysdeps/x86_64/submul_1.S: Likewise.
61084 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61086         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61087         Define __sched_param instead of SCHED_* and sched_param when
61088         <bits/sched.h> is included with __need_schedparam defined.
61089         * bits/sched.h [__need_schedparam]
61090         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61091         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61092         (__defined_schedparam): Define to 1.
61093         (__sched_param): New structure, identical to sched_param.
61094         (__need_schedparam): Undefine.
61096 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61098         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61099         (epoll_create1): Declare.
61101         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61103 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61105         [BZ #7066]
61106         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61107         shifting retval into place.
61109 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61111         * nis/rpcsvc/nis.h: Update copyright notice.
61112         * nis/rpcsvc/nis.x: Likewise.
61113         * nis/rpcsvc/nis_callback.h: Likewise.
61114         * nis/rpcsvc/nis_callback.x: Likewise.
61115         * nis/rpcsvc/nis_object.x: Likewise.
61116         * nis/rpcsvc/nis_tags.h: Likewise.
61117         * nis/rpcsvc/yp.h: Likewise.
61118         * nis/rpcsvc/yp.x: Likewise.
61119         * nis/rpcsvc/ypupd.h: Likewise.
61120         * nis/yp_xdr.c: Likewise.
61121         * nis/ypupdate_xdr.c: Likewise.
61123         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61124         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61125         (pmap_getport): Use __libc_rpc_getport.
61126         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61127         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61128         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61130 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61133         fanotify_mark.
61135 2010-08-27  Roland McGrath  <roland@redhat.com>
61137         * sysdeps/i386/i686/multiarch/Makefile
61138         (CFLAGS-varshift.c): New variable.
61140 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61142         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61143         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61145         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61147         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61149 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61151         * sysdeps/x86_64/strlen.S: Unroll the loop.
61152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61153         strlen-sse2 strlen-sse2-bsf.
61154         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61155         __strlen_no_bsf if bit_Slow_BSF is set.
61156         (__strlen_sse42): Removed.
61157         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61158         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61160 2010-08-25  Roland McGrath  <roland@redhat.com>
61162         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61163         * sysdeps/x86_64/multiarch/varshift.c: New file.
61164         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61165         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61166         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61167         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61169 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61172         strlen-sse2 strlen-sse2-bsf.
61173         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61174         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61175         (__strlen_sse2): Removed.
61176         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61177         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61179         bit_Slow_BSF for Atom.
61180         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61181         (index_Slow_BSF): Define.
61182         (HAS_SLOW_BSF): Define.
61184 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61186         [BZ #10851]
61187         * resolv/res_init.c (__res_vinit): When no server address at all
61188         is given default to loopback.
61190 2010-08-24  Roland McGrath  <roland@redhat.com>
61192         * configure.in: Remove config-name.h generation.
61193         * configure: Regenerated.
61194         * config-name.in: File removed.
61195         * scripts/config-uname.sh: New file.
61196         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61197         ($(objdir)config-name.h): New target.
61199         * sunrpc/rpc_parse.h: Avoid nested comment.
61201 2010-08-24  Richard Henderson  <rth@redhat.com>
61202             Ulrich Drepper  <drepper@redhat.com>
61203             H.J. Lu  <hongjiu.lu@intel.com>
61205         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61207         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61208         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61209         _mm_alignr_epi8 with _mm_loadu_si128.
61210         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61211         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61212         (__m128i_shift_right): Removed.
61213         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61214         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61215         * sysdeps/x86_64/multiarch/varshift.h: New file.
61216         * sysdeps/x86_64/multiarch/varshift.S: New file.
61218 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61220         * configure.in: Move assembler checks to before sysdep dir checking.
61222 2010-08-20  Petr Baudis  <pasky@suse.cz>
61224         * LICENSES: Sync the sunrpc license.
61226 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61228         * sunrpc/auth_des.c: Update copyright notice once again.
61229         * sunrpc/auth_none.c: Likewise.
61230         * sunrpc/auth_unix.c: Likewise.
61231         * sunrpc/authdes_prot.c: Likewise.
61232         * sunrpc/authuxprot.c: Likewise.
61233         * sunrpc/bindrsvprt.c: Likewise.
61234         * sunrpc/clnt_gen.c: Likewise.
61235         * sunrpc/clnt_perr.c: Likewise.
61236         * sunrpc/clnt_raw.c: Likewise.
61237         * sunrpc/clnt_simp.c: Likewise.
61238         * sunrpc/clnt_tcp.c: Likewise.
61239         * sunrpc/clnt_udp.c: Likewise.
61240         * sunrpc/clnt_unix.c: Likewise.
61241         * sunrpc/des_crypt.c: Likewise.
61242         * sunrpc/des_soft.c: Likewise.
61243         * sunrpc/get_myaddr.c: Likewise.
61244         * sunrpc/getrpcport.c: Likewise.
61245         * sunrpc/key_call.c: Likewise.
61246         * sunrpc/key_prot.c: Likewise.
61247         * sunrpc/openchild.c: Likewise.
61248         * sunrpc/pm_getmaps.c: Likewise.
61249         * sunrpc/pm_getport.c: Likewise.
61250         * sunrpc/pmap_clnt.c: Likewise.
61251         * sunrpc/pmap_prot.c: Likewise.
61252         * sunrpc/pmap_prot2.c: Likewise.
61253         * sunrpc/pmap_rmt.c: Likewise.
61254         * sunrpc/rpc/auth.h: Likewise.
61255         * sunrpc/rpc/auth_unix.h: Likewise.
61256         * sunrpc/rpc/clnt.h: Likewise.
61257         * sunrpc/rpc/des_crypt.h: Likewise.
61258         * sunrpc/rpc/key_prot.h: Likewise.
61259         * sunrpc/rpc/netdb.h: Likewise.
61260         * sunrpc/rpc/pmap_clnt.h: Likewise.
61261         * sunrpc/rpc/pmap_prot.h: Likewise.
61262         * sunrpc/rpc/pmap_rmt.h: Likewise.
61263         * sunrpc/rpc/rpc.h: Likewise.
61264         * sunrpc/rpc/rpc_des.h: Likewise.
61265         * sunrpc/rpc/rpc_msg.h: Likewise.
61266         * sunrpc/rpc/svc.h: Likewise.
61267         * sunrpc/rpc/svc_auth.h: Likewise.
61268         * sunrpc/rpc/types.h: Likewise.
61269         * sunrpc/rpc/xdr.h: Likewise.
61270         * sunrpc/rpc_clntout.c: Likewise.
61271         * sunrpc/rpc_cmsg.c: Likewise.
61272         * sunrpc/rpc_common.c: Likewise.
61273         * sunrpc/rpc_cout.c: Likewise.
61274         * sunrpc/rpc_dtable.c: Likewise.
61275         * sunrpc/rpc_hout.c: Likewise.
61276         * sunrpc/rpc_main.c: Likewise.
61277         * sunrpc/rpc_parse.c: Likewise.
61278         * sunrpc/rpc_parse.h: Likewise.
61279         * sunrpc/rpc_prot.c: Likewise.
61280         * sunrpc/rpc_sample.c: Likewise.
61281         * sunrpc/rpc_scan.c: Likewise.
61282         * sunrpc/rpc_scan.h: Likewise.
61283         * sunrpc/rpc_svcout.c: Likewise.
61284         * sunrpc/rpc_tblout.c: Likewise.
61285         * sunrpc/rpc_util.c: Likewise.
61286         * sunrpc/rpc_util.h: Likewise.
61287         * sunrpc/rpcinfo.c: Likewise.
61288         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61289         * sunrpc/rpcsvc/key_prot.x: Likewise.
61290         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61291         * sunrpc/rpcsvc/mount.x: Likewise.
61292         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61293         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61294         * sunrpc/rpcsvc/rex.x: Likewise.
61295         * sunrpc/rpcsvc/rstat.x: Likewise.
61296         * sunrpc/rpcsvc/rusers.x: Likewise.
61297         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61298         * sunrpc/rpcsvc/spray.x: Likewise.
61299         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61300         * sunrpc/rtime.c: Likewise.
61301         * sunrpc/svc.c: Likewise.
61302         * sunrpc/svc_auth.c: Likewise.
61303         * sunrpc/svc_authux.c: Likewise.
61304         * sunrpc/svc_raw.c: Likewise.
61305         * sunrpc/svc_run.c: Likewise.
61306         * sunrpc/svc_simple.c: Likewise.
61307         * sunrpc/svc_tcp.c: Likewise.
61308         * sunrpc/svc_udp.c: Likewise.
61309         * sunrpc/svc_unix.c: Likewise.
61310         * sunrpc/svcauth_des.c: Likewise.
61311         * sunrpc/xcrypt.c: Likewise.
61312         * sunrpc/xdr.c: Likewise.
61313         * sunrpc/xdr_array.c: Likewise.
61314         * sunrpc/xdr_float.c: Likewise.
61315         * sunrpc/xdr_mem.c: Likewise.
61316         * sunrpc/xdr_rec.c: Likewise.
61317         * sunrpc/xdr_ref.c: Likewise.
61318         * sunrpc/xdr_sizeof.c: Likewise.
61319         * sunrpc/xdr_stdio.c: Likewise.
61321         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61322         handling.
61324 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61326         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61328 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61330         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61331         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61332         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61333         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61334         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61335         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61336         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61337         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61338         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61339         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61340         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61341         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61342         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61343         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61345 2010-07-26  Anton Blanchard  <anton@samba.org>
61347         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61348         * malloc/arena.c (heap_trim): Likewise.
61350 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61352         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61353         here.  Not...
61354         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61355         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61357 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61359         * sysdeps/i386/elf/Makefile: New file.
61361 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61363         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61364         from fanotify_init.
61365         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61368 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61370         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61371         of strncasecmp_l.
61372         * sysdeps/multiarch/strcmp.S: Likewise.
61374 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61376         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61377         strncase_l-nonascii.
61378         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61379         Add strncase_l-ssse3.
61380         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61381         * sysdeps/x86_64/strcmp.S: Likewise.
61382         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61383         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61384         * sysdeps/x86_64/strncase.S: New file.
61385         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61386         * sysdeps/x86_64/strncase_l.S: New file.
61387         * string/Makefile (strop-tests): Add strncasecmp.
61388         * string/test-strncasecmp.c: New file.
61390         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61391         warning.
61393         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61394         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61396 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61398         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61400 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61402         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61403         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61404         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61406 2010-05-01  Alan Modra  <amodra@gmail.com>
61408         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61409         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61410         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61411         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61412         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61413         tidying.  Don't tail-call __sigjmp_save for static lib.
61414         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61415         save location.
61416         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61417         (CALL_MCOUNT): Add eh info, and nop after bl.
61418         (TAIL_CALL_SYSCALL_ERROR): New macro.
61419         (PSEUDO_RET): Use it.
61420         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61421         Correct save location of integer regs and cr.
61422         (_dl_profile_resolve): Correct cr save location.  Delete nops
61423         after bl when SHARED.  Reduce cfi size a little by better
61424         placement of cfi directives.
61425         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61426         make a stack frame.  Instead use parm save area as a temp.
61427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61428         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61430         Don't make a stack frame for parent, use parm save area.
61431         Increase child stack frame to 112 bytes.  Don't save unused reg,
61432         and adjust reg usage.  Set up cfi on error recovery and
61433         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61435         (__makecontext): Add dummy nop after jump to exit.
61436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61437         Use correct parm save area and cr save, reduce stack frame.
61438         Correct cfi for possible PSEUDO_RET frame setup.
61439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61440         Branch to local label emitted by PSEUDO_RET rather than
61441         __syscall_error.
61443 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61445         [BZ #11904]
61446         * locale/programs/locale.c (print_assignment): New function.
61447         (show_locale_vars): Use it.
61449 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61451         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61452         field.
61453         (struct statfs64): Likewise.
61454         (_STATFS_F_FLAGS): Define.
61455         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61456         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61457         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61458         (ST_VALID): Define locally.
61459         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61460         __statvfs_getflags, use the provided value.
61461         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61462         __ASSUME_STATFS_F_FLAGS.
61464         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61466         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61467         Add sys/fanotify.h.
61468         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61469         fanotify_mask for GLIBC_2.13.
61470         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61471         fanotify_init and fanotify_mark.
61472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61473         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61475         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61476         Add prlimit.
61477         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61478         prlimit64 for GLIBC_2.13.
61479         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61480         prlimit64.
61481         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61482         syscall.
61483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61484         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61485         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61486         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61487         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61488         add prlimit alias.
61489         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61491         [BZ #11903]
61492         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61493         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61495         * nss/Makefile: Add rules to build and run tst-nss-test1.
61496         * shlib-versions: Add entry for libnss_test1.
61497         * nss/nss_test1.c: New file.
61498         * nss/tst-nss-test1.c: New file.
61500         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61501         (__nss_configure_lookup): Set appropriate entry in
61502         __nss_configure_lookup to true.
61503         * nss/nsswitch.h: Define enum with indeces of databases in
61504         databases and __nss_database_custom arrays.  Declare
61505         __nss_database_custom.
61506         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61507         to avoid using nscd when custom rules are installed.
61508         * nss/getXXbyYY_r.c: Likewise.
61509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61511         * nss/nss_files/files-parse.c: Whitespace fixes.
61513 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61515         [BZ #11883]
61516         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61517         * posix/fnmatch_loop.c: Likewise.
61519 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61521         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61522         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61523         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61524         * Versions.def [GLIBC_2.13]: Add.
61526 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61528         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61529         Also fail if tpwd after pwuid call is NULL.
61531 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61533         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61534         when converting to ms.
61536 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61538         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61539         EOPNOTSUPP errors with ENOTTY.
61540         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61541         EOPNOTSUPP errors with ENOTTY.
61543 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61545         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61546         Add strcasecmp_l-ssse3.
61547         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61548         strcasecmp.
61549         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61550         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61551         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61553 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61555         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61557         * string/Makefile (strop-tests): Add strcasecmp.
61558         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61559         strcasecmp_l-nonascii.
61560         (gen-as-const-headers): Add locale-defines.sym.
61561         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61562         * sysdeps/x86_64/strcasecmp.S: New file.
61563         * sysdeps/x86_64/strcasecmp_l.S: New file.
61564         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61565         * sysdeps/x86_64/locale-defines.sym: New file.
61566         * string/test-strcasecmp.c: New file.
61568         * string/test-strcasestr.c: Test both ends of the range of characters.
61569         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61571 2010-07-29  Roland McGrath  <roland@redhat.com>
61573         [BZ #11856]
61574         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61576 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61578         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61579         for ld.so.
61581 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61583         * manual/memory.texi (Malloc Tunable Parameters): Document
61584         M_PERTURB.
61586 2010-07-26  Roland McGrath  <roland@redhat.com>
61588         [BZ #11840]
61589         * configure.in (-fgnu89-inline check): Set and substitute
61590         gnu89_inline, not libc_cv_gnu89_inline.
61591         * configure: Regenerated.
61592         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61594 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61596         * string/test-strnlen.c: New file.
61597         * string/Makefile (strop-tests): Add strnlen.
61598         * string/tester.c (test_strnlen): Add a few more test cases.
61599         * string/tst-strlen.c: Better error reporting.
61601         * sysdeps/x86_64/strnlen.S: New file.
61603 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61605         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61606         lower-latency instructions.
61608 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61610         * string/test-strcasestr.c: New file.
61611         * string/test-strstr.c: New file.
61612         * string/Makefile (strop-tests): Add strstr and strcasestr.
61613         * string/str-two-way.h: Don't undefine MAX.
61614         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61616 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61619         strcasestr-nonascii.
61620         (CFLAGS-strcasestr-nonascii.c): Define.
61621         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61622         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61623         Remove unused attribute.
61625 2010-07-20  Roland McGrath  <roland@redhat.com>
61627         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61628         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61629         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61630         like LD_HWCAP_MASK can disable hwcaps.
61632 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61634         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61636 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61638         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61639         call in strcasestr.
61640         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61641         __strcasestr_sse42_nonascii.
61642         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61643         strcasestr-nonascii.c.
61644         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61646 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61648         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61649         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61650         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61651         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61653 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61655         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61656         fcntl.
61658 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61660         [BZ #11577]
61661         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61662         dl_signal_cerror.
61664 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61666         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61667         _PC_PIPE_BUF using F_GETPIPE_SZ.
61669 2010-07-05  Roland McGrath  <roland@redhat.com>
61671         * manual/arith.texi (Rounding Functions): Fix rint description
61672         implicit in round description.
61674 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61676         * elf/Makefile: Fix linking for a few tests to make recent linker
61677         happy.
61679 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61681         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61682         $(common-objpfx)libc_nonshared.a.
61684 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61686         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61687         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61688         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61689         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61690         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61691         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61692         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61693         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61708         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61709         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61710         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61711         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61712         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61713         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61714         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61715         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61716         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61717         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61718         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61719         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61735 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61737         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61738         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61739         * string/memmove.c (memmove): Renamed to ...
61740         (MEMMOVE): ...this.  Default to memmove.
61741         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61742         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61743         (END_CHK): Define.
61744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61745         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61746         mempcpy-ssse3-back memmove-ssse3-back.
61747         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61748         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61749         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61750         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61751         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61752         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61753         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61754         * sysdeps/x86_64/multiarch/memmove.c: New file.
61755         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61756         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61757         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61758         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61759         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61760         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61761         Define.
61762         (index_Fast_Copy_Backward): Define.
61763         (HAS_ARCH_FEATURE): Define.
61764         (HAS_FAST_REP_STRING): Define.
61765         (HAS_FAST_COPY_BACKWARD): Define.
61767 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61769         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61770         Restore proper fallback handling.
61772 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61774         [BZ #11701]
61775         * posix/group_member.c (__group_member): Correct checking loop.
61777         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61778         OOM in getpwuid_r correctly.  Return error number when the caller
61779         should return, otherwise -1.
61780         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61781         call returning > 0 value.
61782         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61784 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61786         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61787         libc_nonshared.a from targets in modules-names.
61789 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61791         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61792         requires it.
61794 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61796         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61797         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61798         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61799         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61801 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61803         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61805 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61807         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61808         and F_GETPIPE_SZ.
61809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61810         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61812         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61813         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61814         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61816 2010-06-14  Roland McGrath  <roland@redhat.com>
61818         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61820 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61822         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61823         __REDIRECT followed by __THROW.
61824         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61825         * posix/getopt.h (getopt): Likewise.
61827 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61829         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61830         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61831         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61832         in AT_FLAGS.
61833         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61834         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61836 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61838         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61840 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61842         [BZ #11640]
61843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61844         Properly check family and model.
61846 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61848         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61850 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61852         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61854 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61856         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61857         symbol reference.
61859 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61861         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61862         symbol reference.
61864 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61866         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61867         and internal_recvmmsg.
61868         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61869         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61870         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61871         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61873         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61874         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61875         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61877 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61879         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61881 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61883         POWER7 optimizations.
61884         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61885         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61887 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61889         * version.h: Update for 2.13 development version.
61891 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61893         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61894         exceptions.  Return 0.
61896 2010-05-07  Roland McGrath  <roland@redhat.com>
61898         * elf/ldconfig.c (main): Add a const.
61900 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61902         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61903         (args_options): Add no-idn option.
61904         (ahosts_keys_int): Add idn_flags to ai_flags.
61905         (parse_option): Handle 'i' option to clear idn_flags.
61907         * malloc/malloc.c (_int_free): Possible race in the most recently
61908         added check.  Only act on the data if no current modification
61909         happened.
61911 See ChangeLog.17 for earlier changes.