Fix ChangeLog and NEWS goof-up
[glibc.git] / ChangeLog
blob192217d40450c74def4d536c07b480fb4d34e018
1 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         [BZ #6803]
4         * math/libm-test.inc (scalbln_test_date):
5         Add errno expectations.
6         * math/w_scalblnf.c: New File.
7         Add wrapper which checks for setting errno to ERANGE.
8         Add weak_alias for corresponding scalbln function.
9         * math/w_scalbln.c: Likewise.
10         * math/w_scalblnl.c: Likewise.
11         * math/Makefile (libm-calls): Add w_scalbln.
12         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13         Remove weak_alias for corresponding scalbln function.
14         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
21         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24         Remove long_double_symbol for scalblnl function in libm, libc.
25         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26         Add wrapper which checks for setting errno to ERANGE.
27         Add long_double_symbol for scalblnl function in libm, libc.
28         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29         Remove long_double_symbol for scalblnl in libm.
30         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31         Add wrapper which checks for setting errno to ERANGE.
32         Add long_double_symbol for scalblnl function in libm.
33         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34         Do not use wrapper because of own implementation.
36 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39         3 bytes for __pad1 for x32.
40         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43             H.J. Lu  <hongjiu.lu@intel.com>
45         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
51 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
53         [BZ #17069]
54         * posix/regcomp.c (parse_expression): Deallocate partially
55         constructed tree before returning error.
56         * posix/Makefile.c (tests): Add bug-regex36.
57         (generated): Add bug-regex36.mtrace.
58         (tests-special): Add $(objpfx)bug-regex36-mem.out
59         (bug-regex36-ENV): New variable.
60         ($(objpfx)bug-regex36-mem.out): New rule.
61         * posix/bug-regex36.c: New file.
63 2014-06-19  Will Newton  <will.newton@linaro.org>
65         * malloc/malloc.c (systrim): If extra is zero then return
66         early.
68 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
72 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
74         * sysdeps/aarch64/strchr.S: New file.
76 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
78         [BZ #17022]
79         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
80         from arguments -2 or below.
81         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
82         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
84 2014-06-18  Andreas Schwab  <schwab@suse.de>
86         [BZ #17062]
87         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
88         of a bracket expr not to run off the end of the string.
89         * posix/Makefile (tests): Add tst-fnmatch3.
90         * posix/tst-fnmatch3.c: New file.
92 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
94         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
95         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
96         [$(cross-compiling) = no]: Likewise.
97         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
98         [$(cross-compiling) = no]: Likewise.
100 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
102         [BZ #17031]
103         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
104         double, adjusted for any remainder from the high double.
105         * math/libm-test.inc (nearbyint): Add tests.
106         (rint): Likewise.
108 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
110         * nptl/sysdeps/powerpc/Makefile: Moved ...
111         * sysdeps/powerpc/nptl/Makefile: ... here.
112         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
113         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
114         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
115         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
116         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
117         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
118         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
119         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
120         * nptl/sysdeps/powerpc/tls.h: Moved ...
121         * sysdeps/powerpc/nptl/tls.h: ... here.
123 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
125         [BZ #16681]
126         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
127         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
128         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
129         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
130         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
131         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
132         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
133         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
134         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
136 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
138         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
140 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
142         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
143         defined operator.
145         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
146         $TIMEOUTFACTOR.
148 2014-06-16  Florian Weimer  <fweimer@redhat.com>
150         [BZ #17058]
151         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
152         non-executed part of the test.
154 2014-06-16  Andreas Schwab  <schwab@suse.de>
156         * string/bits/string2.h (strdup, strndup): Update feature guard.
158 2014-06-14  David S. Miller  <davem@davemloft.net>
160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
162 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
164         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
165         that was previously under [RESET_PID].
166         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
168         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
169         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
170         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
171         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
172         (__libc_vfork): New strong alias.
173         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
175 2014-06-14 Andi Kleen  <ak@linux.intel.com>
177         * sysdeps/generic/elide.h: New file.
179 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
181         * Makefile (installed-headers): Adjust path of pthread.h header.
183 2014-06-13  Roland McGrath  <roland@hack.frob.com>
185         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
186         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
187         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
188         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
190         * nptl/sysdeps/s390/Makefile: Moved ...
191         * sysdeps/s390/nptl/Makefile: ... here.
192         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
193         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
194         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
195         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
196         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
197         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
198         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
199         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
200         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
201         * sysdeps/s390/nptl/pthreaddef.h: ... here.
202         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
203         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
204         * nptl/sysdeps/s390/tls.h: Moved ...
205         * sysdeps/s390/nptl/tls.h: ... here.
207         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
208         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
210 2014-06-13  David S. Miller  <davem@davemloft.net>
212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
215         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
219         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
220         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
221         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
222         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
223         Remove RESET_PID cpp guards.
224         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
225         Remove RESET_PID cpp guards.
226         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
228 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
230         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
231         __sp to uintptr_t.
233 2014-06-13  Andi Kleen  <ak@linux.intel.com>
235         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
236         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
239         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
243         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
246         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
249         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
251         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
254         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
256         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
257         (pthread_rwlock_rdlock): Add elision.
258         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
259         (pthread_rwlock_wrlock): Add elision.
260         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
261         (pthread_rwlock_trywrlock): Add elision.
262         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
263         (pthread_rwlock_tryrdlock): Add elision.
264         * nptl/pthread_rwlock_unlock.c: Include elide.h.
265         (pthread_rwlock_tryrdlock): Add elision unlock.
266         * nptl/sysdeps/pthread/pthread.h:
267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
268         (PTHREAD_RWLOCK_INITIALIZER,
269         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
270         Handle new elision field.
271         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
272         * sysdeps/arm/nptl/bits/pthreadtypes.h
273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
274         * sysdeps/sh/nptl/bits/pthreadtypes.h
275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
276         * sysdeps/tile/nptl/bits/pthreadtypes.h
277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
278         * sysdeps/a/nptl/bits/pthreadtypes.h
279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
280         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
282         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
284         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
286         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
288         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
290         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
292         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
294         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
296         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
297         (elision_init): Set try_xbegin to zero when no RTM.
298         * sysdeps/x86/nptl/bits/pthreadtypes.h
299         (pthread_rwlock_t): Change __pad1 to __rwelision.
300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
302 2014-06-13  Andi Kleen  <ak@linux.intel.com>
304         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
305         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
306         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
307         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
309 2014-06-13  Meador Inge  <meadori@codesourcery.com>
311         [BZ #16996]
312         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
313         that the cached result has been set before returning it.
315 2014-06-12  Roland McGrath  <roland@hack.frob.com>
317         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
318         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
319         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
320         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
321         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
322         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
324         * nptl/sysdeps/sparc/Makefile: Moved ...
325         * sysdeps/sparc/nptl/Makefile: ... here.
326         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
327         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
328         * nptl/sysdeps/sparc/tls.h: Moved ...
329         * sysdeps/sparc/nptl/tls.h: ... here.
330         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
331         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
332         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
333         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
334         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
335         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
336         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
337         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
338         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
339         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
340         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
341         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
342         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
343         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
344         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
345         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
346         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
348         Update #include.
349         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
350         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
351         Update #include.
352         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
354         Update #include.
355         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
356         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
357         Update #include.
359         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
361         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
362         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
364         * sysdeps/pthread/posix-timer.h: Include <list.h>.
365         (struct list_links): Type removed.
366         (struct thread_node, struct timer_node): Replace struct list_links
367         with struct list_head.
368         (list_unlink_ip): Likewise.
369         * sysdeps/pthread/timer_routines.c
370         (timer_free_list, thread_free_list, thread_active_list): Likewise.
371         (list_append, list_insbefore): Likewise.
372         (list_init): Function removed.
373         (thread_init, init_module): Use INIT_LIST_HEAD instead.
374         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
375         * sysdeps/pthread/Makefile: ... here, new file.
377         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
378         * sysdeps/nptl/Implies: ... here.
379         * sysdeps/unix/sysv/linux/Implies: Add nptl.
380         * nptl/sysdeps/pthread/list.h: Moved ...
381         * include/list.h: ... here.
382         * nptl/sysdeps/pthread/createthread.c: Moved ...
383         * nptl/createthread.c: ... here.
384         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
385         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
386         * nptl/pt-longjmp.c: ... here.
387         * nptl/sysdeps/pthread/Makefile: Moved ...
388         * sysdeps/nptl/Makefile: ... here.
389         * nptl/sysdeps/pthread/Subdirs: Moved ...
390         * sysdeps/nptl/Subdirs: ... here.
391         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
392         * sysdeps/nptl/aio_misc.h: ... here.
393         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
394         * sysdeps/nptl/bits/libc-lock.h: ... here.
395         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
396         * sysdeps/nptl/bits/libc-lockP.h: ... here.
397         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
398         * sysdeps/nptl/bits/stdio-lock.h: ... here.
399         * nptl/sysdeps/pthread/configure: Moved ...
400         * sysdeps/nptl/configure: ... here.
401         * nptl/sysdeps/pthread/configure.ac: Moved ...
402         * sysdeps/nptl/configure.ac: ... here.
403         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
404         * sysdeps/nptl/gai_misc.h: ... here.
405         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
406         * sysdeps/nptl/librt-cancellation.c: ... here.
407         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
408         * sysdeps/nptl/malloc-machine.h: ... here.
409         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
410         * sysdeps/nptl/pthread-functions.h: ... here.
411         * nptl/sysdeps/pthread/pthread.h: Moved ...
412         * sysdeps/nptl/pthread.h: ... here.
413         * nptl/sysdeps/pthread/setxid.h: Moved ...
414         * sysdeps/nptl/setxid.h: ... here.
415         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
416         * sysdeps/nptl/sigfillset.c: ... here.
417         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
418         * sysdeps/nptl/tcb-offsets.h: ... here.
419         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
420         * sysdeps/nptl/tst-mqueue8x.c: ... here.
421         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
422         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
423         * nptl/sysdeps/pthread/allocalim.h: Moved ...
424         * sysdeps/pthread/allocalim.h: ... here.
425         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
426         * sysdeps/pthread/bits/sigthread.h: ... here.
427         * nptl/sysdeps/pthread/flockfile.c: Moved ...
428         * sysdeps/pthread/flockfile.c: ... here.
429         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
430         * sysdeps/pthread/ftrylockfile.c: ... here.
431         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
432         * sysdeps/pthread/funlockfile.c: ... here.
433         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
434         * sysdeps/pthread/posix-timer.h: ... here.
435         * nptl/sysdeps/pthread/timer_create.c: Moved ...
436         * sysdeps/pthread/timer_create.c: ... here.
437         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
438         * sysdeps/pthread/timer_delete.c: ... here.
439         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
440         * sysdeps/pthread/timer_getoverr.c: ... here.
441         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
442         * sysdeps/pthread/timer_gettime.c: ... here.
443         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
444         * sysdeps/pthread/timer_routines.c: ... here.
445         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
446         * sysdeps/pthread/timer_settime.c: ... here.
447         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
448         * sysdeps/pthread/tst-timer.c: ... here.
449         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
450         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
452         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
453         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
455         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
456         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
457         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
458         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
459         Update #include target.
460         * nptl/sysdeps/i386/i686/Makefile: Moved ...
461         * sysdeps/i386/i686/nptl/Makefile: ... here.
462         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
463         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
464         Update #include target.
465         * nptl/sysdeps/i386/i686/tls.h: Moved ...
466         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
467         * nptl/sysdeps/i386/Makefile: Moved ...
468         * sysdeps/i386/nptl/Makefile: ... here.
469         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
470         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
471         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
472         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
473         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
474         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
475         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
476         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
477         * sysdeps/i386/nptl/pthreaddef.h: ... here.
478         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
479         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
480         * nptl/sysdeps/i386/tls.h: Moved ...
481         * sysdeps/i386/nptl/tls.h: ... here.
483         * sysdeps/sh/Makefile [$(subdir) = csu]
484         (gen-as-const-headers): Add tcb-offsets.sym.
485         * nptl/sysdeps/sh/Makefile: File removed.
486         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
487         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
488         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
489         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
490         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
491         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
492         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
493         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
494         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
495         * sysdeps/sh/nptl/pthreaddef.h: ... here.
496         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
497         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
498         * nptl/sysdeps/sh/tls.h: Moved ...
499         * sysdeps/sh/nptl/tls.h: ... here.
500         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
501         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
502         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
503         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
504         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
505         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
506         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
507         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
508         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
509         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
511         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
513         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
515         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
517         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
519         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
521         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
523         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
525         Moved ...
526         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
528         Moved ...
529         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
533         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
534         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
535         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
536         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
537         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
538         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
539         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
540         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
541         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
542         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
543         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
544         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
545         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
546         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
547         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
549 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
551         * posix/spawn_faction_addopen.c: Include string.h.
553 2014-06-11  Roland McGrath  <roland@hack.frob.com>
555         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
556         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
557         * nptl/sysdeps/x86_64/Makefile: Moved ...
558         * sysdeps/x86_64/nptl/Makefile: ... here.
559         * nptl/sysdeps/x86_64/configure: Moved ...
560         * sysdeps/x86_64/nptl/configure: ... here.
561         * nptl/sysdeps/x86_64/configure.ac: Moved ...
562         * sysdeps/x86_64/nptl/configure.ac: ... here.
563         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
564         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
565         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
566         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
567         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
568         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
569         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
570         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
571         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
572         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
573         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
574         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
575         * nptl/sysdeps/x86_64/tls.h: Moved ...
576         * sysdeps/x86_64/nptl/tls.h: ... here.
577         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
578         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
579         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
580         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
582         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
584 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
588 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
590         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
591         type.
592         [POSIX] (off_t): Likewise.
593         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
594         [POSIX] (S_ISBLK): Require macro.
595         [POSIX] (S_ISCHR): Likewise.
596         [POSIX] (S_ISDIR): Likewise.
597         [POSIX] (S_ISFIFO): Likewise.
598         [POSIX] (S_ISREG): Likewise.
599         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
600         optional-macro.
601         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
602         type.
603         [POSIX] (time_t): Likewise.
604         [POSIX] (timer_t): Likewise.
606 2014-06-11  Florian Weimer  <fweimer@redhat.com>
608         [BZ #17048]
609         * posix/spawn_int.h (struct __spawn_action): Make the path string
610         non-const to support deallocation.
611         * posix/spawn_faction_addopen.c
612         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
613         * posix/spawn_faction_destroy.c
614         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
615         path in all spawn_do_open actions.
616         * posix/tst-spawn.c (do_test): Exercise the copy operation in
617         posix_spawn_file_actions_addopen.
619 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
621         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
622         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
623         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
624         conditional code always true.
625         (__libc_vfork): New alias.
627 2014-06-11  Roland McGrath  <roland@hack.frob.com>
629         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
630         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
632         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
634         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
635         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
637         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
638         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
640         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
641         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
643 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
645         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
646         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
647         multiarch strcmp for PPC64.
648         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
649         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
651         multiarch optimizations.
652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
653         (__libc_ifunc_impl_list): Likewise.
655 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
657         * benchtests/scripts/validate_benchout.py: New script.
658         * benchtests/Makefile (bench-func): Call it.
659         * benchtests/scripts/benchout.schema.json: New file.
661 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
663         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
664         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
665         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
666         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
667         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
668         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
669         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
670         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
671         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
672         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
673         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
674         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
675         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
676         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
677         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
678         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
680         Moved ...
681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
682         ... here.
683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
684         Moved ...
685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
687         Moved ...
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
689         ... here.
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
691         Moved ...
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
693         ... here.
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
695         Moved ...
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
698         Moved ...
699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
700         ... here.
701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
702         Moved ...
703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
704         ... here.
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
706         Moved ...
707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
709         Moved ...
710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
711         ... here.
712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
713         Moved ...
714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
715         ... here.
716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
717         Moved ...
718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
719         ... here.
720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
721         Moved ...
722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
724         Moved ...
725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
726         ... here.
727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
728         Moved ...
729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
730         ... here.
731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
732         Moved ...
733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
734         ... here.
735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
736         Moved ...
737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
739         Moved ...
740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
741         ... here.
742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
743         Moved ...
744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
745         ... here.
746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
747         Moved ...
748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
750         Moved ...
751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
752         ... here.
753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
754         Moved ...
755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
757         Moved ...
758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
760         Moved ...
761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
762         ... here.
763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
764         Moved ...
765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
766         ... here.
767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
768         Moved ...
769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
770         ... here.
771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
772         Moved ...
773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
775         Moved ...
776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
777         ... here.
778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
779         Moved ...
780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
781         ... here.
782         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
783         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
785         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
787         Moved ...
788         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
789         ... here.
790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
791         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
793         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
803         Moved ...
804         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
806         Moved ...
807         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
811         Moved ...
812         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
814         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
815         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
816         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
817         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
818         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
820 2014-06-10  Wilco  <wdijkstr@arm.com>
822         * math/test-fenv-return.c: New file.
823         * math/Makefile: Add new test test-fenv-return.
825 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
827         [BZ #17042]
828         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
829         when x - 1 is zero.
830         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
831         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
832         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
833         0.0L for an argument of 1.0L.
834         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
835         Likewise.
836         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
837         value when x - 1 is zero.
838         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
839         * sysdeps/i386/fpu/libm-test-ulps: Update.
840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
842 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
844         [BZ #15119]
845         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
847 2014-06-09  Roland McGrath  <roland@hack.frob.com>
849         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
850         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
852 2014-06-09  Roland McGrath  <roland@hack.frob.com>
854         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
855         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
857         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
858         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
860         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
861         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
863         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
864         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
866         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
867         if not already defined.
868         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
869         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
870         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
871         (TLS_INIT_TP): Use it.
872         (TLS_DEFINE_INIT_TP): New macro.
873         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
875 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
877         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
878         constant.
879         [POSIX] (IXANY): Likewise.
880         [POSIX] (OLCUC): Likewise.
881         [POSIX || POSIX2008] (CBAUD): Do not allow.
882         [POSIX || POSIX2008] (DEFECHO): Likewise.
883         [POSIX || POSIX2008] (ECHOCTL): Likewise.
884         [POSIX || POSIX2008] (ECHOKE): Likewise.
885         [POSIX || POSIX2008] (ECHOPRT): Likewise.
886         [POSIX || POSIX2008] (EXTA): Likewise.
887         [POSIX || POSIX2008] (EXTB): Likewise.
888         [POSIX || POSIX2008] (FLUSHO): Likewise.
889         [POSIX || POSIX2008] (LOBLK): Likewise.
890         [POSIX || POSIX2008] (PENDIN): Likewise.
891         [POSIX || POSIX2008] (SWTCH): Likewise.
892         [POSIX || POSIX2008] (VDISCARD): Likewise.
893         [POSIX || POSIX2008] (VDSUSP): Likewise.
894         [POSIX || POSIX2008] (VLNEXT): Likewise.
895         [POSIX || POSIX2008] (VREPRINT): Likewise.
896         [POSIX || POSIX2008] (VSTATUS): Likewise.
897         [POSIX || POSIX2008] (VWERASE): Likewise.
898         (B*): Change to B[0123456789]*.
899         * conform/data/time.h-data [POSIX || UNIX98]
900         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
901         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
902         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
903         [POSIX] (tm_*): Do not allow.
905 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
907         * Makefile (install): Don't set LANGUAGE.
908         * Makefile.in (install): Likewise.
909         * assert/Makefile (test-assert-ENV): Remove variable.
910         (test-assert-perr-ENV): Likewise.
911         * elf/Makefile (neededtest4-ENV): Likewise.
912         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
913         [$(cross-compiling) = no]: Don't set LANGUAGE.
914         * io/ftwtest-sh (LANG): Remove variable.
915         * libio/Makefile (tst-widetext-ENV): Likewise.
916         * manual/install.texi (Running make install): Don't refer to
917         environment settings for make install.
918         * INSTALL: Regenerated.
919         * nptl/tst-tls6.sh: Don't set LANG.
920         * posix/globtest.sh (LANG): Remove variable.
921         * string/Makefile (tester-ENV): Likewise.
922         (inl-tester-ENV): Likewise.
923         (noinl-tester-ENV): Likewise.
924         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
925         [$(cross-compiling) = no]: Don't set LANGUAGE.
926         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
927         without explicit environment settings.
929 2014-06-06  Roland McGrath  <roland@hack.frob.com>
931         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
932         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
933         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
934         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
936 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
938         * crypt/crypt-private.h [DOS]: Add some includes taken from the
939         other files in the crypt directory.
940         * crypt/crypt.c: Remove duplicate includes.
941         * crypt/crypt-entry.c: Likewise.
942         * crypt/crypt_util.c: Likewise.
944 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
946         * Makeconfig (run-program-env): New variable.
947         (run-program-prefix-before-env): Likewise.
948         (run-program-prefix-after-env): Likewise.
949         (run-program-prefix): Define in terms of new variables.
950         (built-program-cmd-before-env): New variable.
951         (built-program-cmd-after-env): Likewise.
952         (built-program-cmd): Define in terms of new variables.
953         (test-program-prefix-before-env): New variable.
954         (test-program-prefix-after-env): Likewise.
955         (test-program-prefix): Define in terms of new variables.
956         (test-program-cmd-before-env): New variable.
957         (test-program-cmd-after-env): Likewise.
958         (test-program-cmd): Define in terms of new variables.
959         * Rules (make-test-out): Use $(run-program-env).
960         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
961         (help): Do not mention environment variables.  Mention
962         --timeoutfactor option.
963         (timeoutfactor): New variable.
964         (blacklist_exports): Remove function.
965         (exports): Remove variable.
966         (command): Do not include ${exports}.
967         * manual/install.texi (Configuring and compiling): Do not mention
968         test wrappers preserving environment variables.  Mention that last
969         assignment to a variable must take precedence.
970         * INSTALL: Regenerated.
971         * benchtests/Makefile (run-bench): Use $(run-program-env).
972         * catgets/Makefile ($(objpfx)test1.cat): Use
973         $(built-program-cmd-before-env), $(run-program-env) and
974         $(built-program-cmd-after-env).
975         ($(objpfx)test2.cat): Do not specify environment variables
976         explicitly.
977         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
978         $(run-program-env) and $(built-program-cmd-after-env).
979         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
980         $(run-program-env) and $(test-program-cmd-after-env).
981         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
982         explicitly.
983         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
984         run_program_env and test_program_cmd_after_env arguments.
985         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
986         * elf/tst-pathopt.sh: Use run_program_env argument.
987         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
988         $(test-wrapper-env) and $(run-program-env).
989         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
990         run_program_env arguments.
991         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
992         * intl/Makefile ($(objpfx)tst-gettext.out): Use
993         $(test-program-prefix-before-env), $(run-program-env) and
994         $(test-program-prefix-after-env).
995         ($(objpfx)tst-gettext2.out): Likewise.
996         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
997         run_program_env and test_program_prefix_after_env arguments.
998         * intl/tst-gettext2.sh: Likewise.
999         * intl/tst-gettext4.sh: Do not set environment variables
1000         explicitly.
1001         * intl/tst-gettext6.sh: Likewise.
1002         * intl/tst-translit.sh: Likewise.
1003         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1004         $(test-program-prefix-before-env), $(run-program-env) and
1005         $(test-program-prefix-after-env).
1006         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1007         run_program_env and test_program_prefix_after_env arguments.
1008         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1009         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1010         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1011         explicitly with each use of ${test_wrapper_env}.
1012         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1013         $(test-program-prefix-before-env), $(run-program-env) and
1014         $(test-program-prefix-after-env).
1015         * posix/tst-getconf.sh: Do not set environment variables
1016         explicitly.
1017         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1018         run_program_env and test_program_prefix_after_env arguments.
1019         * stdio-common/tst-printf.sh: Do not set environment variables
1020         explicitly.
1021         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1022         $(test-program-prefix-before-env), $(run-program-env) and
1023         $(test-program-prefix-after-env).
1024         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1025         run_program_env and test_program_prefix_after_env arguments.
1026         Split $test calls into $test_pre and $test.
1027         * timezone/Makefile (build-testdata): Use
1028         $(built-program-cmd-before-env), $(run-program-env) and
1029         $(built-program-cmd-after-env).
1031 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1033         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1034         strlen for non SHARED builds.
1036 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1038         * nptl/allocatestack.c (check_list): Inlined function...
1039         (__reclaim_stacks): ... here.
1041 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1043         [BZ #15698]
1044         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1045         memory overrun.
1047 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1049         * Rules (make-test-out): Include
1050         LOCPATH=$(common-objpfx)localedata in default environment.
1051         * debug/Makefile (tst-chk1-ENV): Remove variable.
1052         (tst-chk2-ENV): Likewise.
1053         (tst-chk3-ENV): Likewise.
1054         (tst-chk4-ENV): Likewise.
1055         (tst-chk5-ENV): Likewise.
1056         (tst-chk6-ENV): Likewise.
1057         (tst-lfschk1-ENV): Likewise.
1058         (tst-lfschk2-ENV): Likewise.
1059         (tst-lfschk3-ENV): Likewise.
1060         (tst-lfschk4-ENV): Likewise.
1061         (tst-lfschk5-ENV): Likewise.
1062         (tst-lfschk6-ENV): Likewise.
1063         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1064         (tst-iconv7-ENV): Likewise.
1065         * intl/Makefile (LOCPATH-ENV): Likewise.
1066         (tst-codeset-ENV): Likewise.
1067         (tst-gettext3-ENV): Likewise.
1068         (tst-gettext5-ENV): Likewise.
1069         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1070         (tst-fopenloc-ENV): Likewise.
1071         (tst-fgetws-ENV): Remove variable.
1072         (tst-ungetwc1-ENV): Likewise.
1073         (tst-ungetwc2-ENV): Likewise.
1074         (bug-ungetwc2-ENV): Likewise.
1075         (tst-swscanf-ENV): Likewise.
1076         (bug-ftell-ENV): Likewise.
1077         (tst-fgetwc-ENV): Likewise.
1078         (tst-fseek-ENV): Likewise.
1079         (tst-ftell-partial-wide-ENV): Likewise.
1080         (tst-ftell-active-handler-ENV): Likewise.
1081         (tst-ftell-append-ENV): Likewise.
1082         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1083         (tst-regexloc-ENV): Likewise.
1084         (bug-regex1-ENV): Likewise.
1085         (tst-regex-ENV): Likewise.
1086         (tst-regex2-ENV): Likewise.
1087         (bug-regex5-ENV): Likewise.
1088         (bug-regex6-ENV): Likewise.
1089         (bug-regex17-ENV): Likewise.
1090         (bug-regex18-ENV): Likewise.
1091         (bug-regex19-ENV): Likewise.
1092         (bug-regex20-ENV): Likewise.
1093         (bug-regex22-ENV): Likewise.
1094         (bug-regex23-ENV): Likewise.
1095         (bug-regex25-ENV): Likewise.
1096         (bug-regex26-ENV): Likewise.
1097         (bug-regex30-ENV): Likewise.
1098         (bug-regex32-ENV): Likewise.
1099         (bug-regex33-ENV): Likewise.
1100         (bug-regex34-ENV): Likewise.
1101         (bug-regex35-ENV): Likewise.
1102         (tst-rxspencer-ENV): Likewise.
1103         (tst-rxspencer-no-utf8-ENV): Likewise.
1104         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1105         (tst-sscanf-ENV): Likewise.
1106         (tst-swprintf-ENV): Likewise.
1107         (tst-swscanf-ENV): Likewise.
1108         (test-vfprintf-ENV): Likewise.
1109         (scanf13-ENV): Likewise.
1110         (bug14-ENV): Likewise.
1111         (tst-grouping-ENV): Likewise.
1112         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1113         (tst-strtod3-ENV): Likewise.
1114         (tst-strtod4-ENV): Likewise.
1115         (tst-strtod5-ENV): Likewise.
1116         (testmb2-ENV): Likewise./
1117         * string/Makefile (tst-strxfrm-ENV): Likewise.
1118         (tst-strxfrm2-ENV): Likewise.
1119         (bug-strcoll1-ENV): Likewise.
1120         (test-strcasecmp-ENV): Likewise.
1121         (test-strncasecmp-ENV): Likewise.
1122         * time/Makefile (tst-strptime-ENV): Likewise.
1123         (tst-ftime_l-ENV): Likewise.
1124         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1125         (tst-mbrtowc-ENV): Likewise.
1126         (tst-wcrtomb-ENV): Likewise.
1127         (tst-mbrtowc2-ENV): Likewise.
1128         (tst-c16c32-1-ENV): Likewise.
1129         (tst-mbsnrtowcs-ENV): Likewise.
1131 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1133         * manual/resource.texi (How to get information about the memory
1134         subsystem?): Fix typo.
1135         Reported by Peon de la Parra Ivan <peon@keba.com>
1137 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1139         [BZ #16882]
1140         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1141         (pthread_spin_lock): Branch out of spin loop to proper location.
1142         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1143         (pthread_spin_lock): Likewise.
1145         * nptl/tst-spin4.c: New test.
1146         * nptl/Makefile (tests): Add tst-spin4.
1148 2014-06-03  Andreas Schwab  <schwab@suse.de>
1150         [BZ #15946]
1151         * resolv/res_send.c (send_dg): Reload file descriptor after
1152         calling reopen.
1154 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1156         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1158 2014-06-03  Richard Henderson  <rth@redhat.com>
1160         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1161         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1162         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1163         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1164         in the SAVE_PID block.
1165         (__libc_vfork): New alias.
1166         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1168         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1169         child in registers, not on the stack.  Remove RESET_PID conditionals.
1170         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1172 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1174         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1176 2014-06-03  Wilco  <wdijkstr@arm.com>
1178         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1179         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1180         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1181         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1182         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1183         Likewise.
1185 2014-06-03  Wilco  <wdijkstr@arm.com>
1187         * sysdeps/aarch64/fpu/math_private.h
1188         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1189         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1190         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1191         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1192         Fix declarations.
1194 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1196         * crypt/crypt-private.h: Include ufc-crypt.h.
1197         (__b64_from_24bit): Declare extern.
1198         * crypt/crypt_util.c(__b64_from_24bit): New function.
1199         (b64t): New static const variable.
1200         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1201         (b64t): Remove variable.
1202         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1203         * crypt/sha256-crypt.c: Include crypt-private.h.
1204         (b64t): Remove variable.
1205         (__sha256_crypt_r): Remove b64_from_24bit and replace
1206         with __b64_from_24bit.
1207         * crypt/sha512-crypt.c: Likewise.
1209 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1211         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1212         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1213         Label the code __libc_vfork rather than __vfork.
1214         [!NOT_IN_libc] (vfork): Define as weak alias.
1215         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1216         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1217         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1219 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1221         * malloc/malloc.c (malloc_info): Fix format specifier for
1222         n_mmaps.
1224 2014-06-02  Wilco  <wdijkstr@arm.com>
1226         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1227         FPCR write.
1229 2014-06-02  Wilco  <wdijkstr@arm.com>
1231         [BZ #17009]
1232         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1233         Rewrite to reduce FPCR/FPSR accesses.
1235 2014-06-01  David S. Miller  <davem@davemloft.net>
1237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1239 2014-05-31  David S. Miller  <davem@davemloft.net>
1241         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1242         to occur in round to nearest mode when |x| >= 2.0
1244 2014-05-30  Richard Henderson  <rth@twiddle.net>
1246         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1247         (PSEUDO_RET_NOERRNO): Remove.
1248         (ret): Don't redefine.
1249         (ret_NOERRNO): Define in terms of ret.
1250         (ret_ERRVAL): Likewise.
1252         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1253         use of PSEUDO_RET; perform the error check directly.
1255 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1257         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1258         with __int128_t.
1260 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1262         * malloc/malloc (malloc_info): Fix formatting.
1264 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1265             Roland McGrath  <roland@hack.frob.com>
1267         * malloc/malloc (malloc_info): Also print mmapped statistics.
1269 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1271         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1272         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1274 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1276         * malloc/malloc.c (malloc_info): Inline mi_arena.
1278 2014-05-29  Richard Henderson  <rth@twiddle.net>
1280         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1281         Remove comma before expanding ASM_ARGS_##nr.
1282         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1283         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1284         of ASM_ARGS_##nr.
1285         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1286         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1287         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1288         (ASM_ARGS_1): Add leading comma.
1290         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1291         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1292         to __errno_location.
1293         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1294         Remove the expected plt for __errno_location.
1296         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1297         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1298         call to __read_tp.
1300         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1301         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1302         it and break it down.
1303         (DOCARGS_0, DOCARGS_1): Do nothing.
1304         (DOCARGS_2): Update to store into the new stack frame.
1305         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1306         (UNDOCARGS_1): Update to restore from the new stack frame.
1307         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1308         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1310         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1311         (SINGLE_THREAD_P): New parameter for result regno.
1312         (PSEUDO): Update to match; use cbz instead of beq.
1314         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1315         Use ENTRY to define the _nocancel entry point.  Share the syscall
1316         and syscall error check paths with the cancel path.
1317         (PSEUDO_END): New.
1319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1320         whitespace; tabs before and after asm mnemonics.
1322 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1324         [BZ #15132]
1325         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1326         Call fstat64 or stat64 internally, depending on arguments passed.
1327         Replace stat buffer argument with file descriptor argument.
1328         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1329         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1330         Pass fd to __internal_statvfs instead of calling fstat64.
1331         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1332         Pass fd to __internal_statvfs64 instead of calling fstat64.
1333         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1334         Pass -1 to __internal_statvfs instead of calling stat64.
1335         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1336         Pass -1 to __internal_statvfs64 instead of calling stat64.
1338 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1340         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1341         that was previously under [RESET_PID].
1342         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1344         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1345         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1347 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1349         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1351         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1352         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1354 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1356         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1358 2014-05-27  Andreas Schwab  <schwab@suse.de>
1360         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1361         TLS_INIT_TP macro.
1362         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1363         * elf/rtld.c (init_tls, dl_main): Likewise.
1364         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1365         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1366         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1367         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1368         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1369         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1370         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1371         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1372         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1373         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1374         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1375         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1376         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1377         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1378         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1379         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1380         * sysdeps/generic/tls.h: Update description.
1382 2014-05-27  Will Newton  <will.newton@linaro.org>
1384         [BZ #16990]
1385         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1386         and restore r2 rather than just restoring.
1388 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1390         [BZ #16724]
1391         * libio/tst-ftell-append.c: New test case.
1392         * libio/Makefile (tests): Add test case.
1393         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1394         append mode.
1395         * libio/wfileops.c (do_ftell_wide): Likewise.
1397 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1401         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1402         ...
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1405         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1406         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1408         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1410         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1412         Moved ...
1413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1415         Moved ...
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1418         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1420         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1422         ...
1423         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1424         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1425         Moved ...
1426         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1427         here.
1428         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1429         ...
1430         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1431         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1432         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1434         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1435         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1436         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1437         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1440         merge into ...
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1443         ...
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1446         ...
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1449         Moved ...
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1451         here.
1452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1453         Moved ...
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1456         Moved ...
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1460         conditional [RESET_PID].
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1463         removed.
1464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1465         removed.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1468         <tcb-offsets.h>.
1469         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1470         (__libc_vfork): New strong alias.
1471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1472         removed.
1473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1474         Removed.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1477         <tcb-offsets.h>.
1478         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1479         (__libc_vfork): New strong alias.
1480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1481         removed.
1482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1483         removed.
1485 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1487         * malloc/malloc.c (mi_arena): New function.
1488         (malloc_info): Remove nested function mi_arena. Call non-nosted
1489         function mi_arena.
1491 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1493         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1494         by insrwi.
1495         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1496         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1497         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1498         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1499         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1500         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1501         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1503 2014-05-26  Andreas Schwab  <schwab@suse.de>
1505         [BZ #16984]
1506         * locale/programs/repertoire.c (repertoire_read): Add slash
1507         between I18NPATH element and file name.
1508         * locale/programs/locfile.c (locfile_read): Likewise.
1510 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1512         * nptl/pthread_mutexattr_settype.c
1513         (__pthread_mutexattr_settype):
1514         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1516 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1518         * nptl/tst-mutex5 (do_test):
1519         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1521 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1523         * benchtests/README: Document 'init' directive.
1524         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1525         BENCH_INIT.
1526         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1527         (parse_file): Recognize 'init' directive.
1529 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1531         [BZ #16796]
1532         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1533         alignment of struct pthread.
1535 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1537         [BZ #16878]
1538         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1539         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1540         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1541         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1543 2014-05-25  Richard Henderson  <rth@twiddle.net>
1545         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1546         (SINGLE_THREAD_P_PIC): Remove.
1547         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1548         (SINGLE_THREAD_P_PIC): Remove.
1550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1551         branch to syscall error ...
1552         (PSEUDO): ... here.
1553         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1554         from __local_syscall_error to .Lsyscall_error.
1555         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1556         (SYSCALL_ERROR): Update label name.
1558         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1559         Do not use DOARGS/UNDOARGS.
1560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1561         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1562         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1563         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1564         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1567         block comment.
1569         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1570         define if !NOT_IN_libc.
1571         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1572         define with non-default symbol versions.
1574 2014-05-23  Richard Henderson  <rth@twiddle.net>
1576         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1577         (vfork, __vfork): Define via compat_symbol.
1579         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1580         [!HAVE_IFUNC] (vfork_compat): Remove.
1581         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1583 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1585         [BZ #16978]
1586         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1587         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1588         variable.
1590 2014-05-23  Richard Henderson  <rth@twiddle.net>
1592         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1593         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1594         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1595         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1597         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1598         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1599         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1600         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1601         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1602         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1603         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1604         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1605         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1606         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1607         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1608         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1609         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1614         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1622         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1623         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1624         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1626         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1628         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1629         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1636         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1637         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1638         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1639         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1640         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1641         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1642         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1643         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1644         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1646         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1648         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1650         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1652         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1654         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1655         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1656         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1657         before exiting on error.
1658         (__libc_vfork): New strong alias.
1659         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1660         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1662         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1663         that was previously under [RESET_PID].
1664         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1666         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1668 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1670         [BZ #16977]
1671         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1672         value when x - 1 is zero.
1673         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1674         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1675         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1676         0.0L for an argument of 1.0L.
1677         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1678         Likewise.
1679         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1680         value when x - 1 is zero.
1681         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1682         * sysdeps/i386/fpu/libm-test-ulps: Update.
1683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1685 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1687         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1688         alphasort and versionsort.
1690 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1692         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1693         macro.
1694         [copysignf]: Likewise.
1696 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1698         * crypt/md5-crypt.c: Fix formatting.
1700 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1702         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1703         (b64_from_24bit): New function.
1705 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1707         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1708         libc_hidden_builtin_def to ifunc.
1709         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1710         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1712 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1714         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1715         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1717 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1719         * nscd/Depend (linuxthreads): Remove.
1720         (nptl): Add.
1721         * resolv/Depend (linuxthreads): Remove.
1722         * rt/Depend (linuxthreads): Remove.
1724         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1725         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1726         $(common-objpfx)elf/.
1727         (link-libc-before-gnulib): Likewise.
1728         (elfobjdir): Remove variable.
1729         * Makefile (install): Use $(elf-objpfx) instead of
1730         $(common-objpfx)elf/.
1731         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1732         $(elfobjdir)/.
1733         (link-libc-deps): Likewise.
1734         ($(common-objpfx)libc.so): Likewise.
1735         ($(common-objpfx)linkobj/libc.so): Likewise.
1736         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1737         instead of $(common-objpfx)elf/.
1738         (symbolic-link-list): Likewise.
1739         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1740         [$(cross-compiling) = no]: Likewise.
1741         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1742         $(elfobjdir)/.
1743         (static-gnulib-arch): Likewise.
1744         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1745         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1746         $(common-objpfx)elf/.
1748 2014-05-21  Richard Henderson  <rth@redhat.com>
1750         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1751         (SINGLE_THREAD_P): Use the correct width load.  Fold
1752         into the ldr offset.
1754         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1755         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1757 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1759         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1760         (libgcc_s_resume): Use __attribute_used__.
1761         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1762         Likewise.
1764 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1766         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1767         optimization when used with float constants.
1769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1771 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1773         [BZ #16915]
1774         * locale/nl_langinfo_l.c: Make direct reference to every
1775         _nl_current_CATEGORY symbol.
1776         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1777         (tests-static): Add tst-langinfo-static.
1778         (tests-special): Add tst-langinfo-static.out.
1779         ($(objpfx)tst-langinfo.out): Redirect output.
1780         ($(objpfx)tst-langinfo-static.out): New.
1781         * localedata/tst-langinfo.sh: Send output to stdout.
1782         * localedata/tst-langinfo-static.c: New file.
1784         [BZ #16965]
1785         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1786         when the shift amount is modulo the limb size.
1788 2014-05-20  Richard Henderson  <rth@redhat.com>
1790         [BZ #16967]
1791         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1792         Change type of sa_flags from unsigned int to int.
1794         [BZ #16966]
1795         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1797         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1799 2014-05-20  Will Newton  <will.newton@linaro.org>
1801         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1802         Test the return value of the system call in the nocancel case.
1804 2014-05-20  Will Newton  <will.newton@linaro.org>
1805             Yvan Roux  <yvan.roux@linaro.org>
1807         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1808         #include of asm/ptrace.h.
1809         (PTRACE_GET_THREAD_AREA): Remove #undef.
1810         (PTRACE_GETHBPREGS): Likewise.
1811         (PTRACE_SETHBPREGS): Likewise.
1812         (struct user_regs_struct): New structure.
1813         (struct user_fpsimd_struct): New structure.
1814         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1815         #include of asm/ptrace.h and second #include of sys/user.h.
1816         (PTRACE_GET_THREAD_AREA): Remove #undef.
1817         (PTRACE_GETHBPREGS): Likewise.
1818         (PTRACE_SETHBPREGS): Likewise.
1819         (ELF_NGREG): Use new struct user_regs_struct.
1820         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1822 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1827 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1829         [BZ #16958]
1830         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1831         membar to avoid block loads/stores to overlap previous stores.
1833 2014-05-17  Richard Henderson  <rth@redhat.com>
1835         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1836         Create the __##syscall_name##_nocancel entry point.
1837         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1838         Remove; let the sysdep-cancel.h code create it.
1840 2014-05-17  David S. Miller  <davem@davemloft.net>
1842         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1843         Protect with __USE_GNU.
1844         (TIOCSET_TEMPT): Likewise.
1845         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1846         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1847         these are already provided in bits/ioctl-types.h
1849 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1851         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1852         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1854         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1855         Use wait4 regardless of [__NR_waitpid].
1857 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1859         PR libgcc/60166
1860         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1861         (_FP_NANSIGN_Q): Set the quiet bit.
1863 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1865         * benchtests/Makefile
1866         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1867         not $(common-objpfx)math/libm.so.
1868         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1869         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1870         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1871         $(common-objpfx)dlfcn/libdl.so.
1872         ($(objpfx)tst-audit8): Depend on $(libm), not
1873         $(common-objpfx)math/libm.so.
1874         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1875         not $(common-objpfx)dlfcn/libdl.so.
1876         * math/Makefile
1877         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1878         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1879         [$(build-shared) = yes].
1880         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1881         $(common-objpfx)nptl/libpthread.so.
1882         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1883         $(common-objpfx)math/libm.so$(libm.so-version) or
1884         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1885         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1886         $(common-objpfx)dlfcn/libdl.so.
1887         * setjmp/Makefile (link-libm): Remove variable.
1888         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1889         * stdio-common/Makefile (link-libm): Remove variable.
1890         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1891         * stdlib/Makefile (link-libm): Remove variable.
1892         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1893         ($(objpfx)tst-strtod-round): Likewise.
1894         ($(objpfx)tst-tininess): Likewise.
1895         ($(objpfx)tst-strtod-underflow): Likewise.
1896         ($(objpfx)tst-strtod6): Likewise.
1897         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1898         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1899         $(common-objpfx)dlfcn/libdl.so.
1901 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1903         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1904         BSD terminal modes definitions.
1906 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1908         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1909         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1911         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1912         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1913         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1914         Don't do #include_next.
1915         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1916         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1917         Don't do #include_next.
1918         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1919         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1920         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1921         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1923 2014-05-16  Allan McRae  <allan@archlinux.org>
1925         * po/sv.po: Update Swedish translation from translation project.
1927         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1928         in sed expression.
1930 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1932         [BZ #16917]
1933         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1934         errno if the TIOCGPTN ioctl fails with an error different than
1935         EINVAL.
1936         * login/tst-ptsname.c: New file.
1937         * login/Makefile (tests): Add tst-ptsname.
1939         [BZ #16943]
1940         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1941         and prlimit64.
1943 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1945         [BZ #16849]
1946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1947         herrno to return EAI_AGAIN.
1949 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1951         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1952         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1953         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1976         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1980         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1982         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1984         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1986         Moved ...
1987         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1989         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1991         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1993         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1995         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1997         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2001         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2003         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2005         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2011         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2013         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2015         Moved ...
2016         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2018         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2020         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2022         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2024         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2026         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2028         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2030         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2032         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2034         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2036         Moved ...
2037         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2039         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2041         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2042         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2043         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2044         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2045         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2047         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2048         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2049         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2050         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2051         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2053         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2055         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2056         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2057         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2059         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2061         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2063         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2065         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2066         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2067         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2068         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2069         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2070         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2071         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2073         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2074         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2076         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2077         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2078         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2079         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2080         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2081         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2082         Moved ...
2083         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2084         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2085         Moved ...
2086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2087         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2088         Moved ...
2089         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2090         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2091         Moved ...
2092         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2093         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2094         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2096         Moved ...
2097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2099         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2101         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2102         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2103         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2105         Moved ...
2106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2107         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2108         Moved ...
2109         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2110         ... here.
2111         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2112         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2113         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2114         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2116         Moved ...
2117         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2118         ... here.
2119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2120         Moved ...
2121         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2123         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2125         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2126         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2127         Moved ...
2128         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2129         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2132         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2133         Moved ...
2134         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2135         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2136         Moved ...
2137         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2138         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2139         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2141         Moved ...
2142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2143         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2144         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2147         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2148         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2150         Moved ...
2151         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2152         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2153         Moved ...
2154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2155         ... here.
2156         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2157         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2158         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2159         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2161         Moved ...
2162         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2163         ... here.
2164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2165         Moved ...
2166         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2167         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2168         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2169         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2170         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2171         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2172         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2173         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2174         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2175         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2176         Moved ...
2177         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2179         Moved ...
2180         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2181         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2182         Moved ...
2183         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2184         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2185         Moved ...
2186         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2187         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2188         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2189         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2190         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2191         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2192         Moved ...
2193         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2194         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2195         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2197         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2198         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2199         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2200         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2201         Moved ...
2202         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2203         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2204         Moved ...
2205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2206         ... here.
2207         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2208         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2209         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2210         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2212         Moved ...
2213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2214         ... here.
2215         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2216         Moved ...
2217         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2218         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2219         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2220         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2221         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2223         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2224         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2225         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2226         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2227         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2229         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2230         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2232         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2233         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2235         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2236         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2237         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2238         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2239         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2240         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2241         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2242         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2243         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2244         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2245         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2246         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2248         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2249         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2251         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2253         Moved ...
2254         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2258         Moved ...
2259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2263         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2267         Moved ...
2268         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2270         Moved ...
2271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2275         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2277         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2278         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2279         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2281         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2283         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2284         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2285         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2287         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2289         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2290         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2291         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2292         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2293         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2295         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2296         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2297         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2298         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2299         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2300         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2301         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2302         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2303         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2304         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2309         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2310         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2311         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2312         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2313         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2314         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2315         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2316         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2317         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2318         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2319         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2320         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2321         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2322         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2324         Update #include.
2325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2326         Likewise.
2327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2328         Likewise.
2329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2330         Likewise.
2331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2332         Likewise.
2333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2334         Likewise.
2335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2336         Likewise.
2337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2338         Likewise.
2339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2340         Likewise.
2341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2342         Likewise.
2343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2352         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2354         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2356         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2357         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2359         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2360         that was previously under [RESET_PID].
2361         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2362         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2363         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2365         * sysdeps/i386/nptl/Implies: New file.
2366         * sysdeps/x86_64/nptl/Implies: New file.
2367         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2368         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2369         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2370         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2372         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2373         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2374         (__libc_vfork): New strong alias.
2375         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2376         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2378         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2379         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2380         (__libc_vfork): New strong alias.
2381         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2382         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2384         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2385         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2386         (__libc_vfork): New strong alias.
2387         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2388         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2389         * nptl/pt-vfork.c: New file.
2390         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2391         (libpthread: GLIBC_2.20): New version set (empty).
2393 2014-05-14  Will Newton  <will.newton@linaro.org>
2395         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2396         rather than #if.
2398 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2400         [BZ #16564]
2401         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2402         arguments with exponent 65 or above.
2403         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2404         arguments 0x1p113L or above.
2405         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2406         to arguments 0x1p107L or above.
2407         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2408         positive arguments with exponent 65 or above.
2409         * math/auto-libm-test-in: Add more tests of log1p.
2410         * math/auto-libm-test-out: Regenerated.
2412         [BZ #16928]
2413         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2414         non-finite arguments is +0.
2415         * math/s_cacosf.c (__cacosf): Likewise.
2416         * math/s_cacosl.c (__cacosl): Likewise.
2417         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2418         * sysdeps/i386/fpu/libm-test-ulps: Update.
2419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421         [BZ #16927]
2422         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2423         value.
2424         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2425         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2426         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2427         for explicit high bit of mantissa when testing for argument equal
2428         to 1.
2429         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2430         * sysdeps/i386/fpu/libm-test-ulps: Update.
2431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2433         [BZ #16516]
2434         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2435         (__erf): Scale by 16 instead of 8 in potentially underflowing
2436         case.  Ensure exception if result actually underflows.
2437         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2438         (__erff): Scale by 16 instead of 8 in potentially underflowing
2439         case.  Ensure exception if result actually underflows.
2440         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2441         (efx8): Remove variable.
2442         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2443         case.  Ensure exception if result actually underflows.
2444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2445         (efx8): Remove variable.
2446         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2447         case.  Ensure exception if result actually underflows.
2448         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2449         (efx8): Remove variable.
2450         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2451         case.  Ensure exception if result actually underflows.
2452         * math/auto-libm-test-in: Add more tests of erf.
2453         * math/auto-libm-test-out: Regenerated.
2455 2014-05-14  Andreas Schwab  <schwab@suse.de>
2457         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2458         Remove code conditionalized on USE___THREAD.
2460         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2461         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2462         not definedness.
2464 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2466         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2467         Define unconditionally.
2468         (__ASSUME_O_CLOEXEC): Likewise.
2469         (__ASSUME_SOCK_CLOEXEC): Likewise.
2470         (__ASSUME_IN_NONBLOCK): Likewise.
2471         (__ASSUME_PIPE2): Likewise.
2472         (__ASSUME_EVENTFD2): Likewise.
2473         (__ASSUME_SIGNALFD4): Likewise.
2474         (__ASSUME_DUP3): Likewise.
2475         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2476         (__ASSUME_DUP3): Do not define.
2477         (__ASSUME_EVENTFD2): Likewise.
2478         (__ASSUME_IN_NONBLOCK): Likewise.
2479         (__ASSUME_O_CLOEXEC): Likewise.
2480         (__ASSUME_PIPE2): Likewise.
2481         (__ASSUME_SIGNALFD4): Likewise.
2482         (__ASSUME_SOCK_CLOEXEC): Likewise.
2483         (__ASSUME_UTIMES): Undefine.
2484         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2485         (__ASSUME_UTIMES): Do not define.
2486         (__ASSUME_O_CLOEXEC): Likewise.
2487         (__ASSUME_SOCK_CLOEXEC): Likewise.
2488         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2489         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2490         0x020621].
2491         (__ASSUME_PIPE2): Likewise.
2492         (__ASSUME_EVENTFD2): Likewise.
2493         (__ASSUME_SIGNALFD4): Likewise.
2494         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2495         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2496         Do not define.
2497         (__ASSUME_EVENTFD2): Likewise.
2498         (__ASSUME_SIGNALFD4): Likewise.
2499         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2500         (__ASSUME_32BITUIDS): Likewise.
2501         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2502         (__ASSUME_IPC64): Likewise.
2503         (__ASSUME_ST_INO_64_BIT): Likewise.
2504         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2505         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2506         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2507         (__ASSUME_UTIMES): Do not define.
2508         (__ASSUME_PSELECT): Likewise.
2509         (__ASSUME_PPOLL): Likewise.
2510         (__ASSUME_O_CLOEXEC): Likewise.
2511         (__ASSUME_SOCK_CLOEXEC): Likewise.
2512         (__ASSUME_IN_NONBLOCK): Likewise.
2513         (__ASSUME_PIPE2): Likewise.
2514         (__ASSUME_EVENTFD2): Likewise.
2515         (__ASSUME_SIGNALFD4): Likewise.
2516         (__ASSUME_DUP3): Likewise.
2517         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2518         (__ASSUME_UTIMES): Likewise.
2519         (__ASSUME_O_CLOEXEC): Likewise.
2520         (__ASSUME_SOCK_CLOEXEC): Likewise.
2521         (__ASSUME_IN_NONBLOCK): Likewise.
2522         (__ASSUME_PIPE2): Likewise.
2523         (__ASSUME_EVENTFD2): Likewise.
2524         (__ASSUME_SIGNALFD4): Likewise.
2525         (__ASSUME_DUP3): Likewise.
2526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2527         (__ASSUME_UTIMES): Likewise.
2528         (__ASSUME_O_CLOEXEC): Likewise.
2529         (__ASSUME_SOCK_CLOEXEC): Likewise.
2530         (__ASSUME_IN_NONBLOCK): Likewise.
2531         (__ASSUME_PIPE2): Likewise.
2532         (__ASSUME_EVENTFD2): Likewise.
2533         (__ASSUME_SIGNALFD4): Likewise.
2534         (__ASSUME_DUP3): Likewise.
2535         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2536         Likewise.
2537         (__ASSUME_UTIMES): Likewise.
2538         (__ASSUME_EVENTFD2): Likewise.
2539         (__ASSUME_SIGNALFD4): Likewise.
2540         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2541         (__ASSUME_O_CLOEXEC): Likewise.
2542         (__ASSUME_SOCK_CLOEXEC): Likewise.
2543         (__ASSUME_IN_NONBLOCK): Likewise.
2544         (__ASSUME_PIPE2): Likewise.
2545         (__ASSUME_EVENTFD2): Likewise.
2546         (__ASSUME_SIGNALFD4): Likewise.
2547         (__ASSUME_DUP3): Likewise.
2548         (__ASSUME_UTIMES): Undefine.
2550         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2551         feclearexcept.  Remove symbol versioning code.
2552         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2553         symbol versioning code.
2554         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2555         symbol versioning code.
2556         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2557         feupdateenv.  Remove symbol versioning code.
2558         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2559         fegetexceptflag.  Remove symbol versioning code.
2560         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2561         fesetexceptflag.  Remove symbol versioning code.
2562         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2563         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2564         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2565         (__posix_fadvise64_l32): Remove prototype.
2566         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2567         code.
2569 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2571         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2572         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2573         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2574         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2576 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2578         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2579         current working directory
2581 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2583         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2584         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2585         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2586         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2587         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2588         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2589         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2590         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2591         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2592         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2593         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2594         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2595         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2596         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2597         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2598         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2599         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2600         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2601         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2602         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2603         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2604         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2605         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2606         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2610         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2612         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2613         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2614         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2615         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2616         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2617         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2618         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2619         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2620         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2621         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2622         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2623         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2624         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2626         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2627         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2629         * sysdeps/unix/sysv/linux/arm/Makefile
2630         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2631         Add rt-aeabi_unwind_cpp_pr1.
2632         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2633         Add nptl-aeabi_unwind_cpp_pr1.
2634         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2635         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2636         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2637         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2638         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2639         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2641         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2642         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2643         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2644         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2646         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2647         Deconditionalize the code that was previously under [RESET_PID].
2648         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2650         * sysdeps/generic/exit-thread.h: New file.
2651         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2652         * include/unistd.h (__exit_thread): Remove declaration.
2653         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2654         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2655         * csu/libc-start.c: Include <exit-thread.h>.
2656         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2657         * nptl/pthread_create.c: Include <exit-thread.h>.
2658         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2659         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2660         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2661         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2662         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2663         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2664         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2665         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2666         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2667         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2668         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2669         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2670         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2671         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2672         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2673         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2674         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2676 2014-05-13  Andreas Schwab  <schwab@suse.de>
2678         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2680 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2682         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2683         (__ASSUME_UTIMES): Do not condition on kernel version.
2684         (__ASSUME_PSELECT): Define unconditionally.
2685         (__ASSUME_PPOLL): Likewise.
2686         (__ASSUME_ATFCTS): Likewise.
2687         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2688         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2689         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2690         (__ASSUME_UTIMENSAT): Define unconditionally.
2691         (__ASSUME_PRIVATE_FUTEX): Likewise.
2692         (__ASSUME_FALLOCATE): Likewise.
2693         (__ASSUME_O_CLOEXEC): Likewise.
2694         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2695         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2696         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2697         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2698         (__ASSUME_IN_NONBLOCK): Likewise.
2699         (__ASSUME_PIPE2): Likewise.
2700         (__ASSUME_EVENTFD2): Likewise.
2701         (__ASSUME_SIGNALFD4): Likewise.
2702         (__ASSUME_DUP3): Likewise.
2703         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2704         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2705         (__ASSUME_AT_RANDOM): Likewise.
2706         (__ASSUME_PREADV): Likewise.
2707         (__ASSUME_PWRITEV): Likewise.
2708         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2709         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2710         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2711         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2712         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2713         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2714         (__ASSUME_O_CLOEXEC): Define unconditionally.
2715         (__ASSUME_PSELECT): Do not undefine conditionally.
2716         (__ASSUME_PPOLL): Likewise.
2717         (__ASSUME_ATFCTS): Likewise.
2718         (__ASSUME_SET_ROBUST_LIST): Likewise.
2719         (__ASSUME_UTIMENSAT): Likewise.
2720         (__ASSUME_FDATASYNC): Define unconditionally.
2721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2722         (__ASSUME_SIGFRAME_V2): Likewise.
2723         )__ASSUME_EVENTFD2): Likewise.
2724         (__ASSUME_SIGNALFD4): Likewise.
2725         (__ASSUME_PSELECT): Do not undefine conditionally.
2726         (__ASSUME_PPOLL): Likewise.
2727         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2728         (__ASSUME_PSELECT): Define unconditionally.
2729         (__ASSUME_PPOLL): Likewise.
2730         (__ASSUME_O_CLOEXEC): Likewise.
2731         (__ASSUME_SOCK_CLOEXEC): Likewise.
2732         (__ASSUME_IN_NONBLOCK): Likewise.
2733         (__ASSUME_PIPE2): Likewise.
2734         (__ASSUME_EVENTFD2): Likewise.
2735         (__ASSUME_SIGNALFD4): Likewise.
2736         (__ASSUME_DUP3): Likewise.
2737         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2738         (__ASSUME_O_CLOEXEC): Likewise.
2739         (__ASSUME_SOCK_CLOEXEC): Likewise.
2740         (__ASSUME_IN_NONBLOCK): Likewise.
2741         (__ASSUME_PIPE2): Likewise.
2742         (__ASSUME_EVENTFD2): Likewise.
2743         (__ASSUME_SIGNALFD4): Likewise.
2744         (__ASSUME_DUP3): Likewise.
2745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2746         (__ASSUME_EVENTFD2): Likewise.
2747         (__ASSUME_SIGNALFD4): Likewise.
2748         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2750 2014-05-12  Andreas Schwab  <schwab@suse.de>
2752         [BZ #16932]
2753         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2754         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2755         than maximum RPC packet size.
2756         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2757         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2758         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2759         (_nss_nis_getservbyport_r): Likewise.
2761 2014-05-12  Will Newton  <will.newton@linaro.org>
2763         * malloc/Makefile (tests): Add tst-mallopt.
2764         * malloc/tst-mallopt.c: New file.
2766 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2768         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2769         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2771 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2773         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2774         (tst-tlsmod6.so): Likewise.
2776 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2778         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2780 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2782         [BZ #16064]
2783         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2784         and <dl-procinfo.h>.
2785         (__fegetenv): Save SSE state in envp->__eip if supported.
2786         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2787         envp->__eip if supported.
2788         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2789         and <dl-procinfo.h>.
2790         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2791         __data_offset and __data_selector in environment to 0.  Set SSE
2792         state if supported.
2793         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2794         test-fenv-sse.
2795         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2796         -mfpmath=sse.
2797         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2799 2014-05-09  Will Newton  <will.newton@linaro.org>
2801         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2802         and libc_relro_required for ARM.
2803         * sysdeps/arm/preconfigure: Regenerate.
2805 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2806             Stefan Liebler  <stli@linux.vnet.ibm.com>
2808         * config.make.in (enable-lock-elision): New Makefile variable.
2809         * configure.ac: Likewise.
2810         * configure: Regenerate.
2811         * sysdeps/s390/configure.ac:
2812         Add check for gcc transactions support.
2813         * sysdeps/s390/configure: Regenerate.
2814         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2815         Build elision files if enabled.
2816         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2817         Add lock elision support for s390.
2818         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2819         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2820         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2821         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2822         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2823         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2825         Likewise.
2826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2827         Likewise.
2828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2829         Likewise.
2830         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2831         Likewise.
2832         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2833         (__lll_timedlock_elision, __lll_lock_elision)
2834         (__lll_unlock_elision, __lll_trylock_elision)
2835         (lll_timedlock_elision, lll_lock_elision)
2836         (lll_unlock_elision, lll_trylock_elision): Add.
2837         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2838         (pthread_mutex_t): Add lock elision support for s390.
2840 2014-05-14  Wilco  <wdijkstr@arm.com>
2842         * sysdeps/arm/fclrexcpt.c: Cleanup.
2843         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2844         * sysdeps/arm/feenablxcpt.c: Cleanup.
2845         * sysdeps/arm/fegetenv.c: Cleanup.
2846         * sysdeps/arm/fegetexcept.c: Cleanup.
2847         * sysdeps/arm/fegetround.c: Cleanup.
2848         * sysdeps/arm/feholdexcpt.c: Cleanup.
2849         * sysdeps/arm/fesetenv.c: Cleanup.
2850         * sysdeps/arm/fesetround.c: Cleanup.
2851         * sysdeps/arm/feupdateenv.c: Cleanup.
2852         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2853         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2854         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2855         * sysdeps/arm/ftestexcept.c: Cleanup.
2856         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2857         * sysdeps/arm/setfpucw.c: Cleanup.
2859 2014-05-09  Will Newton  <will.newton@linaro.org>
2861         * sysdeps/arm/armv7/strcmp.S: New file.
2862         * NEWS: Mention addition of ARMv7 optimized strcmp.
2864 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2866         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2867         look for %.ac rather than %.in.
2869         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2870         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2871         * sysdeps/mach/hurd/configure: Regenerated.
2872         * sysdeps/unix/sysv/linux/configure: Regenerated.
2874         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2876 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2878         [BZ# 16922]
2879         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2880         (LONG_SUB): Ditto.
2881         (PTR_SUB): Ditto.
2883 2014-05-07  Andreas Schwab  <schwab@suse.de>
2885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2886         when skipping over non-matching result from nscd.
2888 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2890         [BZ #16876]
2891         * nptl/sockperf.c (client): Check socket return value.
2893         [BZ #16877]
2894         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2895         nscd security class.
2897 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2899         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2900         * sysdeps/arm/unwind.h: ... here.
2902 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2904         [BZ# 16916]
2905         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2906         Define.
2908 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2910         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2911         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2912         multiarch strncpy for PPC64.
2913         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2914         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2916         multiarch optimizations.
2917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2918         (__libc_ifunc_impl_list): Likewise.
2919         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2920         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2921         multiarch stpncpy for PPC64.
2922         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2923         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2925 2014-05-06  Andreas Schwab  <schwab@suse.de>
2927         [BZ #16912]
2928         * gmon/mcount.c (_MCOUNT_DECL): Use
2929         atomic_compare_and_exchange_bool_acq instead of
2930         catomic_compare_and_exchange_bool_acq.
2932 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2934         * elf/Makefile (others, install-bin): Remove pldd.
2935         (pldd-modules): Variable removed.
2936         ($(objpfx)pldd): Target removed.
2937         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2938         (others, install-bin): Append pldd here.
2939         ($(objpfx)pldd): New target.
2941         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2942         to 0, so the first #if test emitted later doesn't see it undefined.
2943         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2944         * sysdeps/gnu/errlist.c: Regenerated.
2946 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2949         [libc_hidden_builtin_def]: Define to empty value.
2950         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2951         [libc_hidden_builtin_def]: Likewise.
2952         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2953         [libc_hidden_builtin_def]: Likewise.
2954         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2955         [libc_hidden_builtin_def]: Likewise.
2956         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2957         __redirect_memcpy and define ifunc as default hidden symbol.
2958         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2959         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2961 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2963         * locale/iso-4217.def: Reintroduce XDR currency.
2965 2014-05-04  Allan McRae  <allan@archlinux.org>
2967         * po/eo.po: Update Esperanto translation from translation project.
2969 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2971         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2972         and FEATURE_INDEX_MAX to 1.
2973         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2975 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2977         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2978         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2979         * iconvdata/big5.c (ONE_DIRECTION): Define.
2980         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2981         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2982         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2983         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2984         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2985         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2986         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2987         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2988         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2989         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2990         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2991         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2992         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2993         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2994         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2995         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2996         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2997         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2998         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2999         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3000         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3001         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3002         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3003         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3004         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3005         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3006         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3007         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3008         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3009         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3010         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3011         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3012         * iconvdata/johab.c (ONE_DIRECTION): Define.
3013         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3014         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3015         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3016         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3017         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3018         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3019         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3020         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3021         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3022         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3024 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3026         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3027         (_IO_JUMPS_OFFSET): Define to 0.
3029         * nptl/sysdeps/pthread/bits/libc-lock.h
3030         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3031         (__libc_lock_define_initialized_recursive): Always define using
3032         initializer.  Modern compilers treat uninitialized (implicit zero) and
3033         explicit zero initializers the same (i.e. put the datum in bss).
3035 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3037         * nscd/nscd-client.h: Include <string.h>.
3039 2014-05-01  David S. Miller  <davem@davemloft.net>
3041         [BZ #16885]
3042         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3043         multiple zero bytes exist at the end of a string.
3044         Reported by Aurelien Jarno <aurelien@aurel32.net>
3046         * string/test-strcmp.c (check): Add explicit test for situations where
3047         there are multiple zero bytes after the first.
3049 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3051         [BZ #16890]
3052         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3053         when compiling wprintf.
3054         * stdio-common/tstdiomisc.c (t3): New function.
3055         (main): Call it.
3057 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3059         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3060         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3061         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3062         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3064 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3066         * stdlib/longlong.h: Updated from GCC.
3068 2014-05-01  Will Newton  <will.newton@linaro.org>
3069             Bernard Ogden  <bernie.ogden@linaro.org>
3071         * NEWS: Update fixed bug list.
3073         [BZ #15119]
3074         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3076 2014-04-30  David S. Miller  <davem@davemloft.net>
3078         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3079         (libc_feholdexcept_setround_sparc_ctx): New function.
3080         (libc_fesetenv_sparc_ctx): Likewise.
3081         (libc_feupdateenv_sparc_ctx): Likewise.
3082         (libc_feholdsetround_sparc_ctx): Likewise.
3083         (libc_feholdexcept_setround_ctx): Define.
3084         (libc_feholdexcept_setroundf_ctx): Likewise.
3085         (libc_feholdexcept_setroundl_ctx): Likewise.
3086         (libc_fesetenv_ctx): Likewise.
3087         (libc_fesetenvf_ctx): Likewise.
3088         (libc_fesetenvl_ctx): Likewise.
3089         (libc_feupdateenv_ctx): Likewise.
3090         (libc_feupdateenvf_ctx): Likewise.
3091         (libc_feupdateenvl_ctx): Likewise.
3092         (libc_feresetround_ctx): Likewise.
3093         (libc_feresetroundf_ctx): Likewise.
3094         (libc_feresetroundl_ctx): Likewise.
3095         (libc_feholdsetround_ctx): Likewise.
3096         (libc_feholdsetroundf_ctx): Likewise.
3097         (libc_feholdsetroundl_ctx): Likewise.
3099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3100         with __USE_GNU instead of XOPEN cpp guards.
3102         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3103         0.
3105         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3106         with XOPEN cpp guards.
3108 2014-04-30  Julian Brown  <julian@codesourcery.com>
3110         [BZ #16888]
3111         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3112         handling.
3114 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3116         [BZ #9894]
3117         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3118         Change to 2.6.32.
3119         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3120         * sysdeps/unix/sysv/linux/configure: Regenerated.
3121         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3122         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3123         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3124         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3125         * README: Update reference to required Linux kernel version.
3126         * manual/install.texi (Linux): Update reference to required Linux
3127         kernel headers version.
3128         * INSTALL: Regenerated.
3130         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3131         header inclusion.
3132         [POSIX] (limits.h): Likewise.
3133         [POSIX] (math.h): Likewise.
3134         [POSIX] (sys/wait.h): Likewise.
3135         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3136         function.
3137         [POSIX] (stddef.h): Do not allow header inclusion.
3139 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3141         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3143 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3145         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3146         Return immediately after lll_futex_wake.
3148 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3150         [BZ #16791]
3151         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3152         structure.
3153         (datahead_init_pos): Call datahead_init_common early.
3154         (datahead_init_neg): Likewise.
3156         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3157         datahead_init_neg): New functions.
3158         * nscd/aicache.c (addhstaiX): Use them.
3159         * nscd/grpcache.c (cache_addgr): Likewise.
3160         * nscd/hstcache.c (cache_addhst): Likewise.
3161         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3162         * nscd/netgroupcache.c (do_notfound): Likewise.
3163         (addgetnetgrentX): Likewise.
3164         (addinnetgrX): Likewise.
3165         * nscd/pwdcache.c (cache_addpw): Likewise.
3166         * nscd/servicescache.c (cache_addserv): Likewise.
3168 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3169             Atsushi Onoe  <atsushi@onoe.org>
3171         [BZ #14308]
3172         [BZ #12994]
3173         [BZ #13651]
3174         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3175         one response is valid.
3176         * resolv/res_send.c (send_dg): Check for validity of other
3177         response if the current response is a referral.
3179 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3181         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3183 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3185         [BZ #16823]
3186         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3187         Always divide by positive zero when computing -Inf result.
3188         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3189         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3191 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3194         FPSCR if value do not change.
3195         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3196         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3197         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3198         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3199         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3200         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3201         function.
3203 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3205         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3206         * sysdeps/unix/sysv/linux/hppa: Move directory from
3207         ports/systeps/unix/sysv/linux/hppa.
3208         * README: Update listing for hppa-*-linux-gnu.
3210 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3212         [BZ #16754]
3213         * manual/stdio.texi (Hook functions): Fix types of stream hook
3214         functions.
3215         [BZ #16854]
3216         * socket/sys/socket.h: Fix typo in comment.
3218 2014-04-28  Wilco  <wdijkstr@arm.com>
3220         * sysdeps/arm/fenv_private.h: New file.
3221         * sysdeps/arm/math_private.h: New file.
3222         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3224 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3226         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3227         with __int128_t.
3228         (La_x86_64_retval): Likewise.
3230 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3232         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3233         fpsr if value didn't change.
3234         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3235         to fpcr if value didn't change.
3236         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3237         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3238         fpsr or fpcr if value didn't change.
3239         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3240         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3241         fpcr if value didn't change.
3242         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3243         to fpsr if value didn't change.
3245 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3247         * nptl/tst-sem3.c: Use test-skeleton.c
3248         (main): Rename to do_test.  Use return instead of
3249         exit.
3250         * nptl/tst-sem4.c: Use test-skeleton.c
3251         (main): Rename to do_test.
3253 2014-04-22  David S. Miller  <davem@davemloft.net>
3255         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3256         (struct sigaction): New struct member __glibc_reserved0, change
3257         type of sa_flags to int.
3259 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3261         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3262         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3264 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3266         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3267         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3269 2014-04-22  Will Newton  <will.newton@linaro.org>
3270             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3272         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3273         (__longjmp): Add longjmp and longjmp_target SystemTap
3274         probes.
3275         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3276         (__sigsetjmp): Add setjmp SystemTap probe.
3278 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3280         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3281         match manual order.
3283 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3285         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3287         * sysdeps/powerpc/fpu/fenv_private.h
3288         (libc_feholdexcept_setroundl_ctx): Define to
3289         libc_feholdexcept_setround_ppc_ctx.
3290         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3291         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3292         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3293         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3295 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3297         * sysdeps/aarch64/math-tests.h: New file.
3299 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3301         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3302         New.
3303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3304         Check and set bit_AVX2_Usable.
3305         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3306         macro.
3307         (bit_AVX2): Likewise.
3308         (index_AVX2_Usable): Likewise.
3309         (CPUID_AVX2): Likewise.
3310         (HAS_AVX2): Likewise.
3312 2014-04-17  Will Newton  <will.newton@linaro.org>
3314         * manual/setjmp.texi (System V contexts): Add note that
3315         calling setcontext on a context created by a call to a
3316         signal handler is undefined.  Update text to note that
3317         setcontext from a signal handler is possible but not
3318         recommended.
3320         [BZ #16629]
3321         * stdlib/tst-setcontext.c: Include signal.h.
3322         (main): Check that the signal stack before and
3323         after swapcontext is the same.
3325         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3326         Re-implement to restore registers in user code and avoid
3327         rt_sigreturn system call.
3329 2014-04-17  Wilco  <wdijkstr@arm.com>
3331         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3332         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3333         * math/test-fenv.c: Skip exception trap tests on targets which only
3334         support non-stop mode.
3336 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3337             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3339         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3340         (libc_feholdsetround_aarch64_ctx)
3341         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3342         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3343         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3344         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3345         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3346         (libc_feresetround_noexl_ctx): Define.
3348 2014-04-16  Richard Henderson  <rth@redhat.com>
3350         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3352         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3353         unwind tables.
3355         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3356         const from the non-libc, non-ldso copy.
3358         * sysdeps/alpha/libm-test-ulps: Regenerate.
3360 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3361             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3363         * sysdeps/aarch64/fpu/math_private.h: New file.
3365 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3367         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3369 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3371         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3372         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3374         Intel MPX bound registers before _dl_profile_fixup.
3375         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3376         registers after _dl_profile_fixup.  Save and restore bound
3377         registers bnd0/bnd1 when calling _dl_call_pltexit.
3378         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3379         (LR_BND_OFFSET): Likewise.
3380         (LRV_BND0_OFFSET): Likewise.
3381         (LRV_BND1_OFFSET): Likewise.
3383 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3385         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3386         to...
3387         * sysdeps/mach/hurd/i386/tls.h: ... here.
3388         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3389         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3390         fields.
3392 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3394         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3396 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3398         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3400 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3402         [BZ #14770]
3403         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3404         * sysdeps/s390/configure: Regenerate.
3406         [BZ #16824]
3407         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3408         Set round-to-nearest internally to reduce error accumulation.
3410 2014-04-16  Alan Modra  <amodra@gmail.com>
3412         [BZ #16740]
3413         [BZ #16619]
3414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3415         * math/libm-test.inc (frexp_test_data): Add tests.
3416         * NEWS: Update fixed bug list.
3418 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3420         * benchtests/Makefile: Depend on libraries in build directory.
3421         (bench-math): Separate out math tests.
3422         (bench-pthread): Separate out pthread tests.
3423         (bench): Include math and pthread tests.
3425 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3427         [BZ #16831]
3428         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3429         _dl_debug_initialize.
3431         * configure.ac: Remove SELinux header check.
3432         * configure: Regenerate.
3433         * nscd/selinux.c (perms): Array of const char* to permission names.
3434         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3435         default policy. Call string_to_security_class and string_to_av_perm to
3436         translate strings. Enforce default policy and call avs_has_perm with
3437         results of translated strings.
3439 2014-04-13  David S. Miller  <davem@davemloft.net>
3441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3443 2014-04-12  Allan McRae  <allan@archlinux.org>
3445         [BZ #16838]
3446         * manual/string.texi (Collation Functions): Fix qsort argument
3447         order in example.
3448         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3450 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3452         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3453         Make the test a no-op if there are no exceptions defined.
3455 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3457         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3458         enable-hardcoded-path-in-tests
3460 2014-04-11  Will Newton  <will.newton@linaro.org>
3462         * benchtests/Makefile (extra-objs): Add json-lib.o.
3463         (bench-func): Tidy up JSON output.
3464         * benchtests/bench-skeleton.c: Include json-lib.h.
3465         (main): Use JSON library functions to do output of
3466         benchmark results.
3467         * benchtests/bench-timing-type.c (main): Output the
3468         timing type simply, leaving formatting to the user.
3469         * benchtests/json-lib.c: New file.
3470         * benchtests/json-lib.h: Likewise.
3472 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3474         [BZ #15215]
3475         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3476         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3477         memory barriers.  Add comments.
3478         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3479         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3480         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3481         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3482         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3483         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3485 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3487         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3488         * sysdeps/s390/s390-64/configure.ac: ... this ...
3489         * sysdeps/s390/configure.ac: ... to here.
3490         * sysdeps/s390/s390-32/configure: Delete file.
3491         * sysdeps/s390/s390-64/configure: Delete file.
3492         * sysdeps/s390/configure: Regenerate.
3494 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3496         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3498 2014-04-11  Will Newton  <will.newton@linaro.org>
3500         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3501         to zero if it is not defined elsewhere.  (mtrim): Test
3502         the value of MALLOC_DEBUG with #if rather than #ifdef.
3504 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3506         * benchtests/pthread_once-inputs: New file.
3507         * benchtests/pthread_once-source.c: New file.
3508         * benchtests/README: Update documentation.
3510 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3511             H.J. Lu  <hongjiu.lu@intel.com>
3513         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3514         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3515         * sysdeps/x86_64/configure: Regenerated.
3516         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3517         macro.
3518         (REGISTER_SAVE_RAX): Likewise.
3519         (REGISTER_SAVE_RCX): Likewise.
3520         (REGISTER_SAVE_RDX): Likewise.
3521         (REGISTER_SAVE_RSI): Likewise.
3522         (REGISTER_SAVE_RDI): Likewise.
3523         (REGISTER_SAVE_R8): Likewise.
3524         (REGISTER_SAVE_R9): Likewise.
3525         (REGISTER_SAVE_BND0): Likewise.
3526         (REGISTER_SAVE_BND1): Likewise.
3527         (REGISTER_SAVE_BND2): Likewise.
3528         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3529         bound registers when calling _dl_fixup.
3531 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3533         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3534         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3535         of its definition.
3536         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3537         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3538         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3539         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3540         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3541         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3542         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3544 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3546         [BZ #15514]
3547         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3548         pathconf(_PC_NAME_MAX).
3550 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3552         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3553         Remove macro usage.
3554         (__PTHREAD_SPINS): Move definition to ...
3555         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3556         (__PTHREAD_SPINS): ... here.
3557         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3558         (__PTHREAD_SPIN): Likewise.
3559         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3560         (__PTHREAD_SPIN): Likewise.
3561         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3562         (__PTHREAD_SPIN): Likewise.
3563         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3564         (__PTHREAD_SPIN): Likewise.
3565         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3566         (__PTHREAD_SPIN): Likewise.
3567         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3568         (__PTHREAD_SPIN): Likewise.
3569         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3570         (__PTHREAD_SPIN): Likewise.
3571         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3572         (__PTHREAD_SPIN): Likewise.
3573         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3574         (__PTHREAD_SPIN): Likewise.
3575         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3576         (__PTHREAD_SPIN): Likewise.
3577         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3578         (__PTHREAD_SPIN): Likewise.
3579         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3580         (__PTHREAD_SPIN): Likewise.
3582         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3583         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3584         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3585         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3586         imply folder.
3587         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3588         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3589         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3590         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3591         correct imply path.
3592         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3593         strlen symbol for non multi-arch builds.
3594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3595         missing hidden_def and weak_alias.
3597 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3599         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3601 2014-04-07  Will Newton  <will.newton@linaro.org>
3603         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3604         and contents.  [!_LIBC] Remove #ifndef and contents.
3605         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3606         * string/memccpy.c (__memccpy): Use ANSI prototype.
3607         * string/memfrob.c (memfrob): Likewise.
3608         * string/strcoll.c (STRCOLL): Likewise.
3609         * string/strlen.c (strlen): Likewise.
3610         * string/strtok.c (STRTOK): Likewise.
3611         * string/strcat.c: Remove unused #include of memcopy.h.
3612         (strcat): Use ANSI prototype.
3613         * string/strchr.c: Remove unused #include of memcopy.h.
3614         (strchr): Use ANSI prototype.
3615         * string/strcmp.c: Remove unused #include of memcopy.h.
3616         (strcmp): Use ANSI prototype.
3617         * string/strcpy.c: Remove unused #include of memcopy.h.
3618         (strcpy): Use ANSI prototype.
3620 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3622         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3623         * config.make.in (config-extra-cppflags): Set it from
3624         libc_extra_cppflags.
3625         * configure.ac (libc_extra_cflags): Make it accumulate over
3626         configure fragments.
3627         (libc_extra_cppflags): New flag.
3628         * configure. Regenerate.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3630         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3631         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3634         [BZ #16815]
3635         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3636         result for FE_DOWNWARD rounding mode.
3637         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3638         Likewise.
3639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3641 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3643         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3644         in function argument name.
3646 2014-04-03  David Svoboda  <svoboda@cert.org>
3648         [BZ #5666]
3649         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3650         explicitly.
3652 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3654         * elf/dl-unmap-segments.h: New file.
3655         * sysdeps/generic/ldsodefs.h
3656         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3657         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3658         * elf/dl-fptr.c: Likewise.
3659         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3660         * sysdeps/aarch64/tlsdesc.c: Likewise.
3661         * sysdeps/arm/tlsdesc.c: Likewise.
3662         * sysdeps/i386/tlsdesc.c: Likewise.
3663         * sysdeps/tile/dl-runtime.c: Likewise.
3664         * sysdeps/x86_64/tlsdesc.c: Likewise.
3665         * elf/dl-load.h: New file.
3666         * elf/dl-load.c: Include it.
3667         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3668         Macros moved to dl-load.h.
3669         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3670         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3671         Use _dl_unmap_segments in place of __munmap.
3672         Break out segment-mapping loop into ...
3673         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3675 2014-04-03  Will Newton  <will.newton@linaro.org>
3677         * elf/dl-lookup.c (do_lookup_x): Remove comment
3678         referring to nested function and move variable
3679         declarations down to before first use.
3681 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3683         [BZ #16799]
3684         [BZ #16800]
3685         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3686         with 0 numerator.
3687         * math/s_catanf.c (__catanf): Likewise.
3688         * math/s_catanh.c (__catanh): Likewise.
3689         * math/s_catanhf.c (__catanhf): Likewise.
3690         * math/s_catanhl.c (__catanhl): Likewise.
3691         * math/s_catanl.c (__catanl): Likewise.
3692         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3693         by positive zero when computing -Inf result.
3694         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3695         (catanh_test): Likewise.
3696         * sysdeps/i386/fpu/libm-test-ulps: Update.
3697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3699         [BZ #16789]
3700         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3701         instead of using underflowing value in computing result.
3702         * math/s_clog10.c (__clog10): Likewise.
3703         * math/s_clog10f.c (__clog10f): Likewise.
3704         * math/s_clog10l.c (__clog10l): Likewise.
3705         * math/s_clogf.c (__clogf): Likewise.
3706         * math/s_clogl.c (__clogl): Likewise.
3707         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3708         (clog10_test): Likewise.
3709         * sysdeps/i386/fpu/libm-test-ulps: Update.
3710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3712 2014-04-02  Alan Modra  <amodra@gmail.com>
3714         [BZ #16739]
3715         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3716         output when value is near a power of two.  Use int64_t for lx and
3717         remove casts.  Use decimal rather than hex exponent constants.
3718         Don't use long double multiplication when double will suffice.
3719         * math/libm-test.inc (nextafter_test_data): Add tests.
3720         * NEWS: Add 16739 and 16786 to bug list.
3722         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3724         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3726 2014-04-01  Will Newton  <will.newton@linaro.org>
3728         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3729         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3731 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3733         [BZ #13347]
3734         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3735         * nptl/tst-setuid2.c: New file.
3736         * nptl/Makefile (xtests): Add tst-setuid2.
3738 2014-04-01  Alan Modra  <amodra@gmail.com>
3740         [BZ #16786]
3741         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3743 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3745         [BZ #6803]
3746         [BZ #6804]
3747         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3748         set errno as appropriate.
3749         * math/w_scalbf.c (__scalbf): Likewise.
3750         * math/w_scalbl.c (__scalbl): Likewise.
3751         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3752         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3753         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3754         Add more NaN tests.
3756         [BZ #16349]
3757         * math/w_atan2.c: Include <errno.h>.
3758         (__atan2): Set errno for result underflowing to zero.
3759         * math/w_atan2f.c: Include <errno.h>.
3760         (__atan2f): Set errno for result underflowing to zero.
3761         * math/w_atan2l.c: Include <errno.h>.
3762         (__atan2l): Set errno for result underflowing to zero.
3763         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3764         tests.
3765         * math/auto-libm-test-out: Regenerated.
3767 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3769         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3770         Encode instruction correctly in little endian.
3771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3772         Likewise.
3773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3774         Likewise.
3775         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3776         Likewise.
3777         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3778         Likewise.
3780 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3782         [BZ #9894]
3783         * sysdeps/unix/sysv/linux/kernel-features.h
3784         [__sparc__ && !__arch64__ && !__sparc_v9__]
3785         (__ASSUME_SET_ROBUST_LIST): Do not define.
3786         [__sparc__ && !__arch64__ && !__sparc_v9__]
3787         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3788         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3789         Likewise.
3790         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3791         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3792         (__ASSUME_REQUEUE_PI): Likewise.
3793         (__ASSUME_SET_ROBUST_LIST): Likewise.
3794         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3795         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3796         Undefine.
3797         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3799         Likewise.
3800         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3801         Likewise.
3802         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3803         Likewise.
3804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3805         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3806         Undefine.
3807         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3808         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3809         Likewise.
3811         [BZ #16648]
3812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3813         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3814         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3816 2014-03-31  Will Newton  <will.newton@linaro.org>
3818         * benchtests/Makefile (bench): Add ffs and ffsll to list
3819         of tests.
3820         * benchtests/ffs-inputs: New file.
3821         * benchtests/ffsll-inputs: Likewise.
3823 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3825         [BZ #16770]
3826         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3827         too large before casting to int.
3828         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3829         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3830         * math/libm-test.inc (scalb_test_data): Add more tests.
3832 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3834         * benchtests/Makefile (DETAILED_OPT): New make option.
3835         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3836         set.
3837         * benchtests/bench-skeleton.c: Include stdbool.h.
3838         (main): Store and print timings per input.
3839         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3840         member to each argument value.
3841         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3842         (_print_arg_data): Initialize per-input timing to 0.
3844         * benchtests/Makefile (timing-type): New binary.
3845         (bench-clean): Also remove bench-timing-type.
3846         (bench): New target for timing-type.
3847         (bench-func): Print output in JSON format.
3848         * benchtests/bench-skeleton.c (main): Print output in JSON
3849         format.
3850         * benchtests/bench-timing-type.c: New file.
3851         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3852         (TIMING_PRINT_STATS): Remove.
3853         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3854         name separately.
3856         * benchtests/bench-modf.c: Remove.
3857         * benchtests/modf-inputs: New inputs file.
3859 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3861         [BZ #16362]
3862         * math/s_clog10.c (M_PI_LOG10E): New macro.
3863         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3864         imaginary parts are 0.
3865         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3866         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3867         imaginary parts are 0.
3868         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3869         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3870         imaginary parts are 0.
3871         * math/libm-test.inc (clog10_test_data): Update expected results
3872         for when real and imaginary parts are 0.
3874 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3876         * elf/dl-load.c: Finish conversion of __builtin_expect into
3877         __glibc_{un}likely.
3879 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3881         [BZ #16348]
3882         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3883         1+x for argument with exponent below -67.
3884         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3885         Likewise.
3886         * math/auto-libm-test-in: Add more tests of exp.
3887         * math/auto-libm-test-out: Regenerated.
3889 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3891         [BZ #16759]
3892         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3893         (nscd_getnetgrent): Use it.
3895         [BZ #16760]
3896         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3897         of stpcpy.
3899 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3901         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3902         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3903         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3904         (lll_robust_unlock): Remove out of line section. Use cfi
3905         intrinsics.
3906         (LLL_STUB_UNWIND_INFO*): Remove.
3907         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3908         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3909         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3910         (lll_robust_unlock): Remove out of line section. Use cfi
3911         intrinsics.
3912         (LLL_STUB_UNWIND_INFO*): Remove.
3914 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3916         [BZ #16758]
3917         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3918         blank values.
3920 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3922         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3924 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3926         [BZ #16198]
3927         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3928         fnstenv.
3929         * math/test-fenv-preserve.c: New file.
3930         * math/Makefile (tests): Add test-fenv-preserve.
3932 2014-03-26  Will Newton <will.newton@linaro.org>
3934         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3936 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3938         * scripts/versionlist.awk: Partition the version sets and emit all
3939         GLIBC_* (sorted) before all others (sorted).
3941 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3943         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3944         GLIBC_2.2.5 version.
3946 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3948         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3949         calls.
3951         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3952         previous change.
3954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3956 2014-03-25  Andreas Schwab  <schwab@suse.de>
3958         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3959         label to be used after in6ailist is initialized.
3961 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3963         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3964         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3966 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3968         [BZ #16357]
3969         [BZ #16599]
3970         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3971         min_plus_half.
3972         (fp_formats): Update initializers.
3973         (init_fp_formats): Initialize new field.
3974         (output_for_one_input_case): Allow underflow for results up to
3975         min_plus_half.
3976         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3977         * math/auto-libm-test-in: Don't mark some underflows from asin and
3978         atanh as spurious.
3979         * math/auto-libm-test-out: Regenerated.
3980         * sysdeps/i386/fpu/libm-test-ulps: Update.
3981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3983 2014-03-25  Andreas Schwab  <schwab@suse.de>
3985         * libio/Makefile (tst-ftell-partial-wide-ENV)
3986         (tst-ftell-active-handler-ENV): Define.
3988 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3990         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3992 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3994         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3996 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3998         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3999         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4000         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4002 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4004         [BZ #16634]
4005         * elf/dl-load.c (open_verify): Add mode parameter.
4006         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4007         (open_path): Change from boolean 'secure' to complete flag 'mode'
4008         (_dl_map_object): Adjust.
4009         * elf/Makefile (tests): Add tst-dlopen-aout.
4010         * elf/tst-dlopen-aout.c: New test.
4012 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4014         [BZ #16714]
4015         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4016         (struct stat): Rename member pad0 to __glibc_reserved0.
4018         [BZ #16712]
4019         * sysdeps/s390/s390-32/bits/wordsize.h
4020         (__WORDSIZE32_SIZE_ULONG): New define.
4021         * sysdeps/s390/s390-64/bits/wordsize.h
4022         (__WORDSIZE32_SIZE_ULONG): Likewise.
4023         * sysdeps/generic/stdint.h (SIZE_MAX):
4024         Define as UL if __WORDSIZE32_SIZE_ULONG.
4026         [BZ #16713]
4027         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4028         (__glibc_reserved0): New variable.
4029         (sa_flags): Change type to int.
4031         * posix/Makefile (before-compile): Use += before-compile instead
4032         of a :=.
4034         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4035         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4037 2014-03-20  Andreas Schwab  <schwab@suse.de>
4039         [BZ #16743]
4040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4041         non-matching result from nscd.
4043 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4045         * scripts/bench.py: Moved to ...
4046         * benchtests/scripts/bench.py: ... here.
4047         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4049 2014-03-24  Andreas Schwab  <schwab@suse.de>
4051         [BZ #16002]
4052         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4053         alloca_account and account alloca use for struct in6ailist.
4055 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4057         [BZ #16284]
4058         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4059         rounding mode to recompute results that overflow to infinity or
4060         underflow to zero.
4061         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4062         bug 16284.
4063         * math/auto-libm-test-out: Regenerated.
4064         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4065         (ccosh_test): Likewise.
4066         (csin_test_data): Use plus_oflow.
4067         (csin_test): Use ALL_RM_TEST.
4068         (csinh_test_data): Use plus_oflow.
4069         (csinh_test): Use ALL_RM_TEST.
4070         * sysdeps/i386/fpu/libm-test-ulps: Update.
4071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4073 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4075         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4076         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4077         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4079         [BZ #16731]
4080         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4081         when x - 1 is zero.
4082         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4083         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4084         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4085         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4086         argument is 1.
4087         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4088         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4089         zero.
4090         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4091         * sysdeps/i386/fpu/libm-test-ulps: Update.
4092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4094 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4096         * scripts/bench.pl: Remove file.
4097         * scripts/bench.py: New benchmark script.
4098         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4099         * benchtests/README: Mention python dependency.
4100         * scripts/pylintrc: New file.
4101         * scripts/pylint: New file.
4103         * bits/mathdef.h: Use #ifdef instead of #if.
4104         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4105         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4106         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4107         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4108         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4109         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4111 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4112             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4114         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4116         and strpbrk-ppc64 objects.
4117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4118         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4119         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4120         multiarch strpbrk for POWER7.
4121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4122         multiarch strpbrk for PPC64.
4123         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4124         ifunc selector.
4125         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4126         strpbrk for POWER7.
4128 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4130         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4131         (atan_test): Likewise.
4132         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4133         (atanh_test): Use ALL_RM_TEST.
4134         (atan2_test_data): Likewise.
4135         (cabs_test): Likewise.
4136         (cacosh_test): Likewise.
4137         (carg_test): Likewise.
4138         (casin_test): Likewise.
4139         (casinh_test): Likewise.
4140         (cbrt_test): Likewise.
4141         (csqrt_test): Likewise.
4142         (erf_test): Likewise.
4143         (erfc_test): Likewise.
4144         (pow10_test): Likewise.
4145         (exp2_test): Likewise.
4146         (hypot_test): Likewise.
4147         (j0_test): Likewise.
4148         (j1_test): Likewise.
4149         (lgamma_test): Likewise.
4150         (gamma_test): Likewise.
4151         (sincos_test): Likewise.
4152         (tanh_test): Likewise.
4153         (y0_test): Likewise.
4154         (y1_test): Likewise.
4155         * sysdeps/i386/fpu/libm-test-ulps: Update.
4156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4160         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4162         and strcspn-ppc64 objects.
4163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4164         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4165         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4166         multiarch strcspn for POWER7.
4167         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4168         multiarch strcspn for PPC64.
4169         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4170         ifunc selector.
4171         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4172         strcspn for POWER7.
4174 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4176         * math/gen-libm-test.pl (generate_testfile): Expect only function
4177         name as argument to AUTO_TESTS_* and pass results for all rounding
4178         modes to parse_args.
4179         (parse_auto_input): Separate inputs of automatic tests from
4180         outputs before storing in %auto_tests.
4181         * math/libm-test.inc (acos_test_data): Update call to
4182         AUTO_TESTS_f_f.
4183         (acos_test): Use ALL_RM_TEST.
4184         (acos_tonearest_test_data): Remove.
4185         (acos_test_tonearest): Likewise.
4186         (acos_towardzero_test_data): Likewise.
4187         (acos_test_towardzero): Likewise.
4188         (acos_downward_test_data): Likewise.
4189         (acos_test_downward): Likewise.
4190         (acos_upward_test_data): Likewise.
4191         (acos_test_upward): Likewise.
4192         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4193         (asin_test_data): Likewise.
4194         (asin_test): Use ALL_RM_TEST.
4195         (asin_tonearest_test_data): Remove.
4196         (asin_test_tonearest): Likewise.
4197         (asin_towardzero_test_data): Likewise.
4198         (asin_test_towardzero): Likewise.
4199         (asin_downward_test_data): Likewise.
4200         (asin_test_downward): Likewise.
4201         (asin_upward_test_data): Likewise.
4202         (asin_test_upward): Likewise.
4203         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4204         (atan_test_data): Likewise.
4205         (atanh_test_data): Likewise.
4206         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4207         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4208         (carg_test_data): Likewise.
4209         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4210         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4211         (ccosh_test_data): Likewise.
4212         (cexp_test_data): Likewise.
4213         (clog_test_data): Likewise.
4214         (clog10_test_data): Likewise.
4215         (cos_test_data): Update call to AUTO_TESTS_f_f.
4216         (cos_test): Use ALL_RM_TEST.
4217         (cos_tonearest_test_data): Remove.
4218         (cos_test_tonearest): Likewise.
4219         (cos_towardzero_test_data): Likewise.
4220         (cos_test_towardzero): Likewise.
4221         (cos_downward_test_data): Likewise.
4222         (cos_test_downward): Likewise.
4223         (cos_upward_test_data): Likewise.
4224         (cos_test_upward): Likewise.
4225         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4226         (cosh_test): Use ALL_RM_TEST.
4227         (cosh_tonearest_test_data): Remove.
4228         (cosh_test_tonearest): Likewise.
4229         (cosh_towardzero_test_data): Likewise.
4230         (cosh_test_towardzero): Likewise.
4231         (cosh_downward_test_data): Likewise.
4232         (cosh_test_downward): Likewise.
4233         (cosh_upward_test_data): Likewise.
4234         (cosh_test_upward): Likewise.
4235         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4236         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4237         (ctan_test_data): Likewise.
4238         (ctan_test): Use ALL_RM_TEST.
4239         (ctan_tonearest_test_data): Remove.
4240         (ctan_test_tonearest): Likewise.
4241         (ctan_towardzero_test_data): Likewise.
4242         (ctan_test_towardzero): Likewise.
4243         (ctan_downward_test_data): Likewise.
4244         (ctan_test_downward): Likewise.
4245         (ctan_upward_test_data): Likewise.
4246         (ctan_test_upward): Likewise.
4247         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4248         (ctanh_test): Use ALL_RM_TEST.
4249         (ctanh_tonearest_test_data): Remove.
4250         (ctanh_test_tonearest): Likewise.
4251         (ctanh_towardzero_test_data): Likewise.
4252         (ctanh_test_towardzero): Likewise.
4253         (ctanh_downward_test_data): Likewise.
4254         (ctanh_test_downward): Likewise.
4255         (ctanh_upward_test_data): Likewise.
4256         (ctanh_test_upward): Likewise.
4257         (erf_test_data): Update call to AUTO_TESTS_f_f.
4258         (erfc_test_data): Likewise.
4259         (exp_test_data): Likewise.
4260         (exp_test): Use ALL_RM_TEST.
4261         (exp_tonearest_test_data): Remove.
4262         (exp_test_tonearest): Likewise.
4263         (exp_towardzero_test_data): Likewise.
4264         (exp_test_towardzero): Likewise.
4265         (exp_downward_test_data): Likewise.
4266         (exp_test_downward): Likewise.
4267         (exp_upward_test_data): Likewise.
4268         (exp_test_upward): Likewise.
4269         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4270         (exp10_test): Use ALL_RM_TEST.
4271         (exp10_tonearest_test_data): Remove.
4272         (exp10_test_tonearest): Likewise.
4273         (exp10_towardzero_test_data): Likewise.
4274         (exp10_test_towardzero): Likewise.
4275         (exp10_downward_test_data): Likewise.
4276         (exp10_test_downward): Likewise.
4277         (exp10_upward_test_data): Likewise.
4278         (exp10_test_upward): Likewise.
4279         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4280         (expm1_test_data): Likewise.
4281         (expm1_test): Use ALL_RM_TEST.
4282         (expm1_tonearest_test_data): Remove.
4283         (expm1_test_tonearest): Likewise.
4284         (expm1_towardzero_test_data): Likewise.
4285         (expm1_test_towardzero): Likewise.
4286         (expm1_downward_test_data): Likewise.
4287         (expm1_test_downward): Likewise.
4288         (expm1_upward_test_data): Likewise.
4289         (expm1_test_upward): Likewise.
4290         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4291         (fma_test): Use ALL_RM_TEST.
4292         (fma_towardzero_test_data): Remove.
4293         (fma_test_towardzero): Likewise.
4294         (fma_downward_test_data): Likewise.
4295         (fma_test_downward): Likewise.
4296         (fma_upward_test_data): Likewise.
4297         (fma_test_upward): Likewise.
4298         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4299         (j0_test_data): Update call to AUTO_TESTS_f_f.
4300         (j1_test_data): Likewise.
4301         (jn_test_data): Update call to AUTO_TESTS_if_f.
4302         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4303         (log_test_data): Update call to AUTO_TESTS_f_f.
4304         (log10_test_data): Likewise.
4305         (log1p_test_data): Likewise.
4306         (log2_test_data): Likewise.
4307         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4308         (pow_tonearest_test_data): Likewise.
4309         (sin_test_data): Update call to AUTO_TESTS_f_f.
4310         (sin_test): Use ALL_RM_TEST.
4311         (sin_tonearest_test_data): Remove.
4312         (sin_test_tonearest): Likewise.
4313         (sin_towardzero_test_data): Likewise.
4314         (sin_test_towardzero): Likewise.
4315         (sin_downward_test_data): Likewise.
4316         (sin_test_downward): Likewise.
4317         (sin_upward_test_data): Likewise.
4318         (sin_test_upward): Likewise.
4319         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4320         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4321         (sinh_test): Use ALL_RM_TEST.
4322         (sinh_tonearest_test_data): Remove.
4323         (sinh_test_tonearest): Likewise.
4324         (sinh_towardzero_test_data): Likewise.
4325         (sinh_test_towardzero): Likewise.
4326         (sinh_downward_test_data): Likewise.
4327         (sinh_test_downward): Likewise.
4328         (sinh_upward_test_data): Likewise.
4329         (sinh_test_upward): Likewise.
4330         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4331         (sqrt_test): Use ALL_RM_TEST.
4332         (sqrt_tonearest_test_data): Remove.
4333         (sqrt_test_tonearest): Likewise.
4334         (sqrt_towardzero_test_data): Likewise.
4335         (sqrt_test_towardzero): Likewise.
4336         (sqrt_downward_test_data): Likewise.
4337         (sqrt_test_downward): Likewise.
4338         (sqrt_upward_test_data): Likewise.
4339         (sqrt_test_upward): Likewise.
4340         (tan_test_data): Update call to AUTO_TESTS_f_f.
4341         (tan_test): Use ALL_RM_TEST.
4342         (tan_tonearest_test_data): Remove.
4343         (tan_test_tonearest): Likewise.
4344         (tan_towardzero_test_data): Likewise.
4345         (tan_test_towardzero): Likewise.
4346         (tan_downward_test_data): Likewise.
4347         (tan_test_downward): Likewise.
4348         (tan_upward_test_data): Likewise.
4349         (tan_test_upward): Likewise.
4350         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4351         (tgamma_test_data): Likewise.
4352         (y0_test_data): Likewise.
4353         (y1_test_data): Likewise.
4354         (yn_test_data): Update call to AUTO_TESTS_if_f.
4355         (main): Do not call removed functions.
4357 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4359         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4360         (ldexp_test_data): Remove.
4361         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4362         scalbn_test_data.
4363         (scalb_test): Use ALL_RM_TEST.
4365 2014-03-19  Andreas Schwab  <schwab@suse.de>
4367         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4369 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4371         [BZ #16649]
4372         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4373         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4374         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4376         (__ASSUME_PREADV): Undefine.
4377         (__ASSUME_PWRITEV): Likewise.
4379 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4381         * bits/mman-linux.h: Add comment about non-Linux use.
4382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4383         bits/mman-linux.h resting place.
4385         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4386         * bits/mman-linux.h: ... here.
4388 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4390         * conform/conformtest.pl: Add standard definition when calling C
4391         preprocessor on data files.
4392         (checknamespace): Remove unused variable.
4394 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4396         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4397         minus_oflow, plus_uflow and minus_uflow in expected results.
4398         * math/libm-test.inc (scalbn_test_data): Add more tests of
4399         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4400         minus_uflow.
4401         (scalbn_test): Use ALL_RM_TEST.
4402         (scalbln_test_data): Add more tests of negative arguments.  Use
4403         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4404         (scalbln_test): Use ALL_RM_TEST.
4406 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4408         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4410 2014-03-18  Will Newton  <will.newton@linaro.org>
4412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4413         inaccurate comment.
4415 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4417         * Makerules [!subdir] (check-abi): Exit with error status if a
4418         test failed.
4420 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4422         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4423         for rint.  Include results for all rounding modes.
4424         (nearbyint_test): Use ALL_RM_TEST.
4425         (rint_test_data): Include all tests used for nearbyint.
4427 2014-03-17  Will Newton  <will.newton@linaro.org>
4429         * nptl/sysdeps/pthread/pthread.h: Revert previous
4430         change.
4432         * sysdeps/generic/ldsodefs.h: Revert previous
4433         change.
4435         * libio/genops.c: Revert previous change.
4436         * libio/libioP.h: Likewise.
4437         * stdio-common/vfprintf.c: Likewise.
4439         * sysdeps/generic/math_private.h: Revert previous
4440         change.
4442         * sysdeps/generic/math_private.h: Check whether
4443         HAVE_RM_CTX is defined with #ifdef rather
4444         than #if.
4446         * argp/argp-fmtstream.h: Check whether
4447         __STRICT_ANSI__ is defined with #ifdef rather
4448         than #if.
4449         * argp/argp.h: Likewise.
4451         * libio/genops.c: Check whether
4452         _IO_JUMPS_OFFSET is defined with #ifdef rather
4453         than #if.
4454         * libio/libioP.h: Likewise.
4455         * stdio-common/vfprintf.c: Likewise.
4457         * sysdeps/generic/ldsodefs.h: Check whether
4458         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4459         than #if.
4461         * nptl/sysdeps/pthread/pthread.h: Check
4462         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4463         its value.
4465 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4467         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4468         setting O_APPEND.
4469         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4470         test case.
4472         [BZ #16680]
4473         * libio/fileops.c (_IO_file_open): Seek to end of file but
4474         don't cache the offset.
4475         (get_file_offset): Remove function.
4476         (do_ftell): Use cached offset when available.
4477         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4478         don't cache the offset.
4479         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4480         case.
4481         (do_one_test): Call it.
4482         (do_ftell_test): Fix up expected old offset for a+ mode.
4483         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4484         available.
4486         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4487         up test status with function return status.
4488         (do_write_test): Likewise.
4489         (do_append_test): Likewise.
4491         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4492         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4493         Remove.
4495 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4497         * math/gen-libm-test.pl (parse_args): Handle results specified for
4498         each rounding mode separately.
4499         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4500         tests and results from lrint_tonearest_test_data,
4501         lrint_towardzero_test_data, lrint_downward_test_data and
4502         lrint_upward_test_data.
4503         (lrint_test): Use ALL_RM_TEST.
4504         (lrint_tonearest_test_data): Remove.
4505         (lrint_test_tonearest): Likewise.
4506         (lrint_towardzero_test_data): Likewise.
4507         (lrint_test_towardzero): Likewise.
4508         (lrint_downward_test_data): Likewise.
4509         (lrint_test_downward): Likewise.
4510         (lrint_upward_test_data): Likewise.
4511         (lrint_test_upward): Likewise.
4512         (llrint_test_data): Merge in per-rounding-mode tests and results
4513         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4514         llrint_downward_test_data and llrint_upward_test_data.
4515         (llrint_test): Use ALL_RM_TEST.
4516         (llrint_tonearest_test_data): Remove.
4517         (llrint_test_tonearest): Likewise.
4518         (llrint_towardzero_test_data): Likewise.
4519         (llrint_test_towardzero): Likewise.
4520         (llrint_downward_test_data): Likewise.
4521         (llrint_test_downward): Likewise.
4522         (llrint_upward_test_data): Likewise.
4523         (llrint_test_upward): Likewise.
4524         (rint_test_data): Merge in per-rounding-mode tests and results
4525         from rint_tonearest_test_data, rint_towardzero_test_data,
4526         rint_downward_test_data and rint_upward_test_data.  Add
4527         per-rounding-mode results for tests not in those arrays.
4528         (rint_test): Use ALL_RM_TEST.
4529         (rint_tonearest_test_data): Remove.
4530         (rint_test_tonearest): Likewise.
4531         (rint_towardzero_test_data): Likewise.
4532         (rint_test_towardzero): Likewise.
4533         (rint_downward_test_data): Likewise.
4534         (rint_test_downward): Likewise.
4535         (rint_upward_test_data): Likewise.
4536         (rint_test_upward): Likewise.
4537         (main): Don't call removed functions.
4539 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4541         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4542         "Compiled on ..." crapola.  It is anti-useful.
4544 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4546         * scripts/evaluate-test.sh: Handle fourth argument to determine
4547         whether test run should stop on failure.
4548         * Makeconfig (stop-on-test-failure): New variable.
4549         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4550         $(stop-on-test-failure).
4551         * Makefile (tests): Give a summary of results from testing and
4552         exit with failure status if they include an ERROR or FAIL.
4553         (xtests): Likewise.
4554         * manual/install.texi (Configuring and compiling): Mention
4555         stop-on-test-failure=y.
4556         * INSTALL: Regenerated.
4558 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4560         * scripts/versionlist.awk: New file.
4561         * Makerules [$(build-shared) = yes]
4562         (postclean-generated): Add Versions.def, not Versions.def.v and
4563         Versions.def.v.i.
4564         ($(common-objpfx)Versions.def.v.i): Target removed.
4565         ($(common-objpfx)Versions.def): New target.
4566         ($(common-objpfx)Versions.all): Depend on that rather that
4567         $(common-objpfx)Versions.def.v.
4568         * Versions.def: File removed.
4570         * Makeconfig (+gccwarn): Add -Wundef.
4571         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4572         a dl-sysdep.h breaking its contract.
4573         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4574         * include/stackinfo.h: New file.
4575         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4576         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4577         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4578         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4579         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4580         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4581         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4582         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4583         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4584         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4585         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4586         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4587         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4588         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4589         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4591 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4593         [BZ #16707]
4594         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4595         implementation.
4596         * math/libm-test.inc (round_test_data): Add more tests.
4598         [BZ #16706]
4599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4600         implementation.
4601         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4603         [BZ #16701]
4604         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4605         implementation.
4606         * math/libm-test.inc (ceil_test_data): Add more tests.
4608         * math/libm-test.inc (trunc_test_data): Add more tests related to
4609         BZ#16414.
4611 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4613         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4614         with #if rather than #ifdef.
4615         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4617 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4619         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4620         first.  Disable AVX-512 GCC support if assembler doesn't support
4621         it.
4622         * sysdeps/x86_64/configure: Regenerated.
4624 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4626         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4627         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4628         (__old_pthread_attr_setstack): Likewise.
4629         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4630         [!_STACK_GROWS_DOWN]: Likewise.
4632 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4634         * config.make.in (have-bash2): Delete.
4635         * configure.ac (libc_cv_have_bash2): Delete.
4636         * configure: Regenerate.
4637         * elf/Makefile (common-ldd-rewrite): Rename to ...
4638         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4639         (sh-ldd-rewrite): Delete.
4640         (bash-ldd-rewrite): Delete.
4641         (have-bash2): Delete checks.
4642         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4643         ldd-rewrite.
4645         * config.make.in (have-ksh): Delete.
4646         (KSH): Delete.
4647         * configure.ac (libc_cv_have_ksh): Delete.
4648         * configure: Regenerate.
4650         * elf/Makefile: Delete $(have-ksh) check.
4651         ($(objpfx)sotruss): Change KSH to BASH.
4652         * elf/sotruss.ksh: Rename to ...
4653         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4654         function style to match POSIX.  Drop ksh vim mode setting.
4656         * manual/time.texi (Specifying the Time Zone with TZ): Change
4657         Tuesday to Thursday.
4659         * debug/tst-longjmp_chk2.c: Update header comment.
4660         (stackoverflow_handler): Add comment.  Call assert on pass value.
4662 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4664         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4665         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4666         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4667         (La_x86_64_vector): Add zmm.
4668         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4669         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4670         ($(objpfx)tst-audit10): New target.
4671         ($(objpfx)tst-audit10.out): Likewise.
4672         (tst-audit10-ENV): New.
4673         (AVX512-CFLAGS): Likewise.
4674         (CFLAGS-tst-audit10.c): Likewise.
4675         (CFLAGS-tst-auditmod10a.c): Likewise.
4676         (CFLAGS-tst-auditmod10b.c): Likewise.
4677         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4678         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4679         * sysdeps/x86_64/configure: Regenerated.
4680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4681         AVX-512 zmm register support.
4682         (_dl_x86_64_save_sse): Likewise.
4683         (_dl_x86_64_restore_sse): Likewise.
4684         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4685         size vector registers.
4686         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4687         (ZMM_SIZE): Likewise.
4688         * sysdeps/x86_64/tst-audit10.c: New file.
4689         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4690         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4692 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4694         * configure.ac (HAVE_EHDR_START): New check.
4695         * configure: Regenerated.
4696         * config.h.in (HAVE_EHDR_START): New #undef.
4697         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4698         assuming the lowest-addressed segment maps the start of the file.
4700 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4702         * INSTALL: Regenerated.
4704 2014-03-13  Will Newton  <will.newton@linaro.org>
4706         * manual/setjmp.texi (System V contexts): Improve
4707         clarity and grammar of documentation.
4709 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4711         [BZ #16381]
4712         * elf/Makefile (tests): Add tst-pie2.
4713         (tests-pie): Add tst-pie2.
4714         * elf/tst-pie2.c: New file.
4715         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4716         for ET_EXEC.
4717         * elf/rtld.c (map_doit): Load executable as lt_executable.
4718         (dl_main): Likewise.
4720 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4722         [BZ #16642]
4723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4724         (__ASSUME_PSELECT): Undefine.
4726 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4728         [BZ #16689]
4729         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4730         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4731         static build.
4732         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4733         selector for static builds.
4735 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4737         [BZ #16695]
4738         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4739         key in the buffer.
4741 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4743         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4744         IFUNC selector for static builds.
4746 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4748         * sysdeps/mips/math_private.h [__mips_hard_float]
4749         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4750         libc_feresetround_mips_ctx.
4751         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4752         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4753         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4755         [BZ #16677]
4756         * math/s_nextafter.c (__nextafter): Do not return value from
4757         overflowing computation.
4758         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4759         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4760         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4761         Likewise.
4762         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4763         Likewise.
4764         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4765         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4767 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4769         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4770         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4771         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4772         the new mov targetting sp.
4774 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4776         [BZ #16683]
4777         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4778         Define it for static builds as well.
4779         (NO_BZERO_IMPL): Likewise.
4781 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4783         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4784         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4785         multiarch strspn for PPC64.
4786         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4787         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4789         (__libc_ifunc_impl_list): Likewise.
4790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4791         multiarch optimizations
4792         * string/strspn.c (strspn): Using macro to redefine symbol name.
4794 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4795             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4797         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4798         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4799         multiarch strncat for PPC64.
4800         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4801         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4803         (__libc_ifunc_impl_list): Likewise.
4804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4805         multiarch optimizations
4807 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4809         [BZ #16639]
4810         * nscd/nscd.service: Make service type forking.
4812 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4814         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4815         sign in non default rounding modes.
4816         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4818 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4820         * math/libm-test.inc (ALL_RM_TEST): New macro.
4821         (ceil_test): Use ALL_RM_TEST.
4822         (cimag_test): Likewise.
4823         (conj_test): Likewise.
4824         (copysign_test): Likewise.
4825         (cproj_test): Likewise.
4826         (creal_test): Likewise.
4827         (fabs_test): Likewise.
4828         (floor_test): Likewise.
4829         (fmax_test): Likewise.
4830         (fmin_test): Likewise.
4831         (fmod_test): Likewise.
4832         (fpclassify_test): Likewise.
4833         (frexp_test): Likewise.
4834         (ilogb_test): Likewise.
4835         (isfinite_test): Likewise.
4836         (finite_test): Likewise.
4837         (isgreater_test): Likewise.
4838         (isgreaterequal_test): Likewise.
4839         (isinf_test): Likewise.
4840         (isless_test): Likewise.
4841         (islessequal_test): Likewise.
4842         (islessgreater_test): Likewise.
4843         (isnan_test): Likewise.
4844         (isnormal_test): Likewise.
4845         (issignaling_test): Likewise.
4846         (isunordered_test): Likewise.
4847         (logb_test): Likewise.
4848         (logb_downward_test_data): Remove.
4849         (logb_test_downward): Likewise.
4850         (lround_test): Use ALL_RM_TEST.
4851         (llround_test): Likewise.
4852         (modf_test): Likewise.
4853         (nexttoward_test): Likewise.
4854         (remainder_test): Likewise.
4855         (drem_test): Likewise.
4856         (remainder_tonearest_test_data): Likewise.
4857         (remainder_test_tonearest): Likewise.
4858         (drem_test_tonearest): Likewise.
4859         (remainder_towardzero_test_data): Likewise.
4860         (remainder_test_towardzero): Likewise.
4861         (drem_test_towardzero): Likewise.
4862         (remainder_downward_test_data): Likewise.
4863         (remainder_test_downward): Likewise.
4864         (drem_test_downward): Likewise.
4865         (remainder_upward_test_data): Likewise.
4866         (remainder_test_upward): Likewise.
4867         (drem_test_upward): Likewise.
4868         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4869         (round_test): Use ALL_RM_TEST.
4870         (signbit_test): Likewise.
4871         (trunc_test): Likewise.
4872         (significand_test): Likewise.
4873         (main): Don't call removed functions.
4875 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #16674]
4878         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4879         || __USE_XOPEN2K8].
4880         (ILL_ILLOPN): Likewise.
4881         (ILL_ILLADR): Likewise.
4882         (ILL_ILLTRP): Likewise.
4883         (ILL_PRVOPC): Likewise.
4884         (ILL_PRVREG): Likewise.
4885         (ILL_COPROC): Likewise.
4886         (ILL_BADSTK): Likewise.
4887         (FPE_INTDIV): Likewise.
4888         (FPE_INTOVF): Likewise.
4889         (FPE_FLTDIV): Likewise.
4890         (FPE_FLTOVF): Likewise.
4891         (FPE_FLTUND): Likewise.
4892         (FPE_FLTRES): Likewise.
4893         (FPE_FLTINV): Likewise.
4894         (FPE_FLTSUB): Likewise.
4895         (SEGV_MAPERR): Likewise.
4896         (SEGV_ACCERR): Likewise.
4897         (BUS_ADRALN): Likewise.
4898         (BUS_ADRERR): Likewise.
4899         (BUS_OBJERR): Likewise.
4900         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4901         (TRAP_TRACE): Likewise.
4902         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4903         __USE_XOPEN2K8].
4904         (CLD_KILLED): Likewise.
4905         (CLD_DUMPED): Likewise.
4906         (CLD_TRAPPED): Likewise.
4907         (CLD_STOPPED): Likewise.
4908         (CLD_CONTINUED): Likewise.
4909         (POLL_IN): Likewise.
4910         (POLL_OUT): Likewise.
4911         (POLL_MSG): Likewise.
4912         (POLL_ERR): Likewise.
4913         (POLL_PRI): Likewise.
4914         (POLL_HUP): Likewise.
4915         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4916         Likewise.
4917         (ILL_ILLOPN): Likewise.
4918         (ILL_ILLADR): Likewise.
4919         (ILL_ILLTRP): Likewise.
4920         (ILL_PRVOPC): Likewise.
4921         (ILL_PRVREG): Likewise.
4922         (ILL_COPROC): Likewise.
4923         (ILL_BADSTK): Likewise.
4924         (FPE_INTDIV): Likewise.
4925         (FPE_INTOVF): Likewise.
4926         (FPE_FLTDIV): Likewise.
4927         (FPE_FLTOVF): Likewise.
4928         (FPE_FLTUND): Likewise.
4929         (FPE_FLTRES): Likewise.
4930         (FPE_FLTINV): Likewise.
4931         (FPE_FLTSUB): Likewise.
4932         (SEGV_MAPERR): Likewise.
4933         (SEGV_ACCERR): Likewise.
4934         (BUS_ADRALN): Likewise.
4935         (BUS_ADRERR): Likewise.
4936         (BUS_OBJERR): Likewise.
4937         (BUS_MCEERR_AR): Likewise.
4938         (BUS_MCEERR_AO): Likewise.
4939         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4940         (TRAP_TRACE): Likewise.
4941         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4942         __USE_XOPEN2K8].
4943         (CLD_KILLED): Likewise.
4944         (CLD_DUMPED): Likewise.
4945         (CLD_TRAPPED): Likewise.
4946         (CLD_STOPPED): Likewise.
4947         (CLD_CONTINUED): Likewise.
4948         (POLL_IN): Likewise.
4949         (POLL_OUT): Likewise.
4950         (POLL_MSG): Likewise.
4951         (POLL_ERR): Likewise.
4952         (POLL_PRI): Likewise.
4953         (POLL_HUP): Likewise.
4954         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4955         (ILL_ILLOPN): Likewise.
4956         (ILL_ILLADR): Likewise.
4957         (ILL_ILLTRP): Likewise.
4958         (ILL_PRVOPC): Likewise.
4959         (ILL_PRVREG): Likewise.
4960         (ILL_COPROC): Likewise.
4961         (ILL_BADSTK): Likewise.
4962         (FPE_INTDIV): Likewise.
4963         (FPE_INTOVF): Likewise.
4964         (FPE_FLTDIV): Likewise.
4965         (FPE_FLTOVF): Likewise.
4966         (FPE_FLTUND): Likewise.
4967         (FPE_FLTRES): Likewise.
4968         (FPE_FLTINV): Likewise.
4969         (FPE_FLTSUB): Likewise.
4970         (SEGV_MAPERR): Likewise.
4971         (SEGV_ACCERR): Likewise.
4972         (BUS_ADRALN): Likewise.
4973         (BUS_ADRERR): Likewise.
4974         (BUS_OBJERR): Likewise.
4975         (BUS_MCEERR_AR): Likewise.
4976         (BUS_MCEERR_AO): Likewise.
4977         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4978         (TRAP_TRACE): Likewise.
4979         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4980         __USE_XOPEN2K8].
4981         (CLD_KILLED): Likewise.
4982         (CLD_DUMPED): Likewise.
4983         (CLD_TRAPPED): Likewise.
4984         (CLD_STOPPED): Likewise.
4985         (CLD_CONTINUED): Likewise.
4986         (POLL_IN): Likewise.
4987         (POLL_OUT): Likewise.
4988         (POLL_MSG): Likewise.
4989         (POLL_ERR): Likewise.
4990         (POLL_PRI): Likewise.
4991         (POLL_HUP): Likewise.
4992         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4993         Likewise.
4994         (ILL_ILLOPN): Likewise.
4995         (ILL_ILLADR): Likewise.
4996         (ILL_ILLTRP): Likewise.
4997         (ILL_PRVOPC): Likewise.
4998         (ILL_PRVREG): Likewise.
4999         (ILL_COPROC): Likewise.
5000         (ILL_BADSTK): Likewise.
5001         (ILL_BADIADDR): Likewise.
5002         (ILL_BREAK): Likewise.
5003         (FPE_INTDIV): Likewise.
5004         (FPE_INTOVF): Likewise.
5005         (FPE_FLTDIV): Likewise.
5006         (FPE_FLTOVF): Likewise.
5007         (FPE_FLTUND): Likewise.
5008         (FPE_FLTRES): Likewise.
5009         (FPE_FLTINV): Likewise.
5010         (FPE_FLTSUB): Likewise.
5011         (FPE_DECOVF): Likewise.
5012         (FPE_DECDIV): Likewise.
5013         (FPE_DECERR): Likewise.
5014         (FPE_INVASC): Likewise.
5015         (FPE_INVDEC): Likewise.
5016         (SEGV_MAPERR): Likewise.
5017         (SEGV_ACCERR): Likewise.
5018         (SEGV_PSTKOVF): Likewise.
5019         (BUS_ADRALN): Likewise.
5020         (BUS_ADRERR): Likewise.
5021         (BUS_OBJERR): Likewise.
5022         (BUS_MCEERR_AR): Likewise.
5023         (BUS_MCEERR_AO): Likewise.
5024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5025         (TRAP_TRACE): Likewise.
5026         (TRAP_BRANCH): Likewise.
5027         (TRAP_HWBKPT): Likewise.
5028         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5029         __USE_XOPEN2K8].
5030         (CLD_KILLED): Likewise.
5031         (CLD_DUMPED): Likewise.
5032         (CLD_TRAPPED): Likewise.
5033         (CLD_STOPPED): Likewise.
5034         (CLD_CONTINUED): Likewise.
5035         (POLL_IN): Likewise.
5036         (POLL_OUT): Likewise.
5037         (POLL_MSG): Likewise.
5038         (POLL_ERR): Likewise.
5039         (POLL_PRI): Likewise.
5040         (POLL_HUP): Likewise.
5041         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5042         (ILL_ILLOPN): Likewise.
5043         (ILL_ILLADR): Likewise.
5044         (ILL_ILLTRP): Likewise.
5045         (ILL_PRVOPC): Likewise.
5046         (ILL_PRVREG): Likewise.
5047         (ILL_COPROC): Likewise.
5048         (ILL_BADSTK): Likewise.
5049         (FPE_INTDIV): Likewise.
5050         (FPE_INTOVF): Likewise.
5051         (FPE_FLTDIV): Likewise.
5052         (FPE_FLTOVF): Likewise.
5053         (FPE_FLTUND): Likewise.
5054         (FPE_FLTRES): Likewise.
5055         (FPE_FLTINV): Likewise.
5056         (FPE_FLTSUB): Likewise.
5057         (SEGV_MAPERR): Likewise.
5058         (SEGV_ACCERR): Likewise.
5059         (BUS_ADRALN): Likewise.
5060         (BUS_ADRERR): Likewise.
5061         (BUS_OBJERR): Likewise.
5062         (BUS_MCEERR_AR): Likewise.
5063         (BUS_MCEERR_AO): Likewise.
5064         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5065         (TRAP_TRACE): Likewise.
5066         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5067         __USE_XOPEN2K8].
5068         (CLD_KILLED): Likewise.
5069         (CLD_DUMPED): Likewise.
5070         (CLD_TRAPPED): Likewise.
5071         (CLD_STOPPED): Likewise.
5072         (CLD_CONTINUED): Likewise.
5073         (POLL_IN): Likewise.
5074         (POLL_OUT): Likewise.
5075         (POLL_MSG): Likewise.
5076         (POLL_ERR): Likewise.
5077         (POLL_PRI): Likewise.
5078         (POLL_HUP): Likewise.
5079         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5080         (ILL_ILLOPN): Likewise.
5081         (ILL_ILLADR): Likewise.
5082         (ILL_ILLTRP): Likewise.
5083         (ILL_PRVOPC): Likewise.
5084         (ILL_PRVREG): Likewise.
5085         (ILL_COPROC): Likewise.
5086         (ILL_BADSTK): Likewise.
5087         (FPE_INTDIV): Likewise.
5088         (FPE_INTOVF): Likewise.
5089         (FPE_FLTDIV): Likewise.
5090         (FPE_FLTOVF): Likewise.
5091         (FPE_FLTUND): Likewise.
5092         (FPE_FLTRES): Likewise.
5093         (FPE_FLTINV): Likewise.
5094         (FPE_FLTSUB): Likewise.
5095         (SEGV_MAPERR): Likewise.
5096         (SEGV_ACCERR): Likewise.
5097         (BUS_ADRALN): Likewise.
5098         (BUS_ADRERR): Likewise.
5099         (BUS_OBJERR): Likewise.
5100         (BUS_MCEERR_AR): Likewise.
5101         (BUS_MCEERR_AO): Likewise.
5102         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5103         (TRAP_TRACE): Likewise.
5104         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5105         __USE_XOPEN2K8].
5106         (CLD_KILLED): Likewise.
5107         (CLD_DUMPED): Likewise.
5108         (CLD_TRAPPED): Likewise.
5109         (CLD_STOPPED): Likewise.
5110         (CLD_CONTINUED): Likewise.
5111         (POLL_IN): Likewise.
5112         (POLL_OUT): Likewise.
5113         (POLL_MSG): Likewise.
5114         (POLL_ERR): Likewise.
5115         (POLL_PRI): Likewise.
5116         (POLL_HUP): Likewise.
5117         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5118         (ILL_ILLOPN): Likewise.
5119         (ILL_ILLADR): Likewise.
5120         (ILL_ILLTRP): Likewise.
5121         (ILL_PRVOPC): Likewise.
5122         (ILL_PRVREG): Likewise.
5123         (ILL_COPROC): Likewise.
5124         (ILL_BADSTK): Likewise.
5125         (FPE_INTDIV): Likewise.
5126         (FPE_INTOVF): Likewise.
5127         (FPE_FLTDIV): Likewise.
5128         (FPE_FLTOVF): Likewise.
5129         (FPE_FLTUND): Likewise.
5130         (FPE_FLTRES): Likewise.
5131         (FPE_FLTINV): Likewise.
5132         (FPE_FLTSUB): Likewise.
5133         (SEGV_MAPERR): Likewise.
5134         (SEGV_ACCERR): Likewise.
5135         (BUS_ADRALN): Likewise.
5136         (BUS_ADRERR): Likewise.
5137         (BUS_OBJERR): Likewise.
5138         (BUS_MCEERR_AR): Likewise.
5139         (BUS_MCEERR_AO): Likewise.
5140         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5141         (TRAP_TRACE): Likewise.
5142         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5143         __USE_XOPEN2K8].
5144         (CLD_KILLED): Likewise.
5145         (CLD_DUMPED): Likewise.
5146         (CLD_TRAPPED): Likewise.
5147         (CLD_STOPPED): Likewise.
5148         (CLD_CONTINUED): Likewise.
5149         (POLL_IN): Likewise.
5150         (POLL_OUT): Likewise.
5151         (POLL_MSG): Likewise.
5152         (POLL_ERR): Likewise.
5153         (POLL_PRI): Likewise.
5154         (POLL_HUP): Likewise.
5155         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5156         (ILL_ILLOPN): Likewise.
5157         (ILL_ILLADR): Likewise.
5158         (ILL_ILLTRP): Likewise.
5159         (ILL_PRVOPC): Likewise.
5160         (ILL_PRVREG): Likewise.
5161         (ILL_COPROC): Likewise.
5162         (ILL_BADSTK): Likewise.
5163         (ILL_DBLFLT): Likewise.
5164         (ILL_HARDWALL): Likewise.
5165         (FPE_INTDIV): Likewise.
5166         (FPE_INTOVF): Likewise.
5167         (FPE_FLTDIV): Likewise.
5168         (FPE_FLTOVF): Likewise.
5169         (FPE_FLTUND): Likewise.
5170         (FPE_FLTRES): Likewise.
5171         (FPE_FLTINV): Likewise.
5172         (FPE_FLTSUB): Likewise.
5173         (SEGV_MAPERR): Likewise.
5174         (SEGV_ACCERR): Likewise.
5175         (BUS_ADRALN): Likewise.
5176         (BUS_ADRERR): Likewise.
5177         (BUS_OBJERR): Likewise.
5178         (BUS_MCEERR_AR): Likewise.
5179         (BUS_MCEERR_AO): Likewise.
5180         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5181         (TRAP_TRACE): Likewise.
5182         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5183         __USE_XOPEN2K8].
5184         (CLD_KILLED): Likewise.
5185         (CLD_DUMPED): Likewise.
5186         (CLD_TRAPPED): Likewise.
5187         (CLD_STOPPED): Likewise.
5188         (CLD_CONTINUED): Likewise.
5189         (POLL_IN): Likewise.
5190         (POLL_OUT): Likewise.
5191         (POLL_MSG): Likewise.
5192         (POLL_ERR): Likewise.
5193         (POLL_PRI): Likewise.
5194         (POLL_HUP): Likewise.
5195         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5196         (ILL_ILLOPN): Likewise.
5197         (ILL_ILLADR): Likewise.
5198         (ILL_ILLTRP): Likewise.
5199         (ILL_PRVOPC): Likewise.
5200         (ILL_PRVREG): Likewise.
5201         (ILL_COPROC): Likewise.
5202         (ILL_BADSTK): Likewise.
5203         (FPE_INTDIV): Likewise.
5204         (FPE_INTOVF): Likewise.
5205         (FPE_FLTDIV): Likewise.
5206         (FPE_FLTOVF): Likewise.
5207         (FPE_FLTUND): Likewise.
5208         (FPE_FLTRES): Likewise.
5209         (FPE_FLTINV): Likewise.
5210         (FPE_FLTSUB): Likewise.
5211         (SEGV_MAPERR): Likewise.
5212         (SEGV_ACCERR): Likewise.
5213         (BUS_ADRALN): Likewise.
5214         (BUS_ADRERR): Likewise.
5215         (BUS_OBJERR): Likewise.
5216         (BUS_MCEERR_AR): Likewise.
5217         (BUS_MCEERR_AO): Likewise.
5218         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5219         (TRAP_TRACE): Likewise.
5220         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5221         __USE_XOPEN2K8].
5222         (CLD_KILLED): Likewise.
5223         (CLD_DUMPED): Likewise.
5224         (CLD_TRAPPED): Likewise.
5225         (CLD_STOPPED): Likewise.
5226         (CLD_CONTINUED): Likewise.
5227         (POLL_IN): Likewise.
5228         (POLL_OUT): Likewise.
5229         (POLL_MSG): Likewise.
5230         (POLL_ERR): Likewise.
5231         (POLL_PRI): Likewise.
5232         (POLL_HUP): Likewise.
5233         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5234         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5236         [BZ #16670]
5237         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5238         before #include of <time.h>.
5239         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5240         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5241         (test-xfail-UNIX98/sched.h/conform): Likewise.
5243 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5245         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5246         error absence of trapping exception support.
5247         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5249 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5251         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5252         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5253         * timezone/Makefile (testdata): Move definition above include of
5254         Rules.
5255         (test-zones): New variable.
5256         (tests-special): Add zone files.
5257         (build-testdata): Use $(evaluate-test).
5259         * elf/Makefile (tests-special): Rename tests to end with .out.
5260         ($(objpfx)noload-mem): Likewise.
5261         ($(objpfx)tst-leaks1-mem): Likewise.
5262         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5263         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5264         $(objpfx)test-iconvconfig.out.
5265         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5266         set -e inside subshell and redirect output to file.
5267         * iconvdata/Makefile (generated): Rename tests to end with .out.
5268         Correct type.
5269         (tests-special): Rename tests to end with .out.
5270         ($(objpfx)mtrace-tst-loading): Likewise.
5271         * intl/Makefile (generated): Likewise.
5272         (tests-special): Likewise.
5273         ($(objpfx)mtrace-tst-gettext): Likewise.
5274         * misc/Makefile (generated): Likewise.
5275         (tests-special): Likewise.
5276         ($(objpfx)tst-error1-mem): Likewise.
5277         * nptl/Makefile (tests-special): Likewise.
5278         ($(objpfx)tst-stack3-mem): Likewise.
5279         (generated): Likewise.
5280         * posix/Makefile (generated): Likewise.
5281         (tests-special): Likewise.
5282         (xtests-special): Likewise.
5283         ($(objpfx)tst-fnmatch-mem): Likewise.
5284         ($(objpfx)bug-regex2-mem): Likewise.
5285         ($(objpfx)bug-regex14-mem): Likewise.
5286         ($(objpfx)bug-regex21-mem): Likewise.
5287         ($(objpfx)bug-regex31-mem): Likewise.
5288         ($(objpfx)tst-vfork3-mem): Likewise.
5289         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5290         ($(objpfx)tst-pcre-mem): Likewise.
5291         ($(objpfx)tst-boost-mem): Likewise.
5292         ($(objpfx)bug-ga2-mem): Likewise.
5293         ($(objpfx)bug-glob2-mem): Likewise.
5294         * resolv/Makefile (generate): Likewise.
5295         (tests-special): Likewise.
5296         (xtests-special): Likewise.
5297         (generated): Likewise.
5298         ($(objpfx)mtrace-tst-leaks): Likewise.
5299         ($(objpfx)mtrace-tst-leaks2): Likewise.
5301         * scripts/merge-test-results.sh: New file.
5302         * Makefile (tests-special-notdir): New variable.
5303         (tests): Run merge-test-results.sh.
5304         (xtests): Likewise.
5305         * Rules (tests-special-notdir): New variable.
5306         (xtests-special-notdir): Likewise.
5307         (tests): Run merge-test-results.sh
5308         (xtests): Likewise.
5310         * Makeconfig (test-xfail-name): New variable.
5311         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5312         compute variable name for expected failures.
5313         * conform/Makefile (conformtest-headers-data): New variable.
5314         (conformtest-standards): Likewise.
5315         (conformtest-headers-ISO): Likewise.
5316         (conformtest-headers-ISO99): Likewise.
5317         (conformtest-headers-ISO11): Likewise.
5318         (conformtest-headers-POSIX): Likewise.
5319         (conformtest-headers-XPG3): Likewise.
5320         (conformtest-headers-XPG4): Likewise.
5321         (conformtest-headers-UNIX98): Likewise.
5322         (conformtest-headers-XOPEN2K): Likewise.
5323         (conformtest-headers-POSIX2008): Likewise.
5324         (conformtest-headers-XOPEN2K8): Likewise.
5325         (conformtest-header-list-base): Likewise.
5326         (conformtest-header-list-tests): Likewise.
5327         (conformtest-header-base): Likewise.
5328         (conformtest-header-tests): Likewise.
5329         (tests-special): Add $(conformtest-header-list-tests).  If
5330         [$(fast-check) && !$(cross-compiling)], add
5331         $(conformtest-header-tests) instead of
5332         $(objpfx)run-conformtest.out.
5333         (generated): Add $(conformtest-header-list-base).  If
5334         [$(fast-check) && !$(cross-compiling)], add
5335         $(conformtest-header-base).  Remove previous setting.
5336         ($(conformtest-header-list-tests)): New target.
5337         (test-xfail-run-conformtest): Remove variable.
5338         ($(objpfx)run-conformtest.out): Remove target.
5339         (test-xfail-ISO11/complex.h/conform): New variable.
5340         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5341         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5342         (test-xfail-XPG3/varargs.h/conform): Likewise.
5343         (test-xfail-XPG4/varargs.h/conform): Likewise.
5344         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5345         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5346         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5347         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5348         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5349         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5350         (test-xfail-XPG3/ftw.h/conform): Likewise.
5351         (test-xfail-XPG3/grp.h/conform): Likewise.
5352         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5353         (test-xfail-XPG3/limits.h/conform): Likewise.
5354         (test-xfail-XPG3/pwd.h/conform): Likewise.
5355         (test-xfail-XPG3/search.h/conform): Likewise.
5356         (test-xfail-XPG3/signal.h/conform): Likewise.
5357         (test-xfail-XPG3/stdio.h/conform): Likewise.
5358         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5359         (test-xfail-XPG3/string.h/conform): Likewise.
5360         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5361         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5362         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5363         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5364         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5365         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5366         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5367         (test-xfail-XPG3/termios.h/conform): Likewise.
5368         (test-xfail-XPG3/time.h/conform): Likewise.
5369         (test-xfail-XPG3/unistd.h/conform): Likewise.
5370         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5371         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5372         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5373         (test-xfail-XPG4/netdb.h/conform): Likewise.
5374         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5375         (test-xfail-XPG4/signal.h/conform): Likewise.
5376         (test-xfail-XPG4/stdio.h/conform): Likewise.
5377         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5378         (test-xfail-XPG4/stropts.h/conform): Likewise.
5379         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5380         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5381         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5382         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5383         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5384         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5385         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5386         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5387         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5388         (test-xfail-XPG4/termios.h/conform): Likewise.
5389         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5390         (test-xfail-XPG4/unistd.h/conform): Likewise.
5391         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5392         (test-xfail-POSIX/sched.h/conform): Likewise.
5393         (test-xfail-POSIX/signal.h/conform): Likewise.
5394         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5395         (test-xfail-POSIX/tar.h/conform): Likewise.
5396         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5397         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5398         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5399         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5400         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5401         (test-xfail-UNIX98/sched.h/conform): Likewise.
5402         (test-xfail-UNIX98/signal.h/conform): Likewise.
5403         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5404         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5405         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5406         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5407         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5408         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5409         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5410         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5411         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5412         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5413         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5414         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5415         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5416         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5417         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5418         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5419         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5420         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5421         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5422         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5423         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5424         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5425         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5426         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5427         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5428         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5429         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5430         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5431         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5432         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5433         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5434         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5435         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5436         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5437         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5438         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5439         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5440         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5441         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5442         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5443         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5444         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5445         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5446         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5447         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5448         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5449         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5450         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5451         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5452         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5453         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5454         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5455         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5456         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5457         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5458         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5459         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5460         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5461         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5462         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5463         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5464         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5465         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5466         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5467         (conformtest-cc-flags): Likewise.
5468         ($(conformtest-header-tests): New target.
5469         * conform/check-header-lists.sh: New file.
5470         * conform/run-conformtest.sh: Remove.
5472         * conform/conformtest.pl: Allow ' and \ in values given for
5473         constants.
5474         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5475         inclusion.
5476         [POSIX] (sys/types.h): Likewise.
5477         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5478         inclusion.
5479         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5480         inclusion.
5481         * conform/data/signal.h-data (SIGIO): Remove expectation.
5482         [XPG3] (SIGBUS): Do not expect.
5483         [POSIX || XPG3] (SIGPOLL): Likewise.
5484         [POSIX || XPG3] (SIGPROF): Likewise.
5485         [POSIX || XPG3] (SIGSYS): Likewise.
5486         [XPG3] (SIGTRAP): Likewise.
5487         [POSIX || XPG3] (SIGURG): Likewise.
5488         [POSIX || XPG3] (SIGVTALRM): Likewise.
5489         [POSIX || XPG3] (SIGXCPU): Likewise.
5490         [POSIX || XPG3] (SIGXFSZ): Likewise.
5491         [POSIX] (SA_SIGINFO): Expect.
5492         [XPG3] (siginfo_t): Do not expect type or contents.
5493         [POSIX] (si_pid): Do not expect element.
5494         [POSIX] (si_uid): Likewise.
5495         [POSIX] (si_addr): Likewise.
5496         [POSIX] (si_status): Likewise.
5497         [POSIX] (si_band): Likewise.
5498         [XPG4] (si_value): Likewise.
5499         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5500         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5501         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5502         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5503         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5504         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5505         [POSIX || XPG3] (ILL_COPROC): Likewise.
5506         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5507         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5508         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5509         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5510         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5511         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5512         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5513         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5514         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5515         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5516         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5517         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5518         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5519         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5520         [POSIX || XPG3] (CLD_EXITED): Likewise.
5521         [POSIX || XPG3] (CLD_KILLED): Likewise.
5522         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5523         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5524         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5525         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5526         [POSIX || XPG3] (POLL_IN): Likewise.
5527         [POSIX || XPG3] (POLL_OUT): Likewise.
5528         [POSIX || XPG3] (POLL_MSG): Likewise.
5529         [POSIX || XPG3] (POLL_ERR): Likewise.
5530         [POSIX || XPG3] (POLL_PRI): Likewise.
5531         [POSIX || XPG3] (POLL_HUP): Likewise.
5532         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5533         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5534         (SIG*): Do not allow.
5535         [XPG3] (si_*): Likewise.
5536         [XPG3] (SI_*): Likewise.
5537         [XPG3 || XPG4] (sigev_*): Likewise.
5538         [XPG3 || XPG4] (SIGEV_*): Likewise.
5539         [XPG3 || XPG4] (sival_*): Likewise.
5540         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5541         [POSIX || XPG3] (BUS_*): Likewise.
5542         [POSIX || XPG3] (CLD_*): Likewise.
5543         [POSIX || XPG3] (FPE_*): Likewise.
5544         [POSIX || XPG3] (ILL_*): Likewise.
5545         [POSIX || XPG3] (POLL_*): Likewise.
5546         [POSIX || XPG3] (SEGV_*): Likewise.
5547         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5548         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5549         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5550         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5551         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5552         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5553         Specify type and value.
5554         (TVERSLEN): Likewise.
5555         (REGTYPE): Likewise.
5556         (AREGTYPE): Likewise.
5557         (LNKTYPE): Likewise.
5558         (SYMTYPE): Likewise.
5559         (CHRTYPE): Likewise.
5560         (BLKTYPE): Likewise.
5561         (DIRTYPE): Likewise.
5562         (FIFOTYPE): Likewise.
5563         (CONTTYPE): Likewise.
5564         (TSUID): Likewise.
5565         (TSGID): Likewise.
5566         (TSVTX): Likewise.
5567         (TUREAD): Likewise.
5568         (TUWRITE): Likewise.
5569         (TUEXEC): Likewise.
5570         (TGREAD): Likewise.
5571         (TGWRITE): Likewise.
5572         (TGEXEC): Likewise.
5573         (TOREAD): Likewise.
5574         (TOWRITE): Likewise.
5575         (TOEXEC): Likewise.
5576         [POSIX] (TSVTX): Expect constant.
5578 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5580         * Makefile (tests): Change dependencies to ....
5581         (tests-special): ... additions to this variable.
5582         (tests): Depend on $(tests-special).
5583         * Makerules (check-abi-list): New variable.
5584         (check-abi): Depend on $(check-abi-list).
5585         [$(subdir) = elf] (tests-special): Add
5586         $(objpfx)check-abi-libc.out.
5587         [$(build-shared) = yes && subdir] (tests-special): Add
5588         $(check-abi-list).
5589         [$(build-shared) = yes && subdir] (tests): Do not depend on
5590         check-abi.
5591         * Rules (tests): Depend on $(tests-special).
5592         (xtests): Depend on $(xtests-special).
5593         * catgets/Makefile (tests): Change dependencies to ....
5594         (tests-special): ... additions to this variable.
5595         * conform/Makefile (tests): Change dependencies to ....
5596         (tests-special): ... additions to this variable.
5597         * elf/Makefile (tests): Change dependencies to ....
5598         (tests-special): ... additions to this variable.
5599         * grp/Makefile (tests): Change dependencies to ....
5600         (tests-special): ... additions to this variable.
5601         * iconv/Makefile (xtests): Change dependencies to ....
5602         (xtests-special): ... additions to this variable.
5603         * iconvdata/Makefile (tests): Change dependencies to ....
5604         (tests-special): ... additions to this variable.
5605         * intl/Makefile (tests): Change dependencies to ....
5606         (tests-special): ... additions to this variable.  Also add
5607         $(objpfx)tst-gettext.out.
5608         * io/Makefile (tests): Change dependencies to ....
5609         (tests-special): ... additions to this variable.
5610         * libio/Makefile (tests): Change dependencies to ....
5611         (tests-special): ... additions to this variable.
5612         * malloc/Makefile (tests): Change dependencies to ....
5613         (tests-special): ... additions to this variable.
5614         * misc/Makefile (tests): Change dependencies to ....
5615         (tests-special): ... additions to this variable.
5616         * nptl/Makefile (tests): Change dependencies to ....
5617         (tests-special): ... additions to this variable.
5618         * nptl_db/Makefile (tests): Change dependencies to ....
5619         (tests-special): ... additions to this variable.
5620         * posix/Makefile (tests): Change dependencies to ....
5621         (tests-special): ... additions to this variable.
5622         (xtests): Change dependencies to ....
5623         (xtests-special): ... additions to this variable.
5624         * resolv/Makefile (tests): Change dependencies to ....
5625         (tests-special): ... additions to this variable.
5626         (xtests): Change dependencies to ....
5627         (xtests-special): ... additions to this variable.
5628         * stdio-common/Makefile (tests): Change dependencies to ....
5629         (tests-special): ... additions to this variable.
5630         (do-tst-unbputc): Remove target.
5631         (do-tst-printf): Likewise.
5632         * stdlib/Makefile (tests): Change dependencies to ....
5633         (tests-special): ... additions to this variable.
5634         * string/Makefile (tests): Change dependencies to ....
5635         (tests-special): ... additions to this variable.
5636         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5637         (tests-special): ... additions to this variable.
5639         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5640         whole file.
5641         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5642         whole file.
5643         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5644         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5646         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5647         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5648         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5649         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5650         * conform/data/libgen.h-data [XPG3]: Likewise.
5651         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5652         * conform/data/ndbm.h-data [XPG3]: Likewise.
5653         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5654         * conform/data/netdb.h-data [XPG3]: Likewise.
5655         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5656         * conform/data/poll.h-data [XPG3]: Likewise.
5657         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5658         * conform/data/strings.h-data [XPG3]: Likewise.
5659         * conform/data/stropts.h-data [XPG3]: Likewise.
5660         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5661         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5662         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5663         Likewise.
5664         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5665         * conform/data/sys/time.h-data [XPG3]: Likewise.
5666         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5667         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5668         * conform/data/sys/un.h-data [XPG3]: Likewise.
5669         * conform/data/syslog.h-data [XPG3]: Likewise.
5670         * conform/data/ucontext.h-data [XPG3]: Likewise.
5671         * conform/data/utmpx.h-data [XPG3]: Likewise.
5672         * conform/data/varargs.h-data [UNIX98]: Enable file.
5674         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5676         * math/libm-test.inc (struct test_f_f_data): Move expected results
5677         into structure for each rounding mode.
5678         (struct test_ff_f_data): Likewise.
5679         (struct test_ff_f_data_nexttoward): Likewise.
5680         (struct test_fi_f_data): Likewise.
5681         (struct test_fl_f_data): Likewise.
5682         (struct test_if_f_data): Likewise.
5683         (struct test_fff_f_data): Likewise.
5684         (struct test_c_f_data): Likewise.
5685         (struct test_f_f1_data): Likewise.
5686         (struct test_fF_f1_data): Likewise.
5687         (struct test_ffI_f1_data): Likewise.
5688         (struct test_c_c_data): Likewise.
5689         (struct test_cc_c_data): Likewise.
5690         (struct test_f_i_data): Likewise.
5691         (struct test_ff_i_data): Likewise.
5692         (struct test_f_l_data): Likewise.
5693         (struct test_f_L_data): Likewise.
5694         (struct test_fFF_11_data): Likewise.
5695         (RM_): New macro.
5696         (RM_FE_DOWNWARD): Likewise.
5697         (RM_FE_TONEAREST): Likewise.
5698         (RM_FE_TOWARDZERO): Likewise.
5699         (RM_FE_UPWARD): Likewise.
5700         (RUN_TEST_LOOP_f_f): Update references to expected results.
5701         (RUN_TEST_LOOP_2_f): Likewise.
5702         (RUN_TEST_LOOP_fff_f): Likewise.
5703         (RUN_TEST_LOOP_c_f): Likewise.
5704         (RUN_TEST_LOOP_f_f1): Likewise.
5705         (RUN_TEST_LOOP_fF_f1): Likewise.
5706         (RUN_TEST_LOOP_fI_f1): Likewise.
5707         (RUN_TEST_LOOP_ffI_f1): Likewise.
5708         (RUN_TEST_LOOP_c_c): Likewise.
5709         (RUN_TEST_LOOP_cc_c): Likewise.
5710         (RUN_TEST_LOOP_f_i): Likewise.
5711         (RUN_TEST_LOOP_f_i_tg): Likewise.
5712         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5713         (RUN_TEST_LOOP_f_b): Likewise.
5714         (RUN_TEST_LOOP_f_b_tg): Likewise.
5715         (RUN_TEST_LOOP_f_l): Likewise.
5716         (RUN_TEST_LOOP_f_L): Likewise.
5717         (RUN_TEST_LOOP_fFF_11): Likewise.
5718         * math/gen-libm-test.pl (parse_args): Output four copies of
5719         expected results for each test.
5721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5722         (__ASSUME_UTIMES): Remove.
5723         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5724         (__ASSUME_UTIMES): Likewise.
5726         * math/gen-auto-libm-tests.c: Update comment on output format.
5727         (output_for_one_input_case): Generate before-rounding and
5728         after-rounding information as conditions on output flags not
5729         floating-point format.
5730         * math/auto-libm-test-out: Regenerated.
5731         * math/gen-libm-test.pl (cond_value): New function.
5732         (or_cond_value): Use cond_value.
5733         (generate_testfile): Handle conditional exceptions.
5735 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5737         * math/libm-test.inc (max_valid_error): New variable.
5738         (init_max_error): Take new argument specifying whether function
5739         results are exactly determined.  Set max_valid_error and bound
5740         other variables for errors based on this argument.
5741         (set_max_error): Do not record results above max_valid_error.
5742         (check_float_internal): Only accept errors of up to 0.5ulps if
5743         also at most max_valid_error.
5744         (START): Take new argument EXACT and pass it to init_max_error.
5745         (acos_test): Update call to START.
5746         (acos_test_tonearest): Likewise.
5747         (acos_test_towardzero): Likewise.
5748         (acos_test_downward): Likewise.
5749         (acos_test_upward): Likewise.
5750         (acosh_test): Likewise.
5751         (asin_test): Likewise.
5752         (asin_test_tonearest): Likewise.
5753         (asin_test_towardzero): Likewise.
5754         (asin_test_downward): Likewise.
5755         (asin_test_upward): Likewise.
5756         (asinh_test): Likewise.
5757         (atan_test): Likewise.
5758         (atanh_test): Likewise.
5759         (atan2_test): Likewise.
5760         (cabs_test): Likewise.
5761         (cacos_test): Likewise.
5762         (cacosh_test): Likewise.
5763         (carg_test): Likewise.
5764         (casin_test): Likewise.
5765         (casinh_test): Likewise.
5766         (catan_test): Likewise.
5767         (catanh_test): Likewise.
5768         (cbrt_test): Likewise.
5769         (ccos_test): Likewise.
5770         (ccosh_test): Likewise.
5771         (ceil_test): Likewise.
5772         (cexp_test): Likewise.
5773         (cimag_test): Likewise.
5774         (clog_test): Likewise.
5775         (clog10_test): Likewise.
5776         (conj_test): Likewise.
5777         (copysign_test): Likewise.
5778         (cos_test): Likewise.
5779         (cos_test_tonearest): Likewise.
5780         (cos_test_towardzero): Likewise.
5781         (cos_test_downward): Likewise.
5782         (cos_test_upward): Likewise.
5783         (cosh_test): Likewise.
5784         (cosh_test_tonearest): Likewise.
5785         (cosh_test_towardzero): Likewise.
5786         (cosh_test_downward): Likewise.
5787         (cosh_test_upward): Likewise.
5788         (cpow_test): Likewise.
5789         (cproj_test): Likewise.
5790         (creal_test): Likewise.
5791         (csin_test): Likewise.
5792         (csinh_test): Likewise.
5793         (csqrt_test): Likewise.
5794         (ctan_test): Likewise.
5795         (ctan_test_tonearest): Likewise.
5796         (ctan_test_towardzero): Likewise.
5797         (ctan_test_downward): Likewise.
5798         (ctan_test_upward): Likewise.
5799         (ctanh_test): Likewise.
5800         (ctanh_test_tonearest): Likewise.
5801         (ctanh_test_towardzero): Likewise.
5802         (ctanh_test_downward): Likewise.
5803         (ctanh_test_upward): Likewise.
5804         (erf_test): Likewise.
5805         (erfc_test): Likewise.
5806         (exp_test): Likewise.
5807         (exp_test_tonearest): Likewise.
5808         (exp_test_towardzero): Likewise.
5809         (exp_test_downward): Likewise.
5810         (exp_test_upward): Likewise.
5811         (exp10_test): Likewise.
5812         (exp10_test_tonearest): Likewise.
5813         (exp10_test_towardzero): Likewise.
5814         (exp10_test_downward): Likewise.
5815         (exp10_test_upward): Likewise.
5816         (pow10_test): Likewise.
5817         (exp2_test): Likewise.
5818         (expm1_test): Likewise.
5819         (expm1_test_tonearest): Likewise.
5820         (expm1_test_towardzero): Likewise.
5821         (expm1_test_downward): Likewise.
5822         (expm1_test_upward): Likewise.
5823         (fabs_test): Likewise.
5824         (fdim_test): Likewise.
5825         (floor_test): Likewise.
5826         (fma_test): Likewise.
5827         (fma_test_towardzero): Likewise.
5828         (fma_test_downward): Likewise.
5829         (fma_test_upward): Likewise.
5830         (fmax_test): Likewise.
5831         (fmin_test): Likewise.
5832         (fmod_test): Likewise.
5833         (fpclassify_test): Likewise.
5834         (frexp_test): Likewise.
5835         (hypot_test): Likewise.
5836         (ilogb_test): Likewise.
5837         (isfinite_test): Likewise.
5838         (finite_test): Likewise.
5839         (isgreater_test): Likewise.
5840         (isgreaterequal_test): Likewise.
5841         (isinf_test): Likewise.
5842         (isless_test): Likewise.
5843         (islessequal_test): Likewise.
5844         (islessgreater_test): Likewise.
5845         (isnan_test): Likewise.
5846         (isnormal_test): Likewise.
5847         (issignaling_test): Likewise.
5848         (isunordered_test): Likewise.
5849         (j0_test): Likewise.
5850         (j1_test): Likewise.
5851         (jn_test): Likewise.
5852         (ldexp_test): Likewise.
5853         (lgamma_test): Likewise.
5854         (gamma_test): Likewise.
5855         (lrint_test): Likewise.
5856         (lrint_test_tonearest): Likewise.
5857         (lrint_test_towardzero): Likewise.
5858         (lrint_test_downward): Likewise.
5859         (lrint_test_upward): Likewise.
5860         (llrint_test): Likewise.
5861         (llrint_test_tonearest): Likewise.
5862         (llrint_test_towardzero): Likewise.
5863         (llrint_test_downward): Likewise.
5864         (llrint_test_upward): Likewise.
5865         (log_test): Likewise.
5866         (log10_test): Likewise.
5867         (log1p_test): Likewise.
5868         (log2_test): Likewise.
5869         (logb_test): Likewise.
5870         (logb_test_downward): Likewise.
5871         (lround_test): Likewise.
5872         (llround_test): Likewise.
5873         (modf_test): Likewise.
5874         (nearbyint_test): Likewise.
5875         (nextafter_test): Likewise.
5876         (nexttoward_test): Likewise.
5877         (pow_test): Likewise.
5878         (pow_test_tonearest): Likewise.
5879         (pow_test_towardzero): Likewise.
5880         (pow_test_downward): Likewise.
5881         (pow_test_upward): Likewise.
5882         (remainder_test): Likewise.
5883         (drem_test): Likewise.
5884         (remainder_test_tonearest): Likewise.
5885         (drem_test_tonearest): Likewise.
5886         (remainder_test_towardzero): Likewise.
5887         (drem_test_towardzero): Likewise.
5888         (remainder_test_downward): Likewise.
5889         (drem_test_downward): Likewise.
5890         (remainder_test_upward): Likewise.
5891         (drem_test_upward): Likewise.
5892         (remquo_test): Likewise.
5893         (rint_test): Likewise.
5894         (rint_test_tonearest): Likewise.
5895         (rint_test_towardzero): Likewise.
5896         (rint_test_downward): Likewise.
5897         (rint_test_upward): Likewise.
5898         (round_test): Likewise.
5899         (scalb_test): Likewise.
5900         (scalbn_test): Likewise.
5901         (scalbln_test): Likewise.
5902         (signbit_test): Likewise.
5903         (sin_test): Likewise.
5904         (sin_test_tonearest): Likewise.
5905         (sin_test_towardzero): Likewise.
5906         (sin_test_downward): Likewise.
5907         (sin_test_upward): Likewise.
5908         (sincos_test): Likewise.
5909         (sinh_test): Likewise.
5910         (sinh_test_tonearest): Likewise.
5911         (sinh_test_towardzero): Likewise.
5912         (sinh_test_downward): Likewise.
5913         (sinh_test_upward): Likewise.
5914         (sqrt_test): Likewise.
5915         (sqrt_test_tonearest): Likewise.
5916         (sqrt_test_towardzero): Likewise.
5917         (sqrt_test_downward): Likewise.
5918         (sqrt_test_upward): Likewise.
5919         (tan_test): Likewise.
5920         (tan_test_tonearest): Likewise.
5921         (tan_test_towardzero): Likewise.
5922         (tan_test_downward): Likewise.
5923         (tan_test_upward): Likewise.
5924         (tanh_test): Likewise.
5925         (tgamma_test): Likewise.
5926         (trunc_test): Likewise.
5927         (y0_test): Likewise.
5928         (y1_test): Likewise.
5929         (yn_test): Likewise.
5930         (significand_test): Likewise.
5932         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5933         individual tests in comment.
5934         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5935         (prev_max_error): New variable.
5936         (prev_real_max_error): Likewise.
5937         (prev_imag_max_error): Likewise.
5938         (compare_ulp_data): Don't refer to test names in comment.
5939         (find_test_ulps): Remove function.
5940         (find_function_ulps): Likewise.
5941         (find_complex_function_ulps): Likewise.
5942         (init_max_error): Take function name as argument.  Look up ulps
5943         for that function.
5944         (print_ulps): Remove function.
5945         (print_max_error): Use prev_max_error instead of calling
5946         find_function_ulps.
5947         (print_complex_max_error): Use prev_real_max_error and
5948         prev_imag_max_error instead of calling find_complex_function_ulps.
5949         (check_float_internal): Take max_ulp parameter instead of calling
5950         find_test_ulps.  Don't call print_ulps.
5951         (check_float): Update call to check_float_internal.
5952         (check_complex): Update calls to check_float_internal.
5953         (START): Pass argument to init_max_error.
5954         * math/gen-libm-test.pl (%results): Don't include "kind"
5955         information.
5956         (parse_ulps): Don't handle ulps of individual tests.
5957         (print_ulps_file): Likewise.
5958         (output_ulps): Likewise.
5959         * math/README.libm-test: Update.
5960         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5961         individual tests.
5962         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5963         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5964         * sysdeps/arm/libm-test-ulps: Likewise.
5965         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5966         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5967         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5968         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5969         * sysdeps/microblaze/libm-test-ulps: Likewise.
5970         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5971         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5972         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5973         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5974         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5975         * sysdeps/sh/libm-test-ulps: Likewise.
5976         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5977         * sysdeps/tile/libm-test-ulps: Likewise.
5978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5982         * math/libm-test.inc (print_complex_max_error): Check separately
5983         whether real and imaginary errors are within allowed range and
5984         pass 0 to print_complex_function_ulps instead of value within
5985         allowed range.
5987 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5989         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5990         formatting.
5991         (get_handles_fopen): Likewise.
5992         (do_write_test): Likewise.
5994         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5996         * libio/fileops.c (do_ftell): Use cached offset when
5997         available.
5998         * libio/iofwide.c (do_ftell_wide): Likewise.
5999         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6000         _IO_file_attach.
6001         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6003         [BZ #16532]
6004         * libio/libioP.h (get_file_offset): New function.
6005         * libio/fileops.c (get_file_offset): Likewise.
6006         (do_ftell): Likewise.
6007         (_IO_new_file_seekoff): Split out ftell logic.
6008         * libio/wfileops.c (do_ftell_wide): Likewise.
6009         (_IO_wfile_seekoff): Split out ftell logic.
6010         * libio/tst-ftell-active-handler.c: New test case.
6011         * libio/Makefile (tests): Add it.
6013 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6015         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6016         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6018 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6020         [BZ #16639]
6021         * nscd/connections.c (nscd_init): Call do_exit.
6022         (start_threads): Call do_exit and notify_parent.
6023         (begin_drop_privileges): Call do_exit.
6024         (finish_drop_privileges): Likewise.
6025         * nscd/selinux.c (preserve_capabilities): Likewise.
6026         (install_real_capabilities): Likewise.
6027         (nscd_selinux_enabled): Likewise.
6028         (avc_create_thread): Likewise.
6029         (avc_alloc_lock): Likewise.
6030         (nscd_avc_init): Likewise.
6031         * nscd/nscd.c (parent_fd): New static variable.
6032         (main): Create a pipe between parent and child processes.
6033         Skip closing parent_fd.
6034         (monitor_child): New function.
6035         (do_exit): Likewise.
6036         (notify_parent): Likewise.
6037         * nscd/nscd.h (notify_parent): Likewise.
6038         (do_exit): Likewise.
6040 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6042         * malloc/malloc.c (__libc_calloc): Revert last change.
6044 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6048 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6050         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6052         implementation.
6053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6054         (__libc_ifunc_impl_list): Likewise.
6055         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6056         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6057         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6058         * string/strrchr.c: Define STRRCHR.
6060 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6062         * benchtest/bench-strtok.c (simple_strtok): Delete.
6063         (strtok_string): Use as benchmark.
6064         * string/strtok (STRTOK): New macro.
6066 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6068         * manual/threads.texi: Add header and standard comments to all
6069         functions.
6071         * elf/dl-lookup.c (check_match): New function.
6072         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6073         (do_lookup_x): Remove nested function check_match. Use non-nested
6074         function check_match.
6076 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6078         * csu/Makefile (generated, before-compile): Use += rather than =.
6079         * catgets/Makefile (generated, generated-dirs): Likewise.
6080         * debug/Makefile (generated): Likewise.
6081         * dlfcn/Makefile (generated): Likewise.
6082         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6083         * iconvdata/Makefile (before-compile, generated): Likewise.
6084         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6085         * libio/Makefile (generated): Likewise.
6086         * malloc/Makefile (generated): Likewise.
6087         * manual/Makefile (generated, generated-dirs): Likewise.
6088         * misc/Makefile (generated): Likewise.
6089         * posix/Makefile (generated): Likewise.
6090         * resolv/Makefile (generated): Likewise.
6091         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6092         * timezone/Makefile (generated, generated-dirs): Likewise.
6094         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6096 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6099         power8 implementation.
6100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6101         file: POWER8 llround ifunc implementation.
6102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6103         (__lllround): Add POWER8 implementation.
6104         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6105         POWER8 llround implementation.
6107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6108         power8 implementation.
6109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6110         file: POWER8 llrint ifunc implementation.
6111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6112         Add POWER8 implementation.
6113         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6114         POWER8 llrint implementation.
6116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6117         power8 implementation.
6118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6119         file: POWER8 finite ifunc implementation.
6120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6121         Add POWER8 implementation.
6122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6123         Likewise.
6124         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6125         POWER8 finite implementation.
6126         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6129         power8 implementation.
6130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6131         file: POWER8 isinf ifunc implementation.
6132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6133         POWER8 implementation.
6134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6135         Likewise.
6136         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6137         isinf implementation.
6138         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6140         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6141         (INIT_ARCH): Add hwcap2 initialization.
6142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6143         power8 implementation.
6144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6145         file: POWER8 isnan ifunc implementation.
6146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6147         POWER8 implementation.
6148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6149         Likewise.
6150         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6151         isnan implementation.
6152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6154 2014-02-27  Joey Ye  <joey.ye@arm.com>
6156         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6157         (_FP_NANFRAC_Q): Set to zero.
6159 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6161         [BZ #16623]
6162         * math/auto-libm-test-in: New test inputs.
6163         * math/auto-libm-test-out: Regenerate.
6164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6165         and DA.
6166         (__cos): Likewise.
6167         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6169 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6171         * scripts/evaluate-test.sh: Take new argument indicating whether
6172         failure is expected.
6173         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6174         indicating whether failure is expected.
6175         * conform/Makefile (test-xfail-run-conformtest): New variable.
6176         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6177         level.
6178         * posix/Makefile (test-xfail-annexc): New variable.
6179         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6181 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6183         * argp/Makefile: Include Makeconfig immediately after defining
6184         subdir.
6185         * assert/Makefile: Likewise.
6186         * benchtests/Makefile: Likewise.
6187         * catgets/Makefile: Likewise.
6188         * conform/Makefile: Likewise.
6189         * crypt/Makefile: Likewise.
6190         * csu/Makefile: Likewise.
6191         (all): Remove target.
6192         * ctype/Makefile: Include Makeconfig immediately after defining
6193         subdir.
6194         * debug/Makefile: Likewise.
6195         * dirent/Makefile: Likewise.
6196         * dlfcn/Makefile: Likewise.
6197         * gmon/Makefile: Likewise.
6198         * gnulib/Makefile: Likewise.
6199         * grp/Makefile: Likewise.
6200         * gshadow/Makefile: Likewise.
6201         * hesiod/Makefile: Likewise.
6202         * hurd/Makefile: Likewise.
6203         (all): Remove target.
6204         * iconvdata/Makefile: Include Makeconfig immediately after
6205         defining subdir.
6206         * inet/Makefile: Likewise.
6207         * intl/Makefile: Likewise.
6208         * io/Makefile: Likewise.
6209         * libio/Makefile: Likewise.
6210         (all): Remove target.
6211         * locale/Makefile: Include Makeconfig immediately after defining
6212         subdir.
6213         * login/Makefile: Likewise.
6214         * mach/Makefile: Likewise.
6215         (all): Remove target.
6216         * malloc/Makefile: Include Makeconfig immediately after defining
6217         subdir.
6218         (all): Remove target.
6219         * manual/Makefile: Include Makeconfig immediately after defining
6220         subdir.
6221         * math/Makefile: Likewise.
6222         * misc/Makefile: Likewise.
6223         * nis/Makefile: Likewise.
6224         * nss/Makefile: Likewise.
6225         * po/Makefile: Likewise.
6226         (all): Remove target.
6227         * posix/Makefile: Include Makeconfig immediately after defining
6228         subdir.
6229         * pwd/Makefile: Likewise.
6230         * resolv/Makefile: Likewise.
6231         * resource/Makefile: Likewise.
6232         * rt/Makefile: Likewise.
6233         * setjmp/Makefile: Likewise.
6234         * shadow/Makefile: Likewise.
6235         * signal/Makefile: Likewise.
6236         * socket/Makefile: Likewise.
6237         * soft-fp/Makefile: Likewise.
6238         * stdio-common/Makefile: Likewise.
6239         * stdlib/Makefile: Likewise.
6240         * streams/Makefile: Likewise.
6241         * string/Makefile: Likewise.
6242         * sunrpc/Makefile: Likewise.
6243         (all): Remove target.
6244         * sysvipc/Makefile: Include Makeconfig immediately after defining
6245         subdir.
6246         * termios/Makefile: Likewise.
6247         * time/Makefile: Likewise.
6248         * timezone/Makefile: Likewise.
6249         (all): Remove target.
6250         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6251         subdir.
6252         * wctype/Makefile: Likewise.
6254 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6256         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6257         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6258         (libc_feholdexcept_setround_mips): Ditto.
6259         (libc_feholdsetround): New.
6260         (libc_feholdsetroundf): New.
6261         (libc_feholdsetroundl): New.
6262         (libc_feupdateenv_test_mips): New.
6263         (libc_feupdateenv_test): New.
6264         (libc_feupdateenv_testf): New.
6265         (libc_feupdateenv_testl): New.
6266         (libc_feresetround): New.
6267         (libc_feresetroundf): New.
6268         (libc_feresetroundl): New.
6269         (libc_fetestexcept_mips): New.
6270         (libc_fetestexcept): New.
6271         (libc_fetestexceptf): New.
6272         (libc_fetestexceptl): New.
6273         (HAVE_RM_CTX): New.
6274         (libc_feholdexcept_setround_mips_ctx): New.
6275         (libc_feholdexcept_setround_ctx): New.
6276         (libc_feholdexcept_setroundf_ctx): New.
6277         (libc_feholdexcept_setroundl_ctx): New.
6278         (libc_fesetenv_mips_ctx): New.
6279         (libc_fesetenv_ctx): New.
6280         (libc_fesetenv_ctxf): New.
6281         (libc_fesetenv_ctxl): New.
6282         (libc_feupdateenv_mips_ctx): New.
6283         (libc_feupdateenv_ctx): New.
6284         (libc_feupdateenvf_ctx): New.
6285         (libc_feupdateenvl_ctx): New.
6286         (libc_feholdsetround_mips_ctx): New.
6287         (libc_feholdsetround_ctx): New.
6288         (libc_feholdsetroundf_ctx): New.
6289         (libc_feholdsetroundl_ctx): New.
6290         (libc_feresetround_mips_ctx): New.
6291         (libc_feresetround_ctx): New.
6292         (libc_feresetroundf_ctx): New.
6293         (libc_feresetroundl_ctx): New.
6295 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6297         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6299         * manual/ipc.texi: New file.
6300         * manual/Makefile (chapters): Add ipc.
6301         * manual/job.texi: Add "Inter-Process Communication" to next.
6302         * manual/process.texi: Add "Inter-Process Communication" to prev.
6304 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6308 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6310         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6312         * manual/arith.texi: Fix spaces after sentences.
6313         * manual/charset.texi: Likewise.
6314         * manual/errno.texi: Likewise.
6315         * manual/install.texi: Likewise.
6316         * manual/llio.texi: Likewise.
6317         * manual/locale.texi: Likewise.
6318         * manual/maint.texi: Likewise.
6319         * manual/math.texi: Likewise.
6320         * manual/memory.texi: Likewise.
6321         * manual/message.texi: Likewise.
6322         * manual/probes.texi: Likewise.
6323         * manual/resource.texi: Likewise.
6324         * manual/signal.texi: Likewise.
6325         * manual/socket.texi: Likewise.
6326         * manual/stdio.texi: Likewise.
6327         * manual/string.texi: Likewise.
6328         * manual/time.texi: Likewise.
6329         * manual/users.texi: Likewise.
6331 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6333         [BZ #16632]
6334         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6335         _DEFAULT_SOURCE is defined.
6337 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6338             Carlos O'Donell  <carlos@redhat.com>
6340         [BZ #16613]
6341         * elf/dl-tls.c (_dl_count_modids): New function.
6342         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6343         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6344         audit library and increment generation counter.
6345         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6346         * elf/tst-audit9.c: New file.
6347         * elf/tst-auditmod9a.c: New file.
6348         * elf/tst-auditmod9b.c: New file.
6349         * elf/Makefile: Add rules to build and run tst-audit9.
6351 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6353         [BZ #15347]
6354         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6356 2014-02-25  Will Newton  <will.newton@linaro.org>
6358         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6359         (__longjmp): Restore sp and lr before restoring callee
6360         saved registers.  Add longjmp and longjmp_target
6361         SystemTap probe point.
6362         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6363         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6364         Define to zero to match jmpbuf layout.
6365         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6366         (__sigsetjmp): Save sp and lr before saving callee
6367         saved registers.  Add setjmp SystemTap probe point.
6369 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6371         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6373 2014-02-24  Andreas Schwab  <schwab@suse.de>
6375         [BZ #15804]
6376         * elf/pldd.c (wait_for_ptrace_stop): New function.
6377         (main): Call it after attaching.
6379 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6381         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6382         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6383         Versions files is now verboten.
6384         * hurd/Versions (libc: GLIBC_2.0):
6385         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6386         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6387         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6388         * mach/Versions: Likewise.
6390         * csu/Versions: Remove unused %include.
6391         * resolv/Versions: Likewise.
6393 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6395         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6396         ($(objpfx)check-local-headers.out): Likewise.
6397         ($(objpfx)begin-end-check.out): Likewise.
6398         * Makerules (check-abi-%.out): Likewise.
6399         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6400         ($(objpfx)test2.cat): Likewise.
6401         ($(objpfx)de/libc.cat): Likewise.
6402         ($(objpfx)test-gencat.out): Likewise.
6403         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6404         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6405         ($(objpfx)noload-mem): Likewise.
6406         ($(objpfx)tst-pathopt.out): Likewise.
6407         ($(objpfx)tst-rtld-load-self.out): Likewise.
6408         ($(objpfx)tst-array1-cmp.out): Likewise.
6409         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6410         ($(objpfx)tst-array2-cmp.out): Likewise.
6411         ($(objpfx)tst-array3-cmp.out): Likewise.
6412         ($(objpfx)tst-array4-cmp.out): Likewise.
6413         ($(objpfx)tst-array5-cmp.out): Likewise.
6414         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6415         ($(objpfx)check-textrel.out): Likewise.
6416         ($(objpfx)check-execstack.out): Likewise.
6417         ($(objpfx)check-localplt.out): Likewise.
6418         ($(objpfx)order2-cmp.out): Likewise.
6419         ($(objpfx)tst-leaks1-mem): Likewise.
6420         ($(objpfx)tst-leaks1-static-mem): Likewise.
6421         ($(objpfx)tst-initorder-cmp.out): Likewise.
6422         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6423         ($(objpfx)tst-unused-dep.out): Likewise.
6424         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6425         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6426         * iconv/Makefile (test-iconvconfig): Likewise.
6427         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6428         ($(objpfx)iconv-test.out): Likewise.
6429         ($(objpfx)tst-tables.out): Likewise.
6430         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6431         ($(objpfx)tst-gettext.out): Likewise.
6432         ($(objpfx)tst-translit.out): Likewise.
6433         ($(objpfx)tst-gettext2.out): Likewise.
6434         ($(objpfx)tst-gettext4.out): Likewise.
6435         ($(objpfx)tst-gettext6.out): Likewise.
6436         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6437         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6438         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6439         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6440         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6441         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6442         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6443         ($(objpfx)wordexp-tst.out): Likewise.
6444         ($(objpfx)annexc.out): Likewise.
6445         ($(objpfx)tst-fnmatch-mem): Likewise.
6446         ($(objpfx)bug-regex2-mem): Likewise.
6447         ($(objpfx)bug-regex14-mem): Likewise.
6448         ($(objpfx)bug-regex21-mem): Likewise.
6449         ($(objpfx)bug-regex31-mem): Likewise.
6450         ($(objpfx)tst-vfork3-mem): Likewise.
6451         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6452         ($(objpfx)tst-pcre-mem): Likewise.
6453         ($(objpfx)tst-boost-mem): Likewise.
6454         ($(objpfx)tst-getconf.out): Likewise.
6455         ($(objpfx)bug-ga2-mem): Likewise.
6456         ($(objpfx)bug-glob2-mem): Likewise.
6457         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6458         ($(objpfx)mtrace-tst-leaks2): Likewise.
6459         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6460         ($(objpfx)tst-printf.out): Likewise.
6461         ($(objpfx)tst-setvbuf1.out): Likewise.
6462         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6463         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6464         ($(objpfx)tst-fmtmsg.out): Likewise.
6465         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6466         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6468         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6469         * bits/sigaction.h [__USE_MISC]: Likewise.
6470         * bits/waitstatus.h: Update #endif comments.
6471         * ctype/ctype.h: Likewise.
6472         * dirent/dirent.h: Likewise.
6473         [__USE_MISC]: Remove redundant conditionals.
6474         * grp/grp.h: Update #endif comments.
6475         [__USE_GNU]: Remove redundant conditionals.
6476         [__USE_MISC]: Likewise.
6477         * inet/netinet/in.h [__USE_GNU]: Likewise.
6478         * io/sys/stat.h [__USE_MISC]: Likewise.
6479         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6480         * libio/bits/stdio.h: Update #endif comments.
6481         [__USE_MISC]: Remove redundant conditionals.
6482         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6483         * libio/stdio.h: Update #endif comments.
6484         [__USE_MISC]: Remove redundant conditionals.
6485         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6486         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6487         * math/math.h: Update #else and #endif comments.
6488         [__USE_MISC]: Remove redundant conditionals.
6489         * misc/sys/uio.h: Update #endif comments.
6490         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6491         * posix/glob.h [__USE_MISC]: Likewise.
6492         * posix/sys/types.h: Update #endif comments.
6493         [__USE_MISC]: Remove redundant conditionals.
6494         * posix/sys/wait.h: Update #endif comments.
6495         [__USE_MISC]: Remove redundant conditionals.
6496         * posix/unistd.h: Update #endif comments.
6497         [__USE_MISC]: Remove redundant conditionals.
6498         * pwd/pwd.h [__USE_GNU]: Likewise.
6499         [__USE_MISC]: Likewise.
6500         * resolv/netdb.h [__USE_GNU]: Likewise.
6501         * signal/signal.h: Update #endif comments.
6502         [__USE_MISC]: Remove redundant conditionals.
6503         * stdlib/stdlib.h: Update #else and #endif comments.
6504         [__USE_MISC]: Remove redundant conditionals.
6505         [__USE_GNU]: Likewise.
6506         * string/bits/string2.h [__USE_MISC]: Likewise.
6507         * string/string.h: Update #endif comments.
6508         [__USE_MISC]: Remove redundant conditionals.
6509         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6510         Likewise.
6511         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6512         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6513         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6516         Likewise.
6517         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6518         comments.
6519         [__USE_MISC]: Remove redundant conditionals.
6520         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6521         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6522         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6523         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6524         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6525         Likewise.
6526         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6527         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6528         Likewise.
6529         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6530         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6531         Likewise.
6532         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6535         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6540         * sysdeps/x86/bits/string.h: Update #endif comments.
6541         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6542         conditionals.
6543         * time/sys/time.h: Update #endif comments.
6544         * time/time.h: Likewise.
6545         [__USE_MISC]: Remove redundant conditionals.
6547 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6549         [BZ #16600]
6550         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6552 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6554         * Versions.def (librt): Add GLIBC_2.17.
6556 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6558         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6559         synonym for _SYS_AUXV_H to allow direct inclusion.
6560         * sysdeps/sparc/bits/hwcap.h: Likewise.
6561         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6562         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6563         * sysdeps/sparc/sysdep.h: Likewise.
6565 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6567         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6569 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6571         * benchtests/bench-strrchr.c: Print length instead of position.
6573 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6575         [BZ #16611]
6576         * sysdeps/unix/sysv/linux/kernel-features.h
6577         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6578         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6579         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6580         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6581         Likewise.
6582         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6583         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6584         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6585         (__ASSUME_SENDMMSG): Define instead of using previous
6586         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6587         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6588         (__ASSUME_SENDMMSG_SYSCALL): Define.
6589         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6590         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6591         Likewise.
6592         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6593         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6594         Likewise.
6595         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6596         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6597         Likewise.
6598         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6599         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6600         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6601         [__ASSUME_SENDMMSG]: Change conditionals to
6602         [__ASSUME_SENDMMSG_SOCKETCALL].
6603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6604         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6605         Define.
6606         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6607         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6608         Likewise.
6609         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6610         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6611         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6612         [!__ASSUME_SENDMMSG]: Change conditional to
6613         [!__ASSUME_SENDMMSG_SOCKETCALL].
6614         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6615         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6616         Define.
6618         [BZ #16610]
6619         * sysdeps/unix/sysv/linux/kernel-features.h
6620         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6621         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6622         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6623         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6624         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6625         [__i386__ || __sparc__]
6626         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6627         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6628         (__ASSUME_RECVMMSG): Define instead of using previous
6629         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6630         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6631         (__ASSUME_RECVMMSG_SYSCALL): Define.
6632         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6633         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6634         Likewise.
6635         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6636         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6637         Likewise.
6638         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6639         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6640         Likewise.
6641         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6642         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6643         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6644         [__ASSUME_RECVMMSG]: Change condition to
6645         [__ASSUME_RECVMMSG_SOCKETCALL].
6646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6648         Define.
6649         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6650         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6652         Likewise.
6653         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6654         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6655         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6656         [!__ASSUME_RECVMMSG]: Change condition to
6657         [!__ASSUME_RECVMMSG_SOCKETCALL].
6658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6659         (__ASSUME_RECVMMSG_SYSCALL): Define.
6661         [BZ #16609]
6662         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6663         __powerpc__ || __s390__ || __sh__ || __sparc__]
6664         (__ASSUME_SOCKETCALL): Define.
6665         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6666         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6667         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6668         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6669         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6670         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6671         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6672         (__ASSUME_ACCEPT4): Define instead of using previous
6673         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6674         __powerpc__ || __sparc__ || __s390__)] condition.
6675         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6676         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6677         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6678         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6679         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6680         [!__ASSUME_ACCEPT4]: Change condition to
6681         [!__ASSUME_ACCEPT4_SOCKETCALL].
6682         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6683         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6684         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6685         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6686         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6687         __ASSUME_ACCEPT4_SYSCALL.
6688         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6689         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6690         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6691         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6692         __ASSUME_ACCEPT4_SYSCALL.
6693         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6694         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6695         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6696         [__ASSUME_ACCEPT4]: Change condition to
6697         [__ASSUME_ACCEPT4_SOCKETCALL].
6698         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6699         (__ASSUME_SOCKETCALL): Define.
6700         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6702         (__ASSUME_SOCKETCALL): Define.
6703         (__ASSUME_ACCEPT4): Remove.
6704         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6705         Define.
6706         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6707         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6708         Likewise.
6709         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6710         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6712         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6713         macro.
6714         (HWCAP_ARM_LPAE): Likewise.
6715         (HWCAP_ARM_EVTSTRM): Likewise.
6716         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6717         Add vpfd32, lpae and evtstrm.
6718         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6719         Increase to 22.
6721 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6723         * math/auto-libm-test-in: Add tests of clog10.
6724         * math/auto-libm-test-out: Regenerated.
6725         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6726         * sysdeps/i386/fpu/libm-test-ulps: Update.
6727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6729 2014-02-18  Andreas Schwab  <schwab@suse.de>
6731         [BZ #16574]
6732         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6733         Store non-zero if the second buffer was newly allocated.
6734         (send_dg): Likewise.
6735         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6736         to send_vc and send_dg.
6737         (res_nsend): Pass NULL for ansp2_malloced.
6738         * resolv/res_query.c (__libc_res_nquery): Add parameter
6739         answerp2_malloced and pass it down to __libc_res_nsend.
6740         (res_nquery): Pass additional NULL to __libc_res_nquery.
6741         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6742         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6743         second answer buffer if answerp2_malloced was set.
6744         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6745         (__libc_res_nquerydomain): Add parameter
6746         answerp2_malloced and pass it down to __libc_res_nquery.
6747         (res_nquerydomain): Pass additional NULL to
6748         __libc_res_nquerydomain.
6749         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6750         additional NULL to __libc_res_nsend and __libc_res_nquery.
6751         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6752         additional NULL to __libc_res_nsearch.
6753         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6754         parameter of __libc_res_nsearch to check for separately allocated
6755         second buffer.
6756         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6757         __libc_res_nquery.
6758         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6759         additional NULL to __libc_res_nquery.
6760         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6761         __libc_res_nsearch.
6762         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6763         * include/resolv.h: Update prototypes of __libc_res_nquery,
6764         __libc_res_nsearch, __libc_res_nsend.
6766 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6768         * math/auto-libm-test-in: Add tests of fma.
6769         * math/auto-libm-test-out: Regenerated.
6770         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6771         (fma_towardzero_test_data): Likewise.
6772         (fma_downward_test_data): Likewise.
6773         (fma_upward_test_data): Likewise.
6774         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6775         mpc_mode.
6776         (rounding_modes): Add values for new field.
6777         (func_calc_method): Add value mpfr_fff_f.
6778         (func_calc_desc): Add mpfr_fff_f union field.
6779         (test_function): Add field exact_args.
6780         (FUNC): Add macro argument EXACT_ARGS.
6781         (FUNC_mpfr_f_f): Update call to FUNC.
6782         (FUNC_mpfr_f_f): Likewise.
6783         (FUNC_mpfr_ff_f): Likewise.
6784         (FUNC_mpfr_if_f): Likewise.
6785         (FUNC_mpc_c_f): Likewise.
6786         (FUNC_mpc_c_c): Likewise.
6787         (test_functions): Add fma.  Update calls to FUNC.
6788         (handle_input_arg): Add argument exact_args.
6789         (add_test): Update call to handle_input_arg.
6790         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6791         (output_for_one_input_case): Update call to calc_generic_results.
6792         Recalculate exact zero results in each rounding mode.
6794         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6795         non-negative before setting low bit.
6796         * math/auto-libm-test-in: Mark one asin test possibly having
6797         spurious underflow.
6798         * math/auto-libm-test-out: Regenerated.
6799         * sysdeps/i386/fpu/libm-test-ulps: Update.
6800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6802 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6804         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6805         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6806         ports/sysdeps/unix/sysv/linux/microblaze.
6807         * README: Add missing listing for microblaze*-*-linux-gnu.
6809 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6811         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6812         * sysdeps/unix/sysv/linux/ia64: Move directory from
6813         ports/sysdeps/unix/sysv/linux/ia64.
6814         * README: Update listing for ia64-*-linux-gnu.
6816 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6817             Joseph Myers  <joseph@codesourcery.com>
6819         * Makeconfig (test-name): New variable.
6820         (evaluate-test): Likewise.
6821         * Makerules (do-test-clean): Remove .test-result files.
6822         (common-mostlyclean): Likewise.
6823         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6824         * scripts/evaluate-test.sh: New file.
6826 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6828         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6829         separate $(objpfx)tst-fopenloc-cmp.out and
6830         $(objpfx)tst-fopenloc-mem.out targets.
6831         (tests): Update dependencies.
6832         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6833         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6834         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6835         (tst-rxspencer-no-utf8-ARGS): New variable.
6836         (tst-rxspencer-no-utf8-ENV): Likewise.
6837         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6838         instead of $(objpfx)tst-rxspencer-mem.
6839         ($(objpfx)tst-rxspencer-mem): Change target to
6840         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6841         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6842         * posix/tst-rxspencer-no-utf8.c: New file.
6844         * elf/Makefile ($(objpfx)order.out): Remove rule.
6845         [$(run-built-tests) = yes] (tests): Depend on
6846         $(objpfx)order-cmp.out.
6847         ($(objpfx)order-cmp.out): New rule.
6848         [$(run-built-tests) = yes] (tests): Depend on
6849         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6850         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6851         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6852         $(objpfx)tst-array5-static-cmp.out.
6853         ($(objpfx)tst-array1.out): Remove rule.
6854         ($(objpfx)tst-array1-cmp.out): New rule.
6855         ($(objpfx)tst-array1-static.out): Remove rule.
6856         ($(objpfx)tst-array1-static-cmp.out): New rule.
6857         ($(objpfx)tst-array2.out): Remove rule.
6858         ($(objpfx)tst-array2-cmp.out): New rule.
6859         ($(objpfx)tst-array3.out): Remove rule.
6860         ($(objpfx)tst-array3-cmp.out): New rule.
6861         ($(objpfx)tst-array4.out): Remove rule.
6862         ($(objpfx)tst-array4-cmp.out): New rule.
6863         ($(objpfx)tst-array5.out): Remove rule.
6864         ($(objpfx)tst-array5-cmp.out): New rule.
6865         ($(objpfx)tst-array5-static.out): Remove rule.
6866         ($(objpfx)tst-array5-static-cmp.out): New rule.
6867         [$(run-built-tests) = yes] (tests): Depend on
6868         $(objpfx)order2-cmp.out.
6869         ($(objpfx)order2.out): Remove rule.
6870         ($(objpfx)order2-cmp.out): New rule.
6871         ($(objpfx)tst-initorder.out): Remove rule.
6872         [$(run-built-tests) = yes] (tests): Depend on
6873         $(objpfx)tst-initorder-cmp.out.
6874         ($(objpfx)tst-initorder-cmp.out): New rule.
6875         ($(objpfx)tst-initorder2.out): Remove rule.
6876         [$(run-built-tests) = yes] (tests): Depend on
6877         $(objpfx)tst-initorder2-cmp.out.
6878         ($(objpfx)tst-initorder2-cmp.out): New rule.
6879         [$(run-built-tests) = yes] (tests): Depend on
6880         $(objpfx)tst-unused-dep-cmp.out.
6881         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6882         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6883         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6884         on $(objpfx)tst-setvbuf1-cmp.out.
6885         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6886         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6887         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6888         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6889         ($(objpfx)tst-svc.out): Remove rule.
6890         ($(objpfx)tst-svc-cmp.out): New rule.
6892 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6894         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6895         * ctype/ctype.h [__USE_MISC]: Likewise.
6896         * dirent/dirent.h [__USE_MISC]: Likewise.
6897         * grp/grp.h [__USE_MISC]: Likewise.
6898         * io/fcntl.h [__USE_MISC]: Likewise.
6899         * io/sys/stat.h [__USE_MISC]: Likewise.
6900         * libio/stdio.h [__USE_MISC]: Likewise.
6901         * posix/unistd.h [__USE_MISC]: Likewise.
6902         * pwd/pwd.h [__USE_MISC]: Likewise.
6903         * stdlib.h [__USE_MISC]: Likewise.
6904         * string/bits/string2.h [__USE_MISC]: Likewise.
6905         * string/string.h [__USE_MISC]: Likewise.
6906         * time/time.h [__USE_MISC]: Likewise.
6908 2014-02-13  Andreas Schwab  <schwab@suse.de>
6910         [BZ #16574]
6911         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6912         second answer buffer if it was separately allocated.
6914 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6916         * sysdeps/mips/math-tests.h: Include <features.h>.
6917         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6918         (ROUNDING_TESTS_long_double): Do not define.
6919         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6920         (EXCEPTION_TESTS_long_double): Likewise.
6921         * sysdeps/mips/mips64/libm-test-ulps: Update.
6923         * include/features.h (__USE_BSD): Remove macro definitions.
6924         (__USE_SVID): Likewise.
6925         (_BSD_SOURCE): Likewise.
6926         (_SVID_SOURCE): Likewise.
6927         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6928         from definition of _DEFAULT_SOURCE.
6929         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6930         [_DEFAULT_SOURCE].
6931         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6932         * bits/mman.h [__USE_BSD]: Likewise.
6933         * bits/termios.h [__USE_BSD]: Likewise.
6934         * bits/waitstatus.h [__USE_BSD]: Likewise.
6935         * ctype/ctype.h [__USE_SVID]: Likewise.
6936         * dirent/dirent.h [__USE_BSD]: Likewise.
6937         * grp/grp.h [__USE_SVID]: Likewise.
6938         [__USE_BSD]: Likewise.
6939         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6940         * io/fcntl.h [__USE_BSD]: Likewise.
6941         * io/ftw.h [__USE_BSD]: Likewise.
6942         * io/sys/stat.h [__USE_BSD]: Likewise.
6943         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6944         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6945         * libio/stdio.h [__USE_SVID]: Likewise.
6946         [__USE_BSD]: Likewise.
6947         * math/math.h [__USE_SVID]: Likewise.
6948         [__USE_BSD]: Likewise.
6949         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6950         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6951         * misc/search.h [__USE_SVID]: Likewise.
6952         * misc/sys/mman.h [__USE_BSD]: Likewise.
6953         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6954         * misc/sys/uio.h [__USE_BSD]: Likewise.
6955         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6956         * posix/glob.h [__USE_BSD]: Likewise.
6957         * posix/regex.h [__USE_BSD]: Likewise.
6958         * posix/sys/types.h [__USE_BSD]: Likewise.
6959         [__USE_SVID]: Likewise.
6960         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6961         * posix/sys/wait.h [__USE_BSD]: Likewise.
6962         [__USE_SVID]: Likewise.
6963         * posix/unistd.h [__USE_BSD]: Likewise.
6964         [__USE_SVID]: Likewise.
6965         * pwd/pwd.h [__USE_SVID]: Likewise.
6966         * resolv/netdb.h [__USE_BSD]: Likewise.
6967         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6968         * signal/signal.h [__USE_BSD]: Likewise.
6969         [__USE_SVID]: Likewise.
6970         * socket/sys/socket.h [__USE_BSD]: Likewise.
6971         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6972         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6973         [__USE_SVID]: Likewise.
6974         * string/bits/string2.h [__USE_BSD]: Likewise.
6975         [__USE_SVID]: Likewise.
6976         * string/bits/string3.h [__USE_BSD]: Likewise.
6977         * string/endian.h [__USE_BSD]: Likewise.
6978         * string/string.h [__USE_SVID]: Likewise.
6979         [__USE_BSD]: Likewise.
6980         * string/strings.h [__USE_BSD]: Likewise.
6981         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6982         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6983         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6984         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6985         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6986         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6987         Likewise.
6988         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6989         Likewise.
6990         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6991         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6994         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6995         Likewise.
6996         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6997         Likewise.
6998         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6999         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7001         Likewise.
7002         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7003         Likewise.
7004         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7005         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7006         * termios/termios.h [__USE_BSD]: Likewise.
7007         * time/sys/time.h [__USE_BSD]: Likewise.
7008         * time/time.h [__USE_BSD]: Likewise.
7009         [__USE_SVID]: Likewise.
7011         * Makefile (subdir_targets): Remove subdir_lint.out.
7013         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7014         (do-tst-printf): Likewise.
7015         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7016         $(objpfx)tst-printf.out.
7018         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7020         * Makerules (check-abi-%): Change target to
7021         $(objpfx)check-abi-%.out.
7022         (check-abi target): Update dependencies.
7023         (check-abi-pattern variable): Redirect output of diff to $@.
7024         (check-abi variable): Likewise.
7025         * elf/Makefile (check-abi): Update dependencies.
7027         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7028         unused.
7029         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7030         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7031         subnormal range.
7032         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7033         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7034         value has largest subnormal exponent.
7035         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7036         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7037         * sysdeps/aarch64/soft-fp/sfp-machine.h
7038         (_FP_TININESS_AFTER_ROUNDING): New macro.
7039         * sysdeps/alpha/soft-fp/sfp-machine.h
7040         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7041         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7042         Likewise.
7043         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7044         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7045         * sysdeps/mips/soft-fp/sfp-machine.h
7046         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7047         * sysdeps/powerpc/soft-fp/sfp-machine.h
7048         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7049         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7050         Likewise.
7051         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7052         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7053         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7054         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7055         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7056         Likewise.
7058 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7060         [BZ #16545]
7061         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7062         model 1.
7064 2014-02-12  Richard Henderson  <rth@redhat.com>
7066         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7067         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7068         * sysdeps/unix/sysv/linux/alpha: Move directory from
7069         ports/sysdeps/unix/sysv/linux/alpha.
7070         * README: Update listing for alpha-*-linux-gnu.
7072 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7074         * include/features.h: Update comment documenting feature test
7075         macros.
7076         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7077         _DEFAULT_SOURCE.
7078         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7079         (_SVID_SOURCE): Likewise.
7080         (_DEFAULT_SOURCE): Update description of default features.
7081         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7082         with _GNU_SOURCE.
7083         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7084         (S_ISVTX): Likewise.
7085         * manual/math.texi (Mathematical Constants): Likewise.
7086         * manual/signal.texi (Interrupted Primitives): Likewise.
7087         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7088         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7089         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7090         Don't refer to _SVID_SOURCE in warning text.
7092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7094         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7095         already defined.
7096         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7097         * sysdeps/mips/dl-lookup.c: Remove.
7098         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7100 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7102         [BZ #16447]
7103         * math/auto-libm-test-in: Add testcase for expl.
7104         * math/auto-libm-test-out: Regenerate.
7105         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7106         calculation of unsafe.
7107         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7109 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7111         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7112         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7113         ports/sysdeps/unix/sysv/linux/aarch64.
7114         * README: Update listing for aarch64*-*-linux-gnu.
7116 2014-02-11  Will Newton  <will.newton@linaro.org>
7118         * manual/probes.texi (Mathematical Function Probes): Use
7119         "triggered" instead of "hit".
7121         * manual/probes.texi (Internal Probes): Add documentation
7122         of setjmp, longjmp and longjmp_target probes.
7124         * include/stap-probe.h: Add comment about probe argument
7125         format.
7127         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7128         definition.  (tr_where, tr_freehook, tr_mallochook,
7129         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7131 2014-02-11  David S. Miller  <davem@davemloft.net>
7133         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7134         processing int_tests.
7136 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7138         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7139         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7140         * sysdeps/unix/sysv/linux/mips: Move directory from
7141         ports/sysdeps/unix/sysv/linux/mips.
7142         * README: Update listing for mips-*-linux-gnu and
7143         mips64-*-linux-gnu.
7145 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7147         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7148         * sysdeps/unix/sysv/linux/m68k: Move directory from
7149         ports/sysdeps/unix/sysv/linux/m68k.
7150         * README: Update listing for m68k-*-linux-gnu.
7152 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7154         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7155         * sysdeps/unix/sysv/linux/generic: Move directory from
7156         ports/sysdeps/unix/sysv/linux/generic.
7157         * sysdeps/unix/sysv/linux/tile: Move directory from
7158         ports/sysdeps/unix/sysv/linux/tile.
7159         * README: Update listing for tile*-*-linux-gnu.
7161 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7163         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7164         __builtin_expect.
7165         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7166         * catgets/open_catalog.c (__open_catalog): Likewise.
7167         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7168         * debug/confstr_chk.c: Likewise.
7169         * debug/fread_chk.c (__fread_chk): Likewise.
7170         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7171         * debug/getgroups_chk.c: Likewise.
7172         * debug/mbsnrtowcs_chk.c: Likewise.
7173         * debug/mbsrtowcs_chk.c: Likewise.
7174         * debug/mbstowcs_chk.c: Likewise.
7175         * debug/memcpy_chk.c: Likewise.
7176         * debug/memmove_chk.c: Likewise.
7177         * debug/mempcpy_chk.c: Likewise.
7178         * debug/memset_chk.c: Likewise.
7179         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7180         * debug/strcat_chk.c (__strcat_chk): Likewise.
7181         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7182         * debug/strncat_chk.c (__strncat_chk): Likewise.
7183         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7184         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7185         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7186         * debug/wcpncpy_chk.c: Likewise.
7187         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7188         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7189         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7190         * debug/wcsncpy_chk.c: Likewise.
7191         * debug/wcsnrtombs_chk.c: Likewise.
7192         * debug/wcsrtombs_chk.c: Likewise.
7193         * debug/wcstombs_chk.c: Likewise.
7194         * debug/wmemcpy_chk.c: Likewise.
7195         * debug/wmemmove_chk.c: Likewise.
7196         * debug/wmempcpy_chk.c: Likewise.
7197         * debug/wmemset_chk.c: Likewise.
7198         * dirent/scandirat.c (SCANDIRAT): Likewise.
7199         * dlfcn/dladdr1.c (dladdr1): Likewise.
7200         * dlfcn/dladdr.c (dladdr): Likewise.
7201         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7202         * dlfcn/dlerror.c (__dlerror): Likewise.
7203         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7204         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7205         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7206         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7207         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7208         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7209         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7210         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7211         Likewise.
7212         * elf/dl-conflict.c: Likewise.
7213         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7214         * elf/dl-dst.h: Likewise.
7215         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7216         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7217         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7218         * elf/dl-init.c (call_init, _dl_init): Likewise.
7219         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7220         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7221         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7222         Likewise.
7223         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7224         Likewise.
7225         * elf/dl-minimal.c (__libc_memalign): Likewise.
7226         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7227         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7228         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7229         * elf/dl-sym.c (do_sym): Likewise.
7230         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7231         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7232         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7233         * elf/dl-writev.h (_dl_writev): Likewise.
7234         * elf/ldconfig.c (search_dir): Likewise.
7235         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7236         (dl_main): Likewise.
7237         * elf/setup-vdso.h (setup_vdso): Likewise.
7238         * grp/compat-initgroups.c (compat_call): Likewise.
7239         * grp/fgetgrent.c (fgetgrent): Likewise.
7240         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7241         * grp/putgrent.c (putgrent): Likewise.
7242         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7243         Likewise.
7244         * hurd/hurdinit.c: Likewise.
7245         * iconvdata/8bit-gap.c (struct): Likewise.
7246         * iconvdata/ansi_x3.110.c : Likewise.
7247         * iconvdata/big5.c : Likewise.
7248         * iconvdata/big5hkscs.c : Likewise.
7249         * iconvdata/cp1255.c: Likewise.
7250         * iconvdata/cp1258.c : Likewise.
7251         * iconvdata/cp932.c : Likewise.
7252         * iconvdata/euc-cn.c: Likewise.
7253         * iconvdata/euc-jisx0213.c : Likewise.
7254         * iconvdata/euc-jp.c: Likewise.
7255         * iconvdata/euc-jp-ms.c : Likewise.
7256         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7257         * iconvdata/gb18030.c : Likewise.
7258         * iconvdata/gbbig5.c (const): Likewise.
7259         * iconvdata/gbgbk.c: Likewise.
7260         * iconvdata/gbk.c : Likewise.
7261         * iconvdata/ibm1364.c : Likewise.
7262         * iconvdata/ibm930.c : Likewise.
7263         * iconvdata/ibm932.c: Likewise.
7264         * iconvdata/ibm933.c : Likewise.
7265         * iconvdata/ibm935.c : Likewise.
7266         * iconvdata/ibm937.c : Likewise.
7267         * iconvdata/ibm939.c : Likewise.
7268         * iconvdata/ibm943.c: Likewise.
7269         * iconvdata/iso_11548-1.c: Likewise.
7270         * iconvdata/iso-2022-cn.c : Likewise.
7271         * iconvdata/iso-2022-cn-ext.c : Likewise.
7272         * iconvdata/iso-2022-jp-3.c: Likewise.
7273         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7274         * iconvdata/iso-2022-kr.c : Likewise.
7275         * iconvdata/iso646.c (gconv_end): Likewise.
7276         * iconvdata/iso_6937-2.c : Likewise.
7277         * iconvdata/iso_6937.c : Likewise.
7278         * iconvdata/iso8859-1.c: Likewise.
7279         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7280         * iconvdata/shift_jisx0213.c : Likewise.
7281         * iconvdata/sjis.c : Likewise.
7282         * iconvdata/t.61.c : Likewise.
7283         * iconvdata/tcvn5712-1.c : Likewise.
7284         * iconvdata/tscii.c: Likewise.
7285         * iconvdata/uhc.c : Likewise.
7286         * iconvdata/unicode.c (gconv_end): Likewise.
7287         * iconvdata/utf-16.c (gconv_end): Likewise.
7288         * iconvdata/utf-32.c (gconv_end): Likewise.
7289         * iconvdata/utf-7.c (base64): Likewise.
7290         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7291         * iconv/gconv_close.c (__gconv_close): Likewise.
7292         * iconv/gconv_open.c (__gconv_open): Likewise.
7293         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7294         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7295         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7296         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7297         (ucs4le_internal_loop_single): Likewise.
7298         * iconv/iconv.c (iconv): Likewise.
7299         * iconv/iconv_close.c: Likewise.
7300         * iconv/loop.c (SINGLE): Likewise.
7301         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7302         * include/atomic.h: Likewise.
7303         * inet/inet6_option.c (option_alloc): Likewise.
7304         * intl/bindtextdom.c (set_binding_values): Likewise.
7305         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7306         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7307         * intl/localealias.c (read_alias_file): Likewise.
7308         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7309         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7310         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7311         * libio/fmemopen.c (fmemopen): Likewise.
7312         * libio/iofgets.c (_IO_fgets): Likewise.
7313         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7314         * libio/iofgetws.c (fgetws): Likewise.
7315         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7316         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7317         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7318         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7319         * locale/findlocale.c (_nl_find_locale): Likewise.
7320         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7321         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7322         Likewise.
7323         * locale/setlocale.c (setlocale): Likewise.
7324         * login/programs/pt_chown.c (main): Likewise.
7325         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7326         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7327         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7328         (mmap, mmap64, mremap, munmap): Likewise.
7329         * math/e_exp2l.c: Likewise.
7330         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7331         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7332         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7333         * math/s_catan.c (__catan): Likewise.
7334         * math/s_catanf.c (__catanf): Likewise.
7335         * math/s_catanh.c (__catanh): Likewise.
7336         * math/s_catanhf.c (__catanhf): Likewise.
7337         * math/s_catanhl.c (__catanhl): Likewise.
7338         * math/s_catanl.c (__catanl): Likewise.
7339         * math/s_ccosh.c (__ccosh): Likewise.
7340         * math/s_ccoshf.c (__ccoshf): Likewise.
7341         * math/s_ccoshl.c (__ccoshl): Likewise.
7342         * math/s_cexp.c (__cexp): Likewise.
7343         * math/s_cexpf.c (__cexpf): Likewise.
7344         * math/s_cexpl.c (__cexpl): Likewise.
7345         * math/s_clog10.c (__clog10): Likewise.
7346         * math/s_clog10f.c (__clog10f): Likewise.
7347         * math/s_clog10l.c (__clog10l): Likewise.
7348         * math/s_clog.c (__clog): Likewise.
7349         * math/s_clogf.c (__clogf): Likewise.
7350         * math/s_clogl.c (__clogl): Likewise.
7351         * math/s_csin.c (__csin): Likewise.
7352         * math/s_csinf.c (__csinf): Likewise.
7353         * math/s_csinh.c (__csinh): Likewise.
7354         * math/s_csinhf.c (__csinhf): Likewise.
7355         * math/s_csinhl.c (__csinhl): Likewise.
7356         * math/s_csinl.c (__csinl): Likewise.
7357         * math/s_csqrt.c (__csqrt): Likewise.
7358         * math/s_csqrtf.c (__csqrtf): Likewise.
7359         * math/s_csqrtl.c (__csqrtl): Likewise.
7360         * math/s_ctan.c (__ctan): Likewise.
7361         * math/s_ctanf.c (__ctanf): Likewise.
7362         * math/s_ctanh.c (__ctanh): Likewise.
7363         * math/s_ctanhf.c (__ctanhf): Likewise.
7364         * math/s_ctanhl.c (__ctanhl): Likewise.
7365         * math/s_ctanl.c (__ctanl): Likewise.
7366         * math/w_pow.c: Likewise.
7367         * math/w_powf.c: Likewise.
7368         * math/w_powl.c: Likewise.
7369         * math/w_scalb.c (sysv_scalb): Likewise.
7370         * math/w_scalbf.c (sysv_scalbf): Likewise.
7371         * math/w_scalbl.c (sysv_scalbl): Likewise.
7372         * misc/error.c (error_tail): Likewise.
7373         * misc/pselect.c (__pselect): Likewise.
7374         * nis/nis_callback.c (__nis_create_callback): Likewise.
7375         * nis/nis_call.c (__nisfind_server): Likewise.
7376         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7377         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7378         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7379         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7380         * nis/nis_lookup.c (nis_lookup): Likewise.
7381         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7382         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7383         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7384         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7385         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7386         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7387         * nis/nss_compat/compat-initgroups.c (add_group)
7388         (internal_getgrent_r): Likewise.
7389         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7390         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7391         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7392         (internal_getspnam_r): Likewise.
7393         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7394         (_nss_nis_getaliasbyname_r): Likewise.
7395         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7396         (_nss_nis_getntohost_r): Likewise.
7397         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7398         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7399         (_nss_nis_getgrgid_r): Likewise.
7400         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7401         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7402         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7403         (_nss_nis_gethostbyname4_r): Likewise.
7404         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7405         (initgroups_netid): Likewise.
7406         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7407         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7408         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7409         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7410         (_nss_nis_getprotobynumber_r): Likewise.
7411         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7412         (_nss_nis_getsecretkey): Likewise.
7413         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7414         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7415         (_nss_nis_getpwuid_r): Likewise.
7416         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7417         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7418         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7419         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7420         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7421         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7422         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7423         Likewise.
7424         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7425         (_nss_nisplus_getntohost_r): Likewise.
7426         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7427         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7428         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7429         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7430         Likewise.
7431         * nis/nss_nisplus/nisplus-initgroups.c
7432         (_nss_nisplus_initgroups_dyn): Likewise.
7433         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7434         (_nss_nisplus_getnetbyaddr_r): Likewise.
7435         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7436         (_nss_nisplus_getprotobynumber_r): Likewise.
7437         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7438         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7439         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7440         Likewise.
7441         * nis/nss_nisplus/nisplus-service.c
7442         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7443         (_nss_nisplus_getservbyport_r): Likewise.
7444         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7445         (_nss_nisplus_getspnam_r): Likewise.
7446         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7447         Likewise.
7448         * nscd/aicache.c (addhstaiX): Likewise.
7449         * nscd/cache.c (cache_search, prune_cache): Likewise.
7450         * nscd/connections.c (register_traced_file, send_ro_fd)
7451         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7452         (main_loop_epoll): Likewise.
7453         * nscd/grpcache.c (addgrbyX): Likewise.
7454         * nscd/hstcache.c (addhstbyX): Likewise.
7455         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7456         * nscd/mem.c (gc, mempool_alloc): Likewise.
7457         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7458         (addinnetgrX): Likewise.
7459         * nscd/nscd-client.h (__nscd_acquire_maplock)
7460         (__nscd_drop_map_ref): Likewise.
7461         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7462         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7463         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7464         Likewise.
7465         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7466         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7467         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7468         (__nscd_get_map_ref): Likewise.
7469         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7470         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7471         Likewise.
7472         * nscd/pwdcache.c (addpwbyX): Likewise.
7473         * nscd/selinux.c (preserve_capabilities): Likewise.
7474         * nscd/servicescache.c (addservbyX): Likewise.
7475         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7476         * posix/fnmatch.c (fnmatch): Likewise.
7477         * posix/getopt.c (_getopt_internal_r): Likewise.
7478         * posix/glob.c (glob, glob_in_dir): Likewise.
7479         * posix/wordexp.c (exec_comm_child): Likewise.
7480         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7481         (getanswer_r, gaih_getanswer_slice): Likewise.
7482         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7483         * resolv/res_init.c: Likewise.
7484         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7485         * resolv/res_query.c (__libc_res_nquery): Likewise.
7486         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7487         Likewise.
7488         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7489         * stdio-common/perror.c (perror): Likewise.
7490         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7491         * stdio-common/tmpnam.c (tmpnam): Likewise.
7492         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7493         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7494         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7495         Likewise.
7496         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7497         * stdlib/putenv.c (putenv): Likewise.
7498         * stdlib/setenv.c (__add_to_environ): Likewise.
7499         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7500         * stdlib/strtol_l.c (INTERNAL): Likewise.
7501         * string/memmem.c (memmem): Likewise.
7502         * string/strerror.c (strerror): Likewise.
7503         * string/strnlen.c (__strnlen): Likewise.
7504         * string/test-memmem.c (simple_memmem): Likewise.
7505         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7506         * sunrpc/pm_getport.c (__get_socket): Likewise.
7507         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7508         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7509         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7510         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7511         Likewise.
7512         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7513         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7514         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7515         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7516         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7517         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7518         Likewise.
7519         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7520         Likewise.
7521         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7522         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7523         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7524         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7525         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7527         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7528         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7529         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7530         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7531         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7532         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7533         Likewise.
7534         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7535         Likewise.
7536         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7537         Likewise.
7538         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7539         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7540         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7541         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7542         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7543         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7544         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7545         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7546         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7547         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7548         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7549         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7550         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7551         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7554         Likewise.
7555         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7556         Likewise.
7557         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7558         Likewise.
7559         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7560         Likewise.
7561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7563         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7564         Likewise.
7565         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7566         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7567         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7568         * sysdeps/posix/sleep.c: Likewise.
7569         * sysdeps/posix/tempname.c: Likewise.
7570         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7571         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7572         Likewise.
7573         * sysdeps/powerpc/powerpc32/dl-machine.h
7574         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7575         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7577         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7578         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7579         Likewise.
7580         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7581         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7582         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7583         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7584         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7585         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7586         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7587         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7588         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7589         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7591         (elf_machine_lazy_rel): Likewise.
7592         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7594         (elf_machine_lazy_rel): Likewise.
7595         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7596         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7597         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7598         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7599         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7600         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7601         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7603         Likewise.
7604         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7605         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7606         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7607         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7608         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7609         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7610         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7611         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7612         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7613         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7614         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7615         Likewise.
7616         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7617         (__posix_fallocate64_l64): Likewise.
7618         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7619         (posix_fallocate): Likewise.
7620         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7621         Likewise.
7622         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7623         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7624         (getifaddrs_internal): Likewise.
7625         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7626         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7627         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7628         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7629         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7630         (__posix_fallocate64_l64): Likewise.
7631         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7632         Likewise.
7633         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7634         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7635         (__get_clockfreq): Likewise.
7636         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7637         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7638         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7640         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7641         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7642         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7643         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7644         Likewise.
7645         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7646         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7647         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7648         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7649         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7650         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7651         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7652         Likewise.
7653         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7654         (posix_fallocate): Likewise.
7655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7656         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7657         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7658         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7659         (elf_machine_rela, elf_machine_rela_relative)
7660         (elf_machine_lazy_rel): Likewise.
7661         * time/asctime.c (asctime_internal): Likewise.
7662         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7663         * time/tzset.c (__tzset_parse_tz): Likewise.
7664         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7665         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7666         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7667         * wcsmbs/wcsmbsload.h: Likewise.
7669         [BZ #15894]
7670         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7672         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7673         (arena_get2): Remove THREAD_STATS conditionals.
7674         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7675         (__malloc_stats, int): Likewise.
7677 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7679         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7680         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7682         * manual/setjmp.texi: Fix typos/grammar errors.
7684         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7685         Only return early when n is <= 0.  Delete unused return statement.
7687         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7688         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7689         * debug/tst-longjmp_chk3.c: New file.
7691         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7692         (test_main): Replace code with set_fortify_handler call.
7693         * debug/test-strcpy_chk.c: Likewise.
7694         * debug/tst-chk1.c: Likewise.
7695         * debug/tst-longjmp_chk.c: Likewise.
7696         * test-skeleton.c: Include fcntl.h & paths.h
7697         (set_fortify_handler): Define.
7699         * debug/tst-longjmp_chk.c: Add header comment and include
7700         ../test-skeleton.c.
7701         (do_test): Mark static.
7702         (TEST_FUNCTION): Define.
7704         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7705         (IP_PMTUDISC_INTERFACE): Likewise.
7706         (IP_MULTICAST_IF): Likewise.
7707         (IP_MULTICAST_TTL): Likewise.
7708         (IP_MULTICAST_LOOP): Likewise.
7709         (IP_ADD_MEMBERSHIP): Likewise.
7710         (IP_DROP_MEMBERSHIP): Likewise.
7711         (IP_UNBLOCK_SOURCE): Likewise.
7712         (IP_BLOCK_SOURCE): Likewise.
7713         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7714         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7715         (IP_MSFILTER): Likewise.
7716         (MCAST_JOIN_GROUP): Likewise.
7717         (MCAST_BLOCK_SOURCE): Likewise.
7718         (MCAST_UNBLOCK_SOURCE): Likewise.
7719         (MCAST_LEAVE_GROUP): Likewise.
7720         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7721         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7722         (MCAST_MSFILTER): Likewise.
7723         (IP_MULTICAST_ALL): Likewise.
7724         (IP_UNICAST_IF): Likewise.
7726         * timezone/Makefile: Delete $(have-ksh) check.
7727         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7728         * timezone/tzselect.ksh: Add +x mode bits.
7730         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7731         (ANON_INODE_FS_MAGIC): Likewise.
7732         (BDEVFS_MAGIC): Likewise.
7733         (BINFMTFS_MAGIC): Likewise.
7734         (BTRFS_TEST_MAGIC): Likewise.
7735         (CRAMFS_MAGIC_WEND): Likewise.
7736         (DEBUGFS_MAGIC): Likewise.
7737         (ECRYPTFS_SUPER_MAGIC): Likewise.
7738         (EXT3_SUPER_MAGIC): Likewise.
7739         (EXT4_SUPER_MAGIC): Likewise.
7740         (FUTEXFS_SUPER_MAGIC): Likewise.
7741         (HOSTFS_SUPER_MAGIC): Likewise.
7742         (HUGETLBFS_MAGIC): Likewise.
7743         (MINIX3_SUPER_MAGIC): Likewise.
7744         (MTD_INODE_FS_MAGIC): Likewise.
7745         (NILFS_SUPER_MAGIC): Likewise.
7746         (OPENPROM_SUPER_MAGIC): Likewise.
7747         (PIPEFS_MAGIC): Likewise.
7748         (PSTOREFS_MAGIC): Likewise.
7749         (QNX6_SUPER_MAGIC): Likewise.
7750         (RAMFS_MAGIC): Likewise.
7751         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7752         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7753         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7754         (SECURITYFS_MAGIC): Likewise.
7755         (SELINUX_MAGIC): Likewise.
7756         (SMACK_MAGIC): Likewise.
7757         (SOCKFS_MAGIC): Likewise.
7758         (SQUASHFS_MAGIC): Likewise.
7759         (STACK_END_MAGIC): Likewise.
7760         (TMPFS_MAGIC): Likewise.
7761         (USBDEVICE_SUPER_MAGIC): Likewise.
7762         (V9FS_MAGIC): Likewise.
7763         (XENFS_SUPER_MAGIC): Likewise.
7764         (CRAMFS_MAGIC): Fix typo in comment.
7765         (EXT2_SUPER_MAGIC): Update comment.
7766         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7768 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7770         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7771         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7772         * sysdeps/unix/sysv/linux/arm: Move directory from
7773         ports/sysdeps/unix/sysv/linux/arm.
7774         * README: Update listing for arm-*-linux-gnueabi.
7776         * README: Remove mention of am33.
7778 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7780         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7781         than the comma operator, to avoid "rhs of comma has no effect"
7782         compiler warnings.
7783         (__sigfillset, __sigandset, __sigorset): Likewise.
7784         * include/signal.h (__sigemptyset): Likewise.
7785         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7787 2014-02-07  Allan McRae  <allan@archlinux.org>
7789         * version.h (RELEASE): Set to "development".
7790         (VERSION): Set to "2.19.90"
7791         * NEWS: Add 2.20 section.
7793 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7795         [BZ #16529]
7796         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7798 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7800         * manual/contrib.texi: Update entry for Carlos O'Donell,
7801         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7803 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7805         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7807         * sysdeps/unix/sysv/linux/kernel-features.h
7808         [__LINUX_KERNEL_VERSION >= 0x020621]
7809         (__ASSUME_PROC_PID_TASK_COMM): Define.
7811 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7813         [BZ #16398]
7814         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7815         conversion when destination buffer does not have enough space.
7816         * libio/tst-ftell-partial-wide.c: New test case.
7817         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7819         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7820         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7821         Leonard and Allan McRae.
7823 2014-02-04  David S. Miller  <davem@davemloft.net>
7825         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7826         32-bit.
7828 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7831         New file
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7833         New file
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7835         New file.
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7837         New file.
7838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7839         New file.
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7841         New file.
7842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7843         New file.
7844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7845         New file.
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7847         New file.
7848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7849         New file.
7850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7851         New file.
7852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7853         New file.
7854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7855         New file.
7857 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7859         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7860         * shlib-versions: Likewise.
7862 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7863             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7865         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7866         (abilist-pattern): New variable, set to %-le.abilist.
7868         * Makerules (abilist-pattern): New variable.
7869         (vpath): Use $(abilist-pattern) in place of %.abilist.
7870         (check-abi-% pattern rule): Likewise.
7871         (check-abi, update-abi): Likewise.
7873 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7877 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7879         * manual/startup.texi: Add next, previous, and top entries for
7880         the `Program Arguments' and `Environment Variables' nodes.
7882 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7884         * manual/macros.texi: Add comments before MTASC-safety macros.
7886         * manual/users.texi: Document MTASC-safety properties.
7888         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7889         (pthread_getspecific, pthread_setspecific): Format with
7890         @deftypefun, and add @safety note.
7891         * manual/signal.texi: Move comments that analyze the above
7892         functions to their home place.
7894 2014-02-03  Allan McRae  <allan@archlinux.org>
7896         * po/sl.po: Update Slovenian translation from translation project.
7898 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7900         * manual/time.texi (timegm): Add missing blank after @c.
7901         Reported by Joseph Myers <joseph@codesourcery.com>.
7903 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7905         * manual/check-safety.sh: New.
7906         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7908         * manual/terminal.texi: Document MTASC-safety properties.
7910         * manual/filesys.texi: Document MTASC-safety properties.
7912         * manual/errno.texi: Document MTASC-safety properties.
7914         * manual/intro.texi: Document safety identifiers and
7915         conditionals.
7917         * manual/string.texi (wcstok): Fix prototype.
7918         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7920         * manual/time.texi: Document MTASC-safety properties.
7922         * manual/string.texi: Document MTASC-safety properties.
7924         * manual/threads.texi: Document MTASC-safety properties.
7926         * manual/stdio.texi: Document MTASC-safety properties.
7928         * manual/syslog.texi: Document MTASC-safety properties.
7930         * manual/sysinfo.texi: Document MTASC-safety properties.
7932         * manual/startup.texi: Document MTASC-safety properties.
7934         * manual/socket.texi: Document MTASC-safety properties.
7936         * manual/signal.texi: Document MTASC-safety properties.
7938 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7940         * manual/setjmp.texi: Document MTASC-safety properties.
7942         * manual/search.texi: Document MTASC-safety properties.
7944         * manual/resource.texi: Document MTASC-safety properties.
7946         * manual/process.texi: Document MTASC-safety properties.
7948         * manual/platform.texi: Document MTASC-safety properties.
7950         * manual/pipe.texi: Document MTASC-safety properties.
7952         * manual/pattern.texi: Document MTASC-safety properties.
7954         * manual/message.texi: Document MTASC-safety properties.
7956         [BZ #12751]
7957         * manual/memory.texi: Document MTASC-safety properties.
7959         * manual/math.texi: Document MTASC-safety properties.
7961         * manual/locale.texi: Document MTASC-safety properties.
7963         * manual/llio.texi: Document MTASC-safety properties.
7965         * manual/libdl.texi: New.
7967         * manual/lang.texi: Document MTASC-safety properties.
7969         * manual/job.texi: Document MTASC-safety properties.
7971         * manual/getopt.texi: Document MTASC-safety properties.
7973         * manual/ctype.texi: Document MTASC-safety properties.
7975 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7977         [BZ #16046]
7978         * csu/libc-tls.c (static_map): Remove variable.
7979         (__libc_setup_tls): Use main executable's link map for TLS data.
7980         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7981         casing for LM_ID_BASE and GL(dl_nns).
7982         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7983         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7984         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7985         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7986         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7987         member.
7988         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7989         l_phnum members.
7991 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7993         * manual/debug.texi: Document MTASC-safety properties.
7995 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7997         [BZ #16510]
7998         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7999         of __x86_64__ when disabling x87 inline functions.
8001 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8003         * manual/charset.texi: Document MTASC-safety properties.
8005         * manual/crypt.texi: Document MTASC-safety properties.
8007         * manual/conf.texi: Document MTASC-safety properties.
8009         * manual/arith.texi: Document MTASC-safety properties.
8011         * manual/argp.texi: Document MTASC-safety properties.
8013         * manual/macros.texi: Introduce macros to document multi
8014         thread, asynchronous signal and asynchronous cancellation
8015         safety properties.
8016         * manual/intro.texi: Introduce the properties themselves.
8018 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8020         * sysdeps/sh/sh4/Makefile: New file.
8022 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8024         * math/gen-libm-test.pl ($srcdir): New variable.
8025         ($auto_input): Use it.
8027 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8029         [BZ #16506]
8030         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8031         access beyond array bounds when parsing netgroups file.
8033         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8034         the old buffer before realloc.
8036 2014-01-27  Allan McRae  <allan@archlinux.org>
8038         * po/fr.po: Update French translation from translation project.
8040 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8042         * sysdeps/sh/libm-test-ulps: Regenerate.
8044 2014-01-24  David S. Miller  <davem@davemloft.net>
8046         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8048 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8050         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8051         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8053 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8055         [BZ #16474]
8056         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8057         string pointers after reallocation.
8059 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8061         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8062         __SH4A__ instead of __SH_FPU_ANY__.
8064 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8066         * sysdeps/sh/fpu_control.h: New file.
8067         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8068         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8069         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8070         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8071         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8072         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8073         * sysdeps/sh/sys/ucontext.h: Remove.
8074         * sysdeps/sh/sys: Remove directory.
8076 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8078         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8079         s390/sys/ucontext.h.
8080         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8081         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8083 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8085         [BZ #15605]
8086         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8088 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8090         [BZ#16431]
8091         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8092         Adjust the vDSO correctly for internal calls.
8093         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8095 2014-01-20  Allan McRae  <allan@archlinux.org>
8097         * po/ca.po: Update Catalan translation from translation project.
8099 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8101         * sysdeps/s390/sotruss-lib.c: New file.
8103 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8105         [BZ#16430]
8106         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8107         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8108         local calls issues by not having a PLT stub required for IFUNC calls.
8109         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8111 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8113         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8114         * math/test-fpucw-static.c: Likewise.
8116 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8118         [BZ #16453]
8119         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8121 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8123         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8124         implementation for powerpc.
8126 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8128         [BZ #14782]
8129         * sysdeps/posix/system.c (__libc_system): Do not enable
8130         asynchronous cancellation.
8132 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8134         [BZ #16427]
8135         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8136         handling only for numbers special also in the IEEE case.
8138 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8140         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8142 2014-01-11  Allan McRae  <allan@archlinux.org>
8144         * po/bg.po: Update Bulgarian translation from translation project.
8146         * po/de.po: Update German translation from translation project.
8148 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8150         * sysdeps/generic/gcc-compat.h: New file.
8152 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8154         * benchtests/asin-inputs: Correct slow inputs.
8155         * benchtests/acos-inputs: Likewise.
8157 2014-01-10  Allan McRae  <allan@archlinux.org>
8159         * po:sv.po: Update Swedish translation from translation project.
8161         * po/vi.po: Update Vietnamese translation from translation project.
8163         * po/eo.po: Update Esperanto translation from translation project.
8165         * po/cs.po: Update Czech translation from translation project.
8167         * po/nl.po: Update Dutch translation from translation project.
8169         * po/pl.po: Update Polish translation from translation project.
8171         * po/ru.po: Update Russian translation from translation project.
8173         * po/uk.po: Update Ukrainian translation from translation project.
8175 2014-01-08  Brooks Moses  <bmoses@google.com>
8177         * elf/dl-load.c: Fix comment typo.
8179 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8181         * po/header.pot: Rename to...
8182         * po/pot.header: ... this.
8183         * po/Makefile: Use pot.header.
8185 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8186             Maxim Kuvyrkov  <maxim@kugelworks.com>
8188         [BZ #16394]
8189         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8190         SRC and DEST against LEN.
8192 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8194         [BZ #16414]
8195         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8196         implementation.
8197         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8199 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8203 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8205         [BZ #16408]
8206         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8207         for large positive arguments.
8209 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8211         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8213         * math/auto-libm-test-in: Mark various tests with
8214         xfail-rounding:ldbl-128ibm.
8215         * math/auto-libm-test-out: Regenerated.
8217         [BZ #16407]
8218         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8219         Increase overflow threshold.
8221 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8223         [BZ #14286]
8224         * stdio-common/vfprintf.c: Check for integer overflow.
8226 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8228         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8229         the first argument and return value of __tls_get_addr_internal.
8231 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8233         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8234         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8236 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8238         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8239         * sysdeps/s390/rtld-global-offsets.sym: New file.
8240         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8241         GLIBC_2.19 symbol.
8242         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8243         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8244         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8245         ... this.
8246         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8247         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8248         ... this.
8249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8250         Regenerate.
8251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8252         Regenerate.
8253         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8254         halfs of GPRs for high_gprs contexts.
8255         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8256         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8257         field.
8258         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8259         uc_flags field.
8260         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8261         64 bit versions:
8262         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8263         for high GPRs (uc_high_gprs) and for future extensions
8264         (__reserved).
8265         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8266         for future extensions (__reserved).
8267         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8268         64 bit versions:
8269         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8270         SC_HIGHGPRS offset definition.
8271         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8272         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8274         * Versions.def: Add GLIBC_2.19 for libpthread.
8275         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8276         siglongjmp for libpthread with GLIBC_2.19 symver.
8277         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8278         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8279         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8280         * sysdeps/s390/__longjmp.c: New file.
8281         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8282         * sysdeps/s390/longjmp.c: New file.
8283         * sysdeps/s390/setjmp.S: New file.
8284         * sysdeps/s390/sigjmp.S: New file.
8285         * sysdeps/s390/v1-longjmp.c: New file.
8286         * sysdeps/s390/v1-setjmp.h: New file.
8287         * sysdeps/s390/v1-sigjmp.c: New file.
8288         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8289         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8290         GLIBC_2.19 version.
8291         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8292         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8293         versioned symbols for ____longjmp_chk.
8294         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8295         Likewise.
8296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8297         Regenerate.
8298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8299         Regenerate.
8300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8301         Regenerate.
8302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8303         Regenerate.
8304         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8305         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8306         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8307         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8308         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8309         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8310         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8311         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8312         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8313         * sysdeps/s390/rtld-__longjmp.c: New file.
8314         * sysdeps/s390/rtld-setjmp.S: New file.
8316 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8318         [BZ #16400]
8319         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8320         Return -__logl (x) for small positive arguments without evaluating
8321         a polynomial.
8323 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8325         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8326         Rename to ...
8327         (__ptrace_peeksiginfo_args): ... this.
8328         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8329         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8330         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8332 2014-01-06  Allan McRae  <allan@archlinux.org>
8334         * inet/netinet/in.h: Fix typo in comment.
8336 2014-01-05  Andreas Jaeger  <aj@suse.de>
8338         * sysdeps/i386/fpu/libm-test-ulps: Update.
8340 2014-01-05  Allan McRae  <allan@archlinux.org>
8342         * po/libc.pot: Regenerated.
8344         * malloc/memusagestat.c: Fix gettext call formatting.
8346 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8348         * nscd/nscd.c: Improve usage() output.
8350 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8352         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8353         * sysdeps/unix/sysv/linux/configure: Regenerated.
8354         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8355         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8357 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8359         [BZ #16390]
8360         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8361         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8363 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8365         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8366         extra tokens at end of #undef directive.
8367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8368         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8369         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8371 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8373         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8375         * math/auto-libm-test-in: Mark various tests with
8376         xfail-rounding:ldbl-128ibm.
8377         * math/auto-libm-test-out: Regenerated.
8379 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8381         [BZ #16386]
8382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8383         numbers with subnormal high part when calculating exponent.
8385         [BZ #16385]
8386         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8387         fabs.
8389         [BZ #16384]
8390         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8391         M_LN2l.
8392         (__ieee754_acoshl): Use __log1pl not __log1p.
8394 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8396         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8397         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8398         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8399         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8400         (reused_arena, arena_get2): Convert to GNU style.
8401         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8402         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8403         (memalign_check, __malloc_set_state): Likewise.
8404         * malloc/mallocbug.c (main): Likewise.
8405         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8406         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8407         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8408         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8409         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8410         (__posix_memalign, malloc_info): Likewise.
8411         * malloc/malloc.h: Likewise.
8412         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8413         (mallochook, memalignhook, reallochook, mabort): Likewise.
8414         * malloc/mcheck.h: Likewise.
8415         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8416         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8417         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8418         * malloc/morecore.c (__default_morecore): Likewise.
8419         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8420         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8421         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8422         (print_and_abort): Likewise.
8423         * malloc/obstack.h: Likewise.
8424         * malloc/set-freeres.c (__libc_freeres): Likewise.
8425         * malloc/tst-mallocstate.c (main): Likewise.
8426         * malloc/tst-mtrace.c (main): Likewise.
8427         * malloc/tst-realloc.c (do_test): Likewise.
8429 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8431         [BZ #16366]
8432         * nscd/netgroupcache.c (do_notfound): New function.
8433         (addgetnetgrentX): Use it.
8435         [BZ # 16365]
8436         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8437         NSS_STATUS_NOTFOUND.
8439 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8441         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8444 2014-01-01  Allan McRae  <allan@archlinux.org>
8446         * scripts/update-copyrights: Update configure input file suffix.
8448         * NEWS: Update copyright year.
8449         * catgets/gencat.c: Likewise.
8450         * csu/version.c: Likewise.
8451         * debug/catchsegv.sh: Likewise.
8452         * debug/pcprofiledump.c: Likewise.
8453         * debug/xtrace.sh: Likewise.
8454         * elf/ldconfig.c: Likewise.
8455         * elf/ldd.bash.in: Likewise.
8456         * elf/pldd.c: Likewise.
8457         * elf/sotruss.ksh: Likewise.
8458         * elf/sprof.c: Likewise.
8459         * iconv/iconv_prog.c: Likewise.
8460         * iconv/iconvconfig.c: Likewise.
8461         * locale/programs/locale.c: Likewise.
8462         * locale/programs/localedef.c: Likewise.
8463         * login/programs/pt_chown.c: Likewise.
8464         * malloc/memusage.sh: Likewise.
8465         * malloc/memusagestat.c: Likewise.
8466         * malloc/mtrace.pl: Likewise.
8467         * manual/libc.texinfo: Likewise.
8468         * nscd/nscd.c: Likewise.
8469         * nss/getent.c: Likewise.
8470         * nss/makedb.c: Likewise.
8471         * posix/getconf.c: Likewise.
8472         * scripts/test-installation.pl: Likewise.
8474         * All files with FSF copyright notices: Update copyright dates
8475         using scripts/update-copyrights.
8476         * intl/plural.c: Regenerated.
8477         * locale/programs/charmap-kw.h: Likewise.
8478         * locale/programs/locfile-kw.h: Likewise.
8480 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8482         * sysdeps/unix/sysv/linux/configure: Regenerated.
8483         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8484         the linux/fanotify.h header.
8485         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8486         HAVE_LINUX_FANOTIFY_H is defined.
8488 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8490         * benchtests/cos-inputs: New inputs.
8491         * benchtests/sin-inputs: Likewise.
8493         * benchtests/atan-inputs: New inputs. Fix name of multiple
8494         precision fallback inputs.
8496         * benchtests/atanh-inputs: New inputs.
8497         * benchtests/tanh-inputs: Likewise.
8499         * benchtests/acosh-inputs: New inputs.
8500         * benchtests/asinh-inputs: Likewise.
8502         * benchtests/cosh-inputs: New inputs.
8503         * benchtests/sinh-inputs: Likewise.
8505         * benchtests/acos-inputs: Add more inputs.
8506         * benchtests/asin-inputs: Likewise.
8508 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8510         [BZ #16375]
8511         * manual/arith.texi: Fix spelling.
8512         * manual/charset.texi: Likewise.
8513         * manual/errno.texi: Likewise.
8514         * manual/filesys.texi: Likewise.
8515         * manual/lang.texi: Likewise.
8516         * manual/llio.texi: Likewise.
8517         * manual/locale.texi: Likewise.
8518         * manual/message.texi: Likewise.
8519         * manual/resource.texi: Likewise.
8520         * manual/search.texi: Likewise.
8521         * manual/setjmp.texi: Likewise.
8522         * manual/stdio.texi: Likewise.
8523         * manual/string.texi: Likewise.
8524         * manual/sysinfo.texi: Likewise.
8525         * manual/time.texi: Likewise.
8527 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8529         * po/sl.po: New file.
8531 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8533         * .gitignore: Add core/.gdbinit/.gdb_history.
8535 2013-12-27  Allan McRae  <allan@archlinux.org>
8537         [BZ #16369]
8538         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8539         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8541 2013-12-24  Brooks Moses  <bmoses@google.com>
8543         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8544         all compilers that claim C++98 compliance, not just GCC.
8545         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8546         Likewise.
8548 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8550         * NEWS: Restore accidentally deleted bug-fix entries.
8552 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8553             Ondřej Bílka  <neleai@seznam.cz>
8555         [BZ #15073]
8556         * malloc/malloc.c (_int_free): Perform sanity check only if we
8557         have_lock.
8559 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8561         [BZ #12986]
8562         * manual/stdio.texi (String Input Conversions): Clarify that character
8563         classes are not supported.
8565 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8569 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8571         [BZ #16337]
8572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8573         Calculate results for small negative arguments directly rather
8574         than using reflection formula with special underflow handling.
8576         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8577         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8578         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8579         (fchflags): Likewise.
8580         (revoke): Likewise.
8581         (setlogin): Likewise.
8582         (sigaltstack): Likewise.
8583         (wait4): Likewise.
8584         (sigblock): Remove.
8585         (sigsetmask): Likewise.
8586         (wait3): Likewise.
8587         (waitpid): Likewise.
8588         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8589         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8590         file.
8591         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8592         * sysdeps/unix/bsd/Makefile: ... here.
8593         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8594         * sysdeps/unix/bsd/Versions: ... here.
8595         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8596         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8597         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8598         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8599         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8600         * sysdeps/unix/bsd/sigblock.c: ... here.
8601         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8602         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8603         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8604         * sysdeps/unix/bsd/sigvec.c: ... here.
8605         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8606         * sysdeps/unix/bsd/tcdrain.c: ... here.
8607         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8608         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8609         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8610         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8611         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8612         * sysdeps/unix/bsd/wait.c: ... here.
8613         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8614         * sysdeps/unix/bsd/wait3.c: ... here.
8615         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8616         * sysdeps/unix/bsd/waitpid.c: ... here.
8618 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8620         [BZ #16356]
8621         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8622         round-to-nearest for [!USE_AS_EXPM1L].
8623         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8624         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8625         more tests of exp and exp10.  Expect some exp10 tests to miss
8626         exceptions or fail in directed rounding modes.
8627         * math/auto-libm-test-out: Regenerated.
8628         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8629         (exp10_test_tonearest): New function.
8630         (exp10_towardzero_test_data): New array.
8631         (exp10_test_towardzero): New function.
8632         (exp10_downward_test_data): New array.
8633         (exp10_test_downward): New function.
8634         (exp10_upward_test_data): New array.
8635         (exp10_test_upward): New function.
8636         (main): Call the new functions.
8637         * sysdeps/i386/fpu/libm-test-ulps: Update.
8638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8640 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8642         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8643         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8644         * math/auto-libm-test-out: Regenerated.
8645         * math/libm-test.inc (acosh_test_data): Add more tests.
8646         (atanh_test_data): Likewise.
8647         (ceil_test_data): Likewise.
8648         (copysign_test_data): Likewise.
8649         * sysdeps/i386/fpu/libm-test-ulps: Update.
8650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8652         * timezone/checktab.awk: Update from tzcode 2013i.
8653         * timezone/private.h: Likewise.
8654         * timezone/scheck.c: Likewise.
8655         * timezone/tzfile.h: Likewise.
8656         * timezone/tzselect.ksh: Likewise.
8657         * timezone/zdump.c: Likewise.
8658         * timezone/zic.c: Likewise.
8660         * math/auto-libm-test-in: Add tests of cpow.
8661         * math/auto-libm-test-out: Regenerated.
8662         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8664         mpc_cc_c.
8665         (func_calc_desc): Add mpc_cc_c union field.
8666         (test_functions): Add cpow.
8667         (special_fill_2pi): New function.
8668         (special_real_inputs): Add 2pi.
8669         (calc_generic_results): Handle mpc_cc_c.
8670         * sysdeps/i386/fpu/libm-test-ulps: Update.
8671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8673         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8674         csqrt, ctan and ctanh.
8675         * math/auto-libm-test-out: Regenerated.
8676         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8677         (TEST_COND_x86): Likewise.
8678         (ccos_test_data): Use AUTO_TESTS_c_c.
8679         (ccosh_test_data): Likewise.
8680         (cexp_test_data): Likewise.
8681         (clog_test_data): Likewise.
8682         (csqrt_test_data): Likewise.
8683         (ctan_test_data): Likewise.
8684         (ctan_tonearest_test_data): Likewise.
8685         (ctan_towardzero_test_data): Likewise.
8686         (ctan_downward_test_data): Likewise.
8687         (ctan_upward_test_data): Likewise.
8688         (ctanh_test_data): Likewise.
8689         (ctanh_tonearest_test_data): Likewise.
8690         (ctanh_towardzero_test_data): Likewise.
8691         (ctanh_downward_test_data): Likewise.
8692         (ctanh_upward_test_data): Likewise.
8693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8694         mpc_c_c.
8695         (func_calc_desc): Add mpc_c_c union field.
8696         (FUNC_mpc_c_c): New macro.
8697         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8698         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8699         ctanh.
8700         (special_fill_min_subnorm_p120): New function.
8701         (special_real_inputs): Add min_subnorm_p120.
8702         (calc_generic_results): Handle mpc_c_c.
8703         * sysdeps/i386/fpu/libm-test-ulps: Update.
8704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8706 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8708         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8709         (do_sin_slow): New functions.
8710         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8711         (cslow2, csloww1, csloww2): Use the new functions.
8713         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8714         Use M to change sign of result instead of X.  Assume X is
8715         positive.
8716         (csloww1): Likewise.
8717         (__sin): Adjust.
8718         (__cos): Adjust.
8720         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8721         arguments A and DA.
8722         (__sin): Adjust.
8723         (__cos): Likewise.
8725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8726         (__cos): Likewise.
8727         (sloww1): Don't adjust sign of DX.
8728         (csloww1): Likewise.
8729         (sloww2): Use X directly and don't adjust sign of DX.
8730         (csloww2): Likewise.
8732 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8734         * math/auto-libm-test-in: Add tests of cabs and carg.
8735         * math/auto-libm-test-out: Regenerated.
8736         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8737         (carg_test_data): Likewise.
8738         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8739         mpc_c_f.
8740         (func_calc_desc): Add mpc_c_f union field.
8741         (test_functions): Add cabs and carg.
8742         (calc_generic_results): Handle mpc_c_f.
8744         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8745         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8746         as a macro and a compat symbol.
8747         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8748         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8749         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8750         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8751         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8752         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8753         not use .hidden.
8754         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8755         Likewise.
8756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8757         Likewise.
8758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8759         Likewise.
8760         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8761         Likewise.
8762         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8763         Likewise.
8764         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8765         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8766         from GLIBC_2.3.2.
8768 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8772 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8774         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8775         trailing whitespace removed.
8776         * scripts/config.guess: Update to version 2013-11-29.
8777         * scripts/config.sub: Update to version 2013-10-01.
8779         * math/auto-libm-test-in: Add tests of sincos.
8780         * math/auto-libm-test-out: Regenerated.
8781         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8782         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8783         mpfr_f_11.
8784         (func_calc_desc): Add mpfr_f_11 union field.
8785         (test_functions): Add sincos.
8786         (calc_generic_results): Handle mpfr_f_11.
8787         * sysdeps/i386/fpu/libm-test-ulps: Update.
8788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8790 2013-12-19  Andreas Schwab  <schwab@suse.de>
8792         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8793         CALL_MCOUNT.
8794         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8795         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8796         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8798 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8800         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8801         * sysdeps/i386/fpu/libm-test-ulps: Update.
8802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8804         [BZ #16293]
8805         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8806         round-to-nearest mode when using frndint.
8807         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8808         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8809         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8810         Likewise.
8811         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8812         sinh test to fail.
8813         * math/auto-libm-test-out: Regenerated.
8814         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8815         (TEST_COND_x86): Likewise.
8816         (expm1_tonearest_test_data): New array.
8817         (expm1_test_tonearest): New function.
8818         (expm1_towardzero_test_data): New array.
8819         (expm1_test_towardzero): New function.
8820         (expm1_downward_test_data): New array.
8821         (expm1_test_downward): New function.
8822         (expm1_upward_test_data): New array.
8823         (expm1_test_upward): New function.
8824         (main): Run the new test functions.
8825         * sysdeps/i386/fpu/libm-test-ulps: Update.
8826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828         * include/features.h: Update comment documenting feature test
8829         macros.  Mention _DEFAULT_SOURCE in comment.
8830         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8831         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8832         _BSD_SOURCE and _SVID_SOURCE.
8833         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8834         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8835         !_SVID_SOURCE]: Likewise.
8836         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8837         (__USE_POSIX_IMPLICITLY): Define.
8838         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8839         (_POSIX_SOURCE): Undefine and redefine.
8840         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8841         (_POSIX_C_SOURCE): Likewise.
8842         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8843         (Feature Test Macros): Update documentation of default features.
8845 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8847         * benchtests/Makefile: Add bench-strtok.
8848         * benchtests/bench-strtok.c: New file: strtok benchtest.
8850 2013-12-19  Allan McRae  <allan@archlinux.org>
8852         * manual/install.texi: Suppress menu for plain text output.
8853         * INSTALL: Regenerated.
8855 2013-12-18  Brooks Moses  <bmoses@google.com>
8857         [BZ #15846]
8858         * misc/getauxval.c: Include errno.h.
8859         (__getauxval): Set errno to ENOENT if the requested type is not
8860         found.
8861         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8862         don't declare with __attribute_const__.
8863         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8864         * manual/startup.texi: Document that getauxval sets errno.
8866 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8868         * math/auto-libm-test-in: Add tests of jn and yn.
8869         * math/auto-libm-test-out: Regenerated.
8870         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8871         (yn_test_data): Likewise.
8872         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8873         mpfr_if_f.
8874         (func_calc_desc): Add mpfr_if_f union field.
8875         (FUNC_mpfr_if_f): New macro.
8876         (test_functions): Add jn and yn.
8877         (calc_generic_results): Assert type of second input for
8878         mpfr_ff_f.  Handle mpfr_if_f.
8879         (output_for_one_input_case): Disable all checking for arguments
8880         fitting floating-point types in case of an integer argument.
8881         * sysdeps/i386/fpu/libm-test-ulps: Update.
8882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8885         Don't expect fegetround reference in libm.so.
8887 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8889         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8890         $(config-cflags-nofma).
8892 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8894         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8895         * math/auto-libm-test-out: Regenerated.
8897         [BZ #16338]
8898         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8899         to determine exponent and adjust argument to have exponent of -1.
8900         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8901         log2.
8902         * math/auto-libm-test-out: Regenerated.
8903         * sysdeps/i386/fpu/libm-test-ulps: Update.
8904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8906 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8908         * manual/probes.texi: Remove cases when per-thread arenas are
8909         disabled.
8911 2013-12-18  Andreas Schwab  <schwab@suse.de>
8913         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8914         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8915         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8916         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8917         * sysdeps/i386/i686/multiarch/Makefile: Update.
8918         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8920 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8922         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8923         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8925 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8927         [BZ #15968]
8928         Support TZ transition times < 00:00:00.
8929         This is needed for version-3 tz-format files; it supports time
8930         stamps past 2037 for America/Godthab (the only entry in the tz
8931         database for which this change is relevant).
8932         * manual/time.texi (TZ Variable): Document transition times
8933         from -167:59:59 through -00:00:01.
8934         * time/tzset.c (tz_rule): Time of day is now signed.
8935         (__tzset_parse_tz): Parse negative time of day.
8937         Document TZ transition times >= 25:00:00.
8938         * manual/time.texi (TZ Variable): Document transition times from
8939         25:00:00 through 167:59:59.  These are already supported, and this
8940         support will help with version-3 tz-format files.
8942         * manual/time.texi (TZ Variable): Modernize North America example
8943         to reflect current (i.e., 2007-and-later) daylight saving rules.
8945         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8947 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8949         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8950         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8951         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8953         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8954         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8955         * sysdeps/unix/bsd/clock.c: Likewise.
8956         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8957         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8958         * sysdeps/unix/bsd/init-posix.c: Likewise.
8959         * sysdeps/unix/bsd/poll.c: Likewise.
8960         * sysdeps/unix/bsd/ptsname.c: Likewise.
8961         * sysdeps/unix/bsd/seekdir.c: Likewise.
8962         * sysdeps/unix/bsd/setegid.c: Likewise.
8963         * sysdeps/unix/bsd/seteuid.c: Likewise.
8964         * sysdeps/unix/bsd/setgid.c: Likewise.
8965         * sysdeps/unix/bsd/setrgid.c: Likewise.
8966         * sysdeps/unix/bsd/setruid.c: Likewise.
8967         * sysdeps/unix/bsd/setsid.c: Likewise.
8968         * sysdeps/unix/bsd/setuid.c: Likewise.
8969         * sysdeps/unix/bsd/sigaction.c: Likewise.
8970         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8971         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8972         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8973         * sysdeps/unix/bsd/telldir.c: Likewise.
8974         * sysdeps/unix/bsd/times.c: Likewise.
8975         * sysdeps/unix/bsd/usleep.c: Likewise.
8977         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8978         ($(objpfx)libbsd-compat.a): Remove rule.
8980         * include/features.h (__FAVOR_BSD): Do not define.
8981         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8982         features conflicting with POSIX.
8983         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8984         (_BSD_SOURCE): Remove description of not being a subset of other
8985         feature test macros.
8986         * manual/job.texi (getpgrp): Do not document BSD version.
8987         (getpgid): Do not document by reference to BSD getpgrp.
8988         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8989         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8990         * signal/signal.h [__FAVOR_BSD]: Likewise.
8991         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8992         instead of making contents conditional on [__FAVOR_BSD].
8993         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8995 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8999 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9001         [BZ #16314]
9002         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9003         values below 2**-450, not 2**-500.
9004         * math/auto-libm-test-in: Don't allow spurious underflow from
9005         hypot.
9006         * math/auto-libm-test-out: Regenerated.
9008         [BZ #16316]
9009         [BZ #16330]
9010         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9011         values of ha and hb and sort them after adjusting subnormal
9012         arguments.
9013         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9014         Likewise.
9015         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9016         values of ea and eb and sort them after adjusting subnormal
9017         arguments.
9018         * math/auto-libm-test-in: Do not expect some hypot tests of
9019         subnormals to fail.  Add more hypot tests.
9020         * math/auto-libm-test-out: Regenerated.
9022 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9024         [BZ #13304]
9025         * sysdeps/sh/s_fma.c: New file.
9026         * sysdeps/sh/s_fmaf.c: New file.
9027         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9028         version.
9029         * sysdeps/sh/Implies: Add sh/soft-fp.
9031 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9033         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9034         level of indirection to members `objname', `errstring', `malloced'.
9035         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9036         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9037         it as the __longjmp argument (just pass 1 instead).
9038         (_dl_catch_error): Initialize C with argument pointers and address of
9039         volatile local ERRCODE rather than copying values out of C at return.
9041 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9043         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9044         * math/auto-libm-test-out: Regenerated.
9045         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9046         (hypot_test_data): Likewise.
9047         (pow_test_data): Likewise.
9048         (pow_tonearest_test_data): Likewise.
9049         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9050         mpfr_ff_f.
9051         (func_calc_desc): Add mpfr_ff_f union field.
9052         (FUNC_mpfr_ff_f): New macro.
9053         (test_functions): Add atan2, hypot and pow.
9054         (special_fill_min): New function.
9055         (special_fill_minus_min): Likewise.
9056         (special_fill_min_subnorm): Likewise.
9057         (special_fill_minus_min_subnorm): Likewise.
9058         (special_real_inputs): Add min, -min, min_subnorm and
9059         -min_subnorm.
9060         (calc_generic_results): Handle mpfr_ff_f.
9061         * sysdeps/i386/fpu/libm-test-ulps: Update.
9062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9064 2013-12-16  Will Newton  <will.newton@linaro.org>
9066         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9067         (Aligned Memory Blocks): Add documentation for aligned_alloc
9068         and suggest it as an alternative to posix_memalign.
9069         (Hooks for Malloc): Document __memalign_hook is also called
9070         for aligned_alloc.  (Summary of Malloc): Add summary for
9071         aligned alloc.  Document __memalign_hook is also called
9072         for aligned_alloc.
9074 2013-12-16  Will Newton  <will.newton@linaro.org>
9076         * manual/memory.texi (Malloc Examples): Clarify default
9077         alignment documentation.  Suggest posix_memalign rather
9078         than memalign or valloc.
9079         (Aligned Memory Blocks): Remove suggestion to use memalign
9080         or valloc.  Remove obsolete comment about BSD.
9081         Document memalign errno values and mark the function obsolete.
9082         Document posix_memalign returned error codes.  Mark valloc
9083         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9084         called for posix_memalign and valloc.
9085         (Summary of Malloc): Add posix_memalign to function summary.
9086         __memalign_hook is also called for posix_memalign and valloc.
9088 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9090         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9091         TAYLOR_SIN.
9092         (__sin): Adjust.
9093         (__cos): Likewise.
9094         (sloww): Use mynumber union.  Expand ternary operator into
9095         if-else statements.
9096         (cslow): use mynumber union.
9098 2013-12-16  Allan McRae  <allan@archlinux.org>
9100         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9101         * configure: Regenerated.
9103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9105         [BZ #14120]
9106         * configure.ac: Added --enable-maintainer-mode. Check for
9107         autoconf when enabled.
9108         * configure: Regenerated.
9110         * nscd/nscd.service: New file.
9111         * nscd/nscd.tmpfiles: New file.
9113 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9115         [BZ #12100]
9116         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9117         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9118         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9119         (strstr): Add __strstr_sse2_unaligned ifunc.
9120         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9121         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9122         (strcasestr): Remove __strcasestr_sse42 ifunc.
9123         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9127 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9129         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9130         * sysdeps/sh/bits/fenv.h: ... here.
9131         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9133 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9135         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9138         hypotf multiarch implementations.
9139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9142         multiarch hypot for PPC64.
9143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9146         multiarch hypotf for PPC64.
9148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9149         modff multiarch implementations.
9150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9153         multiarch modf for PPC64.
9154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9157         multiarch modff for PPC64.
9159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9160         and logl multiarch implementations.
9161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9164         multiarch logb for PPC64.
9165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9168         multiarch logb for PPC64.
9169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9172         multiarch logb for PPC64.
9174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9175         isinff multiarch implementation.
9176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9177         file.
9178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9180         multiarch isinf for PPC64.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9182         file.
9183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9184         multiarch isinff for PPC64.
9186         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9187         finitef multiarch implementation.
9188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9189         file.
9190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9192         multiarch finite for PPC64.
9193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9194         file.
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9196         multiarch finitef for PPC64.
9198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9199         lrint multiarch implementation.
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9201         file.
9202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9204         multiarch llrint for PPC64.
9205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9206         multiarch lrint for PPC64.
9208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9209         copysignf multiarch implementation.
9210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9211         file.
9212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9213         file.
9214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9215         multiarch copysign for PPC64.
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9217         multiarch copysignf for PPC64.
9219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9220         multiarch implementation.
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9222         file.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9224         file.
9225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9226         file.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9228         file.
9229         multiarch llround for PPC64.
9230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9231         multiarch trunc for PPC64.
9232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9233         multiarch truncf for PPC64.
9235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9236         multiarch implementation.
9237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9238         file.
9239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9240         file.
9241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9242         file.
9243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9244         file.
9245         multiarch llround for PPC64.
9246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9247         multiarch round for PPC64.
9248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9249         multiarch roundf for PPC64.
9251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9252         multiarch implementation.
9253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9254         file.
9255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9256         file.
9257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9258         file.
9259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9260         file.
9261         multiarch llround for PPC64.
9262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9263         multiarch floor for PPC64.
9264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9265         multiarch floorf for PPC64.
9267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9268         multiarch implementation.
9269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9270         file.
9271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9272         file.
9273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9274         file.
9275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9276         file.
9277         multiarch llround for PPC64.
9278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9279         multiarch ceil for PPC64.
9280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9281         multiarch ceilf for PPC64.
9283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9284         multiarch implementation.
9285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9286         file.
9287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9288         file.
9289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9290         file.
9291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9292         multiarch llround for PPC64.
9293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9294         multiarch lround for PPC64.
9296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9297         multiarch implementation.
9298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9301         file.
9302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9305         multiarch isnan for PPC64.
9306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9307         multiarch isnanf for PPC64.
9309         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9310         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9311         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9312         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9313         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9316         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9317         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9318         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9322         multiarch implementations.
9323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9324         (__libc_ifunc_impl_list): Likewise.
9325         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9328         multiarch stpcpy for PPC64.
9330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9331         multiarch implementations.
9332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9333         (__libc_ifunc_impl_list): Likewise.
9334         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9335         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9336         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9337         multiarch strcpy for PPC64.
9339         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9340         redefine function name.
9341         (_wordcopy_fwd_dest_aligned): Likewise.
9342         (_wordcopy_bwd_aligned): Likewise.
9343         (_wordcopy_bwd_dest_aligned): Likewise.
9344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9345         multiarch implementations.
9346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9347         (__libc_ifunc_impl_list): Likewise.
9348         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9349         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9350         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9351         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9352         multiarch wcscpy for PPC64.
9354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9355         multiarch implementations.
9356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9357         (__libc_ifunc_impl_list): Likewise.
9358         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9359         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9360         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9361         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9362         multiarch wcscpy for PPC64.
9364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9365         multiarch implementations.
9366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9367         (__libc_ifunc_impl_list): Likewise.
9368         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9369         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9370         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9371         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9372         multiarch wcsrchr for PPC64.
9374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9375         multiarch implementations.
9376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9377         (__libc_ifunc_impl_list): Likewise.
9378         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9379         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9380         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9381         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9382         multiarch wcschr for PPC64.
9384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9385         multiarch implementations.
9386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9387         (__libc_ifunc_impl_list): Likewise.
9388         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9389         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9390         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9391         multiarch strchrnul for PPC64.
9393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9394         implementations.
9395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9396         (__libc_ifunc_impl_list): Likewise.
9397         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9398         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9399         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9400         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9401         strchr for PPC64.
9403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9404         implementations.
9405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9406         (__libc_ifunc_impl_list): Likewise.
9407         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9408         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9409         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9410         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9411         strncmp for PPC64.
9413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9414         multiarch implementations.
9415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9416         (__libc_ifunc_impl_list): Likewise.
9417         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9418         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9419         strncasecmp for PPC64.
9420         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9421         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9422         multiarch strncasecmp_l for PPC64.
9424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9425         multiarch implementations.
9426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9427         (__libc_ifunc_impl_list): Likewise.
9428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9430         multiarch strcasecmp for PPC64.
9431         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9432         file.
9433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9434         multiarch strcasecmp_l for PPC64.
9436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9437         implementations.
9438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9439         (__libc_ifunc_impl_list): Likewise.
9440         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9441         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9442         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9443         strnlen for PPC64.
9445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9446         implementations.
9447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9448         (__libc_ifunc_impl_list): Likewise.
9449         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9450         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9451         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9452         strlen for PPC64.
9454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9455         implementations.
9456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9457         (__libc_ifunc_impl_list): Likewise.
9458         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9459         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9460         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9461         rawmemrchr for PPC64.
9463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9464         implementation.
9465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9466         (__libc_ifunc_impl_list): Likewise.
9467         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9468         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9469         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9470         memrchr for PPC64.
9472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9473         implementation.
9474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9475         (__libc_ifunc_impl_list): Likewise.
9476         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9477         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9478         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9479         memchr for PPC64.
9481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9482         implementation.
9483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9484         (__libc_ifunc_impl_list): Likewise.
9485         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9486         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9487         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9488         mempcpy for PPC64.
9490         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9491         avoid cretion of __bzero symbol.
9492         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9493         Likewise.
9494         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9495         Likewise.
9496         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9497         Likewise.
9498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9499         multiarch implementations.
9500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9501         (__libc_ifunc_impl_list): Likewise.
9502         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9503         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9504         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9505         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9506         bzero for PPC32.
9507         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9508         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9509         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9510         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9511         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9512         memset for PPC64.
9513         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9515         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9517         implementations.
9518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9519         (__libc_ifunc_impl_list): Likewise.
9520         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9521         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9522         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9523         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9524         memcmp for PPC64.
9526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9527         multiarch for POWER/PPC64.
9528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9529         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9532         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9533         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9534         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9535         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9536         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9537         memcpy for PPC64.
9539         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9540         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9541         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9542         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9543         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9544         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9545         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9546         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9547         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9548         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9549         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9550         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9551         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9552         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9553         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9562 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9564         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9566 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9568         * benchtests/Makefile (bench): Add exp2 and log2.
9569         (LDLIBS-bench-exp2): Add -lm.
9570         (LDLIBS-bench-log2): Likewise.
9571         * benchtests/exp2-inputs: New inputs file.
9572         * benchtests/log2-inputs: New inputs file.
9573         * benchtests/log-inputs: Add new inputs.
9574         * benchtests/tan-inputs: Likewise.
9576 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9578         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9579         definition...
9580         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9581         (csloww2): ... from here.
9583         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9584         instead of structures.
9585         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9586         (POLYNOMIAL): Likewise.
9587         (TAYLOR_SLOW): Likewise.
9588         (__sin): Likewise.
9589         (__cos): Likewise.
9590         (slow1): Likewise.
9591         (slow2): Likewise.
9592         (sloww): Likewise.
9593         (sloww1); Likewise.
9594         (sloww2): Likewise.
9595         (bsloww1): Likewise.
9596         (bsloww2): Likewise.
9597         (cslow2): Likewise.
9598         (csloww): Likewise.
9599         (csloww1): Likewise.
9600         (csloww2): Likewise.
9602 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9604         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9605         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9606         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9607         * malloc/hooks.c (realloc_check): Likewise.
9609         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9610         * malloc/arena.c: Remove PER_THREAD conditional.
9611         [!PER_THREAD]: Remove code.
9612         (ptmalloc_unlock_all2): Likewise.
9613         (ptmalloc_init): Likewise.
9614         (_int_new_arena): Likewise.
9615         (arena_get2): Likewise.
9616         * malloc/hooks.c (__malloc_get_state): Likewise.
9617         (__malloc_set_state): Likewise.
9618         * malloc/malloc.c: Likewise.
9619         (struct malloc_state): Likewise.
9620         (struct malloc_par): Likewise.
9621         (__libc_realloc): Likewise.
9622         (__libc_mallopt): Likewise.
9624 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9626         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9628 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9630         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9631         macro to a function.  Check for zero perturb_byte.
9632         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9634         * malloc/malloc.c: (force_reg): Remove.
9635         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9636         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9637         force_reg by atomic_forced_read.
9638         * malloc/arena.c (ptmalloc_init): Likewise.
9639         * malloc/hooks.c (top_check): Likewise.
9641 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9645 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9649 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9651         * math/auto-libm-test-in: Add tests of lgamma.
9652         * math/auto-libm-test-out: Regenerated.
9653         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9654         (M_LOG_2_SQRT_PIl): Likewise.
9655         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9656         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9657         mpfr_f_f1.
9658         (func_calc_desc): Add mpfr_f_f1 union field.
9659         (ARGS1): New macro.
9660         (ARGS2): Likewise.
9661         (ARGS3): Likewise.
9662         (ARGS4): Likewise.
9663         (RET1): Likewise.
9664         (RET2): Likewise.
9665         (CALC): Likewise.
9666         (FUNC): Likewise.
9667         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9668         (test_functions): Add lgamma.
9669         (calc_generic_results): Handle mpfr_f_f1.
9670         * sysdeps/i386/fpu/libm-test-ulps: Update.
9671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9673 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9676         __mpn_add_n for PowerPC64/POWER7.
9677         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9678         __mpn_sub_n for PowerPC64/POWER7.
9680         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9681         __mpn_addmul_1 for PowerPC64.
9682         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9683         __mpn_submul_1 for PowerPC64.
9684         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9685         for PowerPC64.
9686         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9687         for PowerPC64.
9689 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9691         [BZ #15089]
9692         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9694 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9696         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9698         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9699         add multiarch folders.
9700         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9701         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9702         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9703         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9704         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9705         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9706         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9707         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9708         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9709         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9710         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9719         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9721         New file.
9722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9723         New file.
9724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9725         multiarch __ieee754_hypot for PowerPC32.
9726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9727         New file.
9728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9729         New file.
9730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9731         multiarch __ieee754_hypotf for PowerPC32.
9733         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9734         long_double_symbol only if __logbl is defined.
9735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9736         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9738         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9740         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9741         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9742         path for implementation.
9743         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9744         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9746         logb, and logbl multiarch implementations for PowerPC32.
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9748         file.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9750         file.
9751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9752         multiarch logb for PowerPC32.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9754         file.
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9756         file.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9758         multiarch logbf for PowerPC32.
9759         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9761         file.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9763         multiarch logbl implementation for PowerPC32.
9765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9766         and modff multiarch implementations.
9767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9768         New file.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9770         New file.
9771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9772         multiarch modf for PowerPC32.
9773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9774         New file.
9775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9776         New file.
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9778         multiarch modff for PowerPC32.
9780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9781         and lrintf multiarch implementations.
9782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9783         New file.
9784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9785         New file.
9786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9787         multiarch lrint for PowerPC32.
9788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9789         file: multiarch lrintf for PowerPC32.
9791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9792         and lroundf multiarch implementations.
9793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9794         New file.
9795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9796         New file.
9797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9798         New file.
9799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9800         multiarch lround for PowerPC32.
9801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9802         file: multiarch lroundf for PowerPC32.
9804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9805         copysign and copysignf multiarch implementations.
9806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9807         New file.
9808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9809         New file.
9810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9811         file: multiarch copysign for PowerPC32.
9812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9813         file: multiarch copysignf for PowerPC32.
9815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9816         and truncf multiarch implementations.
9817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9818         New file.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9820         file.
9821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9822         multiarch trunc for PowerPC32.
9823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9824         New file.
9825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9826         New file.
9827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9828         multiarch truncf for PowerPC32.
9830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9831         and roundf multiarch implementations.
9832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9833         New file.
9834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9835         file.
9836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9837         multiarch round for PowerPC32.
9838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9839         New file.
9840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9841         New file.
9842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9843         multiarch roundf for PowerPC32.
9845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9846         and floorf multiarch implementations.
9847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9848         New file.
9849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9850         file.
9851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9852         multiarch floor for PowerPC32.
9853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9854         New file.
9855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9856         New file.
9857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9858         multiarch floorf for PowerPC32.
9860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9861         and ceilf multiarch implementations.
9862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9863         New file.
9864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9865         file.
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9867         multiarch ceil for PowerPC32.
9868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9869         New file.
9870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9871         file.
9872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9873         multiarch ceilf for PowerPC32.
9875         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9876         is defined.
9877         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9878         FINITEF is defined.
9879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9880         and finitef multiarch implementations.
9881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9882         New file.
9883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9884         file.
9885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9886         multiarch finite for PowerPC32.
9887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9888         New file.
9889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9890         file: multiarch finitef for PowerPC32.
9892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9893         and isinff multiarch implementations.
9894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9895         file.
9896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9897         file.
9898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9899         multiarch isinf for PowerPC32.
9900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9901         New file.
9902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9903         multiarch isinff for PowerPC32.
9905         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9906         alias when __isnan is defined.
9907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9908         and isnanf multiarch implementations.
9909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9910         file.
9911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9912         file.
9913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9914         file.
9915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9916         file.
9917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9918         multiarch isnan for PowerPC32.
9919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9920         New file.
9921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9922         New file.
9923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9924         multiarch isnanf for PowerPC32.
9926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9927         and sqrtf multiarch implementations.
9928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9929         file.
9930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9931         file.
9932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9933         multiarch sqrt for PowerPC32.
9934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9935         file.
9936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9937         file.
9938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9939         multiarch sqrtf for PowerPC32.
9941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9942         and llroundf multiarch implementations.
9943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9944         New file.
9945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9946         New file.
9947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9948         New file.
9949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9950         file: multiarch llround for PowerPC32.
9951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9952         file: multiarch llroundf for PowerPC32.
9954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9955         multiarch PowerPC32 fpu implementations.
9956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9957         New file.
9958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9959         New file.
9960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9961         multiarch llrint for PowerPC32.
9962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9963         New file.
9964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9965         New file.
9966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9967         file.
9969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9971         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9972         file.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9974         file.
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9976         file.
9977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9978         multiarch wordcopy for PPC32.
9979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9980         wordcopy objects.
9981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9982         (__libc_ifunc_impl_list): Likewise.
9983         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9984         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9985         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9986         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9987         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9988         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9990         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9992         file.
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9994         file.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9996         file.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9998         multiarch wcscpy for PPC32.
9999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10000         multiarch objects.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10002         (__libc_ifunc_impl_list): Likewise.
10003         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10004         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10005         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10006         sysdeps/powerpc/power6/wcscpy.c.
10008         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10010         file.
10011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10012         file.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10014         file.
10015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10016         multiarch wcsrchr for PPC32.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10018         multiarch objects.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10020         (__libc_ifunc_impl_list): Likewise.
10021         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10022         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10023         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10024         sysdeps/powerpc/power6/wcsrchr.c.
10026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10027         file.
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10029         file.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10032         multiarch wcschr for PPc32.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10034         multiarch objects.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10036         (__libc_ifunc_impl_list): Likewise.
10037         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10038         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10039         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10040         sysdeps/powerpc/power6/wcschr.c.
10042         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10044         file.
10045         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10046         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10047         file: multiarch strchr for PPC32.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10049         multiarch objects.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10051         (__libc_ifunc_impl_list): Likewise.
10053         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10054         name.
10055         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10056         file.
10057         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10058         file.
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10060         multiarch strchrnul for PPC32.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10062         multiarch objects.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10064         (__libc_ifunc_impl_list): Likewise.
10066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10067         file.
10068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10069         multiarch strncasecmp for PPC32.
10070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10071         file.
10072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10073         multiarch strncasecmp_l for PPC32.
10074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10075         strncasecmp multiarch objects.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10077         (__libc_ifunc_impl_list): Likewise.
10079         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10080         file.
10081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10082         multiarch strncasecmp for PPC32.
10083         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10084         New file.
10085         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10086         multiarch strcasecmp_l for PPC32.
10087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10088         multiarch objects.
10089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10090         (__libc_ifunc_impl_list): Likewise.
10092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10093         file.
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10095         file.
10096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10097         multiarch strncmp for PPC32.
10098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10099         multiarch objects.
10100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10101         (__libc_ifunc_impl_list): Likewise.
10103         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10104         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10105         file.
10106         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10107         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10109         multiarch objects.
10110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10111         (__libc_ifunc_impl_list): Likewise.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10114         file.
10115         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10116         file.
10117         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10119         multiarch objects.
10120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10121         (__libc_ifunc_impl_list): Likewise.
10123         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10124         file.
10125         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10126         file.
10127         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10128         multiarch rawmemchr for PPC32.
10129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10130         multiarch objects.
10131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10132         (__libc_ifunc_impl_list): Likewise.
10134         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10135         file.
10136         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10137         file.
10138         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10139         file: memrchr multiarch for PPC32.
10140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10141         multiarch objects.
10142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10143         (__libc_ifunc_impl_list): Likewise.
10145         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10146         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10147         file.
10148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10149         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10150         multiarch memchr for PPC32.
10151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10152         multiarch objects.
10153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10154         (__libc_ifunc_impl_list): Likewise.
10156         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10157         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10158         file.
10159         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10160         file.
10161         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10162         file: multiarch mempcpy for PPC32.
10163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10164         multiarch objects.
10165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10166         (__libc_ifunc_impl_list): Likewise.
10168         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10170         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10171         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10172         multiarch bzero for PPC32.
10173         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10174         file.
10175         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10176         file.
10177         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10178         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10179         file: multiarch memset for PPC32.
10180         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10182         memset multiarch objects.
10183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10184         (__libc_ifunc_impl_list): Likewise.
10186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10187         file.
10188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10190         memcmp for PPC32.
10191         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10193         multiarch objects.
10194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10195         (__libc_ifunc_impl_list): Likewise.
10197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10200         file.
10201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10202         file.
10203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10204         file.
10205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10206         multiarch memcpy for PPC32.
10207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10208         multiarch objects.
10209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10210         (__libc_ifunc_impl_list): Likewise.
10212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10213         support multiarch for POWER/PPC32.
10214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10215         Likewise.
10216         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10218         Implies file to make multiarch folder appers before the fpu and
10219         default folder for power4 configuration.
10221 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10223         * scripts/bench.pl: Append volatile keyword to type.
10225 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10227         * sysdeps/sh/sotruss-lib.c: New file.
10228         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10230 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10234 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10236         [BZ #6810]
10237         * math/w_tgamma.c: Include <errno.h>.
10238         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10239         * math/w_tgammaf.c: Include <errno.h>.
10240         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10241         * math/w_tgammal.c: Include <errno.h>.
10242         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10243         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10244         underflow.  Add more tgamma tests.
10245         * math/auto-libm-test-out: Regenerated.
10246         * sysdeps/i386/fpu/libm-test-ulps: Update.
10247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10249         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10250         sin, sinh, tan, tanh, tgamma, y0 and y1.
10251         * math/auto-libm-test-out: Regenerated.
10252         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10253         (TEST_COND_x86): Likewise.
10254         (M_E2l): Remove macro.
10255         (M_E3l): Likewise.
10256         (M_2_SQRT_PIl): Likewise.
10257         (M_SQRT_PIl): Likewise.
10258         (M_1_DIV_El): Likewise.
10259         (log_test_data): Use AUTO_TESTS_f_f.
10260         (log10_test_data): Likewise.
10261         (log1p_test_data): Likewise.
10262         (log2_test_data): Likewise.
10263         (sin_test_data): Likewise.
10264         (sin_tonearest_test_data): Likewise.
10265         (sin_towardzero_test_data): Likewise.
10266         (sin_downward_test_data): Likewise.
10267         (sin_upward_test_data): Likewise.
10268         (sinh_test_data): Likewise.
10269         (sinh_tonearest_test_data): Likewise.
10270         (sinh_towardzero_test_data): Likewise.
10271         (sinh_downward_test_data): Likewise.
10272         (sinh_upward_test_data): Likewise.
10273         (tan_test_data): Likewise.
10274         (tan_tonearest_test_data): Likewise.
10275         (tan_towardzero_test_data): Likewise.
10276         (tan_downward_test_data): Likewise.
10277         (tan_upward_test_data): Likewise.
10278         (tanh_test_data): Likewise.
10279         (tgamma_test_data): Likewise.
10280         (y0_test_data): Likewise.
10281         (y1_test_data): Likewise.
10282         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10283         (special_real_inputs): Add pi/4.
10284         * sysdeps/i386/fpu/libm-test-ulps: Update.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10289         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10290         "longjmp_target" static probes.
10291         (__longjmp): Rename to __longjmp_symbol.
10292         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10293         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10294         on which longjmp to generate.
10295         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10296         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10297         probe.
10298         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10299         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10300         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10301         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10302         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10303         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10305         __longjmp_symbol based on which __longjmp to generate.
10306         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10307         probe.
10308         (setjmp): Rename to setjmp_symbol.
10309         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10310         (_setjmp): Rename to _setjmp_symbol.
10311         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10312         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10313         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10314         which setjmp to generate.
10315         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10316         "longjmp_target" static probes.
10318 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10320         * benchtests/README: Add note about output arguments.
10321         * benchtests/bench-sincos.c: Remove file.
10322         * benchtests/sincos-inputs: New file.
10323         * scripts/bench.pl: Identify output arguments and define
10324         static variables for them.
10326         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10328         [BZ #15941]
10329         * Makefile (INSTALL): Add install-plain.texi as the primary
10330         dependency.
10331         * manual/install-plain.texi: New file.
10332         * manual/install.texi: Include node directive only for
10333         non-plaintext output.
10335 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10337         * stdlib/longlong.h: Update from GCC.
10339         [BZ #6807]
10340         [BZ #15901]
10341         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10342         * math/w_j0f.c (y0f): Likewise.
10343         * math/w_j0l.c (__y0l): Likewise.
10344         * math/w_j1.c (y1): Likewise.
10345         * math/w_j1f.c (y1f): Likewise.
10346         * math/w_j1l.c (__y1l): Likewise
10347         * math/w_jn.c (yn): Likewise.
10348         * math/w_jnf.c (ynf): Likewise.
10349         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10350         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10351         value for Bessel function domain errors outside _SVID_ mode.
10352         Adjust sign of return value for yn (negative integer, 0).
10353         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10354         by zero in return for negative x and set sign appropriately for
10355         negative n.
10356         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10358         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10359         expectations in error cases.
10360         (y1_test_data): Likewise.
10361         (yn_test_data): Likewise.
10362         * sysdeps/i386/fpu/libm-test-ulps: Update.
10363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10365 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10367         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10368         "64" to "64-v1".  Add "64-v2".
10369         (abi-64-options): Rename to ...
10370         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10371         (abi-64-condition): Rename to ...
10372         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10373         (abi-64-ld-soname): Rename to ...
10374         (abi-64-v1-ld-soname): ... this.
10375         (abi-64-v2-options): Define.
10376         (abi-64-v2-condition): Likewise.
10377         (abi-64-v2-ld-soname): Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10379         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10384 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10385             Alan Modra  <amodra@gmail.com>
10387         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10388         New versions for use with the ELFv2 ABI.
10389         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10390         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10391         declaration.
10392         (struct La_ppc64v2_retval): Likewise.
10393         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10394         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10395         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10396         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10397         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10398         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10399         Do not save or restore CR.
10400         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10401         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10402         return values for ELFv2 ABI.  Fix location of FPR return registers.
10403         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10404         updated values for _CALL_ELF == 2.
10405         (La_regs, La_retval, int_retval): Likewise.
10407 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10409         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10410         (FRAME_MIN_SIZE_PARM): Likewise.
10411         (FRAME_BACKCHAIN): Likewise.
10412         (FRAME_CR_SAVE): Likewise.
10413         (FRAME_LR_SAVE): Likewise.
10414         (FRAME_TOC_SAVE): Likewise.
10415         (FRAME_PARM_SAVE): Likewise.
10416         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10417         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10418         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10419         (call_mcount_parm_offset): New macro.
10420         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10421         (PROF): Use symbolic stack frame offsets.
10422         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10424         Redefine in terms of FRAME_MIN_SIZE.
10425         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10426         (_dl_profile_resolve): Likewise.  Update comment.
10427         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10428         symbols stack frame offsets.
10429         (__sigsetjmp): Likewise.
10430         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10431         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10432         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10433         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10436         (FRAME_BACKCHAIN): Remove.
10437         (FRAME_CR_SAVE): Likewise.
10438         (FRAME_LR_SAVE): Likewise.
10439         (FRAME_COMPILER_DW): Likewise.
10440         (FRAME_LINKER_DW): Likewise.
10441         (FRAME_TOC_SAVE): Likewise.
10442         (FRAME_PARM_SAVE): Likewise.
10443         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10444         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10445         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10447         (CHECK_SP): Use symbolic stack frame offsets.
10448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10449         zone" instead of caller's parameter save area for temp storage.
10450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10451         Likewise.  Also, use symbolic stack frame offsets.
10452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10453         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10454         our own stack frame instead of the caller's.
10455         (__socket): Use symbolic stack frame offsets.
10457 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10458             Alan Modra  <amodra@gmail.com>
10460         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10461         Define.
10462         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10463         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10464         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10465         New function.
10466         (elf_machine_fixup_plt): Call it.
10467         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10468         reloc arguments.
10469         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10470         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10471         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10472         r2 before calling target.
10474 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10475             Alan Modra  <amodra@gmail.com>
10477         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10478         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10479         versions of macros to support ELFv2 ABI.
10480         (LOCALENTRY): New macro.
10481         (ENTRY, EALIGN): Use it.
10482         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10483         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10484         fall through into ENTRY entry point.
10485         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10486         Only define if _CALL_ELF != 2.
10488         (elf_machine_matches_host): Verify ABI version matches.
10489         (RTLD_START): Use LOCALENTRY.
10490         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10491         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10492         (PLT_ENTRY_WORDS): New macro.
10493         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10494         (elf_machine_runtime_setup): Support ELFv2 ABI.
10495         (elf_machine_fixup_plt): Likewise.
10496         (elf_machine_plt_conflict): Likewise.
10497         (resolve_ifunc): Likewise.
10498         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10499         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10500         Likewise.
10501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10502         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10504         (makecontext): Support ELFv2 ABI.
10505         * elf/elf.h (EF_PPC64_ABI): Define.
10507 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10509         * sysdeps/powerpc/powerpc64/sysdep.h
10510         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10511         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10512         (ENTRY) [ASSEMBLER]: ... but instead here ...
10513         (EALIGN) [ASSEMBLER]: ... and here.
10514         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10515         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10516         (ENTRY_2) [!ASSEMBLER]: Use it.
10517         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10518         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10519         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10520         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10521         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10523         Use PPC64_LOAD_FUNCPTR.
10525         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10527 2013-12-04  Alan Modra  <amodra@gmail.com>
10529         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10530         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10531         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10532         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10534         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10535         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10536         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10537         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10538         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10539         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10544         (__makecontext): Fix incorrect CFI when backtracing out of
10545         context created via makecontext.
10546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10547         (__setcontext): Fix incorrect CFI during switch to new context.
10548         (__novec_setcontext): Likewise.
10550 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10552         [BZ #4772]
10553         * time/strptime_l.c (__strptime_internal): Allow modifiers
10554         in strptime.
10555         * time/tst-strptime.c (day_tests): Add testcase.
10557 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10559         * scripts/bench.pl: Skip over blank lines.
10561 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10563         [BZ #926]
10564         * manual/time.texi (Calendar Time): Clarify what timezone functions
10565         use.
10567 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10571 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10573         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10574         implementation.
10575         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10576         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10577         * debug/memset_chk.c (__memset_chk): Likewise.
10578         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10579         * debug/strncpy_chk.c: Likewise.
10581 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10583         [BZ #15268]
10584         [BZ #15425]
10585         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10586         (__ieee754_exp): For possibly underflowing results, check size of
10587         result and force underflow exception if required.
10588         * math/auto-libm-test-in: Add more tests of exp.
10589         * math/auto-libm-test-out: Regenerated.
10590         * sysdeps/i386/fpu/libm-test-ulps: Update.
10591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10593         [BZ #16283]
10594         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10595         * math/w_exp2f.c (__exp2f): Likewise.
10596         * math/w_exp2l.c (__exp2l): Likewise.
10597         * math/auto-libm-test-in: Do not allow missing errno on exp2
10598         underflow.
10599         * math/auto-libm-test-out: Regenerated.
10601 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10603         [BZ #16274]
10604         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10605         handle filename validation.
10606         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10607         (do_open): Delete.
10609 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10611         [BZ #6786]
10612         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10613         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10614         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10615         <float.h>.
10616         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10618         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10620         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10621         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10622         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10623         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10624         Add more erfc tests.
10625         * math/auto-libm-test-out: Regenerated.
10626         * sysdeps/i386/fpu/libm-test-ulps: Update.
10627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10630         exp2, expm1, j0 and j1.
10631         * math/auto-libm-test-out: Regenerated.
10632         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10633         (erfc_test_data): Likewise.
10634         (exp_test_data): Likewise.
10635         (exp_tonearest_test_data): Likewise.
10636         (exp_towardzero_test_data): Likewise.
10637         (exp_downward_test_data): Likewise.
10638         (exp_upward_test_data): Likewise.
10639         (exp10_test_data): Likewise.
10640         (exp2_test_data): Likewise.
10641         (expm1_test_data): Likewise.
10642         (j0_test_data): Likewise.
10643         (j1_test_data): Likewise.
10644         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10645         (input_flag_type): Add flag_xfail_rounding.
10646         (input_flags): Add xfail-rounding.
10647         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10648         (output_for_one_input_case): Handle flag_xfail_rounding.
10649         * sysdeps/i386/fpu/libm-test-ulps: Update.
10650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10652 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10654         [BZ #16289]
10655         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10656         division by 0.
10658 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10660         [BZ #16195]
10661         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10662         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10663         (STAP_PROBE0): New macro.
10664         (STAP_PROBE1): Likewise.
10665         (STAP_PROBE2): Likewise.
10666         (STAP_PROBE3): Likewise.
10667         (STAP_PROBE4): Likewise.
10669 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10671         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10673 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10675         * benchtests/Makefile (bench): Add sqrt.
10676         (LDLIBS-bench-sqrt): New.
10677         * benchtests/sqrt-input: New.
10679 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10681         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10682         (GAIH_EAI): Likewise.
10683         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10684         (gaih_inet): Likewise.
10685         (getaddrinfo): Don't use GAIH_EAI.
10687         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10688         (struct gaih): Remove definition.
10690 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10692         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10693         Use HERRNOP directly.
10695 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10699 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10701         * math/gen-auto-libm-tests.c (test_functions): Add more
10702         single-argument functions.
10703         (special_fill_pi_2): New function.
10704         (special_fill_minus_pi_2): Likewise.
10705         (special_fill_pi_6): Likewise.
10706         (special_fill_minus_pi_6): Likewise.
10707         (special_fill_pi_3): Likewise.
10708         (special_fill_2pi_3): Likewise.
10709         (special_fill_e): Likewise.
10710         (special_fill_1_e): Likewise.
10711         (special_fill_e_minus_1): Likewise.
10712         (special_real_inputs): Add more special inputs.
10713         (output_for_one_input_case): Do not require ERANGE on underflow to
10714         zero if round-to-nearest result does not underflow to zero, unless
10715         exact results required.
10716         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10717         atan, atanh, cbrt, cos and cosh.
10718         * math/auto-libm-test-out: Regenerated.
10719         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10720         (acos_tonearest_test_data): Likewise.
10721         (acos_towardzero_test_data): Likewise.
10722         (acos_downward_test_data): Likewise.
10723         (acos_upward_test_data): Likewise.
10724         (acosh_test_data): Likewise.
10725         (asin_test_data): Likewise.
10726         (asin_tonearest_test_data): Likewise.
10727         (asin_towardzero_test_data): Likewise.
10728         (asin_upward_test_data): Likewise.
10729         (asinh_test_data): Likewise.
10730         (atan_test_data): Likewise.
10731         (atanh_test_data): Likewise.
10732         (cbrt_test_data): Likewise.
10733         (cos_test_data): Likewise.
10734         (cos_tonearest_test_data): Likewise.
10735         (cos_towardzero_test_data): Likewise.
10736         (cos_downward_test_data): Likewise.
10737         (cos_upward_test_data): Likewise.
10738         (cosh_test_data): Likewise.
10739         (cosh_tonearest_test_data): Likewise.
10740         (cosh_towardzero_test_data): Likewise.
10741         (cosh_downward_test_data): Likewise.
10742         (cosh_upward_test_data): Likewise.
10743         * sysdeps/i386/fpu/libm-test-ulps: Update.
10744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10746 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10748         [BZ #6787]
10749         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10750         * math/w_exp10f.c (__exp10f): Likewise.
10751         * math/w_exp10l.c (__exp10l): Likewise.
10752         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10753         errno settings in existing tests.
10755         [BZ #14032]
10756         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10757         precision control set to double precision.
10758         * sysdeps/i386/fpu/w_sqrt.c: New file.
10759         * math/auto-libm-test-in: Add more tests.
10760         * math/auto-libm-test-out: Update.
10762         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10763         (sqrt_test_tonearest): New function.
10764         (sqrt_towardzero_test_data): New variable.
10765         (sqrt_test_towardzero): New function.
10766         (sqrt_downward_test_data): New variable.
10767         (sqrt_test_downward): New function.
10768         (sqrt_upward_test_data): New variable.
10769         (sqrt_test_upward): New function.
10770         (main): Call the new functions.
10772         * math/gen-auto-libm-tests.c: New file.
10773         * math/auto-libm-test-in: Likewise.
10774         * math/auto-libm-test-out: New generated file.
10775         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10776         variables.
10777         (%beautify): Add generated representations of zero.
10778         (top level): Set $auto_input and call parse_auto_input.
10779         (beautify): Remove trailing "f" from hex float constants.
10780         (parse_args): Handle XFAIL_TEST.
10781         (convert_condition): New function.
10782         (or_value): Likewise.
10783         (or_cond_value): Likewise.
10784         (generate_testfile): Handle AUTO_TESTS_* lines.
10785         (parse_auto_input): New function.
10786         * math/libm-test.inc (XFAIL_TEST): New macro.
10787         (ERRNO_UNCHANGED): Update value.
10788         (ERRNO_EDOM): Likewise.
10789         (ERRNO_ERANGE): Likewise.
10790         (IGNORE_RESULT): Likewise.
10791         (TEST_COND_flt_32): New macro.
10792         (TEST_COND_dbl_64): Likewise.
10793         (TEST_COND_ldbl_96_intel): Likewise.
10794         (TEST_COND_ldbl_96_m68k): Likewise.
10795         (TEST_COND_ldbl_128): Likewise.
10796         (TEST_COND_ldbl_128ibm): Likewise.
10797         (TEST_COND_long32): Likewise.
10798         (TEST_COND_long64): Likewise.
10799         (TEST_COND_before_rounding): Likewise.
10800         (TEST_COND_after_rounding): Likewise.
10801         (enable_test): Handle XFAIL_TEST flag.
10802         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10803         with finite results.
10804         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10805         auto-libm-test-out.
10807 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10808             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10810         [BZ #16214]
10811         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10812         __tls_get_addr_internal instead of __tls_get_offset in order to
10813         avoid GOT pointer dependency.  Make rtld export
10814         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10815         __tls_get_addr since we are a __tls_get_offset platform.
10816         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10817         GOT pointer being set up before.
10818         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10820 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10822         * manual/math.texi (Errors in Math Functions): Document accuracy
10823         goals.
10825         [BZ #15004]
10826         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10827         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10828         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10829         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10830         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10831         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10832         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10833         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10834         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10835         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10836         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10837         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10838         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10839         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10840         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10841         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10843         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10844         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10845         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10846         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10847         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10848         Likewise.
10849         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10850         Likewise.
10851         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10852         Likewise.
10853         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10854         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10855         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10856         atomic-feupdateenv and flt-rounds.
10857         * sysdeps/powerpc/nofpu/Versions (libc): Add
10858         __atomic_feholdexcept, __atomic_feclearexcept,
10859         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10861         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10862         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10863         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10864         here.
10865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10866         Update.
10868         * manual/arith.texi (FP Exceptions): Document that exceptions may
10869         not be raised when matherr is used.
10870         (Math Error Reporting): Document overflow in directed rounding
10871         modes.  Document that errno may not be set when finite values are
10872         returned on overflow.  Document intent to set errno on underflow
10873         only for underflow to zero.
10875         [BZ #16271]
10876         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10877         round-to-nearest then adjust result for other rounding modes.
10878         * include/fenv.h (fegetround): Use libm_hidden_proto.
10879         * math/fegetround.c (fegetround): Use libm_hidden_def.
10880         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10881         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10882         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10884         Likewise.
10885         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10886         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10887         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10888         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10890 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10892         [BZ #16077]
10893         * nss/Versions (libnss_files): Add
10894         _nss_files_gethostbyname3_r.
10895         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10896         New function.
10897         (HOST_DB_LOOKUP): Remove macro.
10898         (_nss_files_gethostbyname_r): Implement function without the
10899         HOST_DB_LOOKUP macro.
10900         (_nss_files_gethostbyname2_r): Likewise.
10902 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10904         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10906 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10908         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10909         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10910         warning.
10912 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10914         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10915         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10916         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10917         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10918         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10919         __fe_nomask_env_priv and attribute_hidden.
10920         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10921         (libc_feupdateenv_test_ppc): Likewise.
10922         (libc_feresetround_ppc): Likewise.
10923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10924         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10925         compat_symbol macro.
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10927         (__fe_nomask_env): Likewise.
10928         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10930 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10932         * string/Makefile: Remove ifunc tests.
10933         * string/test-string.h: Define TEST_IFUNC.
10934         * string/test-bcopy-ifunc.c: Remove.
10935         * string/test-bzero-ifunc.c: Likewise.
10936         * string/test-memccpy-ifunc.c: Likewise.
10937         * string/test-memchr-ifunc.c: Likewise.
10938         * string/test-memcmp-ifunc.c: Likewise.
10939         * string/test-memcpy-ifunc.c: Likewise.
10940         * string/test-memmem-ifunc.c: Likewise.
10941         * string/test-memmove-ifunc.c: Likewise.
10942         * string/test-mempcpy-ifunc.c: Likewise.
10943         * string/test-memrchr-ifunc.c: Likewise.
10944         * string/test-memset-ifunc.c: Likewise.
10945         * string/test-rawmemchr-ifunc.c: Likewise.
10946         * string/test-stpcpy-ifunc.c: Likewise.
10947         * string/test-stpncpy-ifunc.c: Likewise.
10948         * string/test-strcasecmp-ifunc.c: Likewise.
10949         * string/test-strcasestr-ifunc.c: Likewise.
10950         * string/test-strcat-ifunc.c: Likewise.
10951         * string/test-strchr-ifunc.c: Likewise.
10952         * string/test-strchrnul-ifunc.c: Likewise.
10953         * string/test-strcmp-ifunc.c: Likewise.
10954         * string/test-strcpy-ifunc.c: Likewise.
10955         * string/test-strcspn-ifunc.c: Likewise.
10956         * string/test-strlen-ifunc.c: Likewise.
10957         * string/test-strncasecmp-ifunc.c: Likewise.
10958         * string/test-strncat-ifunc.c: Likewise.
10959         * string/test-strncmp-ifunc.c: Likewise.
10960         * string/test-strncpy-ifunc.c: Likewise.
10961         * string/test-strnlen-ifunc.c: Likewise.
10962         * string/test-strpbrk-ifunc.c: Likewise.
10963         * string/test-strrchr-ifunc.c: Likewise.
10964         * string/test-strspn-ifunc.c: Likewise.
10965         * string/test-strstr-ifunc.c: Likewise.
10967 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10969         * benchtests/Makefile: Remove ifunc tests.
10970         * benchtests/bench-string.h: Define TEST_IFUNC.
10971         * benchtests/bench-bcopy-ifunc.c: Remove.
10972         * benchtests/bench-bzero-ifunc.c: Likewise.
10973         * benchtests/bench-memccpy-ifunc.c: Likewise.
10974         * benchtests/bench-memchr-ifunc.c: Likewise.
10975         * benchtests/bench-memcmp-ifunc.c: Likewise.
10976         * benchtests/bench-memcpy-ifunc.c: Likewise.
10977         * benchtests/bench-memmem-ifunc.c: Likewise.
10978         * benchtests/bench-memmove-ifunc.c: Likewise.
10979         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10980         * benchtests/bench-memrchr-ifunc.c: Likewise.
10981         * benchtests/bench-memset-ifunc.c: Likewise.
10982         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10983         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10984         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10985         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10986         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10987         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10988         * benchtests/bench-strcat-ifunc.c: Likewise.
10989         * benchtests/bench-strchr-ifunc.c: Likewise.
10990         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10991         * benchtests/bench-strcmp-ifunc.c: Likewise.
10992         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10993         * benchtests/bench-strcpy-ifunc.c: Likewise.
10994         * benchtests/bench-strcspn-ifunc.c: Likewise.
10995         * benchtests/bench-strlen-ifunc.c: Likewise.
10996         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10997         * benchtests/bench-strncat-ifunc.c: Likewise.
10998         * benchtests/bench-strncmp-ifunc.c: Likewise.
10999         * benchtests/bench-strncpy-ifunc.c: Likewise.
11000         * benchtests/bench-strnlen-ifunc.c: Likewise.
11001         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11002         * benchtests/bench-strrchr-ifunc.c: Likewise.
11003         * benchtests/bench-strsep-ifunc.c: Likewise.
11004         * benchtests/bench-strspn-ifunc.c: Likewise.
11005         * benchtests/bench-strstr-ifunc.c: Likewise.
11007 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11009         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11011 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11013         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11014         * rt/aio.h: Likewise.
11015         * sysdeps/gnu/bits/utmp.h: Likewise.
11016         * sysdeps/gnu/bits/utmpx.h: Likewise.
11017         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11018         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11019         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11020         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11021         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11022         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11023         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11024         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11025         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11026         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11027         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11029         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11031         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11032         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11033         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11034         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11035         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11036         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11037         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11038         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11039         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11040         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11041         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11042         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11043         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11044         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11045         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11046         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11047         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11048         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11049         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11050         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11051         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11052         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11053         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11054         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11055         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11056         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11057         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11058         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11060 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11062         [BZ #16245]
11063         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11064         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11066 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11068         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11069         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11070         Likewise.
11072 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11074         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11075         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11076         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11077         (__fesetround): Remove define.
11078         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11079         rounding and exceptions handling.
11080         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11081         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11082         (__fe_nomask_env): Likewise.
11083         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11084         __fegetround instead of fegetround.
11085         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11086         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11088 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11090         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11091         it's there.
11093         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11095 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11097         [BZ #11157]
11098         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11099         (encrypt_r): Likewise.
11100         * malloc/obstack.h (obstack_free): Likewise.
11101         * posix/unistd.h (encrypt): Likewise.
11103 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11105         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11106         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11107         DL_CALL_DT_FINI() that call the functions directly.
11108         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11109         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11110         * elf/dl-fini.c: Likewise.
11112 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11114         * malloc/hooks.c (memalign_check): Add alignment rounding.
11115         * malloc/malloc.c (_mid_memalign): New function.
11116         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11117         Implement by calling _mid_memalign.
11118         * manual/probes.texi (Memory Allocation Probes): Remove
11119         memory_valloc_retry and memory_pvalloc_retry.
11121 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11123         * locale/programs/locarchive.c (open_archive): Add const
11124         qualifier to ARCHIVEFNAME and copy default fname to
11125         DEFAULT_FNAME.
11127         [BZ #15601]
11128         * libio/tst-widetext.input: Rename Oriya to Odia.
11129         * locale/iso-639.def: Likewise.
11131         * manual/probes.texi (Mathematical Function Probes): Add
11132         documentation for sin, cos, asin and acos probes.
11133         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11134         (__sin32): Add slowasin probe.
11135         (__cos32): Add slowacos probe.
11136         (__mpsin): Add slowsin probe.
11137         (__mpcos): Add slowcos probe.
11139 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11141         [BZ #15483]
11142         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11143         thread-local __sim_exceptions_thread and global
11144         __sim_exceptions_global.
11145         (__sim_disabled_exceptions): Change to thread-local
11146         __sim_disabled_exceptions_thread and global
11147         __sim_disabled_exceptions_global.
11148         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11149         and global __sim_round_mode_global.
11150         (__simulate_exceptions): Use thread-local floating-point state and
11151         set global state from it as needed.
11152         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11153         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11154         __sim_round_mode_thread.
11155         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11156         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11157         and global __sim_exceptions_global.
11158         (__sim_disabled_exceptions): Change to thread-local
11159         __sim_disabled_exceptions_thread and global
11160         __sim_disabled_exceptions_global.
11161         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11162         and global __sim_round_mode_global.
11163         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11164         (SIM_SET_GLOBAL): Likewise.
11165         * sysdeps/powerpc/soft-fp/sfp-machine.h
11166         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11167         __sim_round_mode_thread.
11168         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11169         __sim_disabled_exceptions_thread.
11170         (__sim_exceptions): Change to __sim_exceptions_thread.
11171         (__sim_disabled_exceptions): Change to
11172         __sim_disabled_exceptions_thread.
11173         (__sim_round_mode): Change to __sim_round_mode_thread.
11174         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11175         thread-local floating-point state and set global state from it as
11176         needed.
11177         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11178         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11179         (__sim_disabled_exceptions): Remove extern declaration.
11180         (feenableexcept): Use thread-local floating-point state and set
11181         global state from it as needed.
11182         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11183         extern declaration.
11184         (__sim_disabled_exceptions): Likewise.
11185         (__sim_round_mode): Likewise.
11186         (__fegetenv): Use thread-local floating-point state.
11187         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11188         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11189         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11190         floating-point state and set global state from it as needed.
11191         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11192         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11193         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11194         Likewise.
11195         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11196         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11197         Likewise.
11198         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11199         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11200         Use __sim_round_mode_thread.
11201         * math/test-fenv-tls.c: New file.
11202         * math/Makefile (tests): Add test-fenv-tls.
11203         ($(objpfx)test-fenv-tls): Depend on
11204         $(common-objpfx)nptl/libpthread.so.
11206 2013-11-19  Andreas Schwab  <schwab@suse.de>
11208         * locale/programs/locale.c (show_info): Decode wordarray elements.
11209         * locale/categories.def (LC_MONETARY): Add element for
11210         _NL_MONETARY_CRNCYSTR.
11211         * locale/C-monetary.c (conversion_rate): New variable.
11212         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11213         element.
11215 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11217         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11218         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11220 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11222         * elf/Makefile (tst-auxv): New test.
11223         * elf/tst-auxv.c: New
11224         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11226 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11228         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11229         (hidden_proto): Caller changed.
11230         (hidden_tls_proto): New macro.
11231         (libc_hidden_tls_proto): Likewise.
11232         (rtld_hidden_tls_proto): Likewise.
11233         (libm_hidden_tls_proto): Likewise.
11234         (libresolv_hidden_tls_proto): Likewise.
11235         (librt_hidden_tls_proto): Likewise.
11236         (libdl_hidden_tls_proto): Likewise.
11237         (libnss_files_hidden_tls_proto): Likewise.
11238         (libnsl_hidden_tls_proto): Likewise.
11239         (libnss_nisplus_hidden_tls_proto): Likewise.
11240         (libutil_hidden_tls_proto): Likewise.
11242 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11244         [BZ #10253]
11245         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11246         (decompose_rpath): Defer expansion to fillin_rpath.
11247         (_dl_init_paths): Pass linkmap to fillin_rpath.
11249 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11251         * benchtests/Makefile: Add strsep.
11252         * benchtests/bench-strsep.c: New file: strsep benchtest.
11253         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11255 2013-11-18  Andreas Schwab  <schwab@suse.de>
11257         * locale/programs/locale.c (show_info) [case byte]: Check for
11258         '\377' instead of '\177'.
11259         * locale/C-monetary.c (not_available): Always use "\377".
11260         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11261         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11262         detect unavailable sign_posn locale elements.
11263         * locale/localeconv.c (__localeconv): For grouping and
11264         mon_grouping handle "\177" and "\377" like no grouping.
11265         (INT_ELEM): New macro.  Use it to set all numeric members.
11266         * locale/programs/ld-monetary.c (monetary_read)
11267         <tok_mon_grouping>: Normalize single -1 to the empty string.
11268         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11269         Likewise.
11271 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11273         [BZ #16055]
11274         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11275         when we match (nil).
11276         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11278 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11280         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11281         (NO_TEST_INLINE): Update value.
11282         (ERRNO_UNCHANGED): Likewise.
11283         (ERRNO_EDOM): Likewise.
11284         (ERRNO_ERANGE): Likewise.
11285         (IGNORE_RESULT): Likewise.
11286         (check_float_internal): Check signs of NaN results if
11287         TEST_NAN_SIGN used.
11288         (check_complex): Pass TEST_NAN_SIGN flag through to second
11289         check_float_internal call.
11290         (copysign_test_data): Add tests with quiet NaNs as second
11291         argument.  Use TEST_NAN_SIGN.
11292         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11293         TEST_NAN_SIGN.
11294         (signbit_test_data): Add tests of quiet NaN argument.
11295         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11297         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11298         $ignore_result.
11299         (parse_args): Handle function results specified as IGNORE.
11300         * math/libm-test.inc (IGNORE_RESULT): New macro.
11301         (check_float_internal): Do not check numerical result if flag
11302         IGNORE_RESULT set.
11303         (check_complex): Pass through IGNORE_RESULT to second
11304         check_float_internal call.
11305         (check_int): Do not check numerical result if flag IGNORE_RESULT
11306         set.
11307         (check_long): Likewise.
11308         (check_bool): Likewise.
11309         (check_longlong): Likewise.
11310         (lrint_test_data): Add tests of infinite and NaN arguments.
11311         (lrint_tonearest_test_data): Likewise.
11312         (lrint_towardzero_test_data): Likewise.
11313         (lrint_downward_test_data): Likewise.
11314         (lrint_upward_test_data): Likewise.
11315         (llrint_test_data): Likewise.
11316         (llrint_tonearest_test_data): Likewise.
11317         (llrint_towardzero_test_data): Likewise.
11318         (llrint_downward_test_data): Likewise.
11319         (llrint_upward_test_data): Likewise.
11320         (lround_test_data): Likewise.
11321         (llround_test_data): Likewise.
11323         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11324         (ERRNO_UNCHANGED): Update value.
11325         (ERRNO_EDOM): Likewise.
11326         (ERRNO_ERANGE): Likewise.
11327         (NO_TEST_INLINE_FLOAT): New macro.
11328         (NO_TEST_INLINE_DOUBLE): Likewise.
11329         (enable_test): New function.
11330         (RUN_TEST_f_f): Check enable_test before running test.
11331         (RUN_TEST_2_f): Likewise.
11332         (RUN_TEST_fff_f): Likewise.
11333         (RUN_TEST_c_f): Likewise.
11334         (RUN_TEST_f_f1): Likewise.
11335         (RUN_TEST_fF_f1): Likewise.
11336         (RUN_TEST_fI_f1): Likewise.
11337         (RUN_TEST_ffI_f1): Likewise.
11338         (RUN_TEST_c_c): Likewise.
11339         (RUN_TEST_cc_c): Likewise.
11340         (RUN_TEST_f_i): Likewise.
11341         (RUN_TEST_f_i_tg): Likewise.
11342         (RUN_TEST_ff_i_tg): Likewise.
11343         (RUN_TEST_f_b): Likewise.
11344         (RUN_TEST_f_b_tg): Likewise.
11345         (RUN_TEST_f_l): Likewise.
11346         (RUN_TEST_f_L): Likewise.
11347         (RUN_TEST_fFF_11): Likewise.
11348         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11349         conditionals.
11350         (cosh_test_data): Likewise.
11351         (exp_test_data): Likewise.
11352         (expm1_test_data): Likewise.
11353         (hypot_test_data): Likewise.
11354         (pow_test_data): Likewise.
11355         (sinh_test_data): Likewise.
11356         (tanh_test_data): Likewise.
11357         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11358         flags argument.
11360         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11361         tests with quiet NaN input and output.
11362         (acosh_test_data): Likewise.
11363         (asin_test_data): Likewise.
11364         (asinh_test_data): Likewise.
11365         (atan_test_data): Likewise.
11366         (atanh_test_data): Likewise.
11367         (atan2_test_data): Likewise.
11368         (cbrt_test_data): Likewise.
11369         (cos_test_data): Likewise.
11370         (cosh_test_data): Likewise.
11371         (erf_test_data): Likewise.
11372         (erfc_test_data): Likewise.
11373         (exp_test_data): Likewise.
11374         (exp10_test_data): Likewise.
11375         (exp2_test_data): Likewise.
11376         (expm1_test_data): Likewise.
11377         (hypot_test_data): Likewise.
11378         (j0_test_data): Likewise.
11379         (j1_test_data): Likewise.
11380         (jn_test_data): Likewise.
11381         (lgamma_test_data): Likewise.
11382         (log_test_data): Likewise.
11383         (log10_test_data): Likewise.
11384         (log1p_test_data): Likewise.
11385         (log2_test_data): Likewise.
11386         (pow_test_data): Likewise.
11387         (scalb_test_data): Likewise.
11388         (sin_test_data): Likewise.
11389         (sincos_test_data): Likewise.
11390         (sinh_test_data): Likewise.
11391         (tan_test_data): Likewise.
11392         (tanh_test_data): Likewise.
11393         (tgamma_test_data): Likewise.
11394         (y0_test_data): Likewise.
11395         (y1_test_data): Likewise.
11396         (yn_test_data): Likewise.
11398         [BZ #16167]
11399         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11400         argument being NaN and avoid computations with second argument in
11401         that case.
11402         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11403         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11404         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11406 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11408         * locale/iso-639.def: Add Chitwani Tharu (the).
11410 2013-11-14  Andreas Schwab  <schwab@suse.de>
11412         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11413         word instead of empty string.
11415 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11418         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11420         (__fe_nomask_env): Likewise.
11422 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11424         * benchtests/bench-timing.h: Include time.h.
11426 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11428         [BZ #15997]
11429         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11430         to 3.4.0 for x32.
11431         * sysdeps/unix/sysv/linux/configure: Regenerated.
11433 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11435         [BZ #16151]
11436         * stdlib/strtod_l.c (round_and_return): Do not consider
11437         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11438         exponent one less than half the least subnormal exponent.
11439         * stdlib/test-strtod-round-data: Add more tests.
11440         * stdlib/tst-strtod-round.c (tests): Regenerated.
11442 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11444         [BZ #14143]
11445         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11446         (__fe_mask_env): Likewise.
11447         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11448         libm_hidden_proto and add function prototype.
11449         (__fe_mask_env): Add function prototype.
11450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11451         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11453         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11455         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11457 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11459         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11460         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11462 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11464         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11465         of htab_find_slot().
11467 2013-11-11  David S. Miller  <davem@davemloft.net>
11469         [BZ #16150]
11470         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11471         symbol in the non-vis3 case in static builds.
11472         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11473         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11474         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11475         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11477 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11479         [BZ #387]
11480         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11481         it is empty.
11483 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11485         * benchtests/Makefile: Add bench-strtod.
11486         * benchtests/bench-strtod.c: New file: strtod benchtest
11488 2013-11-11  Andreas Schwab  <schwab@suse.de>
11490         [BZ #16153]
11491         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11492         terminating NUL in key length.
11494 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11497         Add artificial ODP entry for vDSO symbol for PPC64.
11498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11499         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11501 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11503         [BZ #15374]
11504         * nss/getent.c (services_keys): Recognize services starting with digit.
11506 2013-11-06  David S. Miller  <davem@davemloft.net>
11508         [BZ #15985]
11509         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11510         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11512 2013-11-06  Will Newton  <will.newton@linaro.org>
11514         * manual/memory.texi (Malloc Examples): Remove register
11515         keyword from examples.
11517 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11519         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11521 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11523         [BZ #6981]
11524         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11525         depending on [__GCC_IEC_559 > 0].
11526         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11527         depending on [__GCC_IEC_559_COMPLEX > 0].
11529 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11531         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11532         to iso-639.def.
11534 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11536         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11538 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11540         [BZ #16112]
11541         * malloc/malloc (malloc_info): Do not handle first bin as
11542         special case.
11544 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11546         * locale/iso-639.def: Add Central Nahuatl (nhn).
11548 2013-11-01  Bruno Haible  <bruno@clisp.org>
11550         [BZ #7003]
11551         * manual/math.texi (BSD Random): Specify range upper bound as
11552         in POSIX.
11554 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11556         * locale/iso-639.def: Add Meadow Mari (mhr).
11558 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11560         [BZ #14752], [BZ #15763]
11561         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11562         Validate name.
11563         * rt/tst_shm.c: Add test for escaping directory.
11565 2013-10-31  Andreas Schwab  <schwab@suse.de>
11567         [BZ #15917]
11568         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11569         followed by 'x' as part of digit sequence.
11570         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11572 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11574         [BZ #16037]
11575         * configure.ac: allow GNU Make 4.0 and greater.
11576         * configure: Regenerated.
11578 2013-10-30  Will Newton  <will.newton@linaro.org>
11580         [BZ #16038]
11581         * malloc/hooks.c (memalign_check): Limit alignment to the
11582         maximum representable power of two.
11583         * malloc/malloc.c (__libc_memalign): Likewise.
11584         * malloc/tst-memalign.c (do_test): Add test for very
11585         large alignment values.
11586         * malloc/tst-posix_memalign.c (do_test): Likewise.
11588 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11590         [BZ #11087]
11591         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11592         (munmap_chunk): Likewise.
11593         (mremap_chunk): Likewise.
11595 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11597         [BZ #15799]
11598         * stdlib/div.c (div): Remove obsolete code.
11599         * stdlib/ldiv.c (ldiv): Likewise.
11600         * stdlib/lldiv.c (lldiv): Likewise.
11602 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11604         [BZ #16071]
11605         * nss/nss_files/files-XXX.c (get_contents_ret): New
11606         enumerator.
11607         (get_contents): New function.
11608         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11610 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11612         * configure.in: Moved to ...
11613         * configure.ac: ... here. Change reference to configure.in
11614         to configure.ac.
11615         * sysdeps/arm/preconfigure.ac: ... here.
11616         configure.in to configure.ac.
11617         * sysdeps/gnu/configure.in: Moved to ...
11618         * sysdeps/gnu/configure.ac: ... here.
11619         * sysdeps/i386/configure.in: Moved to ...
11620         * sysdeps/i386/configure.ac: ... here.
11621         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11622         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11623         * sysdeps/mach/configure.in: Moved to ...
11624         * sysdeps/mach/configure.ac: ... here.
11625         * sysdeps/mach/hurd/configure.in: Moved to ...
11626         * sysdeps/mach/hurd/configure.ac: ... here.
11627         * sysdeps/powerpc/configure.in: Moved to ...
11628         * sysdeps/powerpc/configure.ac: ... here.
11629         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11630         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11631         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11632         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11633         * sysdeps/s390/s390-32/configure.in: Moved to ...
11634         * sysdeps/s390/s390-32/configure.ac: ... here.
11635         * sysdeps/s390/s390-64/configure.in: Moved to ...
11636         * sysdeps/s390/s390-64/configure.ac: ... here.
11637         * sysdeps/sh/configure.in: Moved to ...
11638         * sysdeps/sh/configure.ac: ... here.
11639         * sysdeps/sparc/configure.in: Moved to ...
11640         * sysdeps/sparc/configure.ac: ... here.
11641         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11642         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11643         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11644         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11645         * sysdeps/x86_64/configure.in: Moved to ...
11646         * sysdeps/x86_64/configure.ac: ... here.
11647         * sysdeps/x86_64/preconfigure.in: Moved to ...
11648         * sysdeps/x86_64/preconfigure.ac: ... here.
11649         * aclocal.m4: Change reference to configure.in to configure.ac.
11650         * config.h.in: Likewise.
11651         * manual/install.texi: Likewise.
11652         * manual/maint.texi: Likewise.
11653         * Makefile: Likewise.
11654         * malloc/Makefile: Likewise.
11655         * nscd/Makefile: Likewise.
11656         * Makeconfig: Change reference to configure.in and
11657         preconfigure.in to configure.ac and preconfigure.ac
11658         respectively.
11659         * INSTALL: Regenerated.
11660         * configure: Likewise.
11661         * sysdeps/gnu/configure: Likewise.
11662         * sysdeps/i386/configure: Likewise.
11663         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11664         * sysdeps/mach/configure: Likewise.
11665         * sysdeps/mach/hurd/configure: Likewise.
11666         * sysdeps/powerpc/configure: Likewise.
11667         * sysdeps/powerpc/powerpc32/configure: Likewise.
11668         * sysdeps/powerpc/powerpc64/configure: Likewise.
11669         * sysdeps/s390/s390-32/configure: Likewise.
11670         * sysdeps/s390/s390-64/configure: Likewise.
11671         * sysdeps/sh/configure: Likewise.
11672         * sysdeps/sparc/configure: Likewise.
11673         * sysdeps/unix/sysv/linux/configure: Likewise.
11674         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11675         * sysdeps/x86_64/configure: Likewise.
11676         * sysdeps/x86_64/preconfigure: Likewise.
11678 2013-10-29  Andreas Schwab  <schwab@suse.de>
11680         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11682 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11684         * benchtests/pow-inputs: Add new inputs.
11686         * benchtests/exp-inputs: Add new inputs.
11688         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11689         conditional check for return value.
11690         (__cos32): Likewise.
11692 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11694         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11695         to provide a boost for large inputs with word alignment.
11696         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11697         implementation based on optimized PPC64 strcpy.
11698         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11699         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11700         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11701         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11703 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11705         [BZ #2801]
11706         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11708 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11710         [BZ #14876]
11711         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11712         * time/tst-strptime.c (day_tests): Add testcase.
11714 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11716         [BZ #14029]
11717         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11719 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11721         [BZ #16074]
11722         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11723         MAP_FAILED on error.
11725 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11727         [BZ #16072]
11728         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11729         heap for large requests.
11731 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11733         [BZ #9954]
11734         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11735         result if the result has no associated interface.
11736         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11737         interface for all 127.X.Y.Z addresses.
11739 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11741         * locale/iso-639.def: Add Ligurian (lij)
11743 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11745         [BZ #15825]
11746         * sunrpc/rpc_main.c: Document rpcgen -5.
11748 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11750         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11752 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11754         [BZ #10278]
11755         * posix/glob.c: Match only directories when trailing slash is present.
11756         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11757         (main): Add testcase.
11759 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11761         [BZ #15670]
11762         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11764 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11766         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11767         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11768         AUTH_DES and cindex for FIPS 140-2.
11769         (DES Encryption): Add cindex FIPS 46-3.
11771         * locale/locarchive.h (struct locarhandle): Add fname.
11772         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11773         if an optional argument was specified to --list-archive,
11774         otherwise NULL.
11775         * locale/programs/locarchive.c (show_archive_content): Take new
11776         argument fname and pass it via ah.fname to open_archive.
11777         * locale/programs/localedef.h: Update decl.
11778         (open_archive): If AH->fname is non-null, open that file
11779         rather than the default file name, and don't ignore ENOENT.
11780         (create_archive): Set AH.fname to NULL.
11781         (delete_locales_from_archive): Likewise.
11782         (add_locales_to_archive): Likewise.
11783         * locale/programs/locfile.c (write_all_categories): Likewise.
11785 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11786             Aldy Hernandez  <aldyh@redhat.com>
11788         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11789         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11790         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11791         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11792         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11793         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11796         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11797         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11798         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11799         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11800         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11801         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11802         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11803         Likewise.
11804         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11805         Likewise.
11806         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11807         Likewise.
11808         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11809         Likewise.
11810         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11811         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11812         Likewise.
11813         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11814         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11815         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11816         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11817         Likewise.
11818         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11819         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11820         * sysdeps/powerpc/preconfigure: Likewise.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11822         Likewise.
11823         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11824         Replace contents of file by #include of <fenv_libc.h>.
11825         * sysdeps/powerpc/soft-fp/sfp-machine.h
11826         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11827         and <sys/prctl.h>.
11828         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11829         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11841         Allow copysignl PLT reference to be missing.
11843 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11844             Joseph Myers  <joseph@codesourcery.com
11846         [BZ #15948]
11847         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11848         single character.
11849         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11851 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11854         * elf/tst-tls1.c: Likewise.
11855         * elf/tst-tls10.h: Likewise.
11856         * elf/tst-tls14.c: Likewise.
11857         * elf/tst-tls2.c: Likewise.
11858         * elf/tst-tls3.c: Likewise.
11859         * elf/tst-tls4.c: Likewise.
11860         * elf/tst-tls5.c: Likewise.
11861         * elf/tst-tls6.c: Likewise.
11862         * elf/tst-tls7.c: Likewise.
11863         * elf/tst-tls8.c: Likewise.
11864         * elf/tst-tls9.c: Likewise.
11865         * elf/tst-tlsmod1.c: Likewise.
11866         * elf/tst-tlsmod13.c: Likewise.
11867         * elf/tst-tlsmod13a.c: Likewise.
11868         * elf/tst-tlsmod14a.c: Likewise.
11869         * elf/tst-tlsmod16a.c: Likewise.
11870         * elf/tst-tlsmod16b.c: Likewise.
11871         * elf/tst-tlsmod2.c: Likewise.
11872         * elf/tst-tlsmod3.c: Likewise.
11873         * elf/tst-tlsmod4.c: Likewise.
11874         * elf/tst-tlsmod5.c: Likewise.
11875         * elf/tst-tlsmod6.c: Likewise.
11877 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11879         [BZ #12486]
11880         * malloc/malloc.c: remove checks for statistics.
11882 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11884         [BZ #15277]
11885         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11886         * inet/tst-network.c: Add testcase.
11888 2013-10-17  Andreas Schwab  <schwab@suse.de>
11890         [BZ #15218]
11891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11892         to determine canonical name.
11894 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11896         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11897         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11899         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11901         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11902         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11903         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11904         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11905         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11906         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11907         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11908         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11909         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11910         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11911         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11913         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11914         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11915         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11916         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11918         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11919         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11920         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11921         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11922         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11923         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11924         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11925         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11926         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11927         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11928         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11929         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11930         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11931         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11932         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11933         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11934         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11935         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11936         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11937         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11938         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11939         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11940         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11941         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11942         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11943         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11944         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11945         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11946         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11947         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11948         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11949         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11950         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11951         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11952         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11953         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11955 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11957         [BZ #16041]
11958         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11959         make result into a quiet NaN.
11961 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11963         * soft-fp/adddf3.c: Fix horizontal whitespace.
11964         * soft-fp/addsf3.c: Likewise.
11965         * soft-fp/addtf3.c: Likewise.
11966         * soft-fp/divdf3.c: Likewise.
11967         * soft-fp/divsf3.c: Likewise.
11968         * soft-fp/divtf3.c: Likewise.
11969         * soft-fp/double.h: Likewise.
11970         * soft-fp/eqdf2.c: Likewise.
11971         * soft-fp/eqsf2.c: Likewise.
11972         * soft-fp/eqtf2.c: Likewise.
11973         * soft-fp/extenddftf2.c: Likewise.
11974         * soft-fp/extended.h: Likewise.
11975         * soft-fp/extendsfdf2.c: Likewise.
11976         * soft-fp/extendsftf2.c: Likewise.
11977         * soft-fp/extendxftf2.c: Likewise.
11978         * soft-fp/fixdfdi.c: Likewise.
11979         * soft-fp/fixdfsi.c: Likewise.
11980         * soft-fp/fixdfti.c: Likewise.
11981         * soft-fp/fixsfdi.c: Likewise.
11982         * soft-fp/fixsfsi.c: Likewise.
11983         * soft-fp/fixsfti.c: Likewise.
11984         * soft-fp/fixtfdi.c: Likewise.
11985         * soft-fp/fixtfsi.c: Likewise.
11986         * soft-fp/fixtfti.c: Likewise.
11987         * soft-fp/fixunsdfdi.c: Likewise.
11988         * soft-fp/fixunsdfsi.c: Likewise.
11989         * soft-fp/fixunsdfti.c: Likewise.
11990         * soft-fp/fixunssfdi.c: Likewise.
11991         * soft-fp/fixunssfsi.c: Likewise.
11992         * soft-fp/fixunssfti.c: Likewise.
11993         * soft-fp/fixunstfdi.c: Likewise.
11994         * soft-fp/fixunstfsi.c: Likewise.
11995         * soft-fp/fixunstfti.c: Likewise.
11996         * soft-fp/floatdidf.c: Likewise.
11997         * soft-fp/floatdisf.c: Likewise.
11998         * soft-fp/floatditf.c: Likewise.
11999         * soft-fp/floatsidf.c: Likewise.
12000         * soft-fp/floatsisf.c: Likewise.
12001         * soft-fp/floatsitf.c: Likewise.
12002         * soft-fp/floattidf.c: Likewise.
12003         * soft-fp/floattisf.c: Likewise.
12004         * soft-fp/floattitf.c: Likewise.
12005         * soft-fp/floatundidf.c: Likewise.
12006         * soft-fp/floatundisf.c: Likewise.
12007         * soft-fp/floatunditf.c: Likewise.
12008         * soft-fp/floatunsidf.c: Likewise.
12009         * soft-fp/floatunsisf.c: Likewise.
12010         * soft-fp/floatunsitf.c: Likewise.
12011         * soft-fp/floatuntidf.c: Likewise.
12012         * soft-fp/floatuntisf.c: Likewise.
12013         * soft-fp/floatuntitf.c: Likewise.
12014         * soft-fp/fmadf4.c: Likewise.
12015         * soft-fp/fmasf4.c: Likewise.
12016         * soft-fp/fmatf4.c: Likewise.
12017         * soft-fp/gedf2.c: Likewise.
12018         * soft-fp/gesf2.c: Likewise.
12019         * soft-fp/getf2.c: Likewise.
12020         * soft-fp/ledf2.c: Likewise.
12021         * soft-fp/lesf2.c: Likewise.
12022         * soft-fp/letf2.c: Likewise.
12023         * soft-fp/muldf3.c: Likewise.
12024         * soft-fp/mulsf3.c: Likewise.
12025         * soft-fp/multf3.c: Likewise.
12026         * soft-fp/negdf2.c: Likewise.
12027         * soft-fp/negsf2.c: Likewise.
12028         * soft-fp/negtf2.c: Likewise.
12029         * soft-fp/op-1.h: Likewise.
12030         * soft-fp/op-2.h: Likewise.
12031         * soft-fp/op-4.h: Likewise.
12032         * soft-fp/op-8.h: Likewise.
12033         * soft-fp/op-common.h: Likewise.
12034         * soft-fp/quad.h: Likewise.
12035         * soft-fp/single.h: Likewise.
12036         * soft-fp/soft-fp.h: Likewise.
12037         * soft-fp/sqrtdf2.c: Likewise.
12038         * soft-fp/sqrtsf2.c: Likewise.
12039         * soft-fp/sqrttf2.c: Likewise.
12040         * soft-fp/subdf3.c: Likewise.
12041         * soft-fp/subsf3.c: Likewise.
12042         * soft-fp/subtf3.c: Likewise.
12043         * soft-fp/truncdfsf2.c: Likewise.
12044         * soft-fp/trunctfdf2.c: Likewise.
12045         * soft-fp/trunctfsf2.c: Likewise.
12046         * soft-fp/trunctfxf2.c: Likewise.
12047         * soft-fp/unorddf2.c: Likewise.
12048         * soft-fp/unordsf2.c: Likewise.
12049         * soft-fp/unordtf2.c: Likewise.
12051 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12053         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12054         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12056 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12058         * elf/dl-libc.c: Clear initfini list after freeing.
12060 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12062         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12063         * soft-fp/addsf3.c: Likewise.
12064         * soft-fp/addtf3.c: Likewise.
12065         * soft-fp/divdf3.c: Likewise.
12066         * soft-fp/divsf3.c: Likewise.
12067         * soft-fp/divtf3.c: Likewise.
12068         * soft-fp/double.h: Likewise.
12069         * soft-fp/eqdf2.c: Likewise.
12070         * soft-fp/eqsf2.c: Likewise.
12071         * soft-fp/eqtf2.c: Likewise.
12072         * soft-fp/extenddftf2.c: Likewise.
12073         * soft-fp/extended.h: Likewise.
12074         * soft-fp/extendsfdf2.c: Likewise.
12075         * soft-fp/extendsftf2.c: Likewise.
12076         * soft-fp/extendxftf2.c: Likewise.
12077         * soft-fp/fixdfdi.c: Likewise.
12078         * soft-fp/fixdfsi.c: Likewise.
12079         * soft-fp/fixdfti.c: Likewise.
12080         * soft-fp/fixsfdi.c: Likewise.
12081         * soft-fp/fixsfsi.c: Likewise.
12082         * soft-fp/fixsfti.c: Likewise.
12083         * soft-fp/fixtfdi.c: Likewise.
12084         * soft-fp/fixtfsi.c: Likewise.
12085         * soft-fp/fixtfti.c: Likewise.
12086         * soft-fp/fixunsdfdi.c: Likewise.
12087         * soft-fp/fixunsdfsi.c: Likewise.
12088         * soft-fp/fixunsdfti.c: Likewise.
12089         * soft-fp/fixunssfdi.c: Likewise.
12090         * soft-fp/fixunssfsi.c: Likewise.
12091         * soft-fp/fixunssfti.c: Likewise.
12092         * soft-fp/fixunstfdi.c: Likewise.
12093         * soft-fp/fixunstfsi.c: Likewise.
12094         * soft-fp/fixunstfti.c: Likewise.
12095         * soft-fp/floatdidf.c: Likewise.
12096         * soft-fp/floatdisf.c: Likewise.
12097         * soft-fp/floatditf.c: Likewise.
12098         * soft-fp/floatsidf.c: Likewise.
12099         * soft-fp/floatsisf.c: Likewise.
12100         * soft-fp/floatsitf.c: Likewise.
12101         * soft-fp/floattidf.c: Likewise.
12102         * soft-fp/floattisf.c: Likewise.
12103         * soft-fp/floattitf.c: Likewise.
12104         * soft-fp/floatundidf.c: Likewise.
12105         * soft-fp/floatundisf.c: Likewise.
12106         * soft-fp/floatunsidf.c: Likewise.
12107         * soft-fp/floatunsisf.c: Likewise.
12108         * soft-fp/floatuntidf.c: Likewise.
12109         * soft-fp/floatuntisf.c: Likewise.
12110         * soft-fp/floatuntitf.c: Likewise.
12111         * soft-fp/fmadf4.c: Likewise.
12112         * soft-fp/fmasf4.c: Likewise.
12113         * soft-fp/fmatf4.c: Likewise.
12114         * soft-fp/gedf2.c: Likewise.
12115         * soft-fp/gesf2.c: Likewise.
12116         * soft-fp/getf2.c: Likewise.
12117         * soft-fp/ledf2.c: Likewise.
12118         * soft-fp/lesf2.c: Likewise.
12119         * soft-fp/letf2.c: Likewise.
12120         * soft-fp/muldf3.c: Likewise.
12121         * soft-fp/mulsf3.c: Likewise.
12122         * soft-fp/multf3.c: Likewise.
12123         * soft-fp/negdf2.c: Likewise.
12124         * soft-fp/negsf2.c: Likewise.
12125         * soft-fp/negtf2.c: Likewise.
12126         * soft-fp/op-1.h: Likewise.
12127         * soft-fp/op-2.h: Likewise.
12128         * soft-fp/op-4.h: Likewise.
12129         * soft-fp/op-8.h: Likewise.
12130         * soft-fp/op-common.h: Likewise.
12131         * soft-fp/quad.h: Likewise.
12132         * soft-fp/single.h: Likewise.
12133         * soft-fp/soft-fp.h: Likewise.
12134         * soft-fp/sqrtdf2.c: Likewise.
12135         * soft-fp/sqrtsf2.c: Likewise.
12136         * soft-fp/sqrttf2.c: Likewise.
12137         * soft-fp/subdf3.c: Likewise.
12138         * soft-fp/subsf3.c: Likewise.
12139         * soft-fp/subtf3.c: Likewise.
12140         * soft-fp/truncdfsf2.c: Likewise.
12141         * soft-fp/trunctfdf2.c: Likewise.
12142         * soft-fp/trunctfsf2.c: Likewise.
12143         * soft-fp/trunctfxf2.c: Likewise.
12144         * soft-fp/unorddf2.c: Likewise.
12145         * soft-fp/unordsf2.c: Likewise.
12146         * soft-fp/unordtf2.c: Likewise.
12148 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12150         [BZ #15672]
12151         * misc/error.c (error_tail): Fix possible buffer overflow.
12153 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12155         [BZ #13028]
12156         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12157         address.
12159 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12161         [BZ #832]
12162         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12163         testing pipefail option.
12165 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12167         * soft-fp/double.h: Indent preprocessor directives inside #if.
12168         * soft-fp/extended.h: Likewise.
12169         * soft-fp/op-2.h: Likewise.
12170         * soft-fp/op-4.h: Likewise.
12171         * soft-fp/op-common.h: Likewise.
12172         * soft-fp/quad.h: Likewise.
12173         * soft-fp/single.h: Likewise.
12174         * soft-fp/soft-fp.h: Likewise.
12176 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12178         * iconv/iconv_prog.c: Fix typos.
12179         * stdio-common/psiginfo-data.h: Likewise.
12181 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12183         [BZ #15764]
12184         * locale/setlocale.c: Fix typo.
12186 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12188         [BZ #16036]
12189         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12190         signaling NaN arguments.
12191         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12192         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12194         [BZ #14910]
12195         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12196         unordered operands.
12197         * soft-fp/gesf2.c (__gesf2): Likewise.
12198         * soft-fp/getf2.c (__getf2): Likewise.
12199         * soft-fp/ledf2.c (__ledf2): Likewise.
12200         * soft-fp/lesf2.c (__lesf2): Likewise.
12201         * soft-fp/letf2.c (__letf2): Likewise.
12203         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12204         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12205         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12206         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12207         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12208         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12209         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12210         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12211         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12212         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12213         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12214         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12215         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12216         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12217         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12218         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12219         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12220         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12221         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12222         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12223         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12224         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12225         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12226         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12227         * soft-fp/floattidf.c (__floattidf): Likewise.
12228         * soft-fp/floattisf.c (__floattisf): Likewise.
12229         * soft-fp/floattitf.c (__floattitf): Likewise.
12230         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12231         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12232         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12233         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12234         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12235         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12236         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12237         * soft-fp/gesf2.c (__gesf2): Likewise.
12238         * soft-fp/getf2.c (__getf2): Likewise.
12239         * soft-fp/ledf2.c (__ledf2): Likewise.
12240         * soft-fp/lesf2.c (__lesf2): Likewise.
12241         * soft-fp/letf2.c (__letf2): Likewise.
12243         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12244         Undefine and redefine.
12245         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12246         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12247         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12248         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12249         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12250         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12251         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12252         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12253         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12254         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12255         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12256         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12257         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12258         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12259         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12261         [BZ #16032]
12262         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12263         without decrementing exponent if mantissa >= that for the
12264         denominator, not >.
12265         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12266         denominator, not >.  Decrement exponent in < case instead of
12267         incrementing in >= case.
12268         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12269         without decrementing exponent if mantissa >= that for the
12270         denominator, not >.
12272         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12273         computing saturated result for unsigned overflow.
12275 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12276             Jeff Law  <law@redhat.com>
12278         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12279         (atan2Mp): Add systemtap probe marker.
12280         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12281         (__ieee754_log): Add systemtap probe marker.
12282         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12283         (atanMp): Add systemtap probe marker.
12284         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12285         (tanMp): Add systemtap probe marker.
12286         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12287         (__slowexp): Add systemtap probe marker.
12288         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12289         (__slowpow): Add systemtap probe marker.
12290         * manual/probes.texi: Document probes.
12292 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12294         [BZ #15362]
12295         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12296         written.
12297         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12298         written.
12299         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12300         written to buffer but not flushed.
12301         * libio/iofwrite_u.c:  Likewise.
12302         * libio/iopadn.c:  Return bytes returned even if EOF was
12303         encountered.
12304         * libio/iowpadn.c:  Likewise.
12305         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12306         if _IO_padn does not write the whole buffer.
12307         [!COMPILE_WPRINTF] (PAD): Likewise.
12309 2013-10-10  David S. Miller  <davem@davemloft.net>
12311         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12312         directory block.
12314 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12316         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12317         instead of FSF address.
12318         * soft-fp/fixdfti.c: Likewise.
12319         * soft-fp/fixsfti.c: Likewise.
12320         * soft-fp/fixtfti.c: Likewise.
12321         * soft-fp/fixunsdfti.c: Likewise.
12322         * soft-fp/fixunssfti.c: Likewise.
12323         * soft-fp/fixunstfti.c: Likewise.
12324         * soft-fp/floattidf.c: Likewise.
12325         * soft-fp/floattisf.c: Likewise.
12326         * soft-fp/floattitf.c: Likewise.
12327         * soft-fp/floatuntidf.c: Likewise.
12328         * soft-fp/floatuntisf.c: Likewise.
12329         * soft-fp/floatuntitf.c: Likewise.
12330         * soft-fp/trunctfxf2.c: Likewise.
12332         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12333         * soft-fp/fixdfti.c: Likewise.
12334         * soft-fp/fixsfti.c: Likewise.
12335         * soft-fp/fixtfti.c: Likewise.
12336         * soft-fp/fixunsdfti.c: Likewise.
12337         * soft-fp/fixunssfti.c: Likewise.
12338         * soft-fp/fixunstfti.c: Likewise.
12339         * soft-fp/floattidf.c: Likewise.
12340         * soft-fp/floattisf.c: Likewise.
12341         * soft-fp/floattitf.c: Likewise.
12342         * soft-fp/floatuntidf.c: Likewise.
12343         * soft-fp/floatuntisf.c: Likewise.
12344         * soft-fp/floatuntitf.c: Likewise.
12345         * soft-fp/trunctfxf2.c: Likewise.
12347 2013-10-10  David S. Miller  <davem@davemloft.net>
12349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12351 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12353         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12354         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12355         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12356         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12357         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12358         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12359         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12362         for NaNs before doing comparisons on argument.
12363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12364         Likewise.
12366 2013-10-10  Will Newton  <will.newton@linaro.org>
12368         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12369         passed to _int_memalign does not overflow.
12371 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12373         * scripts/bench.pl: Add include-sources directive.
12374         * benchtests/README: Update documentation.
12376 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12378         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12379         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12380         instead of FP_INIT_ROUNDMODE.
12381         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12382         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12384         [BZ #16034]
12385         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12386         copy class of input value.
12387         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12388         not handle exceptions.
12389         * soft-fp/negsf2.c (__negsf2): Likewise.
12390         * soft-fp/negtf2.c (__negtf2): Likewise.
12391         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12393 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12395         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12396         semicolon.  From Linux kernel.
12398 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12400         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12402 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12404         [BZ #156]
12405         * manual/socket.texi: Added statement about buffer
12406         for gethostbyname2_r.
12408 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12410         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12411         Use .p2align directive instead, throughout.
12412         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12413         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12414         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12415         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12416         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12417         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12418         * sysdeps/x86_64/strchr.S: Likewise.
12419         * sysdeps/x86_64/strrchr.S: Likewise.
12421 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12423         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12425         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12427         * sysdeps/generic/math_private.h (__mpsin1): Remove
12428         declaration.
12429         (__mpcos1): Likewise.
12430         (__mpsin): New argument __range_reduce.
12431         (__mpcos): Likewise.
12432         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12433         (slow): Use __mpsin and __mpcos.
12434         (slow1): Likewise.
12435         (slow2): Likewise.
12436         (sloww): Likewise.
12437         (sloww1): Likewise.
12438         (sloww2): Likewise.
12439         (bsloww): Likewise.
12440         (bsloww1): Likewise.
12441         (bsloww2): Likewise.
12442         (cslow2): Likewise.
12443         (csloww): Likewise.
12444         (csloww1): Likewise.
12445         (csloww2): Likewise.
12446         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12447         range_reduce.  Merge in __mpsin1.
12448         (__mpcos): Likewise.
12449         (__mpsin1): Remove.
12450         (__mpcos1): Likewise.
12452 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12454         * locale/loadlocale.c (_nl_intern_locale_data): Use
12455         LOCFILE_ALIGNED_P.
12456         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12457         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12458         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12459         obstack data is appropriately aligned.
12460         (obstack_int32_grow_fast): Likewise.
12461         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12462         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12463         (add_locale_uint32_array): Likewise.
12465 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12467         * benchtests/Makefile: Remove ARGLIST and RET variables.
12468         ($(objpfx)bench-%.c): Pass only function name to the script.
12469         * benchtests/README: Update documentation.
12470         * benchtests/acos-inputs: Add new directives.
12471         * benchtests/acosh-inputs: Likewise.
12472         * benchtests/asin-inputs: Likewise.
12473         * benchtests/asinh-inputs: Likewise.
12474         * benchtests/atan-inputs: Likewise.
12475         * benchtests/atanh-inputs: Likewise.
12476         * benchtests/cos-inputs: Likewise.
12477         * benchtests/cosh-inputs: Likewise.
12478         * benchtests/exp-inputs: Likewise.
12479         * benchtests/log-inputs: Likewise.
12480         * benchtests/pow-inputs: Likewise.
12481         * benchtests/rint-inputs: Likewise.
12482         * benchtests/sin-inputs: Likewise.
12483         * benchtests/sinh-inputs: Likewise.
12484         * benchtests/tan-inputs: Likewise.
12485         * benchtests/tanh-inputs: Likewise.
12486         * scripts/bench.pl: Add support for new directives.
12488 2013-10-07  Alan Modra  <amodra@gmail.com>
12490         * README: Fix careless merge.
12492 2013-10-05  Alan Modra  <amodra@gmail.com>
12494         * NEWS: Mention powerpc64le support and bugs fixed.
12495         * README: Both big-endian and little-endian powerpc64 supported.
12497 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12499         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12500         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12501         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12502         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12504 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12506         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12507         match prototype.
12509 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12511         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12512         Move -mhard-float appending from
12513         ports/sysdeps/powerpc/powerpc32/Makefile.
12514         [$(with-fp) = yes] (ASFLAGS): Likewise.
12515         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12516         * sysdeps/powerpc/nofpu: Move directory from
12517         ports/sysdeps/powerpc/nofpu.
12518         * sysdeps/powerpc/soft-fp: Move directory from
12519         ports/sysdeps/powerpc/soft-fp.
12520         * sysdeps/powerpc/powerpc32/405: Move directory from
12521         ports/sysdeps/powerpc/powerpc32/405.
12522         * sysdeps/powerpc/powerpc32/440: Move directory from
12523         ports/sysdeps/powerpc/powerpc32/440.
12524         * sysdeps/powerpc/powerpc32/464: Move directory from
12525         ports/sysdeps/powerpc/powerpc32/464.
12526         * sysdeps/powerpc/powerpc32/476: Move directory from
12527         ports/sysdeps/powerpc/powerpc32/476.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12529         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12531         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12533         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12535         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12537         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12538         * README: Update for powerpc-*-linux-gnu software floating point
12539         support in libc.
12541         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12542         case to powerpc/powerpc32*.
12543         * sysdeps/unix/sysv/linux/configure: Regenerated.
12545         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12546         (_FPU_MASK_OM): Define as 0x04.
12547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12549         0x00c10080.
12550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12551         0x0000003c.
12552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12555         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12556         getcontext_e500.
12557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12558         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12559         setcontext_e500.
12560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12561         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12562         and setcontext_e500.
12564 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12566         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12568 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570         * manual/threads.texi (Default Thread Attributes): Fix typo.
12572 2013-10-04  Will Newton  <will.newton@linaro.org>
12574         * malloc/Makefile: Add tst-memalign.
12575         * malloc/tst-memalign.c: New file.
12577         * malloc/tst-posix_memalign.c: Add comments.
12578         (do_test): Add comments and call free on all potentially
12579         allocated pointers. Add space after cast.
12581         * malloc/tst-pvalloc.c: Add comments.
12582         (do_test): Add comments and call free on all potentially
12583         allocated pointers. Remove duplicate check for NULL pointer.
12584         Add space after cast.
12586         * malloc/tst-valloc.c: Add comments.
12587         (do_test): Add comments and call free on all potentially
12588         allocated pointers. Remove duplicate check for NULL pointer.
12589         Add space after cast.
12591 2013-10-04  Alan Modra  <amodra@gmail.com>
12593         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12594         Use stdint types in rather than __attribute__((mode())).
12595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12597 2013-10-04  Alan Modra  <amodra@gmail.com>
12599         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12600         Correct handling of unaligned relocs for little-endian.
12601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12603 2013-10-04  Alan Modra  <amodra@gmail.com>
12605         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12606         * configure: Regenerate.
12607         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12608         * shlib-versions: Likewise.
12610 2013-10-04  Alan Modra  <amodra@gmail.com>
12612         * string/tester.c (test_memrchr): Increment reported test cycle.
12614 2013-10-04  Alan Modra  <amodra@gmail.com>
12616         * string/test-memcpy.c (do_one_test): When reporting errors, print
12617         string address and don't overrun end of string.
12619 2013-10-04  Alan Modra  <amodra@gmail.com>
12621         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12622         insrdi.  Make better use of reg selection to speed exit slightly.
12623         Schedule entry path a little better.  Remove useless "are we done"
12624         checks on entry to main loop.  Handle wrapping around zero address.
12625         Correct main loop count.  Handle single left-over word from main
12626         loop inline rather than by using loop_small.  Remove extra word
12627         case in loop_small caused by wrong loop count.  Add little-endian
12628         support.
12629         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12630         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12631         cache hint.
12632         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12633         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12634         support.  Avoid rlwimi.
12635         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12637 2013-10-04  Alan Modra  <amodra@gmail.com>
12639         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12640         insrdi.  Formatting.
12641         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12642         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12643         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12644         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12645         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12646         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12648 2013-10-04  Alan Modra  <amodra@gmail.com>
12650         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12651         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12652         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12653         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12654         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12655         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12657         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12658         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12659         use of regs.  Use power7 mtocrf.  Tidy function tails.
12661 2013-10-04  Alan Modra  <amodra@gmail.com>
12663         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12664         Formatting.  Consistently use rXXX register defines or rN defines.
12665         Use early exit labels that avoid restoring unused non-volatile regs.
12666         Make cr field use more consistent with rWORDn compares.  Rename
12667         regs used as shift registers for unaligned loop, using rN defines
12668         for short lifetime/multiple use regs.
12669         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12670         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12671         addi 1,1,64 to pop stack frame.  Simplify return value code.
12672         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12674 2013-10-04  Alan Modra  <amodra@gmail.com>
12676         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12677         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12678         rather than rlwimi.
12679         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12680         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12681         little-endian support.  Correct typos.
12682         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12683         rather than rlwimi.
12684         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12685         in loop and entry code to keep "and." results.
12686         (strchr): Add little-endian support.  Comment.  Move cntlzd
12687         earlier in tail.
12688         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12690 2013-10-04  Alan Modra  <amodra@gmail.com>
12692         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12693         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12694         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12695         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12697 2013-10-04  Alan Modra  <amodra@gmail.com>
12699         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12700         (rTMP): Define as r11.
12701         (strcmp): Add little-endian support.  Optimise tail.
12702         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12703         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12704         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12705         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12706         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12708         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12710 2013-10-04  Alan Modra  <amodra@gmail.com>
12712         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12713         little-endian support.  Remove unnecessary "are we done" tests.
12714         Handle "s" wrapping around zero and extremely large "size".
12715         Correct main loop count.  Handle single left-over word from main
12716         loop inline rather than by using small_loop.  Correct comments.
12717         Delete "zero" tail, use "end_max" instead.
12718         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12720 2013-10-04  Alan Modra  <amodra@gmail.com>
12722         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12723         support.  Don't branch over align.
12724         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12725         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12726         support.  Rearrange tmp reg use to suit.  Comment.
12727         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12729 2013-10-04  Alan Modra  <amodra@gmail.com>
12731         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12733 2013-10-04  Alan Modra  <amodra@gmail.com>
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12736         conditional form of branch and link when obtaining pc.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12739 2013-10-04  Alan Modra  <amodra@gmail.com>
12741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12742         HIWORD/LOWORD.
12743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12746 2013-10-04  Alan Modra  <amodra@gmail.com>
12748         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12749         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12750         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12751         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12752         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12753         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12754         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12755         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12756         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12757         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12759 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12760             Alistair Popple <alistair@ozlabs.au.ibm.com>
12761             Alan Modra <amodra@gmail.com>
12763         [BZ #15723]
12764         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12765         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12766         _dl_hwcap access for little-endian.
12767         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12768         destroy vmx regs when saving unaligned.
12769         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12770         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12771         destroy vmx regs when saving unaligned.
12773 2013-10-04  Alan Modra  <amodra@gmail.com>
12775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12776         Don't use a union to pack hi/low value.
12778 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12780         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12781         for little-endian.
12782         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12783         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12784         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12785         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12786         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12788 2013-10-04  Alan Modra  <amodra@gmail.com>
12790         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12791         constants to usual value for .cst8 section, and remove redundant
12792         high address load.
12793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12794         constant for 0x1p52.  Load little-endian words of double from
12795         correct stack offsets.
12797 2013-10-04  Alan Modra  <amodra@gmail.com>
12799         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12800         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12801         words of double from correct stack offsets.
12802         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12803         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12804         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12805         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12806         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12807         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12808         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12809         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12810         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12814         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12815         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12816         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12817         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12818         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12820 2013-10-04  Alan Modra  <amodra@gmail.com>
12822         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12823         64-bit int/double union.
12824         (_FPU_SETCW): Likewise.
12825         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12826         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12828 2013-10-04  Alan Modra  <amodra@gmail.com>
12830         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12831         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12833 2013-10-04  Alan Modra  <amodra@gmail.com>
12835         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12836         use vector int constants.
12837         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12839 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12841         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12842         array with long long.
12843         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12844         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12845         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12846         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12847         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12848         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12849         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12850         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12851         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12852         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12853         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12854         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12855         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12857 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12859         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12860         (__signbit): Likewise.  Correct for little-endian.
12861         (__signbitl): Call __signbit.
12862         (lrint): Correct for little-endian.
12863         (lrintf): Call lrint.
12865 2013-10-04  Alan Modra  <amodra@gmail.com>
12867         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12868         union 32-bit int array member with 64-bit int array.
12869         (t515, tm256): Double rather than long double.
12870         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12872 2013-10-04  Alan Modra  <amodra@gmail.com>
12874         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12875         Delete.
12876         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12877         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12878         version of math_ldbl.h.
12880 2013-10-04  Alan Modra  <amodra@gmail.com>
12882         [BZ #15734], [BZ #15735]
12883         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12884         all uses of ieee875 long double macros and unions.  Simplify test
12885         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12886         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12887         normalize after ldbl_extract_mantissa, and don't add hidden bit
12888         already handled.  Don't treat low word of ieee854 mantissa like
12889         low word of IBM long double and mask off bit when testing for
12890         zero.
12891         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12892         all uses of ieee875 long double macros and unions.  Simplify tests
12893         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12894         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12895         two1022, instead use their values.  Recognise that tests for large
12896         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12897         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12898         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12899         test for 0.0L and nan.  Correct negation.
12900         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12901         ieee875 long double macros and unions.  Correct output for large
12902         magnitude x.  Correct absolute value calculation.
12903         (__erfcl): Likewise.
12904         * math/libm-test.inc: Add tests for errors discovered in IBM long
12905         double versions of fmodl, remainderl, erfl and erfcl.
12907 2013-10-04  Alan Modra  <amodra@gmail.com>
12909         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12910         all uses of ieee854 long double macros and unions.  Simplify tests
12911         for long doubles that are fully specified by the high double.
12912         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12913         Likewise.
12914         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12915         Remove dead code too.
12916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12917         (__ieee754_ynl): Likewise.
12918         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12919         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12920         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12921         Remove dead code too.
12922         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12923         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12925         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12926         Simplify.
12927         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12928         Simplify.
12929         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12930         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12931         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12932         Comment on variable precision.
12933         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12934         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12935         Likewise.
12936         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12937         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12938         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12939         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12940         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12942 2013-10-04  Alan Modra  <amodra@gmail.com>
12944         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12945         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12946         all uses of ieee854 long double macros and unions.
12947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12949         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12950         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12951         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12952         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12953         Likewise.
12954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12955         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12957         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12959         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12960         Simplify sign and nan test too.
12961         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12962         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12963         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12964         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12965         Likewise.
12966         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12967         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12968         Likewise.
12969         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12970         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12971         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12972         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12973         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12974         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12976 2013-10-04  Alan Modra  <amodra@gmail.com>
12978         * stdio-common/printf_size.c (__printf_size): Don't use
12979         union ieee854_long_double in fpnum union.
12980         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12981         signbit macro to retrieve sign from long double.
12982         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12983         retrieve sign from long double.
12984         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12985         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12986         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12987         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12988         * math/test-misc.c (main): Don't use union ieee854_long_double.
12990 2013-10-04  Alan Modra  <amodra@gmail.com>
12992         [BZ #15680]
12993         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12994         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12995         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12996         calculation.  Remove unnecessary test for denormal exponent.
12997         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12998         Correct handling of denormals.  Avoid undefined shift behaviour.
12999         Correct normalisation of low mantissa when low double is denormal.
13000         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13001         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13002         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13003         Correct normalisation of low mantissa.  Test for overflow of high
13004         mantissa and normalise.
13005         (ldbl_nearbyint): Use more readable constant for two52.
13006         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13007         (__mpn_construct_long_double): Fix test for overflow of high
13008         mantissa and correct normalisation.  Avoid undefined shift.
13010 2013-10-04  Alan Modra  <amodra@gmail.com>
13012         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13013         (union ibm_extended_long_double): Define as an array of ieee754_double.
13014         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13015         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13016         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13017         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13018         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13019         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13020         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13021         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13022         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13023         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13024         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13026 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13028         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13029         page size instead of calling getpagesize.
13031         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13032         (LOCFILE_ALIGN_MASK): Likewise.
13033         (LOCFILE_ALIGN_UP): Likewise.
13034         (LOCFILE_ALIGNED_P): Likewise.
13035         * locale/programs/ld-collate.c (collate_output): Use the new
13036         macros instead of __alignof__ (int32_t).
13037         * locale/weight.h (findidx): Likewise.
13039 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13041         [BZ #431]
13042         * manual/string.texi: Fix strncat and wcsncat.
13044 2013-10-03  Brooks Moses  <bmoses@google.com>
13046         [BZ #15915]
13047         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13048         * Makerules: ...here, and adjust associated comments.
13050 2013-10-02  Will Newton  <will.newton@linaro.org>
13052         * malloc/Makefile: Add tst-pvalloc.
13053         * malloc/tst-pvalloc.c: New file.
13055 2013-10-02  Will Newton  <will.newton@linaro.org>
13057         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13058         improve test coverage.
13060 2013-10-02  Will Newton  <will.newton@linaro.org>
13062         * malloc/Makefile: Add tst-posix_memalign.
13063         * malloc/tst-posix_memalign.c: New file.
13065 2013-10-01  Eric Blake  <eblake@redhat.com>
13067         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13068         Use __THROWNL rather than __THROW on static functions.
13070 2013-09-30  Petr Machata  <pmachata@redhat.com>
13072         * elf/elf.h (R_AARCH64_ABS16): New macro.
13073         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13074         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13075         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13076         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13077         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13078         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13079         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13080         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13081         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13082         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13083         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13084         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13085         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13086         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13087         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13088         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13089         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13090         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13091         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13092         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13093         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13094         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13095         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13096         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13097         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13098         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13099         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13100         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13101         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13102         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13103         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13104         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13105         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13106         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13107         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13108         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13109         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13110         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13111         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13112         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13113         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13114         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13115         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13116         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13117         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13118         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13119         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13120         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13121         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13122         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13123         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13124         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13125         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13126         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13127         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13128         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13129         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13130         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13131         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13132         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13133         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13134         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13135         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13136         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13137         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13138         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13139         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13140         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13141         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13142         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13143         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13144         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13145         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13146         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13147         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13148         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13149         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13150         (R_AARCH64_TLSDESC_LDR): Likewise.
13151         (R_AARCH64_TLSDESC_ADD): Likewise.
13152         (R_AARCH64_TLSDESC_CALL): Likewise.
13154 2013-09-30  Andreas Schwab  <schwab@suse.de>
13156         [BZ #15048]
13157         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13158         the nss database lookup.
13159         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13162 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13164         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13166 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13168         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13169         ${Bash-specific parameter/pattern/string} parameter expansion.
13170         * sysdeps/unix/make-syscalls.sh: Likewise.
13172 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13174         * sysdeps/sh/stackguard-macros.h: New file.
13176 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13180         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13181         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13182         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13183         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13185 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13187         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13188         Fix thread ID register.
13190 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13192         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13193         [POSIX || UNIX98]: Require rather than permitting all symbols from
13194         <time.h>.
13195         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13196         element of struct sched_param.
13197         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13198         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13199         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13200         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13201         constant.
13203 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13205         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13206         argument calculation.
13208 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13210         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13211         Expect macro.
13212         [POSIX] (pthread_attr_t): Do not require type.
13213         [POSIX] (pthread_cond_t): Likewise.
13214         [POSIX] (pthread_condattr_t): Likewise.
13215         [POSIX] (pthread_key_t): Likewise.
13216         [POSIX] (pthread_mutex_t): Likewise.
13217         [POSIX] (pthread_mutexattr_t): Likewise.
13218         [POSIX] (pthread_once_t): Likewise.
13219         [POSIX] (pthread_t): Likewise.
13220         [POSIX-based standards] (pthread_atfork): Expect function.
13222 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13223             Richard Sandiford  <richard@codesourcery.com>
13225         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13226         (swap_endianness_p): New extern variable.
13227         (set_big_endian): New inline function.
13228         (maybe_swap_uint32): Likewise.
13229         (maybe_swap_uint32_array): Likewise.
13230         (maybe_swap_uint32_obstack): Likewise.
13231         * locale/programs/locfile.c: Include <stdbool.h>.
13232         (swap_endianness_p): New variable.
13233         (add_locale_uint32): Call maybe_swap_uint32.
13234         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13235         (write_locale_data): Call maybe_swap_uint32_array.
13236         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13237         maybe_swap_uint32.
13238         (obstack_int32_grow_fast): Likewise.
13239         (output_weightwc): Call maybe_swap_uint32_obstack.
13240         (collate_output): Likewise.
13241         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13242         (OPT_LITTLE_ENDIAN): Likewise.
13243         (options): Add --little-endian and --big-endian options.
13244         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13245         * locale/programs/locarchive.c: Include "locfile.h".
13246         (GET): New macro.
13247         (SET): Likewise.
13248         (INC): Likewise.
13249         (create_archive): Use the new macros to access fields of
13250         structures directly mapped from or written to locale archives.
13251         (oldlocrecentcmp): Likewise.
13252         (enlarge_archive): Likewise.
13253         (insert_name): Likewise.
13254         (add_alias): Likewise.
13255         (add_locale): Likewise.
13256         (delete_locales_from_archive): Likewise.
13257         (show_archive_content): Likewise.
13258         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13259         locale data.
13261 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13263         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13264         http://www.gnu.org/doc/freemanuals.texi.
13265         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13267 2013-09-24  Will Newton  <will.newton@linaro.org>
13269         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13270         macro.
13272 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13274         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13275         unsigned char.
13277 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13279         * manual/threads.texi (POSIX Threads): Fix a typo.
13281 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13283         [BZ #14547]
13284         * string/tst-strcoll-overflow.c: New test case.
13285         * string/Makefile (xtests): Add tst-strcoll-overflow.
13286         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13287         cache if string sizes may cause integer overflow.
13289         [BZ #14547]
13290         * string/strcoll_l.c (coll_seq): New members rule, idx,
13291         save_idx and back_us.
13292         (get_next_seq_nocache): New function.
13293         (do_compare_nocache): New function.
13294         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13295         when malloc fails.
13297 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13299         [BZ #15754]
13300         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13301         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13302         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13304         [BZ #15754]
13305         * elf/Makefile (tests): Add tst-ptrguard1.
13306         (tests-static): Add tst-ptrguard1-static.
13307         (tst-ptrguard1-ARGS): Define.
13308         (tst-ptrguard1-static-ARGS): Define.
13309         * elf/tst-ptrguard1.c: New file.
13310         * elf/tst-ptrguard1-static.c: New file.
13311         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13312         * sysdeps/i386/stackguard-macros.h: Likewise.
13313         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13314         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13315         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13316         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13317         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13318         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13320 2013-09-23  Hector Marco  <hecmargi@upv.es>
13321             Ismael Ripoll  <iripoll@disca.upv.es>
13322             Carlos O'Donell  <carlos@redhat.com>
13324         [BZ #15754]
13325         * sysdeps/generic/stackguard-macros.h: Define
13326         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13327         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13328         Define __pointer_chk_guard_local.
13329         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13330         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13332 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13334         [BZ #15859]
13335         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13337 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13339         * include/string.h (__ffs): Declare as hidden.
13340         * string/ffs.c (__ffs): Define as hidden.
13341         * sysdeps/i386/ffs.c (__ffs): Likewise.
13342         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13343         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13344         * sysdeps/s390/ffs.c (__ffs): Likewise.
13345         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13347 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13349         * NEWS: Mention malloc probes.
13351         * malloc/arena.c (new_heap): New memory_heap_new probe.
13352         (grow_heap): New memory_heap_more probe.
13353         (shrink_heap): New memory_heap_less probe.
13354         (heap_trim): New memory_heap_free probe.
13355         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13356         (systrim): New memory_sbrk_less probe.
13357         * manual/probes.texi: Document them.
13359         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13360         * manual/probes.texi: Document it.
13362         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13363         (__libc_realloc): Add memory_realloc_retry probe.
13364         (__libc_memalign): Add memory_memalign_retry probe.
13365         (__libc_valloc): Add memory_valloc_retry probe.
13366         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13367         (__libc_calloc): Add memory_calloc_retry probe.
13368         * manual/probes.texi: Document them.
13370         * malloc/arena.c (get_free_list): Add probe
13371         memory_arena_reuse_free_list.
13372         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13373         and memory_arena_reuse.
13374         (arena_get2) [!PER_THREAD]: Likewise.
13375         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13376         memory_arena_reuse_realloc.
13377         * manual/probes.texi: Document them.
13379         * malloc/malloc.c (__libc_free): Add
13380         memory_mallopt_free_dyn_thresholds probe.
13381         (__libc_mallopt): Add multiple memory_mallopt probes.
13382         * manual/probes.texi: Document them.
13384         * malloc/malloc.c: Include stap-probe.h.
13385         (__libc_mallopt): Add memory_mallopt probe.
13386         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13387         * manual/probes.texi: New.
13388         * manual/Makefile (chapters): Add probes.
13389         * manual/threads.texi: Set next node.
13391 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13393         [BZ #15963, #13985]
13394         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13395         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13396         Add `Chinese' to `nan' entry name.
13398 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13400         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13401         (POLYNOMIAL): Likewise.
13402         (TAYLOR_SINCOS): Likewise.
13403         (TAYLOR_SLOW): Likewise.
13404         (__sin): Use TAYLOR_SINCOS.
13405         (__cos): Likewise.
13406         (slow): Use TAYLOR_SLOW.
13407         (sloww): Likewise.
13408         (bsloww): Likewise.
13409         (csloww): Likewise.
13411 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13413         * stdlib/strtod_l.c: Fix buffer overrun.
13415 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13417         * benchtests/Makefile (bench): Add sincos.
13418         * benchtests/bench-sincos.c: New file.
13420         * math/libm-test.inc (cos_test_data): New test inputs.
13421         (sin_test_data): Likewise.
13423         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13424         macro.
13425         (__sin): Use it.
13426         (__cos): Likewise.
13427         (slow1): Likewise.
13428         (slow2): Likewise.
13429         (sloww1): Likewise.
13430         (sloww2): Likewise.
13431         (bsloww1): Likewise.
13432         (bsloww2): Likewise.
13433         (cslow2): Likewise.
13434         (csloww1): Likewise.
13435         (csloww2): Likewise.
13437         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13438         function.
13439         (__sin): Use it.
13440         (__cos): Likewise.
13442         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13443         gotos.
13444         (__cos): Likewise.
13446 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13448         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13449         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13450         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13451         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13452         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13453         * elf/cache.c (print_entry): Handle the new cache flags.
13455 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13456             Aldy Hernandez  <aldyh@redhat.com>
13458         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13459         Change condition to [_SOFT_FLOAT].
13460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13472         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13475         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13476         declaration.
13478 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13480         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13481         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13482         (__longjmp): Use LOAD_GP to load saved GPRs.
13483         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13484         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13485         (__sigsetjmp): Use SAVE_GP to save GPRs.
13487         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13488         Do not append -msoft-float.
13489         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13491 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13493         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13495 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #15966]
13498         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13499         (_FPU_GETCW): Use initial "__" on variable and field names but not
13500         on macro parameter name.
13501         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13502         parentheses around reference to macro parameter.
13504 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13506         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13507         prototype.
13508         (ctype_startup): Use uint32_t in cast and sizeof for
13509         ctype->charnames.
13511 2013-09-11  Jia Liu  <proljc@gmail.com>
13513         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13514         __daddr_t_defined.
13515         [__FreeBSD__]: Likewise.
13517 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13520         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13521         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13522         (strchr): Remove __strchr_sse42 ifunc selection.
13523         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13524         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13526 2013-09-11  Will Newton  <will.newton@linaro.org>
13528         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13529         parameter to RES. Remove hardcoded 1000 value.
13530         * benchtests/bench-skeleton.c (main): Pass RES parameter
13531         to TIMING_INIT and multiply result by 1000.
13533 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13537 2013-09-11  Andreas Schwab  <schwab@suse.de>
13539         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13540         if not defined.
13541         (O_TMPFILE) [__USE_GNU]: Define.
13542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13543         Define.
13545 2013-09-11  Will Newton  <will.newton@linaro.org>
13547         [BZ #15857]
13548         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13549         does not overflow.
13551 2013-09-11  Will Newton  <will.newton@linaro.org>
13553         [BZ #15856]
13554         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13555         does not overflow.
13557 2013-09-11  Will Newton  <will.newton@linaro.org>
13559         [BZ #15855]
13560         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13561         does not overflow.
13563 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13565         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13566         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13567         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13568         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13571 2013-09-10  Allan McRae  <allan@archlinux.org>
13573         [BZ #15748]
13574         * manual/arith.texi (Parsing of Floats): Clarify
13575         cross-reference.
13577         [BZ #15849]
13578         * manual/install.texi (Running make install): Mention
13579         --enable-pt-chown.
13580         * INSTALL: Regenerated.
13582 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13584         * csu/init-first.c (_init): Remove the !SHARED condition around
13585         FPU control word initialization.
13586         * elf/dl-support.c (_dl_fpu_control): New variable.
13587         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13588         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13589         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13590         * math/test-fpucw-static.c: New file.
13591         * math/test-fpucw-ieee.c: New file.
13592         * math/test-fpucw-ieee-static.c: New file.
13593         * math/Makefile (tests): Add `test-fpucw-ieee' and
13594         `$(tests-static)'.
13595         (tests-static): New variable.
13596         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13597         dependency to...
13598         [($(build-shared),yes)]
13599         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13600         ... this.
13601         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13602         New dependency.
13604 2013-09-09  Allan McRae  <allan@archlinux.org>
13606         [BZ #15939]
13607         * manual/string.texi (Collation Functions): Fix typo in
13608         strcoll example.
13609         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13611         [BZ #15893]
13612         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13614         [BZ #15892]
13615         * libio/memstream.c (open_memstream): Fix memory leak.
13616         * libio/wmemstream.c (open_wmemstream): Likewise.
13618         [BZ #15895]
13619         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13621 2013-09-09  Will Newton  <will.newton@linaro.org>
13623         * malloc/Makefile: Add tst-realloc to tests.
13624         * malloc/tst-realloc.c: New file.
13626 2013-09-09  Allan McRae  <allan@archlinux.org>
13628         [BZ #15844]
13629         * COPYING: Update from GNU website to fix FSF address.
13630         * COPYING.LIB: Likewise.
13632 2013-09-06  David S. Miller  <davem@davemloft.net>
13634         * po/zh_TW.po: Update Chinese (traditional) translation from
13635         translation project.
13637 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13638             Joseph Myers  <joseph@codesourcery.com>
13640         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13641         "localeinfo.h".
13642         (obstack_chunk_alloc): New macro.
13643         (obstack_chunk_free): Likewise.
13644         (record_offset): New function.
13645         (init_locale_data): Likewise.
13646         (align_locale_data): Likewise.
13647         (add_locale_empty): Likewise.
13648         (add_locale_raw_data): Likewise.
13649         (add_locale_raw_obstack): Likewise.
13650         (add_locale_string): Likewise.
13651         (add_locale_wstring): Likewise.
13652         (add_locale_uint32): Likewise.
13653         (add_locale_uint32_array): Likewise.
13654         (add_locale_char): Likewise.
13655         (start_locale_structure): Likewise.
13656         (end_locale_structure): Likewise.
13657         (start_locale_prelude): Likewise.
13658         (end_locale_prelude): Likewise.
13659         (write_locale_data): Take locale_file structure rather than an
13660         iovec.
13661         * locale/programs/locfile.h: Include "obstack.h".
13662         (struct locale_file): Change to store locale file contents instead
13663         of header.
13664         (init_locale_data): New prototype.
13665         (align_locale_data): Likewise.
13666         (add_locale_empty): Likewise.
13667         (add_locale_raw_data): Likewise.
13668         (add_locale_raw_obstack): Likewise.
13669         (add_locale_string): Likewise.
13670         (add_locale_wstring): Likewise.
13671         (add_locale_uint32): Likewise.
13672         (add_locale_uint32_array): Likewise.
13673         (add_locale_char): Likewise.
13674         (start_locale_structure): Likewise.
13675         (end_locale_structure): Likewise.
13676         (start_locale_prelude): Likewise.
13677         (end_locale_prelude): Likewise.
13678         (write_locale_data): Update prototype.
13679         * locale/programs/3level.h (struct TABLE): Remove result field.
13680         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13681         Use new locale_file interface.
13682         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13683         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13684         * locale/programs/ld-address.c (address_output): Use new
13685         locale_file interface.
13686         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13687         NO_ADD_LOCALE.
13688         (collate_finish): Don't call collseq_table_finalize.
13689         (collate_output): Use new locale_file interface.
13690         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13691         in file.
13692         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13693         (TABLE): Move defines earlier in file.
13694         (ELEMENT): Likewise.
13695         (DEFAULT): Likewise.
13696         (wctrans_table_add): Move macro and inline function earlier in
13697         file.
13698         (struct wctype_table): Move type earlier in file.
13699         (add_locale_wctype_table): New static prototype.
13700         (struct locale_ctype_t): Use logical types instead of struct iovec
13701         pointers for members.
13702         (ctype_output): Use new locale_file interface.
13703         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13704         new locale_file interface.
13705         (allocate_arrays): Update for use of new locale_file interface.
13706         * locale/programs/ld-identification.c (identification_output): Use
13707         new locale_file interface.
13708         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13709         * locale/programs/ld-messages.c (messages_output): Likewise.
13710         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13711         * locale/programs/ld-name.c (name_output): Likewise.
13712         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13713         * locale/programs/ld-paper.c (paper_output): Likewise.
13714         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13715         * locale/programs/ld-time.c (time_output): Likewise.
13717 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13719         * benchtests/Makefile: Add memrchr benchmark.
13720         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13721         benchmark as memrchr.
13722         * benchtests/bench-memrchr-ifunc.c: New file.
13723         * benchtests/bench-memrchr.c: New file.
13725 2013-09-06   Will Newton  <will.newton@linaro.org>
13727         * benchtests/Makefile (string-bench): Add memcpy.
13729 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13730             Cong Wang  <amwang@redhat.com>
13732         [BZ #15850]
13733         * sysdeps/unix/sysv/linux/bits/in.h
13734         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13735         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13736         before __USE_KERNEL_IPV6_DEFS uses.
13737         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13738         IPPROTO_BEETPH.
13739         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13740         sockaddr_in6, or ipv6_mreq.
13742 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13744         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13745         memory access for final bytes in some large inputs.
13746         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13748 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13750         * string/test-memrchr.c: New file.
13751         * string/test-memrchr-ifunc.c: New file.
13752         * string/Makefile: Add new memrchr testcase.
13754 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13756         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13757         fanotify_init returns EPERM.
13759 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13761         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13762         errors.
13763         (top level): Treat second token from macro or constant entries for
13764         allowed headers as allowed.
13765         * include/complex.h: Condition internal declarations on
13766         [!_ISOMAC].
13767         * include/fenv.h: Condition include of <stdbool.h> and internal
13768         declarations on [!_ISOMAC].
13770 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13772         [BZ #15923]
13773         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13775 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13777         * configure.in (--enable-versioning): Remove configure option.
13778         (libc_cv_asm_symver_directive): Remove configure test.
13779         (libc_cv_ld_version_script_option): Likewise.
13780         (VERSIONING): Remove variable and AC_SUBST.
13781         (DO_VERSIONING): Remove AC_DEFINE.
13782         * configure: Regenerated.
13783         * config.h.in (DO_VERSIONING): Remove macro.
13784         * Makerules [$(versioning) = yes]: Change conditionals to
13785         [$(build-shared) = yes].
13786         * config.make.in (versioning): Remove variable.
13787         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13788         [$(build-shared) = yes].
13789         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13790         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13791         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13792         [$(build-shared) = yes].
13793         * extra-lib.mk [$(versioning) = yes]: Likewise.
13794         * hurd/Makefile [$(versioning) = yes]: Likewise.
13795         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13796         [SHARED].
13797         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13798         [SHARED].
13799         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13800         [SHARED && !NO_HIDDEN].
13801         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13802         [SHARED].
13803         [SHARED && DO_VERSIONING]: Likewise..
13804         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13805         [$(build-shared) = yes].
13806         * manual/install.texi (--disable-versioning): Remove
13807         documentation.
13808         * INSTALL: Regenerated.
13809         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13810         to [SHARED].
13811         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13812         [$(build-shared) = yes].
13813         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13814         * sysdeps/i386/i686/multiarch/strstr-c.c
13815         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13816         [SHARED && !NO_HIDDEN].
13817         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13818         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13819         * sysdeps/powerpc/powerpc32/dl-machine.c
13820         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13821         * sysdeps/powerpc/powerpc32/sysdep.h
13822         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13823         to [SHARED && PIC && !NO_HIDDEN].
13824         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13825         conditional to [SHARED].
13827 2013-09-04   Will Newton  <will.newton@linaro.org>
13829         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13830         * benchtests/bench-string.h: Include bench-timing.h instead
13831         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13832         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13833         call to HP_TIMING_DIFF_INIT.
13834         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13835         instead of hp-timing.h macros.
13836         * benchtests/bench-memchr.c: Likewise.
13837         * benchtests/bench-memcmp.c: Likewise.
13838         * benchtests/bench-memcpy.c: Likewise.
13839         * benchtests/bench-memmem.c: Likewise.
13840         * benchtests/bench-memmove.c: Likewise.
13841         * benchtests/bench-memset.c: Likewise.
13842         * benchtests/bench-rawmemchr.c: Likewise.
13843         * benchtests/bench-strcasecmp.c: Likewise.
13844         * benchtests/bench-strcasestr.c: Likewise.
13845         * benchtests/bench-strcat.c: Likewise.
13846         * benchtests/bench-strchr.c: Likewise.
13847         * benchtests/bench-strcmp.c: Likewise.
13848         * benchtests/bench-strcpy.c: Likewise.
13849         * benchtests/bench-strcpy_chk.c: Likewise.
13850         * benchtests/bench-strlen.c: Likewise.
13851         * benchtests/bench-strncasecmp.c: Likewise.
13852         * benchtests/bench-strncat.c: Likewise.
13853         * benchtests/bench-strncmp.c: Likewise.
13854         * benchtests/bench-strncpy.c: Likewise.
13855         * benchtests/bench-strnlen.c: Likewise.
13856         * benchtests/bench-strpbrk.c: Likewise.
13857         * benchtests/bench-strrchr.c: Likewise.
13858         * benchtests/bench-strspn.c: Likewise.
13859         * benchtests/bench-strstr.c: Likewise.
13861 2013-09-04  Will Newton  <will.newton@linaro.org>
13863         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13865 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13867         [BZ #15427]
13868         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13869         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13870         * math/libm-test.inc (lgamma_test_data): Add more tests.
13871         * sysdeps/i386/fpu/libm-test-ulps: Update.
13872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13874 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13876         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13878         Add ifunc.
13879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13880         Add strcmp-sse2-unaligned
13881         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13883 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13885         * Versions.def (libc): Add GLIBC_2.19.
13887 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13889         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13890         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13892 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13894         [BZ #14155]
13895         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13896         intermediate calculations in recurrence.
13897         (__ieee754_ynf): Likewise.
13898         * math/libm-test.inc (jn_test_data): Do not allow spurious
13899         underflow exception.  Add more tests.
13900         (yn_test_data): Add more tests.
13901         * sysdeps/i386/fpu/libm-test-ulps: Update.
13902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13904 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13908 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13910         * csu/init-first.c: Fix then/than typos.
13911         * locale/programs/ld-collate.c: Likewise.
13912         * locale/programs/linereader.h: Likewise.
13913         * manual/charset.texi: Likewise.
13914         * manual/filesys.texi: Likewise.
13915         * manual/stdio.texi: Likewise.
13916         * manual/string.texi: Likewise.
13917         * stdlib/fmtmsg.c: Likewise.
13918         * sysdeps/i386/stpncpy.S: Likewise.
13919         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13920         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13921         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13922         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13924 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13926         * elf/dl-open.c: Fix typos.
13927         * iconvdata/gbbig5.c: Likewise.
13928         * iconvdata/iso-2022-jp.c: Likewise.
13929         * iconv/gconv_int.h: Likewise.
13930         * iconv/loop.c: Likewise.
13931         * nis/rpcsvc/nis.h: Likewise.
13932         * resolv/ns_name.c: Likewise.
13933         * stdio-common/vfscanf.c: Likewise.
13934         * streams/stropts.h: Likewise.
13935         * sunrpc/rpc_thread.c: Likewise.
13936         * sysdeps/i386/strpbrk.S: Likewise.
13937         * sysdeps/ieee754/k_standard.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13940         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13941         * sysdeps/mach/hurd/profil.c: Likewise.
13942         * sysdeps/s390/dl-procinfo.h: Likewise.
13943         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13944         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13945         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13946         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13949 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13951         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13954 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13957         aix specific files.
13958         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13959         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13961         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13962         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13963         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13964         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13965         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13967 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13968             Roland McGrath  <roland@hack.frob.com>
13970         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13971         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13973 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13975         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13976         __executable_start symbol instead of _start.
13978 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13980         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13981         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13982         Move macros to...
13983         * sysdeps/gnu/ldsodefs.h: ... this new file.
13985         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13986         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13987         instead of ELFOSABI_LINUX.
13989         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13990         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13991         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13992         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13993         Likewise.
13994         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13995         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13996         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13997         Likewise.
13998         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13999         (ibm_extended_long_double): Add ieee_nan member.
14000         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14001         (do_test): New function.
14003         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14004         TEST_TRUNC.
14005         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14006         functions, renamed from truncdfsf_test, trunctfsf_test,
14007         trunctfdf_test.
14008         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14009         functions.
14010         (do_test): Run all these.
14012 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14014         * argp/argp-help.c: Fix typos.
14015         * argp/argp-parse.c: Likewise.
14016         * debug/backtracesyms.c: Likewise.
14017         * elf/elf.h: Likewise.
14018         * malloc/malloc.c: Likewise.
14019         * nis/nis_print.c: Likewise.
14020         * resolv/res_comp.c: Likewise.
14021         * stdlib/stdlib.h: Likewise.
14022         * sunrpc/clnt_tcp.c: Likewise.
14023         * sunrpc/clnt_udp.c: Likewise.
14024         * sunrpc/clnt_unix.c: Likewise.
14025         * sysdeps/unix/bsd/ptsname.c: Likewise.
14026         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14027         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14029         Likewise.
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14031         Likewise.
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14033         Likewise.
14034         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14036 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14041 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14043         [BZ #15897]
14044         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14045         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14046         ($(objpfx)bug-dl-leaf): New rule.
14047         ($(objpfx)bug-dl-leaf.so): Likewise.
14048         ($(objpfx)bug-dl-leaf.out): Likewise.
14049         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14050         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14051         * dlfcn/bug-dl-leaf.c: New test.
14052         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14053         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14054         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14055         (dlclose): Likewise.
14056         (dlmopen): Likewise.
14058 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14060         * include/netdb.h [!_ISOMAC]:
14061         Don't include <tls.h>.
14062         (h_errno, __libc_h_errno): Move declaration and macros out of
14063         [_LIBC_REENTRANT].
14065         * include/resolv.h [_RESOLV_H_]:
14066         Don't include <tls.h>.
14067         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14068         * resolv/res_libc.c: Don't include <tls.h>.
14069         (_res): Use __attribute__ ((nocommon)) in place of
14070         __attribute__ ((section (".bss"))).
14072         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14073         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14075         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14077         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14078         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14080         * resolv/res_mkquery.c: Include <sys/time.h>.
14082         * inet/ifreq.c: Moved to ...
14083         * sysdeps/unix/ifreq.c: ... here.
14084         * inet/ifreq.c: New file, true stub version.
14086         * socket/sa_len.c: New file.
14087         * socket/Makefile (aux): Add it.
14088         * sysdeps/unix/sysv/linux/Makefile
14089         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14090         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14091         and #include <socket/sa_len.c>.
14092         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14093         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14095         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14096         * bits/socket.h: ... here.
14098         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14099         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14100         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14102 2013-08-27  Andreas Schwab  <schwab@suse.de>
14104         [BZ #15736]
14105         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14106         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14107         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14108         * string/test-strcasecmp.c (test_main): Run tests in several
14109         locales.
14110         * string/test-strncasecmp.c (test_main): Likewise.
14112         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14113         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14114         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14115         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14116         (__strncasecmp_ssse3) [PIC]: Likewise.
14118 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14120         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14122         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14123         instead of explicitly declaring xdecrypt.
14124         * nis/nss_nis/nis-publickey.c: Likewise.
14126 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14128         [BZ #15890]
14129         * nscd/aicache.c: Include res_hconf.h.
14130         (addhstaiX): Initialize res_hconf.
14132 2013-08-26  Andreas Schwab  <schwab@suse.de>
14134         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14135         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14137 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14139         * nscd/aicache.c (addhstaiX): Fix indentation.
14141 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14143         * configure.ac: Quote $build_pt_chown test.
14144         * configure: Regenerated.
14146 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14148         [BZ #15532]
14149         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14150         * math/s_cexpf.c (__cexpf): Likewise.
14151         * math/s_cexpl.c (__cexpl): Likewise.
14152         * math/libm-test.inc (cexp_test_data): Correct expected return
14153         value for NaN + i0.  Add another test.
14155 2013-08-22  David S. Miller  <davem@davemloft.net>
14157         * po/ca.po: Update Catalan translation from translation project.
14158         * po/uk.po: Add Ukrainian translations from translation project.
14160 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14162         [BZ #15797]
14163         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14164         is infinite, not alongside NaN test.
14165         * math/s_fdimf.c (__fdimf): Likewise.
14166         * math/s_fdiml.c (__fdiml): Likewise.
14167         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14168         errno is unchanged.
14170 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14172         * argp/argp-help.c: Fix typos.
14173         * crypt/speeds.c: Likewise.
14174         * csu/check_fds.c: Likewise.
14175         * elf/dl-load.c: Likewise.
14176         * elf/dl-open.c: Likewise.
14177         * elf/reldep3.c: Likewise.
14178         * elf/reldep.c: Likewise.
14179         * elf/sprof.c: Likewise.
14180         * iconv/iconv_charmap.c: Likewise.
14181         * iconv/skeleton.c: Likewise.
14182         * iconv/strtab.c: Likewise.
14183         * io/lockf64.c: Likewise.
14184         * libio/libioP.h: Likewise.
14185         * resolv/gai_notify.c: Likewise.
14186         * resolv/ns_name.c: Likewise.
14187         * resolv/ns_samedomain.c: Likewise.
14188         * resolv/res_send.c: Likewise.
14189         * stdlib/random.c: Likewise.
14190         * sunrpc/rpc/xdr.h: Likewise.
14191         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14192         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14193         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14194         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14195         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14198         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14199         * sysdeps/mach/hurd/check_fds.c: Likewise.
14200         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14201         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14202         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14203         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14204         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14205         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14206         * sysdeps/pthread/aio_notify.c: Likewise.
14207         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14208         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14209         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14210         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14211         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14213 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14215         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14216         version if bit_Slow_SSE4_2 is set.
14217         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14218         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14220 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14222         [BZ #15867]
14223         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14224         trampoline stack frame information.
14225         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14226         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14227         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14228         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14229         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14230         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14231         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14232         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14233         sa_flags value.
14234         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14235         interrupting a syscall and set with option SA_SIGINFO.
14237 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14239         [BZ #15531]
14240         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14241         argument is infinite.
14242         * math/s_cprojf.c (__cprojf): Likewise.
14243         * math/s_cprojl.c (__cprojl): Likewise.
14244         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14245         * math/libm-test.inc (cproj_test_data): Add more tests.
14247         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14249         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14250         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14251         size.  Use __ffs to determine corresponding shift.
14253 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14254             Roland McGrath  <roland@hack.frob.com>
14256         * Makefile (INSTALL): Remove trailing blank lines from output of
14257         makeinfo.
14259 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14261         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14262         Align 32 bit compat elf_greg to 8 bytes.
14264 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14266         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14268 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14270         * string/strcoll_l.c (coll_seq): New structure.
14271         (get_next_seq_cached): New function.
14272         (get_next_seq): New function.
14273         (do_compare): New function.
14274         (STRCOLL): Use GNU style definition.  Simplify implementation
14275         by using get_next_seq, get_next_seq_cached and do_compare.
14277 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14279         [BZ #14699]
14280         CVE-2013-4237
14281         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14282         member.
14283         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14284         member.
14285         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14286         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14287         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14288         conditional.
14289         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14290         GETDENTS_64BIT_ALIGNED.
14291         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14292         * manual/filesys.texi (Reading/Closing Directory): Document
14293         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14294         strongly.
14295         * manual/conf.texi (Limits for Files): Add portability note to
14296         NAME_MAX, PATH_MAX.
14297         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14299 2013-08-13  Andreas Schwab  <schwab@suse.de>
14301         [BZ #15749]
14302         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14303         of fabs.
14304         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14305         LDBL_MAX_EXP >= 16384]: Add tests for it.
14307 2013-08-12  David S. Miller  <davem@davemloft.net>
14309         * version.h (RELEASE): Set to "development".
14310         (VERSION): Set to "2.18.90".
14311         * NEWS: Add 2.19 section.
14313 2013-08-03  David S. Miller  <davem@davemloft.net>
14315         * po/ko.po: Update Korean translation from translation project.
14317 2013-08-01  David S. Miller  <davem@davemloft.net>
14319         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14320         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14321         Bilka.
14323 2013-07-30  David S. Miller  <davem@davemloft.net>
14325         * po/fr.po: Update French translation from translation project.
14327 2013-07-28  David S. Miller  <davem@davemloft.net>
14329         * po/cs.po: Update Czech translation from translation project.
14331         * po/sv.po: Update Swedish translation from translation project.
14333 2013-07-27  David S. Miller  <davem@davemloft.net>
14335         * po/eo.po: Update Esperanto translation from translation project.
14337         * po/vi.po: Update Vietnamese translation from translation project.
14339         * po/de.po: Update German translation from translation project.
14341 2013-07-26  David S. Miller  <davem@davemloft.net>
14343         * po/bg.po: Update Bulgarian translation from translation project.
14345         * po/nl.po: Update Dutch translation from translation project.
14346         * po/pl.po: Update Polish translation from translation project.
14347         * po/ru.po: Update Russian translation from translation project.
14349 2013-07-24  David S. Miller  <davem@davemloft.net>
14351         * po/libc.pot: Update.
14353 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14355         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14356         variable page size.
14357         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14358         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14359         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14361 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14363         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14365 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14366             Andreas Schwab  <schwab@suse.de>
14367             Roland McGrath  <roland@hack.frob.com>
14368             Joseph Myers  <joseph@codesourcery.com>
14369             Carlos O'Donell  <carlos@redhat.com>
14371         [BZ #15755]
14372         * config.h.in: Define HAVE_PT_CHOWN.
14373         * config.make.in (build-pt-chown): New variable.
14374         * configure.in (--enable-pt_chown): New configure option.
14375         * configure: Regenerate.
14376         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14377         build-pt-chown is enabled.
14378         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14379         pt_chown to fix pty ownership.
14380         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14381         CLOSE_ALL_FDS.
14382         * manual/install.texi (Configuring and compiling): Mention
14383         --enable-pt_chown. Add @findex for grantpt.
14384         * INSTALL: Regenerate.
14386 2013-07-20  David S. Miller  <davem@davemloft.net>
14388         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14389         difference between 32-bit and 64-bit.
14391 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14393         [BZ #15711]
14394         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14395         Avoid system header dependency with -ffreestanding.
14396         ($(objpfx)bits/syscall%d): Likewise.
14398 2013-07-13  David S. Miller  <davem@davemloft.net>
14400         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14401         underflows from atanl/atan2l due to bug 15319.
14402         (casinh_test_data): Likewise.
14404 2013-07-07  David S. Miller  <davem@davemloft.net>
14406         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14408 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14410         * sysdeps/i386/fpu/libm-test-ulps: Update.
14411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14413 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14415         * configure.in (--enable-lock-elision): Fix message text.
14416         * INSTALL: Regenerate.
14417         * configure: Regenerate.
14419 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14423 2013-07-03  Andreas Jaeger  <aj@suse.de>
14425         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14426         define.
14427         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14428         (ptrace_peeksiginfo_args): Add.
14429         (__ptrace_peeksiginfo_flags): Add.
14430         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14431         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14432         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14434 2013-07-03  Allan McRae  <allan@archlinux.org>
14436         * sysdeps/i386/fpu/libm-test-ulps: Update.
14438 2013-07-02  David S. Miller  <davem@davemloft.net>
14440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14442 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14446 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14448         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 2013-07-02  Andi Kleen <ak@linux.intel.com>
14453         * config.h.in (ENABLE_LOCK_ELISION): Add.
14454         * configure.in (--enable-lock-elision): Add option.
14455         * manual/install.texi: Document --enable lock elision.
14456         * configure: Regenerate
14457         * INSTALL: Regenerate.
14459 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14461         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14462         SSE4.2 strcasecmp for libc.a.
14463         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14465 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14467         [BZ #13304]
14468         * soft-fp/op-common.h (_FP_FMA): New macro.
14469         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14470         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14471         (_FP_MUL_MEAT_1_imm): ... here.
14472         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14473         (_FP_MUL_MEAT_1_wide): ... here.
14474         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14475         (_FP_MUL_MEAT_1_hard): ... here.
14476         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14477         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14478         (_FP_MUL_MEAT_2_wide): ... here.
14479         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14480         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14481         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14482         (_FP_MUL_MEAT_2_gmp): ... here.
14483         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14484         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14485         (_FP_MUL_MEAT_4_wide): ... here.
14486         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14487         (_FP_MUL_MEAT_4_gmp): ... here.
14488         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14489         (_FP_WFRACBITS_DW_S): Likewise.
14490         (_FP_WFRACXBITS_DW_S): Likewise.
14491         (_FP_HIGHBIT_DW_S): Likewise.
14492         (FP_FMA_S): Likewise.
14493         (_FP_FRAC_HIGH_DW_S): Likewise.
14494         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14495         (_FP_WFRACBITS_DW_D): Likewise.
14496         (_FP_WFRACXBITS_DW_D): Likewise.
14497         (_FP_HIGHBIT_DW_D): Likewise.
14498         (FP_FMA_D): Likewise.
14499         (_FP_FRAC_HIGH_DW_D): Likewise.
14500         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14501         (_FP_WFRACBITS_DW_E): Likewise.
14502         (_FP_WFRACXBITS_DW_E): Likewise.
14503         (_FP_HIGHBIT_DW_E): Likewise.
14504         (FP_FMA_E): Likewise.
14505         (_FP_FRAC_HIGH_DW_E): Likewise.
14506         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14507         (_FP_WFRACBITS_DW_Q): Likewise.
14508         (_FP_WFRACXBITS_DW_Q): Likewise.
14509         (_FP_HIGHBIT_DW_Q): Likewise.
14510         (FP_FMA_Q): Likewise.
14511         (_FP_FRAC_HIGH_DW_Q): Likewise.
14512         * soft-fp/fmasf4.c: New file.
14513         * soft-fp/fmadf4.c: Likewise.
14514         * soft-fp/fmatf4.c: Likewise.
14516 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14519         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14520         Silvermont.
14521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14522         macro.
14523         (index_Slow_SSE4_2): Likewise.
14524         (index_Prefer_PMINUB_for_stringop): Likewise.
14525         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14526         bit_Slow_SSE4_2 is set.
14527         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14528         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14530 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14532         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14533         rtld_global._dl_hwcap2.
14534         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14535         POWER8.
14536         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14537         POWER8 feature descriptions defined in _dl_hwcap2.
14538         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14539         string handling for POWER8 feature bits.
14540         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14541         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14542         _dl_powerpc_cap_flags.
14543         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14544         * sysdeps/powerpc/rtld-global-offsets.sym
14545         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14546         _dl_hwcap2 in the rtld_global_ro structure.
14548 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14550         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14551         hardware capabilities in support of AT_HWCAP2.
14552         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14553         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14554         GLRO(dl_hwcap2).
14555         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14556         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14557         explicitly the unknown a_type display mechanism is used.
14558         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14559         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14560         struct member.
14561         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14562         to macro prototype for AT_HWCAP2 support.
14563         * sysdeps/i386/dl-procinfo.h: Likewise.
14564         * sysdeps/s390/dl-procinfo.h: Likewise.
14565         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14566         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14567         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14568         return -1 for unknown a_type display fallback.
14569         * sysdeps/sparc/dl-procinfo.h: Likewise.
14570         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14571         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14573 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14575         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14576         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14578 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14580         [BZ #12492]
14581         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14582         mprotect making __stack_prot writable.
14584 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14585             Joseph Myers  <joseph@codesourcery.com>
14587         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14588         as being properly aligned.
14590 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14592         * dlfcn/modstatic5.c: New file.
14593         * dlfcn/tststatic5.c: New file.
14594         * dlfcn/Makefile (tests): Add tststatic5.
14595         (tests-static): Likewise.
14596         (modules-names): Add modstatic5.
14597         (tststatic5-ENV): New variable.
14598         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14600         [BZ #15022]
14601         * elf/dl-support.c (_dl_main_map): New variable.
14602         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14603         (_dl_nns, _dl_load_adds): Set to 1.
14604         (_dl_initial_searchlist): Refer to _dl_main_map.
14605         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14606         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14607         call to _dl_get_origin.
14608         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14609         around call_map.
14610         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14611         * dlfcn/modstatic3.c: New file.
14612         * dlfcn/tststatic3.c: New file.
14613         * dlfcn/tststatic4.c: New file.
14614         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14615         (tests-static): Likewise.
14616         (modules-names): Add modstatic3.
14617         (tststatic3-ENV, tststatic4-ENV): New variables.
14618         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14619         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14621 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14623         * configure.in (CC): Require GCC version 4.4 or later.
14624         * configure: Regenerated.
14625         * manual/install.texi (Tools for Compilation): Update GCC version
14626         requirement.
14627         * INSTALL: Regenerated.
14629 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14631         [BZ #15674]
14632         * string/test-memcmp.c (check2): New.
14633         (main): Call check2.
14635         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14637 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14639         [BZ #15022]
14640         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14641         over to...
14642         (dl_open_worker) [!SHARED]: ... here.
14644 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14646         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14648 2013-06-25  Richard Henderson  <rth@redhat.com>
14650         * locale/programs/locarchive.c: Include <libc-internal.h>
14652 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14654         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14655         trailing whitespace removed.
14657 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14659         [BZ #10283]
14660         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14661         * locale/programs/locarchive.c: Include libc-mmap.h.
14662         (prepare_address_space): Take two new outputs (the mmap base and len).
14663         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14664         values.
14665         (create_archive): Declare new mmap base and len values for
14666         prepare_address_space, and store the result in ah.
14667         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14668         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14669         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14670         Declare new mmap base and len values for
14671         prepare_address_space, and store the result in new_ah.
14672         (open_archive): Declare new mmap base and len values for
14673         prepare_address_space, and store the result in ah.
14674         (close_archive): If ah->mmap_base is not NULL, use that and
14675         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14676         * sysdeps/generic/libc-mmap.h: New file.
14678 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14680         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14681         (ALIGN_UP): Likewise.
14682         (PTR_ALIGN_DOWN): Likewise.
14683         (PTR_ALIGN_UP): Likewise.
14685 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14687         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14688         entry mapped to PPC_PLATFORM_POWER8.
14689         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14690         POWER8.
14691         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14692         (_dl_string_platform): Add case for exporting platform position for
14693         POWER8.
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14695         search path to sysdeps/powerpc/powerpc32/power8 directory.
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14697         search path to sysdeps/powerpc/powerpc64/power8 directory.
14698         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14699         power7 directories.
14700         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14701         power7 directories.
14703 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14705         * INSTALL: Regenerate.
14707         * nscd/connections.c (nscd_init): Fix comment.
14709 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14711         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14713         [BZ #15667]
14714         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14715         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14717 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14719         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14720         DL_DST_REQ_STATIC.
14721         (DL_DST_REQ_STATIC): Remove macro.
14723 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14725         [BZ #7006]
14726         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14727         with a shift of 0 bits.
14729 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14731         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14732         $(tststatic-ENV).
14734 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14736         [BZ #15655]
14737         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14739 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14741         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14742         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14743         accepts -fno-tree-loop-distribute-patterns.
14744         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14745         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14746         recursive call.
14747         * string/memset.c (memset): Likewise.
14748         * string/test-memmove.c (simple_memmove): Disable loop transformation
14749         to library calls.
14750         * string/test-memset.c (simple_memset): Likewise.
14751         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14752         * benchtests/bench-memset.c (simple_memset): Likewise.
14753         * configure: Regenerated.
14755 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14757         * math/test-misc.c (main): Ignore fesetround failure when failures
14758         of subsequent rounding tests would be ignored.
14760         [BZ #15654]
14761         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14762         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14763         * math/fegetenv.c (__fegetenv): Return 0.
14764         * math/fegetexcept.c (fegetexcept): Return 0.
14765         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14766         FE_TONEAREST.
14767         * math/feholdexcpt.c (feholdexcept): Return 0.
14768         * math/fesetenv.c (__fesetenv): Return 0.
14769         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14770         argument FE_TONEAREST.
14771         * math/feupdateenv.c (__feupdateenv): Return 0.
14772         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14774 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14776         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14777         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14778         ($(objpfx)rtld-%.os rules): Use them.
14780 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14782         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14783         fields.
14785 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14787         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14788         length of target pattern, then descending length of dependency pattern.
14789         * configure.in (AWK): Require gawk 3.1.2 or newer.
14790         * manual/install.texi (Tools for Compilation): Say that we do.
14791         * configure: Regenerated.
14793         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14794         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14795         * scripts/sysd-rules.awk: ... this new script.
14796         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14797         than a glob-style pattern.
14799 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14801         * math/test-misc.c (main): Do not treat incorrectly rounded
14802         conversions as failure unless ROUNDING_TESTS passes.
14804 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14806         [BZ #15631]
14807         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14808         restore exception state around main square root computation, then
14809         check for inexactness explicitly.
14811         * math/libm-test.inc (fma_test_data): Add another test.
14813 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14815         * manual/threads.texi (Non-POSIX Extensions): New document
14816         node.  Document pthread_getattr_default_np and
14817         pthread_setattr_default_np.
14819         * Versions.def (libpthread): Add GLIBC_2.18.
14820         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14822         Likewise.
14823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14824         Likewise.
14825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14826         Likewise.
14827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14828         Likewise.
14829         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14830         Likewise.
14831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14832         Likewise.
14833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14834         Likewise.
14835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14836         Likewise.
14837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14838         Likewise.
14840 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14843         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14845 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14846             H.J. Lu  <hjl.tools@gmail.com>
14848         [BZ #15627]
14849         * sysdeps/x86_64/rtld-memset.c: Remove file.
14850         * sysdeps/x86_64/rtld-memset.S: New file.
14852 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14854         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14855         (test_in_one_mode): Take arguments for whether the rounding mode
14856         is supported for each floating-point type.
14857         (do_test): Pass new arguments to test_in_one_mode using
14858         ROUNDING_TESTS.
14860 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14862         * posix/tst-waitid.c (do_test): Distinguish different instances of
14863         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14864         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14865         before entering the kernel for waitpid.
14867 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14869         * NEWS: Fix note on clock function precision.  Text by Roland
14870         McGrath.
14872 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14874         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14875         it into place only when and if the sanity check passes.
14877 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14879         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14880         output for whether conversion result is exact.  Take argument
14881         indicating whether type is IBM long double.
14882         (round_for_all): Change need_exact field to ibm_ld.
14883         * stdlib/tst-strtod-round.c (struct exactness): New type.
14884         (struct test): Change bool ld_ok field to struct exactness exact.
14885         (TEST): Update all definitions for change to field.
14886         (tests): Regenerate array contents.
14887         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14888         field value.  Check for IBM long double here.
14889         (do_test): Update calls to test_in_one_mode.
14891 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14893         [BZ #12515]
14894         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14895         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14897 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14899         [BZ #15605]
14900         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14901         generated by the compiler on loop optimizations.
14902         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14903         general definitions.
14905 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14907         * math/bug-nextafter.c: Include <math-tests.h>.
14908         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14909         the relevant type.
14910         * math/bug-nexttoward.c: Include <math-tests.h>.
14911         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14912         the relevant type.
14913         * math/test-misc.c: Include <math-tests.h>.
14914         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14915         the relevant type.
14917 2013-06-12  Andreas Jaeger  <aj@suse.de>
14919         * po/ia.po: Update Interlingua translation from translation
14920         project.
14922 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14924         * include/fenv.h: Include stdbool.h.
14925         (struct rm_ctx): New structure.
14926         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14927         Define macro.
14928         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14929         (SET_RESTORE_ROUNDF): Likewise.
14930         (SET_RESTORE_ROUNDL): Likewise.
14931         (SET_RESTORE_ROUND_NOEX): Likewise.
14932         (SET_RESTORE_ROUND_NOEXF): Likewise.
14933         (SET_RESTORE_ROUND_NOEXL): Likewise.
14934         (SET_RESTORE_ROUND_53BIT): Likewise.
14935         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14936         (libc_feresetround_noexf_ctx): Likewise.
14937         (libc_feresetround_noexl_ctx): Likewise.
14938         (libc_feholdsetround_53bit_ctx): Likewise.
14939         (libc_feresetround_53bit_ctx): Likewise.
14940         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14941         (libc_feholdexcept_setround_sse_ctx): New function.
14942         (libc_fesetenv_sse_ctx): Likewise.
14943         (libc_feupdateenv_sse_ctx): Likewise.
14944         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14945         (libc_feholdexcept_setround_387_ctx): Likewise.
14946         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14947         (libc_feholdsetround_387_prec_ctx): Likewise.
14948         (libc_feholdsetround_387_ctx): Likewise.
14949         (libc_feholdsetround_387_53bit_ctx): Likewise.
14950         (libc_feholdsetround_sse_ctx): Likewise.
14951         (libc_feresetround_sse_ctx): Likewise.
14952         (libc_feresetround_387_ctx): Likewise.
14953         (libc_feupdateenv_387_ctx): Likewise.
14954         (libc_feholdexcept_setroundf_ctx): Define macro.
14955         (libc_fesetenvf_ctx): Likewise.
14956         (libc_feupdateenvf_ctx): Likewise.
14957         (libc_feholdsetroundf_ctx): Likewise.
14958         (libc_feresetroundf_ctx): Likewise.
14959         (libc_feholdexcept_setround_ctx): Likewise.
14960         (libc_fesetenv_ctx): Likewise.
14961         (libc_feupdateenv_ctx): Likewise.
14962         (libc_feholdsetround_ctx): Likewise.
14963         (libc_feresetround_ctx): Likewise.
14964         (libc_feholdexcept_setroundl_ctx): Likewise.
14965         (libc_feupdateenvl_ctx): Likewise.
14966         (libc_feholdsetroundl_ctx): Likewise.
14967         (libc_feresetroundl_ctx): Likewise.
14968         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14969         (libc_feresetround_53bit_ctx): Likewise.
14971 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14973         * locale/iso-639.def: Convert to UTF-8.
14975 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14977         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14978         (EXCEPTION_TESTS_double): Likewise.
14979         (EXCEPTION_TESTS_long_double): Likewise.
14980         (EXCEPTION_TESTS): Likewise.
14981         * math/libm-test.inc (test_exceptions): Only test exceptions if
14982         EXCEPTION_TESTS (FLOAT).
14984 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14986         * benchtests/Makefile (string-bench): Add strcpy_chk and
14987         stpcpy_chk.
14988         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14989         * benchtests/bench-stpcpy_chk.c: New file.
14990         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14991         * benchtests/bench-strcpy_chk.c: New file.
14992         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14993         code.
14994         (do_test): Likewise.
14996 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14998         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14999         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15000         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15001         with tabs where appropriate.
15002         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15003         dl-procinfo.h.
15004         [PPC_PLATFORM_PPC440]: Likewise.
15005         [PPC_PLATFORM_PPC464]: Likewise.
15006         [PPC_PLATFORM_PPC476]: Likewise.
15007         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15008         ppc464, and ppc476 platform strings merging from ports/
15009         dl-procinfo.h.
15011 2013-06-11  Andreas Schwab  <schwab@suse.de>
15013         [BZ #14991]
15014         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15015         (from_ucs4_idx): Regenerate.
15016         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15017         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15018         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15019         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15020         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15021         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15022         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15023         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15024         from FROM_LOOP and TO_LOOP specific macros.
15025         (BODY): Handle combining characters.
15026         * iconvdata/BIG5HKSCS.irreversible: Update.
15027         * iconvdata/BIG5HKSCS.precomposed: New file.
15028         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15029         characters.
15030         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15032 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15034         * include/sys/time.h: Fix indentation and add copyright header.
15036         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15037         (do_test): Likewise.
15038         * string/test-memchr.c (do_one_test): Likewise.
15039         (do_test): Likewise.
15040         * string/test-memcmp.c (do_one_test): Likewise.
15041         (do_test): Likewise.
15042         * string/test-memcpy.c (do_one_test): Likewise.
15043         (do_test): Likewise.
15044         * string/test-memmem.c (do_one_test): Likewise.
15045         (do_test): Likewise.
15046         (do_random_tests): Likewise.
15047         * string/test-memmove.c (do_one_test): Likewise.
15048         (do_test): Likewise.
15049         * string/test-memset.c (do_one_test): Likewise.
15050         (do_test): Likewise.
15051         * string/test-rawmemchr.c (do_one_test): Likewise.
15052         (do_test): Likewise.
15053         * string/test-strcasecmp.c (do_one_test): Likewise.
15054         (do_test): Likewise.
15055         * string/test-strcasestr.c (do_one_test): Likewise.
15056         (do_test): Likewise.
15057         * string/test-strcat.c (do_one_test): Likewise.
15058         (do_test): Likewise.
15059         * string/test-strchr.c (do_one_test): Likewise.
15060         (do_test): Likewise.
15061         * string/test-strcmp.c (do_one_test): Likewise.
15062         (do_test): Likewise.
15063         * string/test-strcpy.c (do_one_test): Likewise.
15064         (do_test): Likewise.
15065         * string/test-string.h: Likewise.
15066         (test_init): Likewise.
15067         * string/test-strlen.c (do_one_test): Likewise.
15068         (do_test): Likewise.
15069         * string/test-strncasecmp.c (do_one_test): Likewise.
15070         (do_test): Likewise.
15071         * string/test-strncat.c (do_one_test): Likewise.
15072         (do_test): Likewise.
15073         * string/test-strncmp.c (do_one_test): Likewise.
15074         (do_test_limit): Likewise.
15075         (do_test): Likewise.
15076         * string/test-strncpy.c (do_one_test): Likewise.
15077         (do_test): Likewise.
15078         * string/test-strnlen.c (do_one_test): Likewise.
15079         (do_test): Likewise.
15080         * string/test-strpbrk.c (do_one_test): Likewise.
15081         (do_test): Likewise.
15082         * string/test-strrchr.c (do_one_test): Likewise.
15083         (do_test): Likewise.
15084         * string/test-strspn.c (do_one_test): Likewise.
15085         (do_test): Likewise.
15086         * string/test-strstr.c (do_one_test): Likewise.
15087         (do_test): Likewise.
15089         * benchtests/Makefile (string-bench): Add string benchmarks.
15090         * benchtests/bench-bcopy-ifunc.c: New file.
15091         * benchtests/bench-bcopy.c: New file.
15092         * benchtests/bench-bzero-ifunc.c: New file.
15093         * benchtests/bench-bzero.c: New file.
15094         * benchtests/bench-memccpy-ifunc.c: New file.
15095         * benchtests/bench-memccpy.c: New file.
15096         * benchtests/bench-memchr-ifunc.c: New file.
15097         * benchtests/bench-memchr.c: New file.
15098         * benchtests/bench-memcmp-ifunc.c: New file.
15099         * benchtests/bench-memcmp.c: New file.
15100         * benchtests/bench-memmem-ifunc.c: New file.
15101         * benchtests/bench-memmem.c: New file.
15102         * benchtests/bench-memmove-ifunc.c: New file.
15103         * benchtests/bench-memmove.c: New file.
15104         * benchtests/bench-mempcpy-ifunc.c: New file.
15105         * benchtests/bench-mempcpy.c: New file.
15106         * benchtests/bench-memset-ifunc.c: New file.
15107         * benchtests/bench-memset.c: New file.
15108         * benchtests/bench-rawmemchr-ifunc.c: New file.
15109         * benchtests/bench-rawmemchr.c: New file.
15110         * benchtests/bench-stpcpy-ifunc.c: New file.
15111         * benchtests/bench-stpcpy.c: New file.
15112         * benchtests/bench-stpncpy-ifunc.c: New file.
15113         * benchtests/bench-stpncpy.c: New file.
15114         * benchtests/bench-strcasecmp-ifunc.c: New file.
15115         * benchtests/bench-strcasecmp.c: New file.
15116         * benchtests/bench-strcasestr-ifunc.c: New file.
15117         * benchtests/bench-strcasestr.c: New file.
15118         * benchtests/bench-strcat-ifunc.c: New file.
15119         * benchtests/bench-strcat.c: New file.
15120         * benchtests/bench-strchr-ifunc.c: New file.
15121         * benchtests/bench-strchr.c: New file.
15122         * benchtests/bench-strchrnul-ifunc.c: New file.
15123         * benchtests/bench-strchrnul.c: New file.
15124         * benchtests/bench-strcmp-ifunc.c: New file.
15125         * benchtests/bench-strcmp.c: New file.
15126         * benchtests/bench-strcpy-ifunc.c: New file.
15127         * benchtests/bench-strcpy.c: New file.
15128         * benchtests/bench-strcspn-ifunc.c: New file.
15129         * benchtests/bench-strcspn.c: New file.
15130         * benchtests/bench-strlen-ifunc.c: New file.
15131         * benchtests/bench-strlen.c: New file.
15132         * benchtests/bench-strncasecmp-ifunc.c: New file.
15133         * benchtests/bench-strncasecmp.c: New file.
15134         * benchtests/bench-strncat-ifunc.c: New file.
15135         * benchtests/bench-strncat.c: New file.
15136         * benchtests/bench-strncmp-ifunc.c: New file.
15137         * benchtests/bench-strncmp.c: New file.
15138         * benchtests/bench-strncpy-ifunc.c: New file.
15139         * benchtests/bench-strncpy.c: New file.
15140         * benchtests/bench-strnlen-ifunc.c: New file.
15141         * benchtests/bench-strnlen.c: New file.
15142         * benchtests/bench-strpbrk-ifunc.c: New file.
15143         * benchtests/bench-strpbrk.c: New file.
15144         * benchtests/bench-strrchr-ifunc.c: New file.
15145         * benchtests/bench-strrchr.c: New file.
15146         * benchtests/bench-strspn-ifunc.c: New file.
15147         * benchtests/bench-strspn.c: New file.
15148         * benchtests/bench-strstr-ifunc.c: New file.
15149         * benchtests/bench-strstr.c: New file.
15151         * benchtests/Makefile: Disable parallel execution of targets.
15152         (string-bench): Add memcpy.
15153         (benchset): New variable to store a list of benchmark sets.
15154         (bench-func): Renamed from bench.
15155         (bench-set): New target.
15156         (bench): Depend on bench-func and bench-set.
15157         * benchtests/README: Add section on benchmark sets.
15158         * benchtests/bench-memcpy-ifunc.c: New file.
15159         * benchtests/bench-memcpy.c: New file.
15160         * benchtests/bench-string.h: New file.
15162 2013-06-11  Andreas Schwab  <schwab@suse.de>
15164         [BZ #15577]
15165         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15166         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15167         values in the triple.
15168         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15169         terminator in the group key.
15171 2013-06-11  Andreas Jaeger  <aj@suse.de>
15173         * po/zh_TW.po: Update Chinese (traditional) translation from
15174         translation project.
15176 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15178         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15179         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15180         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15181         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15182         (clock_getcpuclockid): Likewise.
15183         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15184         Add weak_alias and libc_hidden_def.
15185         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15186         * rt/clock_gettime.c (clock_gettime): Rename to
15187         __clock_gettime.  Add weak_alias and libc_hidden_def.
15188         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15189         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15190         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15191         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15192         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15193         Likewise.
15194         * rt/clock_settime.c (clock_settime): Rename to
15195         __clock_settime.  Add weak_alias and libc_hidden_def.
15196         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15198 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15200         * mach/err_boot.sub: Remove trailing whitespace.
15201         * mach/err_ipc.sub: Likewise.
15202         * mach/err_mach.sub: Likewise.
15204         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15205         (ROUNDING_TESTS_double): Likewise.
15206         (ROUNDING_TESTS_long_double): Likewise.
15207         (ROUNDING_TESTS): Likewise.
15208         * math/libm-test.inc: Include <math-tests.h>.
15209         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15210         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15211         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15212         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15214 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15216         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15217         of assigning.
15219 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15221         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15222         otherwise empty TRANS lines.
15223         * sysdeps/gnu/errlist.c: Regenerated.
15225         * catgets/gencat.c (error_print): Use (void) in function
15226         definition.
15227         * crypt/crypt_util.c (__init_des): Likewise.
15228         * crypt/speeds.c (Stop): Likewise.
15229         (main): Likewise.
15230         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15231         * inet/ruserpass.c (token): Likewise.
15232         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15233         * intl/localealias.c (extend_alias_table): Likewise.
15234         * intl/plural-exp.c (init_germanic_plural): Likewise.
15235         * libio/fcloseall.c (__fcloseall): Likewise.
15236         * libio/genops.c (_IO_flush_all): Likewise.
15237         (_IO_flush_all_linebuffered): Likewise.
15238         (_IO_cleanup): Likewise.
15239         (_IO_iter_begin): Likewise.
15240         (_IO_iter_end): Likewise.
15241         (_IO_list_lock): Likewise.
15242         (_IO_list_unlock): Likewise.
15243         (_IO_list_resetlock): Likewise.
15244         * libio/getchar.c (getchar): Likewise.
15245         * libio/getchar_u.c (getchar_unlocked): Likewise.
15246         * libio/getwchar.c (getwchar): Likewise.
15247         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15248         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15249         * login/getpt.c (__getpt): Likewise.
15250         * login/tst-utmp.c (main): Likewise.
15251         * malloc/hooks.c (__malloc_check_init): Likewise.
15252         * malloc/malloc.c (__malloc_stats): Likewise.
15253         * malloc/mtrace.c (tr_break): Likewise.
15254         (mtrace): Likewise.
15255         (muntrace): Likewise.
15256         * misc/fstab.c (endfsent): Likewise.
15257         * misc/getclktck.c (__getclktck): Likewise.
15258         * misc/getdtsz.c (__getdtablesize): Likewise.
15259         * misc/gethostid.c (gethostid): Likewise.
15260         * misc/getpagesize.c (__getpagesize): Likewise.
15261         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15262         (__get_nprocs): Likewise.
15263         (__get_phys_pages): Likewise.
15264         (__get_avphys_pages): Likewise.
15265         * misc/getttyent.c (getttyent): Likewise.
15266         (setttyent): Likewise.
15267         (endttyent): Likewise.
15268         * misc/getusershell.c (getusershell): Likewise.
15269         (endusershell): Likewise.
15270         (setusershell): Likewise.
15271         (initshells): Likewise.
15272         * misc/hsearch.c (__hdestroy): Likewise.
15273         * misc/sync.c (sync): Likewise.
15274         * misc/syslog.c (closelog_internal): Likewise.
15275         (closelog): Likewise.
15276         * misc/ttyslot.c (ttyslot): Likewise.
15277         * misc/vhangup.c (vhangup): Likewise.
15278         * posix/fork.c (__fork): Likewise.
15279         * posix/getegid.c (__getegid): Likewise.
15280         * posix/geteuid.c (__geteuid): Likewise.
15281         * posix/getgid.c (__getgid): Likewise.
15282         * posix/getpid.c (__getpid): Likewise.
15283         * posix/getppid.c (__getppid): Likewise.
15284         * posix/getuid.c (__getuid): Likewise.
15285         * posix/pause.c (pause): Likewise.
15286         * posix/setpgrp.c (setpgrp): Likewise.
15287         * posix/setsid.c (__setsid): Likewise.
15288         * posix/test-vfork.c (noop): Likewise.
15289         * resolv/gethnamaddr.c (_endhtent): Likewise.
15290         (_gethtent): Likewise.
15291         (ht_endhostent): Likewise.
15292         (gethostent): Likewise.
15293         (dns_service): Likewise.
15294         * stdlib/drand48.c (drand48): Likewise.
15295         * stdlib/lrand48.c (lrand48): Likewise.
15296         * stdlib/mrand48.c (mrand48): Likewise.
15297         * stdlib/rand.c (rand): Likewise.
15298         * stdlib/random.c (__random): Likewise.
15299         * stdlib/setenv.c (clearenv): Likewise.
15300         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15301         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15302         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15303         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15304         (__get_nprocs): Likewise.
15305         (__get_phys_pages): Likewise.
15306         (__get_avphys_pages): Likewise.
15307         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15308         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15309         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15310         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15311         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15312         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15313         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15314         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15315         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15316         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15317         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15318         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15319         * sysdeps/posix/clock.c (clock): Likewise.
15320         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15321         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15322         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15323         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15324         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15325         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15326         (__get_nprocs_conf): Likewise.
15327         (__get_phys_pages): Likewise.
15328         (__get_avphys_pages): Likewise.
15329         * time/clock.c (clock): Likewise.
15330         * time/tzset.c (__tzname_max): Likewise.
15332 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15334         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15335         (__bswap_32): Do not use "register".
15336         * crypt/crypt.c (_ufc_doit_r): Likewise.
15337         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15338         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15339         * gmon/gmon.c (__monstartup): Likewise.
15340         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15341         * hurd/hurdmalloc.c (more_memory): Likewise.
15342         (malloc): Likewise.
15343         (free): Likewise.
15344         (realloc): Likewise.
15345         (malloc_fork_prepare): Likewise.
15346         (malloc_fork_parent): Likewise.
15347         (malloc_fork_child): Likewise.
15348         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15349         (_svcauth_des): Likewise.
15350         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15351         * inet/inet_net.c (inet_network): Likewise.
15352         * inet/inet_netof.c (inet_netof): Likewise.
15353         * inet/rcmd.c (__validuser2_sa): Likewise.
15354         * io/fts.c (fts_open): Likewise.
15355         (fts_load): Likewise.
15356         (fts_close): Likewise.
15357         (fts_read): Likewise.
15358         (fts_children): Likewise.
15359         (fts_build): Likewise.
15360         (fts_stat): Likewise.
15361         (fts_sort): Likewise.
15362         (fts_alloc): Likewise.
15363         (fts_lfree): Likewise.
15364         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15365         (_IO_file_xsgetn): Likewise.
15366         (_IO_file_xsgetn_mmap): Likewise.
15367         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15368         (_IO_cookie_write): Likewise.
15369         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15370         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15371         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15372         * malloc/obstack.c (_obstack_begin): Likewise.
15373         (_obstack_begin_1): Likewise.
15374         (_obstack_newchunk): Likewise.
15375         (_obstack_allocated_p): Likewise.
15376         (obstack_free): Likewise.
15377         (_obstack_memory_used): Likewise.
15378         * misc/getttyent.c (getttynam): Likewise.
15379         (getttyent): Likewise.
15380         (skip): Likewise.
15381         (value): Likewise.
15382         * misc/getusershell.c (initshells): Likewise.
15383         * misc/syslog.c (__vsyslog_chk): Likewise.
15384         * misc/ttyslot.c (ttyslot): Likewise.
15385         * nis/nis_hash.c (__nis_hash): Likewise.
15386         * posix/fnmatch_loop.c (FCT): Likewise.
15387         * posix/getconf.c (print_all): Likewise.
15388         (main): Likewise.
15389         * posix/getopt.c (exchange): Likewise.
15390         * posix/glob.c (globfree): Likewise.
15391         (prefix_array): Likewise.
15392         (__glob_pattern_type): Likewise.
15393         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15394         (NS_GET32): Likewise.
15395         (NS_PUT16): Likewise.
15396         (NS_PUT32): Likewise.
15397         * resolv/gethnamaddr.c (getanswer): Likewise.
15398         (gethostbyname2): Likewise.
15399         (gethostbyaddr): Likewise.
15400         (_gethtent): Likewise.
15401         (_gethtbyname2): Likewise.
15402         (_gethtbyaddr): Likewise.
15403         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15404         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15405         * resolv/res_init.c (__res_vinit): Likewise.
15406         (net_mask): Likewise.
15407         * resolv/res_mkquery.c (outchar): Likewise.
15408         (PRINT): Likewise.
15409         * stdio-common/printf_fp.c (outchar): Likewise.
15410         (PRINT): Likewise.
15411         * stdio-common/printf_fphex.c (outchar): Likewise.
15412         (PRINT): Likewise.
15413         * stdio-common/printf_size.c (outchar): Likewise.
15414         (PRINT): Likewise.
15415         * stdio-common/test_rdwr.c (main): Likewise.
15416         * stdio-common/tfformat.c (matches): Likewise.
15417         * stdio-common/vfprintf.c (outchar): Likewise.
15418         (printf_unknown): Likewise.
15419         (buffered_vfprintf): Likewise.
15420         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15421         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15422         (ReadFile): Likewise.
15423         * stdlib/qsort.c (SWAP): Likewise.
15424         (_quicksort): Likewise.
15425         * stdlib/setenv.c (__add_to_environ): Likewise.
15426         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15427         * stdlib/strtol_l.c (__strtol_l): Likewise.
15428         * stdlib/tst-strtod.c (main): Likewise.
15429         * stdlib/tst-strtol.c (main): Likewise.
15430         * stdlib/tst-strtoll.c (main): Likewise.
15431         * string/bits/string2.h (__strcmp_cc): Likewise.
15432         (__strcmp_cg): Likewise.
15433         (__strcspn_c1): Likewise.
15434         (__strcspn_c2): Likewise.
15435         (__strcspn_c3): Likewise.
15436         (__strspn_c1): Likewise.
15437         (__strspn_c2): Likewise.
15438         (__strspn_c3): Likewise.
15439         (__strsep_1c): Likewise.
15440         (__strsep_2c): Likewise.
15441         (__strsep_3c): Likewise.
15442         * string/memccpy.c (__memccpy): Likewise.
15443         * string/stpcpy.c (__stpcpy): Likewise.
15444         * string/strcmp.c (strcmp): Likewise.
15445         * string/strrchr.c (strrchr): Likewise.
15446         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15447         Likewise.
15448         * sysdeps/mach/hurd/getcwd.c
15449         (_hurd_canonicalize_directory_name_internal): Likewise.
15450         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15451         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15452         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15453         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15454         Likewise, in both definitions.
15455         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15456         definitions.
15457         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15458         64] (__bswap_64): Likewise.
15459         * time/test_time.c (main): Likewise.
15460         * time/tzfile.c (__tzfile_read): Likewise.
15461         (__tzfile_compute): Likewise.
15462         * time/tzset.c (__tzset_parse_tz): Likewise.
15463         (tzset_internal): Likewise.
15464         (compute_change): Likewise.
15465         * wcsmbs/wcscat.c (__wcscat): Likewise.
15466         * wcsmbs/wcschr.c (wcschr): Likewise.
15467         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15468         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15469         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15470         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15471         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15472         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15473         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15474         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15475         * wcsmbs/wmemset.c (wmemset): Likewise.
15477 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15479         * scripts/config.guess: Update to version 2013-05-16.
15480         * scripts/config.sub: Update to version 2013-04-24.
15481         * scripts/install-sh: Update to version 2011-11-20.07.
15482         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15483         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15485 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15487         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15488         * elf/sln.c: Likewise.
15489         * hurd/hurd/ioctl.h: Likewise.
15490         * hurd/hurdmalloc.c: Likewise.
15491         * hurd/xattr.c: Likewise.
15492         * include/shlib-compat.h: Likewise.
15493         * inet/ruserpass.c: Likewise.
15494         * libio/iofgets_u.c: Likewise.
15495         * libio/iofgetws_u.c: Likewise.
15496         * locale/programs/ld-identification.c: Likewise.
15497         * locale/programs/ld-time.c: Likewise.
15498         * mach/msg-destroy.c: Likewise.
15499         * nss/nss_files/files-netgrp.c: Likewise.
15500         * resolv/res_data.c: Likewise.
15501         * soft-fp/op-1.h: Likewise.
15502         * soft-fp/op-2.h: Likewise.
15503         * soft-fp/op-4.h: Likewise.
15504         * soft-fp/op-common.h: Likewise.
15505         * stdio-common/printf_fphex.c: Likewise.
15506         * stdlib/strtod_l.c: Likewise.
15507         * sunrpc/rpc/clnt.h: Likewise.
15508         * sysdeps/generic/framestate.c: Likewise.
15509         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15510         * sysdeps/i386/bsd-setjmp.S: Likewise.
15511         * sysdeps/i386/__longjmp.S: Likewise.
15512         * sysdeps/i386/setjmp.S: Likewise.
15513         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15514         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15515         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15516         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15518         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15521         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15522         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15523         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15524         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15525         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15526         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15527         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15528         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15531         * sysdeps/ieee754/support.c: Likewise.
15532         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15533         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15534         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15535         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15536         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15537         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15538         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15539         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15540         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15541         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15542         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15543         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15544         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15545         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15546         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15547         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15548         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15551 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15553         * posix/transbug.c: Remove executable mode.
15555 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15557         * crypt/speeds.c: Remove trailing whitespace.
15558         * dlfcn/default.c: Likewise.
15559         * elf/ifuncdep2.c: Likewise.
15560         * elf/ifuncmain1.c: Likewise.
15561         * elf/ifuncmain1vis.c: Likewise.
15562         * elf/testobj.h: Likewise.
15563         * elf/tst-stackguard1.c: Likewise.
15564         * gmon/sys/gmon.h: Likewise.
15565         * hurd/hurdmsg.c: Likewise.
15566         * hurd/new-fd.c: Likewise.
15567         * hurd/ports-get.c: Likewise.
15568         * iconvdata/ibm1008_420.c: Likewise.
15569         * inet/tst-getni1.c: Likewise.
15570         * inet/tst-getni2.c: Likewise.
15571         * libio/ioungetc.c: Likewise.
15572         * libio/wfiledoalloc.c: Likewise.
15573         * manual/libm-err-tab.pl: Likewise.
15574         * math/w_dremf.c: Likewise.
15575         * misc/ftruncate.c: Likewise.
15576         * posix/bug-glob2.c: Likewise.
15577         * posix/tst-pcre.c: Likewise.
15578         * posix/wait4.c: Likewise.
15579         * resolv/README: Likewise.
15580         * resolv/res_debug.h: Likewise.
15581         * resolv/tst-inet_ntop.c: Likewise.
15582         * setjmp/bug269-setjmp.c: Likewise.
15583         * soft-fp/extended.h: Likewise.
15584         * soft-fp/op-1.h: Likewise.
15585         * soft-fp/op-2.h: Likewise.
15586         * soft-fp/op-4.h: Likewise.
15587         * soft-fp/op-8.h: Likewise.
15588         * soft-fp/testit.c: Likewise.
15589         * stdio-common/bug16.c: Likewise.
15590         * stdlib/random.c: Likewise.
15591         * sunrpc/rpcsvc/rquota.x: Likewise.
15592         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15593         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15594         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15595         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15596         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15597         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15598         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15599         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15600         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15601         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15602         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15603         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15605         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15606         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15607         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15608         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15609         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15610         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15611         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15612         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15613         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15614         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15620         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15621         * sysdeps/ieee754/s_lib_version.c: Likewise.
15622         * sysdeps/mach/hurd/check_fds.c: Likewise.
15623         * sysdeps/mach/hurd/getsockname.c: Likewise.
15624         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15625         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15626         * sysdeps/powerpc/bits/link.h: Likewise.
15627         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15628         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15629         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15630         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15631         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15632         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15633         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15634         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15635         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15636         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15637         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15638         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15639         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15640         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15641         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15642         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15643         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15646         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15647         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15648         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15649         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15650         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15651         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15652         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15653         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15654         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15655         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15657         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15659         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15660         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15661         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15662         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15663         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15664         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15665         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15666         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15667         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15668         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15669         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15670         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15671         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15672         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15673         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15674         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15675         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15676         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15677         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15679         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15680         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15681         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15682         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15683         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15684         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15685         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15686         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15687         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15688         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15689         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15690         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15691         * sysdeps/powerpc/sysdep.h: Likewise.
15692         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15693         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15694         * sysdeps/sh/dl-trampoline.S: Likewise.
15695         * sysdeps/sh/memset.S: Likewise.
15696         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15697         * sysdeps/sh/strlen.S: Likewise.
15698         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15699         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15700         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15701         * sysdeps/sparc/sparc32/rem.S: Likewise.
15702         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15703         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15704         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15705         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15706         * sysdeps/sparc/sparc32/urem.S: Likewise.
15707         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15708         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15709         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15710         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15711         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15712         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15713         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15714         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15715         * sysdeps/unix/bsd/times.c: Likewise.
15716         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15717         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15721         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15722         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15723         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15724         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15725         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15726         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15727         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15728         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15729         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15730         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15731         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15732         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15733         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15734         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15735         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15736         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15737         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15738         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15739         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15740         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15741         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15742         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15743         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15744         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15745         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15746         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15747         * sysdeps/x86_64/strcspn.S: Likewise.
15749 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15751         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15752         generated file.  Regenerate properly from gen-translit.pl.
15753         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15754         locale/C-translit.h.
15756 2013-06-05  Andreas Schwab  <schwab@suse.de>
15758         [BZ #15100]
15759         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15760         week as 6 instead of -1.
15761         * time/tst-strptime.c (day_tests): Add test case.
15763 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15765         * sysdeps/generic/math_private.h
15766         (libc_feholdexcept_setround_53bit): Replace with
15767         libc_feholdsetround_53bit.
15768         (libc_feupdateenv_53bit): Replace with
15769         libc_feresetround_53bit.
15770         (SET_RESTORE_ROUND_53BIT): Adjust.
15772 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15774         * string/test-strchrnul.c: Add copyright header.
15776         * posix/tst-getaddrinfo4.c: Increase test timeout.
15778 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15780         [BZ #15536]
15781         * math/libm-test.inc (MAX_EXP): Remove
15782         (MIN_EXP): Define.
15783         (ulp): Use MIN_EXP - MANT_DIG.
15784         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15786 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15788         * po/be.po: Revert last change.
15789         * po/zh_CN.po: Likewise.
15790         * po/header.pot: Likewise.
15792 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15794         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15795         link-libc-deps to empty as target-specific variable.
15796         * Makerules (link-libc-args): New variable.
15797         (libc-for-link): Likewise.
15798         (link-libc-deps): Likewise.
15799         (lib%.so): Depend on $(link-libc-deps).  Link with
15800         $(link-libc-args).
15801         (build-module): Link with $(link-libc-args).
15802         (build-module-asneeded): Likewise.
15803         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15804         list of objects.
15805         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15806         target-specific variable.
15807         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15808         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15809         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15810         libc.
15811         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15812         libc and ld.so.
15813         ($(objpfx)libpcprofile.so): Likewise.
15814         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15815         libc_nonshared.a.
15816         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15817         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15818         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15819         $(link-libc-deps).
15820         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15821         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15822         * login/Makefile ($(objpfx)libutil.so): Likewise.
15823         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15824         * math/Makefile ($(objpfx)libm.so): Likewise.
15825         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15826         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15827         variable instead of depending directly on libc.
15828         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15829         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15830         $(link-libc-deps).
15831         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15832         libc.
15833         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15834         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15835         ($(objpfx)libanl.so): Likewise.
15836         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15837         ld.so.
15838         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15839         $(link-libc-deps).
15840         * sysdeps/i386/fpu/Makefile: Remove file.
15841         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15842         ($(objpfx)libm.so): Remove dependency on ld.so.
15844 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15846         [BZ # 15553]
15847         * nis/yp_xdr.c (XDRMAXNAME): Define.
15848         (XDRMAXRECORD): Define.
15849         (xdr_domainname): Use XDRMAXNAME.
15850         (xdr_mapname): Likewise.
15851         (xdr_peername): Likewise.
15852         (xdr_keydat): Use XDRMAXRECORD.
15853         (xdr_valdat): Likewise.
15855 2013-05-30  Jeff Law  <law@redhat.com>
15857         [BZ #14256]
15858         * manual/errno.texi (ESTALE): Update to account for more than
15859         just NFS file systems.
15860         * sysdeps/gnu/errlist.c: Regenerated.
15862 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15864         [BZ #15465]
15865         * elf/Makefile (tests): Add tst-null-argv.
15866         (modules-names):  Add tst-null-argv-lib.
15867         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15868         (tst-null-argv-ENV): Set environment for tst-null-argv.
15869         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15870         (RTLD_PROGNAME): New macro.
15871         * elf/tst-null-argv.c: New test case.
15872         * elf/tst-null-argv-lib.c: Library for test case.
15873         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15874         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15875         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15876         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15877         * elf/dl-init.c (call_init): Likewise.
15878         (_dl_init): Likewise.
15879         * elf/dl-load.c (print_search_path): Likewise.
15880         (_dl_map_object): Likewise.
15881         * elf/dl-lookup.c (do_lookup_x): Likewise.
15882         (add_dependency): Likewise.
15883         (_dl_lookup_symbol_x): Likewise.
15884         (_dl_debug_bindings): Likewise.
15885         * elf/dl-open.c (_dl_show_scope): Likewise.
15886         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15887         * elf/dl-version.c (match_symbol): Likewise.
15888         (_dl_check_map_versions): Likewise.
15889         * elf/rtld.c (dl_main): Likewise.
15890         (print_unresolved): Use RTLD_PROGNAME.
15891         (print_missing_version): Likewise.
15892         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15893         (elf_machine_rela): Likewise.
15894         * sysdeps/powerpc/powerpc32/dl-machine.c
15895         (__process_machine_rela): Likewise.
15896         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15897         Likewise.
15898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15899         Likewise.
15900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15901         Likewise.
15902         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15904         Likewise.
15905         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15906         Likewise.
15907         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15909 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15911         * po/be.po: Add descriptive title.
15912         * po/zh_CN.po: Likewise.
15913         * po/header.pot: Likewise.
15915 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15917         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15918         error message.
15919         (enlarge_archive): Likewise.
15921 2013-05-28  Ben North  <ben@redfrontdoor.org>
15923         * manual/arith.texi (frexp): It is the magnitude of the return
15924         value which lies in [0.5, 1), not the return value itself.
15926 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15930 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15932         * stdio-common/bug26.c (main): Correct fscanf template.
15934         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15935         declare _dl_skip_args.
15937         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15938         Don't declare.
15940         * manual/platform.texi: Add missing @end deftypefun.
15942 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15944         [BZ #15529]
15945         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15946         bit of mantissa of 2^16382.
15947         * math/libm-test.inc (hypot_test_data): Add more tests.
15949         * math/libm-test.inc: Add drem and pow10 to list of tested
15950         functions.
15951         (pow10_test): New function.
15952         (drem_test): Likewise.
15953         (drem_test_tonearest): Likewise.
15954         (drem_test_towardzero): Likewise.
15955         (drem_test_downward): Likewise.
15956         (drem_test_upward): Likewise.
15957         (main): Call the new functions.
15959         * math/libm-test.inc (finite_test_data): Remove.
15960         (finite_test): Run tests from isfinite_test_data.
15961         (gamma_test_data): Remove.
15962         (gamma_test): Run tests from lgamma_test_data.
15963         * sysdeps/i386/fpu/libm-test-ulps: Update.
15964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15966 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15968         * manual/platform.texi: Add PowerPC PPR function set documentation.
15969         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15970         implementation.
15972 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15974         * math/libm-test.inc (MAX_EXP): Define.
15975         (ULPDIFF): Define.
15976         (ulp): New function.
15977         (check_float_internal): Use ULPDIFF.
15978         (cpow_test): Disable failing test.
15979         (check_ulp): Test ulp() implemetnation.
15980         (main): Call check_ulp before starting tests.
15982 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15984         * math/gen-libm-test.pl (generate_testfile): Do not handle
15985         START_DATA and END_DATA.
15986         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15987         END_DATA.
15988         (acos_tonearest_test_data): Likewise.
15989         (acos_towardzero_test_data): Likewise.
15990         (acos_downward_test_data): Likewise.
15991         (acos_upward_test_data): Likewise.
15992         (acosh_test_data): Likewise.
15993         (asin_test_data): Likewise.
15994         (asin_tonearest_test_data): Likewise.
15995         (asin_towardzero_test_data): Likewise.
15996         (asin_downward_test_data): Likewise.
15997         (asin_upward_test_data): Likewise.
15998         (asinh_test_data): Likewise.
15999         (atan_test_data): Likewise.
16000         (atanh_test_data): Likewise.
16001         (atan2_test_data): Likewise.
16002         (cabs_test_data): Likewise.
16003         (cacos_test_data): Likewise.
16004         (cacosh_test_data): Likewise.
16005         (carg_test_data): Likewise.
16006         (casin_test_data): Likewise.
16007         (casinh_test_data): Likewise.
16008         (catan_test_data): Likewise.
16009         (catanh_test_data): Likewise.
16010         (cbrt_test_data): Likewise.
16011         (ccos_test_data): Likewise.
16012         (ccosh_test_data): Likewise.
16013         (ceil_test_data): Likewise.
16014         (cexp_test_data): Likewise.
16015         (cimag_test_data): Likewise.
16016         (clog_test_data): Likewise.
16017         (clog10_test_data): Likewise.
16018         (conj_test_data): Likewise.
16019         (copysign_test_data): Likewise.
16020         (cos_test_data): Likewise.
16021         (cos_tonearest_test_data): Likewise.
16022         (cos_towardzero_test_data): Likewise.
16023         (cos_downward_test_data): Likewise.
16024         (cos_upward_test_data): Likewise.
16025         (cosh_test_data): Likewise.
16026         (cosh_tonearest_test_data): Likewise.
16027         (cosh_towardzero_test_data): Likewise.
16028         (cosh_downward_test_data): Likewise.
16029         (cosh_upward_test_data): Likewise.
16030         (cpow_test_data): Likewise.
16031         (cproj_test_data): Likewise.
16032         (creal_test_data): Likewise.
16033         (csin_test_data): Likewise.
16034         (csinh_test_data): Likewise.
16035         (csqrt_test_data): Likewise.
16036         (ctan_test_data): Likewise.
16037         (ctan_tonearest_test_data): Likewise.
16038         (ctan_towardzero_test_data): Likewise.
16039         (ctan_downward_test_data): Likewise.
16040         (ctan_upward_test_data): Likewise.
16041         (ctanh_test_data): Likewise.
16042         (ctanh_tonearest_test_data): Likewise.
16043         (ctanh_towardzero_test_data): Likewise.
16044         (ctanh_downward_test_data): Likewise.
16045         (ctanh_upward_test_data): Likewise.
16046         (erf_test_data): Likewise.
16047         (erfc_test_data): Likewise.
16048         (exp_test_data): Likewise.
16049         (exp_tonearest_test_data): Likewise.
16050         (exp_towardzero_test_data): Likewise.
16051         (exp_downward_test_data): Likewise.
16052         (exp_upward_test_data): Likewise.
16053         (exp10_test_data): Likewise.
16054         (exp2_test_data): Likewise.
16055         (expm1_test_data): Likewise.
16056         (fabs_test_data): Likewise.
16057         (fdim_test_data): Likewise.
16058         (finite_test_data): Likewise.
16059         (floor_test_data): Likewise.
16060         (fma_test_data): Likewise.
16061         (fma_towardzero_test_data): Likewise.
16062         (fma_downward_test_data): Likewise.
16063         (fma_upward_test_data): Likewise.
16064         (fmax_test_data): Likewise.
16065         (fmin_test_data): Likewise.
16066         (fmod_test_data): Likewise.
16067         (fpclassify_test_data): Likewise.
16068         (frexp_test_data): Likewise.
16069         (gamma_test_data): Likewise.
16070         (hypot_test_data): Likewise.
16071         (ilogb_test_data): Likewise.
16072         (isfinite_test_data): Likewise.
16073         (isgreater_test_data): Likewise.
16074         (isgreaterequal_test_data): Likewise.
16075         (isinf_test_data): Likewise.
16076         (isless_test_data): Likewise.
16077         (islessequal_test_data): Likewise.
16078         (islessgreater_test_data): Likewise.
16079         (isnan_test_data): Likewise.
16080         (isnormal_test_data): Likewise.
16081         (issignaling_test_data): Likewise.
16082         (isunordered_test_data): Likewise.
16083         (j0_test_data): Likewise.
16084         (j1_test_data): Likewise.
16085         (jn_test_data): Likewise.
16086         (ldexp_test_data): Likewise.
16087         (lgamma_test_data): Likewise.
16088         (lrint_test_data): Likewise.
16089         (lrint_tonearest_test_data): Likewise.
16090         (lrint_towardzero_test_data): Likewise.
16091         (lrint_downward_test_data): Likewise.
16092         (lrint_upward_test_data): Likewise.
16093         (llrint_test_data): Likewise.
16094         (llrint_tonearest_test_data): Likewise.
16095         (llrint_towardzero_test_data): Likewise.
16096         (llrint_downward_test_data): Likewise.
16097         (llrint_upward_test_data): Likewise.
16098         (log_test_data): Likewise.
16099         (log10_test_data): Likewise.
16100         (log1p_test_data): Likewise.
16101         (log2_test_data): Likewise.
16102         (logb_test_data): Likewise.
16103         (logb_downward_test_data): Likewise.
16104         (lround_test_data): Likewise.
16105         (llround_test_data): Likewise.
16106         (modf_test_data): Likewise.
16107         (nearbyint_test_data): Likewise.
16108         (nextafter_test_data): Likewise.
16109         (nexttoward_test_data): Likewise.
16110         (pow_test_data): Likewise.
16111         (pow_tonearest_test_data): Likewise.
16112         (pow_towardzero_test_data): Likewise.
16113         (pow_downward_test_data): Likewise.
16114         (pow_upward_test_data): Likewise.
16115         (remainder_test_data): Likewise.
16116         (remainder_tonearest_test_data): Likewise.
16117         (remainder_towardzero_test_data): Likewise.
16118         (remainder_downward_test_data): Likewise.
16119         (remainder_upward_test_data): Likewise.
16120         (remquo_test_data): Likewise.
16121         (rint_test_data): Likewise.
16122         (rint_tonearest_test_data): Likewise.
16123         (rint_towardzero_test_data): Likewise.
16124         (rint_downward_test_data): Likewise.
16125         (rint_upward_test_data): Likewise.
16126         (round_test_data): Likewise.
16127         (scalb_test_data): Likewise.
16128         (scalbn_test_data): Likewise.
16129         (scalbln_test_data): Likewise.
16130         (signbit_test_data): Likewise.
16131         (sin_test_data): Likewise.
16132         (sin_tonearest_test_data): Likewise.
16133         (sin_towardzero_test_data): Likewise.
16134         (sin_downward_test_data): Likewise.
16135         (sin_upward_test_data): Likewise.
16136         (sincos_test_data): Likewise.
16137         (sinh_test_data): Likewise.
16138         (sinh_tonearest_test_data): Likewise.
16139         (sinh_towardzero_test_data): Likewise.
16140         (sinh_downward_test_data): Likewise.
16141         (sinh_upward_test_data): Likewise.
16142         (sqrt_test_data): Likewise.
16143         (tan_test_data): Likewise.
16144         (tan_tonearest_test_data): Likewise.
16145         (tan_towardzero_test_data): Likewise.
16146         (tan_downward_test_data): Likewise.
16147         (tan_upward_test_data): Likewise.
16148         (tanh_test_data): Likewise.
16149         (tgamma_test_data): Likewise.
16150         (trunc_test_data): Likewise.
16151         (y0_test_data): Likewise.
16152         (y1_test_data): Likewise.
16153         (yn_test_data): Likewise.
16154         (significand_test_data): Likewise.
16156         * math/gen-libm-test.pl (@functions): Remove variable.
16157         (generate_testfile): Don't handle START and END lines.
16158         * math/libm-test.inc (START): New macro.
16159         (END): Likewise.
16160         (END_COMPLEX): Likewise.
16161         (acos_test): Use END macro without arguments.
16162         (acos_test_tonearest): Likewise.
16163         (acos_test_towardzero): Likewise.
16164         (acos_test_downward): Likewise.
16165         (acos_test_upward): Likewise.
16166         (acosh_test): Likewise.
16167         (asin_test): Likewise.
16168         (asin_test_tonearest): Likewise.
16169         (asin_test_towardzero): Likewise.
16170         (asin_test_downward): Likewise.
16171         (asin_test_upward): Likewise.
16172         (asinh_test): Likewise.
16173         (atan_test): Likewise.
16174         (atanh_test): Likewise.
16175         (atan2_test): Likewise.
16176         (cabs_test): Likewise.
16177         (cacos_test): Use END_COMPLEX macro without arguments.
16178         (cacosh_test): Likewise.
16179         (carg_test): Use END macro without arguments.
16180         (casin_test): Use END_COMPLEX macro without arguments.
16181         (casinh_test): Likewise.
16182         (catan_test): Likewise.
16183         (catanh_test): Likewise.
16184         (cbrt_test): Use END macro without arguments.
16185         (ccos_test): Use END_COMPLEX macro without arguments.
16186         (ccosh_test): Likewise.
16187         (ceil_test): Use END macro without arguments.
16188         (cexp_test): Use END_COMPLEX macro without arguments.
16189         (cimag_test): Use END macro without arguments.
16190         (clog_test): Use END_COMPLEX macro without arguments.
16191         (clog10_test): Likewise.
16192         (conj_test): Likewise.
16193         (copysign_test): Use END macro without arguments.
16194         (cos_test): Likewise.
16195         (cos_test_tonearest): Likewise.
16196         (cos_test_towardzero): Likewise.
16197         (cos_test_downward): Likewise.
16198         (cos_test_upward): Likewise.
16199         (cosh_test): Likewise.
16200         (cosh_test_tonearest): Likewise.
16201         (cosh_test_towardzero): Likewise.
16202         (cosh_test_downward): Likewise.
16203         (cosh_test_upward): Likewise.
16204         (cpow_test): Use END_COMPLEX macro without arguments.
16205         (cproj_test): Likewise.
16206         (creal_test): Use END macro without arguments.
16207         (csin_test): Use END_COMPLEX macro without arguments.
16208         (csinh_test): Likewise.
16209         (csqrt_test): Likewise.
16210         (ctan_test): Likewise.
16211         (ctan_test_tonearest): Likewise.
16212         (ctan_test_towardzero): Likewise.
16213         (ctan_test_downward): Likewise.
16214         (ctan_test_upward): Likewise.
16215         (ctanh_test): Likewise.
16216         (ctanh_test_tonearest): Likewise.
16217         (ctanh_test_towardzero): Likewise.
16218         (ctanh_test_downward): Likewise.
16219         (ctanh_test_upward): Likewise.
16220         (erf_test): Use END macro without arguments.
16221         (erfc_test): Likewise.
16222         (exp_test): Likewise.
16223         (exp_test_tonearest): Likewise.
16224         (exp_test_towardzero): Likewise.
16225         (exp_test_downward): Likewise.
16226         (exp_test_upward): Likewise.
16227         (exp10_test): Likewise.
16228         (exp2_test): Likewise.
16229         (expm1_test): Likewise.
16230         (fabs_test): Likewise.
16231         (fdim_test): Likewise.
16232         (finite_test): Likewise.
16233         (floor_test): Likewise.
16234         (fma_test): Likewise.
16235         (fma_test_towardzero): Likewise.
16236         (fma_test_downward): Likewise.
16237         (fma_test_upward): Likewise.
16238         (fmax_test): Likewise.
16239         (fmin_test): Likewise.
16240         (fmod_test): Likewise.
16241         (fpclassify_test): Likewise.
16242         (frexp_test): Likewise.
16243         (gamma_test): Likewise.
16244         (hypot_test): Likewise.
16245         (ilogb_test): Likewise.
16246         (isfinite_test): Likewise.
16247         (isgreater_test): Likewise.
16248         (isgreaterequal_test): Likewise.
16249         (isinf_test): Likewise.
16250         (isless_test): Likewise.
16251         (islessequal_test): Likewise.
16252         (islessgreater_test): Likewise.
16253         (isnan_test): Likewise.
16254         (isnormal_test): Likewise.
16255         (issignaling_test): Likewise.
16256         (isunordered_test): Likewise.
16257         (j0_test): Likewise.
16258         (j1_test): Likewise.
16259         (jn_test): Likewise.
16260         (ldexp_test): Likewise.
16261         (lgamma_test): Likewise.
16262         (lrint_test): Likewise.
16263         (lrint_test_tonearest): Likewise.
16264         (lrint_test_towardzero): Likewise.
16265         (lrint_test_downward): Likewise.
16266         (lrint_test_upward): Likewise.
16267         (llrint_test): Likewise.
16268         (llrint_test_tonearest): Likewise.
16269         (llrint_test_towardzero): Likewise.
16270         (llrint_test_downward): Likewise.
16271         (llrint_test_upward): Likewise.
16272         (log_test): Likewise.
16273         (log10_test): Likewise.
16274         (log1p_test): Likewise.
16275         (log2_test): Likewise.
16276         (logb_test): Likewise.
16277         (logb_test_downward): Likewise.
16278         (lround_test): Likewise.
16279         (llround_test): Likewise.
16280         (modf_test): Likewise.
16281         (nearbyint_test): Likewise.
16282         (nextafter_test): Likewise.
16283         (nexttoward_test): Likewise.
16284         (pow_test): Likewise.
16285         (pow_test_tonearest): Likewise.
16286         (pow_test_towardzero): Likewise.
16287         (pow_test_downward): Likewise.
16288         (pow_test_upward): Likewise.
16289         (remainder_test): Likewise.
16290         (remainder_test_tonearest): Likewise.
16291         (remainder_test_towardzero): Likewise.
16292         (remainder_test_downward): Likewise.
16293         (remainder_test_upward): Likewise.
16294         (remquo_test): Likewise.
16295         (rint_test): Likewise.
16296         (rint_test_tonearest): Likewise.
16297         (rint_test_towardzero): Likewise.
16298         (rint_test_downward): Likewise.
16299         (rint_test_upward): Likewise.
16300         (round_test): Likewise.
16301         (scalb_test): Likewise.
16302         (scalbn_test): Likewise.
16303         (scalbln_test): Likewise.
16304         (signbit_test): Likewise.
16305         (sin_test): Likewise.
16306         (sin_test_tonearest): Likewise.
16307         (sin_test_towardzero): Likewise.
16308         (sin_test_downward): Likewise.
16309         (sin_test_upward): Likewise.
16310         (sincos_test): Likewise.
16311         (sinh_test): Likewise.
16312         (sinh_test_tonearest): Likewise.
16313         (sinh_test_towardzero): Likewise.
16314         (sinh_test_downward): Likewise.
16315         (sinh_test_upward): Likewise.
16316         (sqrt_test): Likewise.
16317         (tan_test): Likewise.
16318         (tan_test_tonearest): Likewise.
16319         (tan_test_towardzero): Likewise.
16320         (tan_test_downward): Likewise.
16321         (tan_test_upward): Likewise.
16322         (tanh_test): Likewise.
16323         (tgamma_test): Likewise.
16324         (trunc_test): Likewise.
16325         (y0_test): Likewise.
16326         (y1_test): Likewise.
16327         (yn_test): Likewise.
16328         (significand_test): Likewise.
16330 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16332         [BZ #15381]
16333         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16335 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16337         [BZ #14894]
16338         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16339         __ppc_mdoio and __ppc_mdoom.
16340         * manual/platform.texi: Document new functions __ppc_yield,
16341         __ppc_mdoio and __ppc_mdoom.
16343 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16345         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16346         (main): Mention "tls" pseudo-hwcap is legacy.
16347         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16349 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16351         * math/gen-libm-test.pl (parse_args): Output only string of
16352         arguments as text for test name, not full call or descriptions of
16353         tests for extra outputs.
16354         (generate_testfile): Do not pass function name to parse_args.
16355         Generate this_func variable from START.
16356         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16357         field to arg_str.
16358         (struct test_ff_f_data): Likewise.
16359         (test_ff_f_data_nexttoward): Likewise.
16360         (struct test_fi_f_data): Likewise.
16361         (struct test_fl_f_data): Likewise.
16362         (struct test_if_f_data): Likewise.
16363         (struct test_fff_f_data): Likewise.
16364         (struct test_c_f_data): Likewise.
16365         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16366         (struct test_fF_f1_data): Likewise.
16367         (struct test_ffI_f1_data): Likewise.
16368         (struct test_c_c_data): Rename test_name field to arg_str.
16369         (struct test_cc_c_data): Likewise.
16370         (struct test_f_i_data): Likewise.
16371         (struct test_ff_i_data): Likewise.
16372         (struct test_f_l_data): Likewise.
16373         (struct test_f_L_data): Likewise.
16374         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16375         and extra2_name.
16376         (COMMON_TEST_SETUP): New macro.
16377         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16378         (COMMON_TEST_CLEANUP): Likewise.
16379         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16380         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16381         macros.
16382         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16383         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16384         macros.
16385         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16386         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16387         cleanup macros.
16388         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16389         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16390         macros.
16391         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16392         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16393         macros.
16394         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16395         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16396         cleanup macros.
16397         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16398         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16399         cleanup macros.
16400         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16401         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16402         cleanup macros.
16403         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16404         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16405         macros.
16406         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16407         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16408         macros.
16409         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16410         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16411         macros.
16412         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16413         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16414         cleanup macros.
16415         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16416         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16417         cleanup macros.
16418         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16419         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16420         macros.
16421         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16422         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16423         cleanup macros.
16424         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16425         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16426         macros.
16427         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16428         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16429         macros.
16430         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16431         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16432         cleanup macros.
16433         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16435 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16437         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16438         to _sifields.sigfault.
16439         (si_addr_lsb): Define new macro.
16440         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16441         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16442         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16444 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16446         [BZ #15441]
16447         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16448         returns -1.
16449         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16450         null return -1.
16451         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16452         loading the domain.
16454 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16456         * math/gen-libm-test.pl (parse_args): Do not include expected
16457         result in test name.
16458         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16459         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16460         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16461         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16462         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16465 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16467         * benchtests/Makefile: Sort function entries.
16469         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16470         tanh, asinh, acosh, atanh.
16471         * benchtests/acos-inputs: New file.
16472         * benchtests/acosh-inputs: New file.
16473         * benchtests/asin-inputs: New file.
16474         * benchtests/asinh-inputs: New file.
16475         * benchtests/atanh-inputs: New file.
16476         * benchtests/cosh-inputs: New file.
16477         * benchtests/log-inputs: New file.
16478         * benchtests/sinh-inputs: New file.
16479         * benchtests/tanh-inputs: New file.
16481 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16483         [BZ #15339]
16484         * posix/tst-getaddrinfo4.c: New test.
16485         * posix/Makefile (tests): Add it.
16487 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16489         [BZ #15339]
16490         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16491         when no services were used.
16492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16493         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16495 2013-05-21  Andreas Schwab  <schwab@suse.de>
16497         [BZ #15014]
16498         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16499         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16500         successful.
16501         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16502         redundant variable declarations and reallocation of buffer when
16503         parsing as IPv6 address.  Always set NSS status when called from
16504         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16505         buffer too small.  Correct computation of needed size.
16506         * nss/Makefile (tests): Add test-digits-dots.
16507         * nss/test-digits-dots.c: New test.
16509 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16511         * benchtests/Makefile: Remove instructions for adding
16512         benchmark tests.
16513         * benchtests/README: New file to explain how to execute and
16514         enhance the benchmark tests.
16516 2013-05-21  Andreas Schwab  <schwab@suse.de>
16518         [BZ #15493]
16519         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16520         * setjmp/tst-sigsetjmp.c: New test.
16522 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16524         * sysdeps/x86_64/memset.S (memset): New implementation.
16525         (__bzero): Likewise.
16526         (__memset_tail): New function.
16528 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16530         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16531         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16532         __memcpy_sse2_unaligned ifunc selection.
16533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16534         Add memcpy-sse2-unaligned.S.
16535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16536         Add: __memcpy_sse2_unaligned.
16538 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16540         [BZ #15490]
16541         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16542         math_force_eval before restoring floating-point envrionment.
16543         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16544         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16545         Likewise.
16546         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16547         <math_private.h>.
16548         (__nearbyintl): Use math_force_eval before restoring
16549         floating-point environment.
16550         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16552         * math/gen-libm-test.pl (special_functions): Remove.
16553         (parse_args): Don't handle TEST_extra.  Handle functions with no
16554         return value.
16555         * math/libm-test.inc (struct test_sincos_data): Replace with
16556         struct test_fFF_11_data.
16557         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16558         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16559         (sincos_test_data): Change element type to struct
16560         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16561         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16562         RUN_TEST_LOOP_sincos.
16563         * math/README.libm-test: Don't mention special handling of
16564         individual functions.
16565         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16566         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16567         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16568         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16569         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16572         * math/gen-libm-test.pl (get_variable): Remove function.
16573         (parse_args): Don't show pointer parameters to call in test
16574         names.  Use "extra output N" in test names for extra outputs
16575         rather than naming variables.
16577 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16579         [BZ #15488]
16580         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16581         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16582         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16583         double tests.
16584         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16585         disable.
16586         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16587         check_long_double.
16589         * math/gen-libm-test.pl (@tests): Remove variable.
16590         ($count): Likewise.
16591         (new_test): Remove function.
16592         (show_exceptions): New function.
16593         (special_functions): Use show_exceptions instead of new_test.
16594         (parse_args): Likewise.
16595         (generate_testfile): Pass only function name in generated call to
16596         print_max_error or print_complex_max_error.
16597         (get_ulps): Do not handle complex tests specially.
16598         (output_test): Rename to ...
16599         (get_all_ulps_for_test): ... this.  Return a string rather than
16600         printing to a file.  Require ulps to be present.
16601         (output_ulps): Generate arrays rather than #defines.
16602         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16603         (struct ulp_data): New type.
16604         (BUILD_COMPLEX_ULP): Remove macro.
16605         (compare_ulp_data): New function.
16606         (find_ulps): Likewise.
16607         (find_test_ulps): Likewise.
16608         (find_function_ulps): Likewise.
16609         (find_complex_function_ulps): Likewise.
16610         (print_max_error): Determine allowed ulps using
16611         find_function_ulps.
16612         (print_complex_max_error): Determine allowed ulps using
16613         find_complex_function_ulps.
16614         (check_float_internal): Determine max ulps using find_test_ulps.
16615         (check_float): Do not take max_ulp parameter.  Update call to
16616         check_float_internal.
16617         (check_complex): Likewise.
16618         (check_int): Do not take max_ulp parameter.
16619         (check_long): Likewise.
16620         (check_bool): Likewise.
16621         (check_longlong): Likewise.
16622         (struct test_f_f_data): Remove max_ulp field.
16623         (struct test_ff_f_data): Likewise.
16624         (struct test_ff_f_data_nexttoward): Likewise.
16625         (struct test_fi_f_data): Likewise.
16626         (struct test_fl_f_data): Likewise.
16627         (struct test_if_f_data): Likewise.
16628         (struct test_fff_f_data): Likewise.
16629         (struct test_c_f_data): Likewise.
16630         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16631         (struct test_fF_f1_data): Likewise.
16632         (struct test_ffI_f1_data): Likewise.
16633         (struct test_c_c_data): Remove max_ulp field.
16634         (struct test_cc_c_data): Likewise.
16635         (struct test_f_i_data): Likewise.
16636         (struct test_ff_i_data): Likewise.
16637         (struct test_f_l_data): Likewise.
16638         (struct test_f_L_data): Likewise.
16639         (struct test_sincos_data): Likewise.
16640         (RUN_TEST_f_f): Do not handle ulps.
16641         (RUN_TEST_LOOP_f_f): Likewise.
16642         (RUN_TEST_2_f): Likewise.
16643         (RUN_TEST_LOOP_2_f): Likewise.
16644         (RUN_TEST_fff_f): Likewise.
16645         (RUN_TEST_LOOP_fff_f): Likewise.
16646         (RUN_TEST_c_f): Likewise.
16647         (RUN_TEST_LOOP_c_f): Likewise.
16648         (RUN_TEST_f_f1): Likewise.
16649         (RUN_TEST_LOOP_f_f1): Likewise.
16650         (RUN_TEST_fF_f1): Likewise.
16651         (RUN_TEST_LOOP_fF_f1): Likewise.
16652         (RUN_TEST_fI_f1): Likewise.
16653         (RUN_TEST_LOOP_fI_f1): Likewise.
16654         (RUN_TEST_ffI_f1): Likewise.
16655         (RUN_TEST_LOOP_ffI_f1): Likewise.
16656         (RUN_TEST_c_c): Likewise.
16657         (RUN_TEST_LOOP_c_c): Likewise.
16658         (RUN_TEST_cc_c): Likewise.
16659         (RUN_TEST_LOOP_cc_c): Likewise.
16660         (RUN_TEST_f_i): Likewise.
16661         (RUN_TEST_LOOP_f_i): Likewise.
16662         (RUN_TEST_f_i_tg): Likewise.
16663         (RUN_TEST_LOOP_f_i_tg): Likewise.
16664         (RUN_TEST_ff_i_tg): Likewise.
16665         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16666         (RUN_TEST_f_b): Likewise.
16667         (RUN_TEST_LOOP_f_b): Likewise.
16668         (RUN_TEST_f_b_tg): Likewise.
16669         (RUN_TEST_LOOP_f_b_tg): Likewise.
16670         (RUN_TEST_f_l): Likewise.
16671         (RUN_TEST_LOOP_f_l): Likewise.
16672         (RUN_TEST_f_L): Likewise.
16673         (RUN_TEST_LOOP_f_L): Likewise.
16674         (RUN_TEST_sincos): Likewise.
16675         (RUN_TEST_LOOP_sincos): Likewise.
16677 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16679         [BZ #15480]
16680         [BZ #15485]
16681         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16682         main case of finite arguments, set rounding mode to FE_TONEAREST
16683         and discard exceptions.
16684         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16685         exceptions.
16686         (remainder_tonearest_test_data): New variable.
16687         (remainder_test_tonearest): New function.
16688         (remainder_towardzero_test_data): New variable.
16689         (remainder_test_towardzero): New function.
16690         (remainder_downward_test_data): New variable.
16691         (remainder_test_downward): New function.
16692         (remainder_upward_test_data): New variable.
16693         (remainder_test_upward): New function.
16694         (main): Call the new test functions.
16696         * math/libm-test.inc (struct test_f_f1_data): Remove field
16697         extra_init.
16698         (struct test_fF_f1_data): Likewise.
16699         (struct test_ffI_f1_data): Likewise.
16700         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16701         based on value of EXTRA_EXPECTED.
16702         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16703         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16704         EXTRA_VAR based on value of EXTRA_EXPECTED.
16705         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16706         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16707         EXTRA_VAR based on value of EXTRA_EXPECTED.
16708         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16709         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16710         EXTRA_VAR based on value of EXTRA_EXPECTED.
16711         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16712         * math/gen-libm-test.pl (parse_args): Don't output initializers
16713         for extra output values.
16715         * math/libm-test.inc (check_int): Expect result to be exactly
16716         equal to expected value and do not handle ulps.
16717         (check_long): Likewise.
16718         (check_longlong): Likewise.
16720         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16721         exceptions.
16722         (cimag_test_data): Likewise.
16723         (conj_test_data): Likewise.
16724         (copysign_test_data): Likewise.
16725         (cproj_test_data): Likewise.
16726         (creal_test_data): Likewise.
16727         (fabs_test_data): Likewise.
16728         (fdim_test_data): Likewise.
16729         (finite_test_data): Likewise.
16730         (floor_test_data): Likewise.
16731         (fmax_test_data): Likewise.
16732         (fmin_test_data): Likewise.
16733         (fmod_test_data): Likewise.
16734         (fpclassify_test_data): Likewise.
16735         (frexp_test_data): Likewise.
16736         (ilogb_test_data): Likewise.
16737         (isfinite_test_data): Likewise.
16738         (isgreater_test_data): Likewise.
16739         (isgreaterequal_test_data): Likewise.
16740         (isinf_test_data): Likewise.
16741         (isless_test_data): Likewise.
16742         (islessequal_test_data): Likewise.
16743         (islessgreater_test_data): Likewise.
16744         (isnan_test_data): Likewise.
16745         (isnormal_test_data): Likewise.
16746         (issignaling_test_data): Likewise.
16747         (isunordered_test_data): Likewise.
16748         (ldexp_test_data): Likewise.
16749         (lrint_test_data): Likewise.
16750         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16751         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16752         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16753         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16754         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16755         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16756         test input.
16757         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16758         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16759         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16760         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16761         that test input.
16762         (lrint_downward_test_data): Test for "inexact" exceptions.
16763         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16764         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16765         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16766         test input.
16767         (lrint_upward_test_data): Test for "inexact" exceptions.
16768         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16769         test input.
16770         (llrint_test_data): Test for "inexact" exceptions.
16771         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16772         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16773         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16774         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16775         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16776         (llrint_downward_test_data): Test for "inexact" exceptions.
16777         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16778         (llrint_upward_test_data): Test for "inexact" exceptions.
16779         (logb_test_data): Likewise.
16780         (logb_downward_test_data): Likewise.
16781         (nextafter_test_data): Likewise.
16782         (nexttoward_test_data): Likewise.
16783         (remainder_test_data): Likewise.
16784         (remquo_test_data): Likewise.
16785         (scalbn_test_data): Likewise.
16786         (scalbln_test_data): Likewise.
16787         (signbit_test_data): Likewise.
16788         (sqrt_test_data): Likewise.
16789         (significand_test_data): Likewise.
16791 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16793         [BZ #15424]
16794         * benchtests/bench-modf.c (struct args): Mark arg0 as
16795         volatile.
16796         * scripts/bench.pl: Mark members of struct args as volatile.
16798 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16800         [BZ # 15497]
16801         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16802         negative infinity on POWER6 or lower.
16803         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16805 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16807         [BZ #15442]
16808         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16809         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16810         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16811         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16812         (_FP_SETQNAN): New macro.
16813         (_FP_SETQNAN_SEMIRAW): Likewise.
16814         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16815         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16816         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16817         (FP_EXTEND): Use _FP_FRAC_SNANP.
16818         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16819         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16820         into account.
16821         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16822         New macro.
16823         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16824         Likewise.
16826 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16828         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16829         with DIVIDE_BY_ZERO_EXCEPTION.
16830         (gamma_test_data): Likewise.
16831         (lgamma_test_data): Likewise.
16832         (log_test_data): Likewise.
16833         (log10_test_data): Likewise.
16834         (log2_test_data): Likewise.
16835         (tgamma_test_data): Likewise.
16837         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16838         (acos_test_tonearest): Likewise.
16839         (acos_test_towardzero): Likewise.
16840         (acos_test_downward): Likewise.
16841         (acos_test_upward): Likewise.
16842         (acosh_test): Likewise.
16843         (asin_test): Likewise.
16844         (asin_test_tonearest): Likewise.
16845         (asin_test_towardzero): Likewise.
16846         (asin_test_downward): Likewise.
16847         (asin_test_upward): Likewise.
16848         (asinh_test): Likewise.
16849         (atan_test): Likewise.
16850         (atanh_test): Likewise.
16851         (atan2_test): Likewise.
16852         (cabs_test): Likewise.
16853         (cacos_test): Likewise.
16854         (cacosh_test): Likewise.
16855         (casin_test): Likewise.
16856         (casinh_test): Likewise.
16857         (catan_test): Likewise.
16858         (catanh_test): Likewise.
16859         (cbrt_test): Likewise.
16860         (ccos_test): Likewise.
16861         (ccosh_test): Likewise.
16862         (cexp_test): Likewise.
16863         (clog_test): Likewise.
16864         (clog10_test): Likewise.
16865         (cos_test): Likewise.
16866         (cos_test_tonearest): Likewise.
16867         (cos_test_towardzero): Likewise.
16868         (cos_test_downward): Likewise.
16869         (cos_test_upward): Likewise.
16870         (cosh_test): Likewise.
16871         (cosh_test_tonearest): Likewise.
16872         (cosh_test_towardzero): Likewise.
16873         (cosh_test_downward): Likewise.
16874         (cosh_test_upward): Likewise.
16875         (cpow_test): Likewise.
16876         (csin_test): Likewise.
16877         (csinh_test): Likewise.
16878         (csqrt_test): Likewise.
16879         (ctan_test): Likewise.
16880         (ctan_test_tonearest): Likewise.
16881         (ctan_test_towardzero): Likewise.
16882         (ctan_test_downward): Likewise.
16883         (ctan_test_upward): Likewise.
16884         (ctanh_test): Likewise.
16885         (ctanh_test_tonearest): Likewise.
16886         (ctanh_test_towardzero): Likewise.
16887         (ctanh_test_downward): Likewise.
16888         (ctanh_test_upward): Likewise.
16889         (erf_test): Likewise.
16890         (erfc_test): Likewise.
16891         (exp_test): Likewise.
16892         (exp_test_tonearest): Likewise.
16893         (exp_test_towardzero): Likewise.
16894         (exp_test_downward): Likewise.
16895         (exp_test_upward): Likewise.
16896         (exp10_test): Likewise.
16897         (exp2_test): Likewise.
16898         (expm1_test): Likewise.
16899         (fmod_test): Likewise.
16900         (gamma_test): Likewise.
16901         (hypot_test): Likewise.
16902         (j0_test): Likewise.
16903         (j1_test): Likewise.
16904         (jn_test): Likewise.
16905         (lgamma_test): Likewise.
16906         (log_test): Likewise.
16907         (log10_test): Likewise.
16908         (log1p_test): Likewise.
16909         (log2_test): Likewise.
16910         (logb_test_downward): Likewise.
16911         (pow_test): Likewise.
16912         (pow_test_tonearest): Likewise.
16913         (pow_test_towardzero): Likewise.
16914         (pow_test_downward): Likewise.
16915         (pow_test_upward): Likewise.
16916         (remainder_test): Likewise.
16917         (remquo_test): Likewise.
16918         (sin_test): Likewise.
16919         (sin_test_tonearest): Likewise.
16920         (sin_test_towardzero): Likewise.
16921         (sin_test_downward): Likewise.
16922         (sin_test_upward): Likewise.
16923         (sincos_test): Likewise.
16924         (sinh_test): Likewise.
16925         (sinh_test_tonearest): Likewise.
16926         (sinh_test_towardzero): Likewise.
16927         (sinh_test_downward): Likewise.
16928         (sinh_test_upward): Likewise.
16929         (sqrt_test): Likewise.
16930         (tan_test): Likewise.
16931         (tan_test_tonearest): Likewise.
16932         (tan_test_towardzero): Likewise.
16933         (tan_test_downward): Likewise.
16934         (tan_test_upward): Likewise.
16935         (tanh_test): Likewise.
16936         (tgamma_test): Likewise.
16937         (y0_test): Likewise.
16938         (y1_test): Likewise.
16939         (yn_test): Likewise.
16941         * math/gen-libm-test.pl (adjust_arg): Remove function.
16942         (special_function): Remove argument $in_func.  Only handle
16943         generating output for tables of tests, not inside functions.
16944         (parse_args): Likewise.
16945         (generate_testfile): Remove variable $in_func.  Update call to
16946         parse_args.
16947         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16948         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16949         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16950         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16951         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16952         (MAX_VALUE_INIT): Rename macro to max_value.
16953         (MIN_VALUE_INIT): Rename macro to min_value.
16954         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16955         (plus_zero): Remove variable.
16956         (minus_zero): Likewise.
16957         (plus_infty): Likewise.
16958         (minus_infty): Likewise.
16959         (qnan_value): Likewise.
16960         (max_value): Likewise.
16961         (min_value): Likewise.
16962         (min_subnorm_value): Likewise.
16964 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16966         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16967         uint64_t or uint32_t usage.
16968         * crypt/sha256-block.c: Likewise.
16969         * crypt/sha256-crypt.c: Likewise.
16970         * crypt/sha256.c: Likewise.
16971         * crypt/sha512-block.c: Likewise.
16972         * crypt/sha512-crypt.c: Likewise.
16973         * crypt/sha512.c: Likewise.
16974         * debug/backtrace-tst.c: Likewise.
16975         * debug/pcprofiledump.c: Likewise.
16976         * elf/cache.c: Likewise.
16977         * elf/dl-cache.c: Likewise.
16978         * elf/dl-misc.c: Likewise.
16979         * elf/dl-profile.c: Likewise.
16980         * elf/dl-support.c: Likewise.
16981         * elf/ldconfig.c: Likewise.
16982         * elf/sprof.c: Likewise.
16983         * iconv/dummy-repertoire.c: Likewise.
16984         * iconv/iconv_charmap.c: Likewise.
16985         * iconv/skeleton.c: Likewise.
16986         * iconvdata/8bit-generic.c: Likewise.
16987         * iconvdata/cp737.h: Likewise.
16988         * iconvdata/cp775.h: Likewise.
16989         * iconvdata/ibm1008.h: Likewise.
16990         * iconvdata/ibm1025.h: Likewise.
16991         * iconvdata/ibm1046.h: Likewise.
16992         * iconvdata/ibm1097.h: Likewise.
16993         * iconvdata/ibm1112.h: Likewise.
16994         * iconvdata/ibm1122.h: Likewise.
16995         * iconvdata/ibm1123.h: Likewise.
16996         * iconvdata/ibm1124.h: Likewise.
16997         * iconvdata/ibm1129.h: Likewise.
16998         * iconvdata/ibm1130.h: Likewise.
16999         * iconvdata/ibm1132.h: Likewise.
17000         * iconvdata/ibm1133.h: Likewise.
17001         * iconvdata/ibm1137.h: Likewise.
17002         * iconvdata/ibm1140.h: Likewise.
17003         * iconvdata/ibm1141.h: Likewise.
17004         * iconvdata/ibm1142.h: Likewise.
17005         * iconvdata/ibm1143.h: Likewise.
17006         * iconvdata/ibm1144.h: Likewise.
17007         * iconvdata/ibm1145.h: Likewise.
17008         * iconvdata/ibm1146.h: Likewise.
17009         * iconvdata/ibm1147.h: Likewise.
17010         * iconvdata/ibm1148.h: Likewise.
17011         * iconvdata/ibm1149.h: Likewise.
17012         * iconvdata/ibm1153.h: Likewise.
17013         * iconvdata/ibm1154.h: Likewise.
17014         * iconvdata/ibm1155.h: Likewise.
17015         * iconvdata/ibm1156.h: Likewise.
17016         * iconvdata/ibm1157.h: Likewise.
17017         * iconvdata/ibm1158.h: Likewise.
17018         * iconvdata/ibm1160.h: Likewise.
17019         * iconvdata/ibm1161.h: Likewise.
17020         * iconvdata/ibm1162.h: Likewise.
17021         * iconvdata/ibm1163.h: Likewise.
17022         * iconvdata/ibm1164.h: Likewise.
17023         * iconvdata/ibm1166.h: Likewise.
17024         * iconvdata/ibm1167.h: Likewise.
17025         * iconvdata/ibm12712.h: Likewise.
17026         * iconvdata/ibm1390.h: Likewise.
17027         * iconvdata/ibm1399.h: Likewise.
17028         * iconvdata/ibm16804.h: Likewise.
17029         * iconvdata/ibm4517.h: Likewise.
17030         * iconvdata/ibm4899.h: Likewise.
17031         * iconvdata/ibm4909.h: Likewise.
17032         * iconvdata/ibm4971.h: Likewise.
17033         * iconvdata/ibm5347.h: Likewise.
17034         * iconvdata/ibm803.h: Likewise.
17035         * iconvdata/ibm856.h: Likewise.
17036         * iconvdata/ibm901.h: Likewise.
17037         * iconvdata/ibm902.h: Likewise.
17038         * iconvdata/ibm9030.h: Likewise.
17039         * iconvdata/ibm9066.h: Likewise.
17040         * iconvdata/ibm921.h: Likewise.
17041         * iconvdata/ibm922.h: Likewise.
17042         * iconvdata/ibm9448.h: Likewise.
17043         * iconvdata/isiri-3342.h: Likewise.
17044         * iconvdata/jis0201.h: Likewise.
17045         * include/link.h: Likewise.
17046         * include/netdb.h: Likewise.
17047         * inet/check_native.c: Likewise.
17048         * inet/check_pf.c: Likewise.
17049         * inet/getipv4sourcefilter.c: Likewise.
17050         * inet/getnameinfo.c: Likewise.
17051         * inet/getsourcefilter.c: Likewise.
17052         * inet/htonl.c: Likewise.
17053         * inet/setipv4sourcefilter.c: Likewise.
17054         * inet/setsourcefilter.c: Likewise.
17055         * inet/test-inet6_opt.c: Likewise.
17056         * inet/tst-network.c: Likewise.
17057         * locale/C-collate.c: Likewise.
17058         * locale/C-ctype.c: Likewise.
17059         * locale/C-time.c: Likewise.
17060         * locale/C-translit.h: Likewise.
17061         * locale/loadarchive.c: Likewise.
17062         * locale/programs/3level.h: Likewise.
17063         * locale/programs/charmap.c: Likewise.
17064         * locale/programs/charmap.h: Likewise.
17065         * locale/programs/ld-address.c: Likewise.
17066         * locale/programs/ld-collate.c: Likewise.
17067         * locale/programs/ld-ctype.c: Likewise.
17068         * locale/programs/ld-identification.c: Likewise.
17069         * locale/programs/ld-measurement.c: Likewise.
17070         * locale/programs/ld-messages.c: Likewise.
17071         * locale/programs/ld-monetary.c: Likewise.
17072         * locale/programs/ld-name.c: Likewise.
17073         * locale/programs/ld-numeric.c: Likewise.
17074         * locale/programs/ld-paper.c: Likewise.
17075         * locale/programs/ld-telephone.c: Likewise.
17076         * locale/programs/ld-time.c: Likewise.
17077         * locale/programs/linereader.c: Likewise.
17078         * locale/programs/locale.c: Likewise.
17079         * locale/programs/locarchive.c: Likewise.
17080         * locale/programs/locfile.h: Likewise.
17081         * locale/programs/repertoire.c: Likewise.
17082         * locale/programs/simple-hash.c: Likewise.
17083         * locale/programs/simple-hash.h: Likewise.
17084         * malloc/memusage.c: Likewise.
17085         * malloc/memusagestat.c: Likewise.
17086         * nis/nis_defaults.c: Likewise.
17087         * nis/nis_hash.c: Likewise.
17088         * nis/nis_print.c: Likewise.
17089         * nis/nis_xdr.c: Likewise.
17090         * nscd/connections.c: Likewise.
17091         * nscd/hstcache.c: Likewise.
17092         * nscd/nscd_gethst_r.c: Likewise.
17093         * nscd/nscd_getserv_r.c: Likewise.
17094         * nscd/nscd_helper.c: Likewise.
17095         * nscd/servicescache.c: Likewise.
17096         * nss/makedb.c: Likewise.
17097         * nss/nss_db/db-XXX.c: Likewise.
17098         * nss/nss_db/db-initgroups.c: Likewise.
17099         * nss/nss_db/db-netgrp.c: Likewise.
17100         * nss/nss_files/files-network.c: Likewise.
17101         * nss/nss_files/files-parse.c: Likewise.
17102         * posix/bug-regex5.c: Likewise.
17103         * posix/fnmatch_loop.c: Likewise.
17104         * posix/regcomp.c: Likewise.
17105         * posix/regexec.c: Likewise.
17106         * posix/tst-rfc3484-2.c: Likewise.
17107         * posix/tst-rfc3484-3.c: Likewise.
17108         * posix/tst-rfc3484.c: Likewise.
17109         * resolv/nss_dns/dns-canon.c: Likewise.
17110         * resolv/nss_dns/dns-network.c: Likewise.
17111         * resolv/res_init.c: Likewise.
17112         * resolv/res_mkquery.c: Likewise.
17113         * resolv/tst-aton.c: Likewise.
17114         * stdlib/cxa_atexit.c: Likewise.
17115         * stdlib/cxa_finalize.c: Likewise.
17116         * stdlib/gen-fpioconst.c: Likewise.
17117         * stdlib/strtol_l.c: Likewise.
17118         * string/tst-endian.c: Likewise.
17119         * sunrpc/auth_des.c: Likewise.
17120         * sunrpc/clnt_udp.c: Likewise.
17121         * sunrpc/rtime.c: Likewise.
17122         * sunrpc/svcauth_des.c: Likewise.
17123         * sunrpc/xdr.c: Likewise.
17124         * sunrpc/xdr_intXX_t.c: Likewise.
17125         * sunrpc/xdr_rec.c: Likewise.
17126         * sysdeps/generic/ldconfig.h: Likewise.
17127         * sysdeps/generic/ldsodefs.h: Likewise.
17128         * sysdeps/generic/memusage.h: Likewise.
17129         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17130         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17131         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17132         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17133         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17134         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17135         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17136         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17137         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17138         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17139         * sysdeps/posix/getaddrinfo.c: Likewise.
17140         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17141         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17142         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17143         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17144         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17145         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17146         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17147         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17148         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17149         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17150         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17151         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17152         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17153         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17154         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17155         * sysdeps/x86_64/dl-tls.h: Likewise.
17156         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17157         * time/alt_digit.c: Likewise.
17158         * time/era.c: Likewise.
17159         * wcsmbs/tst-c16c32-1.c: Likewise.
17161 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17163         * math/libm-test.inc (struct test_sincos_data): New type.
17164         (RUN_TEST_LOOP_sincos): New macro.
17165         (sincos_test_data): New variable.
17166         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17168 2013-05-16  Richard Henderson  <rth@redhat.com>
17170         * math/atest-exp2.c (LIMB64): New macro.
17171         (CONSTSZ): New macro.
17172         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17173         (hexdig): Move ...
17174         (print_mpn_fp): ... to function scope.
17175         (read_mpn_hex): Remove.
17176         (get_log2): Remove.
17177         (exp2_mpn): Use mp_log2.
17178         (main): Use mp_exp1.
17180 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17182         * math/libm-test.inc: Remove comment about not testing "inexact"
17183         exceptions.
17184         (INEXACT_EXCEPTION): New macro.
17185         (NO_INEXACT_EXCEPTION): Likewise.
17186         (INVALID_EXCEPTION_OK): Update value.
17187         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17188         (OVERFLOW_EXCEPTION_OK): Likewise.
17189         (UNDERFLOW_EXCEPTION_OK): Likewise.
17190         (IGNORE_ZERO_INF_SIGN): Likewise.
17191         (ERRNO_UNCHANGED): Likewise.
17192         (ERRNO_EDOM): Likewise.
17193         (ERRNO_ERANGE): Likewise.
17194         (test_exceptions): Handle testing "inexact" exceptions.
17195         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17196         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17197         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17198         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17199         INEXACT_EXCEPTION.
17200         (rint_towardzero_test_data): Likewise.
17201         (rint_downward_test_data): Likewise.
17202         (rint_upward_test_data): Likewise.
17204         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17205         with OVERFLOW_EXCEPTION.
17206         (exp10_test_data): Likewise.
17207         (exp2_test_data): Likewise.
17208         (expm1_test_data): Likewise.
17209         (lgamma_test_data): Likewise.
17210         (pow_test_data): Likewise.
17211         (tgamma_test_data): Likewise.
17212         (yn_test_data): Remove duplicate test of overflow.
17214         * math/libm-test.inc (struct test_cc_c_data): New type.
17215         (RUN_TEST_LOOP_cc_c): New macro.
17216         (cpow_test_data): New variable.
17217         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17219         * math/libm-test.inc (struct test_f_L_data): New type.
17220         (RUN_TEST_LOOP_f_L): New macro.
17221         (llrint_test_data): New variable.
17222         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17223         (llrint_tonearest_test_data): New variable.
17224         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17225         (llrint_towardzero_test_data): New variable.
17226         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17227         (llrint_downward_test_data): New variable.
17228         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17229         (llrint_upward_test_data): New variable.
17230         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17231         (llround_test_data): New variable.
17232         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17234 2013-05-13  Peter Collingbourne  <pcc@google.com>
17236         * math/atest-exp2.c (get_log2): Remove const attribute.
17238 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17240         * math/libm-test.inc (struct test_f_l_data): New type.
17241         (RUN_TEST_LOOP_f_l): New macro.
17242         (lrint_test_data): New variable.
17243         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17244         (lrint_tonearest_test_data): New variable.
17245         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17246         (lrint_towardzero_test_data): New variable.
17247         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17248         (lrint_downward_test_data): New variable.
17249         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17250         (lrint_upward_test_data): New variable.
17251         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17252         (lround_test_data): New variable.
17253         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17255 2013-05-15  Peter Collingbourne  <pcc@google.com>
17257         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17258         (EXTRACT_WORDS64) Use where appropriate.
17259         (INSERT_WORDS64) Likewise.
17261         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17262         constraints with x constraints.
17263         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17265         * malloc/obstack.c (_obstack_compat): Add initializer.
17267 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17269         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17270         si_trapno and add si_addr_lsb to _sifields.sigfault.
17271         (si_trapno): Remove macro.
17272         (si_addr_lsb): Define new macro.
17273         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17275 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17277         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17278         instead of TEST_f_l.
17279         (llrint_test_tonearest): Likewise.
17280         (llrint_test_towardzero): Likewise.
17281         (llrint_test_downward): Likewise.
17282         (llrint_test_upward): Likewise.
17283         (llround_test): Likewise.
17285         * math/libm-test.inc (struct test_f_i_data): Add comment.
17286         (RUN_TEST_LOOP_f_b): New macro.
17287         (RUN_TEST_LOOP_f_b_tg): Likewise.
17288         (finite_test_data): New variable.
17289         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17290         (isfinite_test_data): New variable.
17291         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17292         (isinf_test_data): New variable.
17293         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17294         (isnan_test_data): New variable.
17295         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17296         (isnormal_test_data): New variable.
17297         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17298         (issignaling_test_data): New variable.
17299         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17300         (signbit_test_data): New variable.
17301         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17303         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17304         with INVALID_EXCEPTION.
17305         (acosh_test_data): Likewise.
17306         (asin_test_data): Likewise.
17307         (atanh_test_data): Likewise.
17308         (fmod_test_data): Likewise.
17309         (log_test_data): Likewise.
17310         (log10_test_data): Likewise.
17311         (log2_test_data): Likewise.
17312         (pow_test_data): Likewise.
17313         (sqrt_test_data): Likewise.
17314         (y0_test_data): Likewise.
17315         (y1_test_data): Likewise.
17316         (yn_test_data): Likewise.
17318         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17319         function contents.
17321         * math/libm-test.inc (struct test_ff_i_data): New type.
17322         (RUN_TEST_LOOP_ff_i_tg): New macro.
17323         (isgreater_test_data): New variable.
17324         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17325         (isgreaterequal_test_data): New variable.
17326         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17327         (isless_test_data): New variable.
17328         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17329         (islessequal_test_data): New variable.
17330         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17331         (islessgreater_test_data): New variable.
17332         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17333         (isunordered_test_data): New variable.
17334         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17336 2013-05-14  David S. Miller  <davem@davemloft.net>
17338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17340 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17342         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17344         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17345         extra_test to int.
17346         (struct test_f_i_data): Change type of max_ulp to int.
17348         * math/libm-test.inc (test_ffI_f1_data): New type.
17349         (RUN_TEST_LOOP_ffI_f1): New macro.
17350         (remquo_test_data): New variable.
17351         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17353         * setjmp/tst-setjmp-fp.c: New file.
17354         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17355         (link-libm): New variable.
17356         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17358         * math/libm-test.inc (struct test_f_i_data): New type.
17359         (RUN_TEST_LOOP_f_i): New macro.
17360         (RUN_TEST_LOOP_f_i_tg): Likewise.
17361         (fpclassify_test_data): New variable.
17362         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17363         (ilogb_test_data): New variable.
17364         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17366         * math/libm-test.inc (scalbln_test): Correct function name in END
17367         call.
17369         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17370         (RUN_TEST_LOOP_fI_f1): New macro.
17371         (frexp_test_data): New variable.
17372         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17374         * math/libm-test.inc (struct test_fF_f1_data): New type.
17375         (RUN_TEST_LOOP_fF_f1): New macro.
17376         (modf_test_data): New variable.
17377         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17379         * math/libm-test.inc (struct test_f_f1_data): New type.
17380         (RUN_TEST_LOOP_f_f1): New macro.
17381         (gamma_test_data): New variable.
17382         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17383         (lgamma_test_data): New variable.
17384         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17386 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17388         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17389         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17390         (main): Comment "tls" pseudo-hwcap.
17392 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17394         * math/libm-test.inc (struct test_fl_f_data): New type.
17395         (RUN_TEST_LOOP_fl_f): New variable.
17396         (scalbln_test_data): New variable.
17397         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17399         * math/libm-test.inc (struct test_fi_f_data): New type.
17400         (RUN_TEST_LOOP_fi_f): New macro.
17401         (ldexp_test_data): New variable.
17402         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17403         (scalbn_test_data): New variable.
17404         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17406         * math/libm-test.inc (struct test_c_f_data): New type.
17407         (RUN_TEST_LOOP_c_f): New macro.
17408         (cabs_test_data): New variable.
17409         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17410         (carg_test_data): New variable.
17411         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17412         (cimag_test_data): New variable.
17413         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17414         (creal_test_data): New variable.
17415         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17417         * math/libm-test.inc (struct test_if_f_data): New type.
17418         (RUN_TEST_LOOP_if_f): New macro.
17419         (jn_test_data): New variable.
17420         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17421         (yn_test_data): New variable.
17422         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17424         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17426 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17428         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17429         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17431 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17433         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17434         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17435         (bench-deps): Add bench-timing.h.
17436         * benchtests-bench-skeleton.c: Include bench-timing.h.
17437         (main): Use TIMING_* macros instead of clock_gettime.
17438         * benchtests/bench-timing.h: New file.
17440         [BZ #14582]
17441         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17442         Renamed from _LIB_VERSION.
17443         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17445 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17447         * math/libm-test.inc (struct test_fff_f_data): New type.
17448         (RUN_TEST_LOOP_fff_f): New macro.
17449         (fma_test_data): New variable.
17450         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17451         (fma_towardzero_test_data): New variable.
17452         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17453         (fma_downward_test_data): New variable.
17454         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17455         (fma_upward_test_data): New variable.
17456         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17458         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17459         (struct test_c_c_data): New type.
17460         (RUN_TEST_LOOP_c_c): New macro.
17461         (cacos_test_data): New variable.
17462         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17463         (cacosh_test_data): New variable.
17464         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17465         (casin_test_data): New variable.
17466         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17467         (casinh_test_data): New variable.
17468         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17469         (catan_test_data): New variable.
17470         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17471         (catanh_test_data): New variable.
17472         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17473         (ccos_test_data): New variable.
17474         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17475         (ccosh_test_data): New variable.
17476         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17477         (cexp_test_data): New variable.
17478         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17479         (clog_test_data): New variable.
17480         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17481         (clog10_test_data): New variable.
17482         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17483         (conj_test_data): New variable.
17484         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17485         (cproj_test_data): New variable.
17486         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17487         (csin_test_data): New variable.
17488         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17489         (csinh_test_data): New variable.
17490         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17491         (csqrt_test_data): New variable.
17492         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17493         (ctan_test_data): New variable.
17494         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17495         (ctan_tonearest_test_data): New variable.
17496         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17497         (ctan_towardzero_test_data): New variable.
17498         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17499         (ctan_downward_test_data): New variable.
17500         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17501         (ctan_upward_test_data): New variable.
17502         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17503         (ctanh_test_data): New variable.
17504         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17505         (ctanh_tonearest_test_data): New variable.
17506         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17507         (ctanh_towardzero_test_data): New variable.
17508         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17509         (ctanh_downward_test_data): New variable.
17510         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17511         (ctanh_upward_test_data): New variable.
17512         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17513         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17514         of BUILD_COMPLEX.
17516         * math/libm-test.inc (struct test_ff_f_data): New type.
17517         (struct test_ff_f_data_nexttoward): Likewise.
17518         (RUN_TEST_LOOP_2_f): New macro.
17519         (RUN_TEST_LOOP_ff_f): Likewise.
17520         (atan2_test_data): New variable.
17521         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17522         (copysign_test_data): New variable.
17523         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17524         (fdim_test_data): New variable.
17525         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17526         (fmax_test_data): New variable.
17527         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17528         (fmin_test_data): New variable.
17529         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17530         (fmod_test_data): New variable.
17531         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17532         (hypot_test_data): New variable.
17533         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17534         (nextafter_test_data): New variable.
17535         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17536         (nexttoward_test_data): New variable.
17537         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17538         (pow_test_data): New variable.
17539         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17540         (pow_tonearest_test_data): New variable.
17541         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17542         (pow_towardzero_test_data): New variable.
17543         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17544         (pow_downward_test_data): New variable.
17545         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17546         (pow_upward_test_data): New variable.
17547         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17548         (remainder_test_data): New variable.
17549         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17550         (scalb_test_data): New variable.
17551         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17552         * sysdeps/i386/fpu/libm-test-ulps: Update.
17554 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17556         * math/libm-test.inc (fma_test): Use max_value instead of local
17557         variable fltmax.
17558         (nextafter_test): Likewise.
17560         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17561         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17562         (acos_downward_test_data): New variable.
17563         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17564         (acos_upward_test_data): New variable.
17565         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17566         (acosh_test_data): New variable.
17567         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17568         (asin_test_data): New variable.
17569         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17570         (asin_tonearest_test_data): New variable.
17571         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17572         (asin_towardzero_test_data): New variable.
17573         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17574         (asin_downward_test_data): New variable.
17575         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17576         (asin_upward_test_data): New variable.
17577         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17578         (asinh_test_data): New variable.
17579         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17580         (atan_test_data): New variable.
17581         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17582         (atanh_test_data): New variable.
17583         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17584         (cbrt_test_data): New variable.
17585         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17586         (ceil_test_data): New variable.
17587         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17588         (cos_test_data): New variable.
17589         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17590         (cos_tonearest_test_data): New variable.
17591         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17592         (cos_towardzero_test_data): New variable.
17593         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17594         (cos_downward_test_data): New variable.
17595         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17596         (cos_upward_test_data): New variable.
17597         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17598         (cosh_test_data): New variable.
17599         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17600         (cosh_tonearest_test_data): New variable.
17601         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17602         (cosh_towardzero_test_data): New variable.
17603         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17604         (cosh_downward_test_data): New variable.
17605         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17606         (cosh_upward_test_data): New variable.
17607         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17608         (erf_test_data): New variable.
17609         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17610         (erfc_test_data): New variable.
17611         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17612         (exp_test_data): New variable.
17613         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17614         (exp_tonearest_test_data): New variable.
17615         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17616         (exp_towardzero_test_data): New variable.
17617         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17618         (exp_downward_test_data): New variable.
17619         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17620         (exp_upward_test_data): New variable.
17621         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17622         (exp10_test_data): New variable.
17623         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17624         (exp2_test_data): New variable.
17625         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17626         (expm1_test_data): New variable.
17627         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17628         (fabs_test_data): New variable.
17629         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17630         (floor_test_data): New variable.
17631         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17632         (j0_test_data): New variable.
17633         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17634         (j1_test_data): New variable.
17635         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17636         (log_test_data): New variable.
17637         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17638         (log10_test_data): New variable.
17639         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17640         (log1p_test_data): New variable.
17641         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17642         (log2_test_data): New variable.
17643         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17644         (logb_test_data): New variable.
17645         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17646         (logb_downward_test_data): New variable.
17647         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17648         (nearbyint_test_data): New variable.
17649         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17650         (rint_test_data): New variable.
17651         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17652         (rint_tonearest_test_data): New variable.
17653         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17654         (rint_towardzero_test_data): New variable.
17655         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17656         (rint_downward_test_data): New variable.
17657         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17658         (rint_upward_test_data): New variable.
17659         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17660         (round_test_data): New variable.
17661         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17662         (sin_test_data): New variable.
17663         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17664         (sin_tonearest_test_data): New variable.
17665         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17666         (sin_towardzero_test_data): New variable.
17667         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17668         (sin_downward_test_data): New variable.
17669         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17670         (sin_upward_test_data): New variable.
17671         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17672         (sinh_test_data): New variable.
17673         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17674         (sinh_tonearest_test_data): New variable.
17675         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17676         (sinh_towardzero_test_data): New variable.
17677         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17678         (sinh_downward_test_data): New variable.
17679         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17680         (sinh_upward_test_data): New variable.
17681         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17682         (sqrt_test_data): New variable.
17683         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17684         (tan_test_data): New variable.
17685         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17686         (tan_tonearest_test_data): New variable.
17687         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17688         (tan_towardzero_test_data): New variable.
17689         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17690         (tan_downward_test_data): New variable.
17691         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17692         (tan_upward_test_data): New variable.
17693         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17694         (tanh_test_data): New variable.
17695         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17696         (tgamma_test_data): New variable.
17697         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17698         (trunc_test_data): New variable.
17699         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17700         (y0_test_data): New variable.
17701         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17702         (y1_test_data): New variable.
17703         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17704         (significand_test_data): New variable.
17705         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17707 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17709         [BZ #12387]
17710         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17712 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17714         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17716 2013-05-10  Andreas Jaeger  <aj@suse.de>
17718         [BZ #15448]
17719         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17720         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17722 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17724         * math/gen-libm-test.pl (adjust_arg): New function.
17725         (special_functions): Handle generating output in both functions
17726         and arrays.
17727         (parse_args): Likewise.
17728         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17729         $in_func argument to parse_args.
17730         * math/libm-test.inc (struct test_f_f_data): New type.
17731         (IF_ROUND_INIT_): New macro.
17732         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17733         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17734         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17735         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17736         (ROUND_RESTORE_): Likewise.
17737         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17738         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17739         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17740         (ROUND_RESTORE_FE_UPWARD): Likewise.
17741         (RUN_TEST_LOOP_f_f): New macro.
17742         (acos_test_data): New variable.
17743         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17744         (acos_tonearest_test_data): New variable.
17745         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17747 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17749         * benchtests/bench-skeleton.c (startup): Fix coding style.
17751 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17753         [BZ #6809]
17754         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17755         negative infinity argument.
17756         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17757         negative infinity argument.
17758         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17759         negative infinity argument.
17760         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17761         domain errors.
17763 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17765         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17766         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17767         * iconv/iconv_prog.c (main): Likewise.
17768         * locale/programs/charmap-dir.c (charmap_readdir)
17769         (fopen_uncompressed): Likewise.
17770         * locale/programs/locfile.c (siblings_uncached)
17771         (write_locale_data): Use lstat64 instead of lstat.
17772         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17773         stat.
17775 2013-05-10  Andreas Jaeger  <aj@suse.de>
17777         [BZ #15395]
17778         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17779         localization.
17780         Include <locale.h>.
17782 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17784         * elf/dl-close.c (_dl_close_worker): Add comments.
17786 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17788         [BZ #15359]
17789         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17790         high part of pi/2.
17791         (__ieee754_rem_pio2l): Update comments.
17793         [BZ #15429]
17794         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17795         high part of pi/2.
17796         (__ieee754_rem_pio2l): Update comments.
17798         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17799         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17801         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17802         M_PI_4l.
17804         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17805         (M_PI_34_LOG10El): Likewise.
17806         (M_PI2_LOG10El): Likewise.
17807         (M_PI4_LOG10El): Likewise.
17808         (M_PI_LOG10El): Likewise.
17810 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17814 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17816         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17817         (MINUS_ZERO_INIT): Likewise.
17818         (PLUS_INFTY_INIT): Likewise.
17819         (MINUS_INFTY_INIT): Likewise.
17820         (QNAN_VALUE_INIT): Likewise.
17821         (MAX_VALUE_INIT): Likewise.
17822         (MIN_VALUE_INIT): Likewise.
17823         (MIN_SUBNORM_VALUE_INIT): Likewise.
17824         (plus_zero): Initialize with PLUS_ZERO_INIT.
17825         (minus_zero): Initialize with MINUS_ZERO_INIT.
17826         (plus_infty): Initialize with PLUS_INFTY_INIT.
17827         (minus_infty): Initialize with MINUS_INFTY_INIT.
17828         (qnan_value): Initialize with QNAN_VALUE_INIT.
17829         (max_value): Initialize with MAX_VALUE_INIT.
17830         (min_value): Initialize with MIN_VALUE_INIT.
17831         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17833         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17834         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17835         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17836         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17838         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17839         (RUN_TEST_2_f): Likewise.
17840         (RUN_TEST_ff_f): Likewise.
17841         (RUN_TEST_fi_f): Likewise.
17842         (RUN_TEST_fl_f): Likewise.
17843         (RUN_TEST_fff_f): Likewise.
17844         (RUN_TEST_c_f): Likewise.
17845         (RUN_TEST_f_f1): Likewise.
17846         (RUN_TEST_fF_f1): Likewise.
17847         (RUN_TEST_fI_f1): Likewise.
17848         (RUN_TEST_ffI_f1): Likewise.
17849         (RUN_TEST_c_c): Likewise.
17850         (RUN_TEST_cc_c): Likewise.
17851         (RUN_TEST_f_i): Likewise.
17852         (RUN_TEST_f_i_tg): Likewise.
17853         (RUN_TEST_ff_i_tg): Likewise.
17854         (RUN_TEST_f_b): Likewise.
17855         (RUN_TEST_f_b_tg): Likewise.
17856         (RUN_TEST_f_l): Likewise.
17857         (RUN_TEST_f_L): Likewise.
17858         (RUN_TEST_sincos): Likewise.
17859         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17860         whether to show exceptions.  Do not include ");\n" in return
17861         value.
17862         (special_functions): Output call to RUN_TEST_sincos instead of
17863         check_float calls.  Update calls to new_test.
17864         (parse_args): Output call to single RUN_TEST_* macro instead of
17865         check_* calls and other assignments.  Update calls to new_test.
17867         [BZ #2546]
17868         [BZ #2560]
17869         [BZ #5159]
17870         [BZ #15426]
17871         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17872         input to result for tgamma overflow.
17873         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17874         (gamma_coeff): New variable.
17875         (NCOEFF): New macro.
17876         (gamma_positive): New function.
17877         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17878         underflow here.  Use gamma_positive instead of exp (lgamma) for
17879         other arguments.
17880         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17881         (gamma_coeff): New variable.
17882         (NCOEFF): New macro.
17883         (gammaf_positive): New function.
17884         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17885         underflow here.  Use gamma_positive instead of exp (lgamma) for
17886         other arguments.
17887         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17888         (gamma_coeff): New variable.
17889         (NCOEFF): New macro.
17890         (gammal_positive): New function.
17891         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17892         underflow here.  Use gamma_positive instead of exp (lgamma) for
17893         other arguments.
17894         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17895         (gamma_coeff): New variable.
17896         (NCOEFF): New macro.
17897         (gammal_positive): New function.
17898         (__ieee754_gammal_r): Handle positive infinity, overflow and
17899         underflow here.  Handle NaN the same as positive infinity.  Remove
17900         check x < 0xffffffff for negative integers.  Use gamma_positive
17901         instead of exp (lgamma) for other arguments.
17902         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17903         (gamma_coeff): New variable.
17904         (NCOEFF): New macro.
17905         (gammal_positive): New function.
17906         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17907         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17908         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17909         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17910         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17911         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17912         * sysdeps/generic/math_private.h (__gamma_productf): New
17913         prototype.
17914         (__gamma_product): Likewise.
17915         (__gamma_productl): Likewise.
17916         * math/Makefile (libm-calls): Add gamma_product.
17917         * math/libm-test.inc (tgamma_test): Add more tests.
17918         * sysdeps/i386/fpu/libm-test-ulps: Update.
17919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17921 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17923         * benchtests/bench-skeleton.c (main): Preheat CPU.
17925 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17927         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17929 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17931         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17932         and _dl_skip_args_internal.
17934 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17936         * manual/message.texi (Message Translation): Talk about users.
17937         Message to key mapping impacts design.
17939 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17941         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17943         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17945         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17946         * sysdeps/wordsize-64/glob64.c: ... here.
17948         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17949         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17950         New macros.
17952         * debug/getlogin_r_chk.c: Moved to ...
17953         * login/getlogin_r_chk.c: ... here.
17954         * debug/Makefile (routines): Move getlogin_r_chk to ...
17955         * login/Makefile (routines): ... here.
17956         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17957         * login/Versions (libc: GLIBC_2.4): ... here.
17959         * io/poll.c (__poll): Renamed from poll.
17960         Add libc_hidden_def.
17961         (poll): Define as weak alias.
17963         * debug/ptsname_r_chk.c: Moved to ...
17964         * login/ptsname_r_chk.c: ... here.
17965         * debug/Makefile (routines): Move ptsname_r_chk to ...
17966         * login/Makefile (routines): ... here.
17967         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17968         * login/Versions (libc: GLIBC_2.4): ... here.
17970         * posix/getlogin.c: Moved to ...
17971         * login/getlogin.c: ... here.
17972         * posix/getlogin_r.c: Moved to ...
17973         * login/getlogin_r.c: ... here.
17974         * posix/getlogin_r.c: Moved to ...
17975         * login/getlogin_r.c: ... here.
17976         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17977         * login/Makefile (routines): ... here.
17978         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17979         * login/Versions (libc: GLIBC_2.0): ... here.
17981         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17982         (setrlimit): Define as weak alias.
17984         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17985         Call __ names for open, ftruncate, and close.
17986         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17987         (truncate): Define as weak alias.
17989 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17991         * math/gen-libm-test.pl (parse_args): Initialize x before each
17992         test of frexp, modf and remquo.
17994         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17995         test signgam value.
17997 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17999         [BZ #15418]
18000         [BZ #15419]
18001         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18002         internal tests.
18003         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18005 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18007         * elf/dl-writev.h: New file.
18008         * elf/dl-misc.c: Include it.
18009         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18010         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18012 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18014         * math/libm-test.inc (noXFails): Remove variable.
18015         (noXPasses): Likewise.
18016         (BUILD_COMPLEX_INT): Remove macro.
18017         (print_screen): Remove xfail argument.
18018         (print_screen_max_error): Likewise.
18019         (update_stats): Likewise.
18020         (print_max_error): Likewise.  Update calls to other affected
18021         functions.
18022         (print_complex_max_error): Likewise.
18023         (test_single_exception): Update calls to print_screen.
18024         (test_single_errno): Likewise.
18025         (check_float_internal): Remove xfail argument.  Update calls to
18026         other affected functions.
18027         (check_float): Likewise.
18028         (check_complex): Likewise.
18029         (check_int): Likewise.
18030         (check_long): Likewise.
18031         (check_bool): Likewise.
18032         (check_longlong): Likewise.
18033         (main): Don't print noXFails and noXPasses.
18034         * math/gen-libm-test.pl (top level): Don't mention expected
18035         failure handling in comment.
18036         (new_test): Don't handle expected failures.
18037         (parse_args): Don't mention expected failure handling in comment.
18038         (generate_testfile): Don't handle expected failures.
18039         (parse_ulps): Likewise.
18040         (print_ulps_file): Likewise.
18041         (get_failure): Remove function.
18042         (output_test): Don't handle expected failures.
18043         * make/README.libm-test: Don't mention expected failure handling.
18045         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18046         (minus_zero): Likewise.
18047         (plus_infty): Likewise.
18048         (minus_infty): Likewise.
18049         (qnan_value): Likewise.
18050         (max_value): Likewise.
18051         (min_value): Likewise.
18052         (min_subnorm_value): Likewise.
18053         (initialize): Do not initialize those variables dynamically.
18055 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18057         * io/open.c (__open_2): Moved to ...
18058         * io/open_2.c: ... this new file.
18059         * io/open64.c (__open64_2): Moved to ...
18060         * io/open64_2.c: ... this new file.
18061         * io/openat.c (__openat_2): Moved to ...
18062         * io/openat_2.c: ... this new file.
18063         * io/openat64.c (__openat64_2): Moved to ...
18064         * io/openat64_2.c: ... this new file.
18065         * io/Makefile (routines): Add them.
18066         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18067         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18068         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18069         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18070         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18071         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18072         (__openat64): Add hidden_ver.
18073         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18074         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18076         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18077         Separately conditionalize setting of GLRO(dl_sysinfo) so
18078         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18079         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18081 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18083         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18084         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18085         definition.
18086         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18087         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18088         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18089         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18090         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18092 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18094         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18095         test signgam value.
18097         * math/libm-test.inc (hypot_test): Do not use
18098         IGNORE_ZERO_INF_SIGN.
18100 2013-05-03  Andreas Jaeger  <aj@suse.de>
18102         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18103         Linux 3.9.
18104         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18105         (PF_MAX): Adjust for VSOCK change.
18107 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18111 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18113         [BZ #15264]
18114         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18115         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18116         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18118 2013-05-02  David S. Miller  <davem@davemloft.net>
18120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18122 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18124         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18126 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18128         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18130 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18132         [BZ #14952]
18133         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18134         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18135         Use __attribute__ ((__gnu_inline__)).
18136         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18137         Don't use __attribute__ ((__gnu_inline__)).
18139 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18141         [BZ #15423]
18142         * math/s_catan.c (__catan): Handle small real or imaginary part of
18143         input specially to avoid spurious underflow.
18144         * math/s_catanf.c (__catanf): Likewise.
18145         * math/s_catanh.c (__catanh): Likewise.
18146         * math/s_catanhf.c (__catanhf): Likewise.
18147         * math/s_catanhl.c (__catanhl): Likewise.
18148         * math/s_catanl.c (__catanl): Likewise.
18149         * math/libm-test.inc (catan_test): Add more tests.
18150         (catanh_test): Likewise.
18151         * sysdeps/i386/fpu/libm-test-ulps: Update.
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18154 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18158 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18160         [BZ #15416]
18161         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18162         accurately for denominator in atan2.
18163         * math/s_catanf.c (__catanf): Likewise.
18164         * math/s_catanh.c (__catanh): Likewise.
18165         * math/s_catanhf.c (__catanhf): Likewise.
18166         * math/s_catanhl.c (__catanhl): Likewise.
18167         * math/s_catanl.c (__catanl): Likewise.
18168         * math/libm-test.inc (catan_test): Add more tests.
18169         (catanh_test): Likewise.
18170         * sysdeps/i386/fpu/libm-test-ulps: Update.
18171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18173 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18175         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18177         * benchtests/Makefile (bench): Remove slow benchmarks.
18178         * benchtests/atan-inputs: Add slow benchmark inputs.
18179         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18180         (BENCH_FUNC): Accept variant offset.
18181         (VARIANT): Define.
18182         * benchtests/bench-skeleton.c (main): Run benchmark for each
18183         variant.
18184         * benchtests/cos-inputs: Add slow benchmark inputs.
18185         * benchtests/exp-inputs: Likewise.
18186         * benchtests/pow-inputs: Likewise.
18187         * benchtests/sin-inputs: Likewise.
18188         * benchtests/slowatan-inputs: Remove.
18189         * benchtests/slowatan.c: Remove.
18190         * benchtests/slowcos-inputs: Remove.
18191         * benchtests/slowcos.c: Remove.
18192         * benchtests/slowexp-inputs: Remove.
18193         * benchtests/slowexp.c: Remove.
18194         * benchtests/slowpow-inputs: Remove.
18195         * benchtests/slowpow.c: Remove.
18196         * benchtests/slowsin-inputs: Remove.
18197         * benchtests/slowsin.c: Remove.
18198         * benchtests/slowtan-inputs: Remove.
18199         * benchtests/slowtan.c: Remove.
18200         * benchtests/tan-inputs: Add slow benchmark inputs.
18201         * scripts/bench.pl: Parse comments and directives.
18203         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18204         in CPPFLAGS.
18205         ($(objpfx)bench-%.c): Remove *-ITER.
18206         * benchtests/bench-modf.c: Remove definition of ITER.
18207         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18208         (main): Loop for DURATION seconds instead of fixed number of
18209         iterations.
18210         * scripts/bench.pl: Don't expect iterations in parameters.
18212 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18214         * io/fchdir.c (__fchdir): Renamed from fchdir.
18215         (fchdir): Define as weak alias.
18217 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18219         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18220         (ERRNO_EDOM): Likewise.
18221         (ERRNO_ERANGE): Likewise.
18222         (noErrnoTests): New variable.
18223         (init_max_error): Set errno to 0.
18224         (test_single_errno): New function.
18225         (test_errno): Likewise.
18226         (check_float_internal): Call test_errno.  Set errno to 0.
18227         (check_complex): Refer to errno tests in comment.
18228         (check_int): Call test_errno.  Set errno to 0.
18229         (check_long): Likewise.
18230         (check_bool): Likewise.
18231         (check_longlong): Likewise.
18232         (cos_test): Use ERRNO_* flags for errno tests instead of
18233         check_int.
18234         (expm1_test): Likewise.
18235         (fmod_test): Likewise.
18236         (ilogb_test): Likewise.
18237         (lgamma_test): Likewise.
18238         (pow_test): Likewise.
18239         (remainder_test): Likewise.
18240         (sin_test): Likewise.
18241         (tan_test): Likewise.
18242         (yn_test): Likewise.
18243         (initialize): Set errno to 0.
18244         (main): Print number of errno tests.
18245         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18247 2013-04-29  Andreas Jaeger  <aj@suse.de>
18249         [BZ #15084]
18250         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18251         and RES_USEVC.
18253         [BZ #15085]
18254         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18255         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18256         unimplemented.
18258         [BZ #15380]
18259         * stdlib/random.c (__initstate): Return NULL if
18260         __initstate fails.
18262         [BZ #15086]
18263         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18264         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18265         RES_SNGLKUPREOP.
18267 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18271 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18273         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18274         of individual tests.
18275         (casin_test): Likewise.
18276         (casinh_test): Likewise.
18278 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18280         [BZ #15409]
18281         * math/s_catan.c (__catan): Handle arguments with large real or
18282         imaginary part separately without squaring.
18283         * math/s_catanf.c (__catanf): Likewise.
18284         * math/s_catanh.c (__catanh): Likewise.
18285         * math/s_catanhf.c (__catanhf): Likewise.
18286         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18287         and redefine.
18288         (__catanhl): Handle arguments with large real or imaginary part
18289         separately without squaring.
18290         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18291         and redefine.
18292         (__catanl): Handle arguments with large real or imaginary part
18293         separately without squaring.
18294         * math/libm-test.inc (catan_test): Add more tests.
18295         (catanh_test): Likewise.
18296         * sysdeps/i386/fpu/libm-test-ulps: Update.
18297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18299 2013-04-27  Andreas Jaeger  <aj@suse.de>
18301         [BZ #15007]
18302         * stdlib/stdlib.h: Update guards for qecvt.
18303         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18304         <stdlib.h>.
18306 2013-04-27  Allan McRae  <allan@archlinux.org>
18308         * sysdeps/i386/fpu/libm-test-ulps: Update.
18310 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18312         [BZ #15406]
18313         * math/s_catan.c: Include <float.h>.
18314         (__catan): Ensure underflow exception occurs for underflowed
18315         result.
18316         * math/s_catanf.c: Include <float.h>.
18317         (__catanf): Ensure underflow exception occurs for underflowed
18318         result.
18319         * math/s_catanh.c: Include <float.h>.
18320         (__catanh): Ensure underflow exception occurs for underflowed
18321         result.
18322         * math/s_catanhf.c: Include <float.h>.
18323         (__catanhf): Ensure underflow exception occurs for underflowed
18324         result.
18325         * math/s_catanhl.c: Include <float.h>.
18326         (__catanhl): Ensure underflow exception occurs for underflowed
18327         result.
18328         * math/s_catanl.c: Include <float.h>.
18329         (__catanl): Ensure underflow exception occurs for underflowed
18330         result.
18331         * math/libm-test.inc (catan_test): Add more tests.
18332         (catanh_test): Likewise.
18334         [BZ #15405]
18335         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18336         underflowed result.
18337         * math/s_ccoshf.c (__ccoshf): Likewise.
18338         * math/s_ccoshl.c (__ccoshl): Likewise.
18339         * math/s_csin.c (__csin): Likewise.
18340         * math/s_csinf.c (__csinf): Likewise.
18341         * math/s_csinh.c (__csinh): Likewise.
18342         * math/s_csinhf.c (__csinhf): Likewise.
18343         * math/s_csinhl.c (__csinhl): Likewise.
18344         * math/s_csinl.c (__csinl): Likewise.
18345         * math/libm-test.inc (ccos_test): Add more tests.
18346         (ccosh_test): Likewise.
18347         (csin_test): Likewise.
18348         (csinh_test): Likewise.
18350 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18352         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18353         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18354         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18355         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18356         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18357         powerpc/power5+/fpu folders.
18358         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18361 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18365 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18367         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18368         additions to variable.
18369         [$(config-machine) = x86_64] (modules-names): Likewise.
18370         ($(objpfx)tst-audit3): Remove dependency.
18371         ($(objpfx)tst-audit3.out): Likewise.
18372         ($(objpfx)tst-audit4): Likewise.
18373         ($(objpfx)tst-audit4.out): Likewise.
18374         ($(objpfx)tst-audit5): Likewise.
18375         ($(objpfx)tst-audit5.out): Likewise.
18376         ($(objpfx)tst-audit6): Likewise.
18377         ($(objpfx)tst-audit6.out): Likewise.
18378         ($(objpfx)tst-audit7): Likewise.
18379         ($(objpfx)tst-audit7.out): Likewise.
18380         (tst-audit3-ENV): Remove variable.
18381         (tst-audit4-ENV): Likewise.
18382         (tst-audit5-ENV): Likewise.
18383         (tst-audit6-ENV): Likewise.
18384         (tst-audit7-ENV): Likewise.
18385         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18386         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18387         addition to variable.
18388         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18389         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18391         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18392         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18393         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18394         tst-audit3, tst-audit4 and tst-audit5.
18395         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18396         tst-audit6 and tst-audit7.
18397         [$(subdir) = elf] (modules-names): Add audit modules for those
18398         tests.
18399         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18400         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18401         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18402         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18403         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18404         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18405         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18406         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18407         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18408         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18409         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18410         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18411         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18412         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18413         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18414         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18415         Likewise.
18416         [$(subdir) = elf && $(config-cflags-avx) = yes]
18417         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18418         [$(subdir) = elf && $(config-cflags-avx) = yes]
18419         (CFLAGS-tst-auditmod4a.c): Likewise.
18420         [$(subdir) = elf && $(config-cflags-avx) = yes]
18421         (CFLAGS-tst-auditmod4b.c): Likewise.
18422         [$(subdir) = elf && $(config-cflags-avx) = yes]
18423         (CFLAGS-tst-auditmod6b.c): Likewise.
18424         [$(subdir) = elf && $(config-cflags-avx) = yes]
18425         (CFLAGS-tst-auditmod6c.c): Likewise.
18426         [$(subdir) = elf && $(config-cflags-avx) = yes]
18427         (CFLAGS-tst-auditmod7b.c): Likewise.
18428         * elf/tst-audit3.c: Move to ...
18429         * sysdeps/x86_64/tst-audit3.c: ... here.
18430         * elf/tst-audit4.c: Move to ...
18431         * sysdeps/x86_64/tst-audit4.c: ... here.
18432         * elf/tst-audit5.c: Move to ...
18433         * sysdeps/x86_64/tst-audit5.c: ... here.
18434         * elf/tst-audit6.c: Move to ...
18435         * sysdeps/x86_64/tst-audit6.c: ... here.
18436         * elf/tst-audit7.c: Move to ...
18437         * sysdeps/x86_64/tst-audit7.c: ... here.
18438         * elf/tst-auditmod3a.c: Move to ...
18439         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18440         * elf/tst-auditmod3b.c: Move to ...
18441         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18442         * elf/tst-auditmod4a.c: Move to ...
18443         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18444         * elf/tst-auditmod4b.c: Move to ...
18445         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18446         * elf/tst-auditmod5a.c: Move to ...
18447         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18448         * elf/tst-auditmod5b.c: Move to ...
18449         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18450         * elf/tst-auditmod6a.c: Move to ...
18451         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18452         * elf/tst-auditmod6b.c: Move to ...
18453         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18454         * elf/tst-auditmod6c.c: Move to ...
18455         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18456         * elf/tst-auditmod7a.c: Move to ...
18457         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18458         * elf/tst-auditmod7b.c: Move to ...
18459         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18461 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18463         [BZ #15366]
18464         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18465         define unconditionally.
18466         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18467         define unconditionally.
18468         (INT8_C, INT16_C, etc.): Likewise.
18470 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18472         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18473         __ehdr_start with hidden visibility.
18475         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18477 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18479         * math/libm-test.inc (cos_test): Use accurate hex constants.
18480         (sincost_test): Likewise.
18482 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18484         * math/libm-test.inc (catan_test): Add more tests.
18485         (catanh_test): Likewise.
18487         * math/s_catanf.c (__catanf): Use suffixed floating-point
18488         constants.
18489         * math/s_catanhf.c (__catanhf): Likewise.
18490         * math/s_catanhl.c (__catanhl): Likewise.
18491         * math/s_catanl.c (__catanl): Likewise.
18493         [BZ #15394]
18494         * math/s_catan.c (__catan): Calculate imaginary part of result
18495         with log1p not log unless computing log of number close to 0.
18496         * math/s_catanf.c (__catanf): Likewise.
18497         * math/s_catanl.c (__catanl): Likewise.
18498         * math/s_catanh.c (__catanh): Calculate real part of result with
18499         log1p not log unless computing log of number close to 0.
18500         * math/s_catanhf.c (__catanhf): Likewise.
18501         * math/s_catanhl.c (__catanhl): Likewise.
18502         * math/libm-test.inc (catan_test): Add more tests.
18503         (catanh_test): Likewise.
18504         * sysdeps/i386/fpu/libm-test-ulps: Update.
18505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18507 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18509         * benchtests/Makefile: Mention files in which fast and slow
18510         paths of math functions are implemented.
18512 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18514         * sysdeps/posix/timespec_get.c: New file.
18516 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18518         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18519         POWER.
18520         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18521         for POWER.
18522         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18523         powerpc/power5/fpu folders.
18524         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18525         * benchtests/Makefile: Add modf testcase.
18526         * benchtests/bench-modf.c: New file: Benchmark test for mo
18528 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18530         [BZ #14888]
18531         * time/Makefile (tests): Add tst-strptime-whitespace.
18532         * time/strptime_l.c (get_number): Use ISSPACE.
18533         (__strptime_internal): Likewise.
18534         * time/tst-strptime-whitespace.c: New test case.
18536 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18538         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18539         member.
18540         (_nss_files_init): Set it here.
18542 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18544         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18545         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18546         unsigned.
18548 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18550         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18552 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18554         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18555         size just once.
18557 2013-04-21  David S. Miller  <davem@davemloft.net>
18559         * po/ru.po: Update Russion translation from translation project.
18561 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18563         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18564         and setfsgid.
18566 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18568         * configure.in: Remove i386 configure warning. Remove i386 case.
18569         * configure: Regenerate.
18570         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18571         Add example to error message.
18572         * sysdeps/i386/configure: Regenerate.
18574 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18576         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18577         slowtan.
18578         * benchtests/cos-inputs: New file.
18579         * benchtests/slowcos-inputs: New file.
18580         * benchtests/slowcos.c: New file.
18581         * benchtests/slowtan-inputs: New file.
18582         * benchtests/slowtan.c: New file.
18583         * benchtests/tan-inputs: New file.
18585 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18587         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18588         considered kosher.
18590 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18592         * benchtests/Makefile: Include cppflags-iterator.mk to add
18593         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18595         * Makefile.in (bench-clean): New target.
18596         * benchtests/Makefile (bench-clean): Likewise.
18598 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18600         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18602 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18604         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18606 2013-04-15  Andreas Schwab  <schwab@suse.de>
18608         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18609         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18610         * nscd/pwdcache.c (cache_addpw): Likewise.
18611         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18612         more than recsize.
18614 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18616         * benchtests/Makefile (bench): Write all output to
18617         bench-out.tmp together.
18619 2013-04-15  Andreas Schwab  <schwab@suse.de>
18621         * nscd/nscd.c (main): Don't fork again after closing files.
18623 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18627         * benchtests/Rules (bench-deps): Collect dependencies into a
18628         single variable.  Add Makefile to dependencies.
18629         ($(objpfx)bench-%.c): Depend on bench-deps.
18631 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18632             Xavier Roche  <roche+kml2@exalead.com>
18634         [BZ #15361]
18635         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18636         just that it's a file descriptor.
18637         * manual/llio.texi (Synchronizing AIO Operations): Update description
18638         for EBADF error from aio_fsync.
18640 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18642         * Rules (bench): Move target definition...
18643         * benchtests/Makefile: ... here.
18645 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18647         * math/libm-test.inc (cos_test): Fix PI/2 test.
18648         (sincos_test): Likewise.
18649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18650         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18652 2013-04-11  Andreas Schwab  <schwab@suse.de>
18654         [BZ #13988]
18655         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18656         accept exponent character only when digits were seen.
18657         * stdio-common/Makefile (tests): Add bug26.
18658         * stdio-common/bug26.c: New file.
18660         [BZ #14293]
18661         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18662         non-freeable.
18664 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         * Makeconfig (rtld-prefix): Define built linker prefix.
18667         * Rules (run-bench): Use it.
18668         * math/Makefile (run-regen-ulps): Likewise.
18670         * Rules (bench): Remove eval.
18672 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18673             Roland McGrath  <roland@hack.frob.com>
18674             Ondrej Bilka  <neleai@seznam.cz>
18676         [BZ #15346]
18677         * time/getdate.c: Include ctype.h and alloca.h.
18678         (__getdate_r): Trim leading and trailing spaces of input.
18679         * time/tst-getdate.c (tests): Add tests with leading and
18680         trailing spaces.
18682 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18684         [BZ #14280]
18685         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18686         when computing value.
18688 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18690         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18691         Use testrun.sh to run libm tests.
18693         [BZ #15309]
18694         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18696 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18698         [BZ #15264]
18699         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18701 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18703         * Makefile.in (regen-ulps): New target.
18704         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18705         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18706         [ifneq (no,$(PERL)] (regen-ulps): New target.
18707         [ifeq (no,$(PERL)] (regen-ulps): New target.
18708         * math/libm-test.inc (ulps_file_name): Define.
18709         (output_dir): New variable.
18710         (options): Add "output-dir" option.
18711         (parse_opt): Handle 'o' case.
18712         (main): If output_dir is non-NULL use it as a prefix
18713         otherwise use "".
18714         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18716 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18718         [BZ #10060, #10062]
18719         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18720         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18721         fail configure if __sync_val_compare_and_swap is not inlined.
18722         * sysdeps/i386/configure: Regenerate.
18723         * configure.in: Build for i686 when configured for i386.
18724         * configure: Regenerate.
18725         * README: Remove i386 reference.
18727 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18729         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18730         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18732 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18734         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18735         (lmsnanval): New variables.
18736         (F): Add conversion tests.
18737         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18738         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18740         * stdio-common/tstdiomisc.c (F): Properly collect individual
18741         tests' results.
18743         [BZ #14686, #15336]
18744         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18745         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18746         Instead, use input NaN values or generate a qNaN by arithmetic
18747         operation.  Also fix bugs to comply with the standard.
18748         * math/libm-test.inc (remainder_test): Add more tests.
18750         [BZ #15335, #15342]
18751         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18752         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18753         input NaN values or generate a qNaN by arithmetic operation.
18755         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18756         unreachable code.
18758         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18759         definitions.
18761 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18763         [BZ #14478]
18764         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18765         underflowed result.
18766         * math/s_cexpf.c (__cexpf): Likewise.
18767         * math/s_cexpl.c (__cexpl): Likewise.
18768         * math/libm-test.inc (cexp_test): Add more tests.
18770 2013-04-03  Andreas Schwab  <schwab@suse.de>
18772         [BZ #15330]
18773         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18774         order arrays from heap if bigger than alloca cutoff.
18776 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18778         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18779         (SNAN_TESTS_double): Refer to GCC PR56831.
18780         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18781         GCC PR56828.
18783 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18785         * Rules (bench): Move bench.out after the run is complete.
18787         * Rules (bench): Echo currently running benchmark.
18789         * benchtests/Makefile (bench): Add atan and slowatan.
18790         * benchtests/atan-inputs: New file.
18791         * benchtests/slowatan-inputs: New file.
18792         * benchtests/slowatan.c: New file.
18794         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18795         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18796         its value.
18798         [BZ #15305]
18799         * sysdeps/unix/sysv/linux/kernel-features.h
18800         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18801         __ASSUME_XFS_RESTRICTED_CHOWN.
18802         * sysdeps/unix/sysv/linux/pathconf.c
18803         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18804         Save and restore errno.
18806 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18808         [BZ #15327]
18809         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18810         arguments using __kernel_casinh.
18811         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18812         arguments using __kernel_casinhf.
18813         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18814         arguments using __kernel_casinhl.
18815         * math/libm-test.inc (cacosh_test): Add more tests.
18816         * sysdeps/i386/fpu/libm-test-ulps: Update.
18817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18819 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18821         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18824         * bench/Makefile (bench): Add sin and slowsin.
18825         * benchtests/sin-inputs: New file.
18826         * benchtests/slowsin-inputs: New file.
18827         * benchtests/slowsin.c: New file.
18829         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18830         (bench): Add slowexp and slowpow.
18831         (exp-ITER): Increase iterations.
18832         (pow-ITER): Likewise.
18833         * benchtests/exp-inputs: Change input.
18834         * benchtests/pow-inputs: Likewise.
18835         * benchtests/slowexp-inputs: New file.
18836         * benchtests/slowexp.c: New file.
18837         * benchtests/slowpow-inputs: New file.
18838         * benchtests/slowpow.c: New file.
18840 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18842         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18843         instructions.
18844         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18845         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18846         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18847         * benchtests/Makefile: Add rint benchtest.
18848         * benchtests/rint-inputs: Input for rint benchtest.
18850 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18852         * Versions.def (libm): Add GLIBC_2.18.
18853         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18854         hidden libm prototypes.
18855         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18856         * math/Makefile (libm-calls): Add s_issignaling.
18857         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18858         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18859         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18860         declaration.
18861         * math/math.h [__USE_GNU] (issignaling): New macro.
18862         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18863         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18864         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18865         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18866         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18867         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18868         * manual/arith.texi (issignaling): New section.
18869         * manual/libm-err-tab.pl (@all_functions): Update comment.
18870         * math/gen-libm-test.pl (parse_args): Apply special handling for
18871         issignaling.
18872         * math/libm-test.inc (print_float, issignaling_test): New
18873         functions.
18874         (check_float_internal): Add issignaling checks.
18875         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18876         default definition.
18877         * sysdeps/powerpc/math-tests.h: New file.
18878         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18879         tests.
18880         * math/test-snan.c (TEST_FUNC): Likewise.
18882 2013-03-30  David S. Miller  <davem@davemloft.net>
18884         * po/de.po: Update from translation team.
18886 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18888         [BZ #10357]
18889         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18890         imaginary part less than 1.0 and real part less than 0.5
18891         specially.
18892         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18893         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18894         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18895         (cacos_test): Add more tests.
18896         (casin_test): Likewise.
18897         (casinh_test): Likewise.
18898         * sysdeps/i386/fpu/libm-test-ulps: Update.
18899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18903         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18904         ONE with its value.
18906         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18907         (__pow_mp): Replace ONE and MONE with their values.
18908         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18909         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18910         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18911         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18912         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18913         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18915         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18917         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18918         (__pow_mp): Replace ZERO and MZERO with their values.
18919         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18920         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18921         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18923         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18924         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18925         (__sqr): Likewise.
18927         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18929         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18931 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18933         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18934         Declare with __attribute__ ((weak)).
18935         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18936         Call __call_tls_dtors only if it's not NULL.
18938 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18940         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18941         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18942         magic __ehdr_start linker symbol if it's defined.
18943         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18944         them up here if it was already done.
18946         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18947         (_dl_aux_init): Use const in cast when setting it.
18948         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18949         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18950         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18952         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18953         Declare them here.
18954         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18955         * csu/libc-tls.c: Nor here.
18956         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18958         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18959         (__libc_message): Never call vsyslog.
18961 2013-03-28  Alan Modra  <amodra@gmail.com>
18963         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18964         Define as empty.
18965         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18966         Likewise.
18968 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18970         [BZ #15214]
18971         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18972         underflow.
18973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18975 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18977         [BZ #15304]
18978         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18979         Don't add gid passed as argument.
18981         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18983 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18985         [BZ #15307]
18986         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18987         imaginary part between 1.0 and 1.5 and real part less than 0.5
18988         specially.
18989         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18990         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18991         * math/libm-test.inc (cacos_test): Add more tests.
18992         (casin_test): Likewise.
18993         (casinh_test): Likewise.
18994         * sysdeps/i386/fpu/libm-test-ulps: Update.
18995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18997 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19000         constants.
19001         (norm): Likewise.
19002         (denorm): Likewise.
19003         (__dbl_mp): Likewise.
19004         (add_magnitudes): Likewise.
19005         (sub_magnitudes): Likewise.
19006         (__add): Likewise.
19007         (__sub): Likewise.
19008         (__mul): Likewise.
19009         (__sqr): Likewise.
19010         (__inv): Likewise.
19011         (__dvd): Likewise.
19013         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19014         commented code.
19015         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19016         (__dubcos): Likewise.
19017         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19018         (__ieee754_acos): Likewise.
19019         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19020         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19021         (__exp1): Likewise.
19022         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19024         (log1): Likewise.
19025         (my_log2): Likewise.
19026         (checkint): Likewise.
19027         * sysdeps/ieee754/dbl-64/e_remainder.c
19028         (__ieee754_remainder): Likewise.
19029         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19030         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19031         (bsloww): Likewise.
19032         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19034         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19035         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19036         MANTISSA_STORE_T to store computations on mantissa.  Use
19037         macros for rounding and division.
19038         (denorm): Likewise.
19039         (__dbl_mp): Likewise.
19040         (add_magnitudes): Likewise.
19041         (sub_magnitudes): Likewise.
19042         (__mul): Likewise.
19043         (__sqr): Likewise.
19044         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19045         powers of two in terms of TWOPOW macro.
19046         (mp_no): Make type of mantissa as MANTISSA_T.
19047         [!RADIXI]: Define RADIXI.
19048         [!TWO52]: Define TWO52.
19049         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19051 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19053         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19054         llroundl symbol when building for PPC32.
19056 2013-03-24  Mark H Weaver  <mhw@netris.org>
19058         * manual/arith.texi (Normalization Functions): Fix prototypes for
19059         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19061 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19063         [BZ #13889]
19064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19065         high value to check if expl overflow.
19066         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19067         to check for underflow and overflow.
19068         * math/libm-test.inc: Add exp test.
19070 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19072         [BZ #11120]
19073         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19074         with NOT_IN_libc.
19076 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19078         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19079         symbol.
19081 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19083         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19084         wrap blocks consisting of several statements.
19086         * sysdeps/generic/math-tests.h: New file.
19087         * sysdeps/i386/fpu/math-tests.h: Likewise.
19088         * math/test-snan.c: Include it.
19089         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19091 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19093         [BZ #15285]
19094         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19095         (__ieee754_j0l): Do not improve calculations using cos of twice
19096         input for inputs above LDBL_MAX / 2.0L.
19097         (__ieee754_y0l): Likewise.
19098         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19099         (__ieee754_j1l): Do not improve calculations using cos of twice
19100         input for inputs above LDBL_MAX / 2.0L.
19101         (__ieee754_y1l): Likewise.
19102         * math/libm-test.inc (j0_test): Add another test.
19103         (j1_test): Likewise.
19104         (y0_test): Likewise.
19105         (y1_test): Likewise.
19106         * sysdeps/i386/fpu/libm-test-ulps: Update.
19108 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19110         * Rules ($(objpfx)bench-%.c): Include code from a C source
19111         file.
19113 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #15287]
19116         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19117         imaginary part 1.0 and real part less than 0.5 specially.
19118         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19119         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19120         * math/libm-test.inc (cacos_test): Add more tests.
19121         (casin_test): Likewise.
19122         (casinh_test): Likewise.
19123         * sysdeps/i386/fpu/libm-test-ulps: Update.
19124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19126 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19129         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19131 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19133         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19134         * config.make.in (config-cflags-sse4): Remove variable.
19135         (config-cflags-avx): Likewise.
19136         (config-cflags-sse2avx): Likewise.
19137         (config-cflags-novzeroupper): Likewise.
19138         (config-asflags-i686): Likewise.
19139         (have-mfma4): Likewise.
19140         (have-as-vis3): Likewise.
19141         (MIG): Likewise.
19142         * configure.in (MIG): Do not AC_SUBST.
19143         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19144         (libc_cv_cc_sse4): Do not AC_SUBST.
19145         (libc_cv_cc_avx): Likewise.
19146         (libc_cv_cc_sse2avx): Likewise.
19147         (libc_cv_cc_novzeroupper): Likewise.
19148         (libc_cv_cc_fma4): Likewise.
19149         (libc_cv_as_i686): Likewise.
19150         (libc_cv_sparc_as_vis3): Likewise.
19151         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19152         LIBC_CONFIG_VAR.
19153         (config-asflags-i686): Likewise.
19154         (config-cflags-avx): Likewise.
19155         (config-cflags-sse2avx): Likewise.
19156         (have-mfma4): Likewise.
19157         (config-cflags-novzeroupper): Likewise.
19158         * sysdeps/mach/configure.in (MIG): Likewise.
19159         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19160         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19161         LIBC_CONFIG_VAR.
19162         (config-cflags-avx): Likewise.
19163         (config-cflags-sse2avx): Likewise.
19164         (have-mfma4): Likewise.
19165         (config-cflags-novzeroupper): Likewise.
19166         * configure: Regenerated.
19167         * sysdeps/i386/configure: Likewise.
19168         * sysdeps/mach/configure: Likewise.
19169         * sysdeps/sparc/configure: Likewise.
19170         * sysdeps/x86_64/configure: Likewise.
19172 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19174         [BZ #14812]
19175         * locale/programs/localedef.c (options): Put N_ translation marker
19176         on argument names, not just descriptions.
19178 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19180         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19182 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19184         [BZ #14176]
19185         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19187 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19189         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19190         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19191         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19192         [!BEFORE_ABORT] (before_abort): New function.
19193         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19194         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19195         (writev_for_fatal): New function.
19196         (WRITEV_FOR_FATAL): New macro; call that.
19197         (backtrace_and_maps): New function.
19198         (BEFORE_ABORT): New macro; call that.
19199         (struct str_list): Type removed.
19200         (__libc_message, __libc_fatal): Functions removed.
19201         Include <sysdeps/posix/libc_fatal.c> instead.
19203 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19205         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19206         constants.
19207         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19208         double constants.
19210 2013-03-19  Andreas Schwab  <schwab@suse.de>
19212         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19213         * sysdeps/gnu/configure: Regenerate.
19215         * configure.in: Substitute libc_cv_rtlddir.
19216         * configure: Regenerate.
19217         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19218         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19219         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19220         * elf/Makefile (install-others, CFLAGS-interp.c)
19221         (ldso_install, common-ldd-rewrite): Likewise.
19222         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19223         $(inst_slibdir)/$(rtld-installed-name).
19224         * scripts/rellns-sh: Add -p option.
19225         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19226         for source.
19228 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19230         * manual/nptl.texi: Renamed to ...
19231         * manual/threads.texi: ... this.
19232         * manual/Makefile (chapters): Update.
19234 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19236         [BZ #14812]
19237         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19238         on argument names, not just descriptions.
19239         * malloc/memusagestat.c (options): Likewise.
19240         * nss/getent.c (options): Likewise.
19242 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19244         [BZ #14812]
19245         * iconv/iconv_prog.c (options): Put N_ translation marker
19246         on argument names, not just descriptions.
19247         * iconv/iconvconfig.c (options): Likewise.
19249 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19251         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19252         implementation which is faster on all x86_64 architectures.
19253         Tested on AMD, Intel Nehalem, SNB, IVB.
19254         * sysdeps/x86_64/strnlen.S: Likewise.
19256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19257         Remove all multiarch strlen and strnlen versions.
19258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19259         Remove strlen and strnlen related parts.
19261         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19262         Inline strlen part.
19263         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19265         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19266         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19267         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19268         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19269         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19270         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19272 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19274         * manual/memory.texi (Malloc Tunable Parameters):
19275         Sort parameters alphabetically. Add comments for missing entries.
19277 2013-03-17  David S. Miller  <davem@davemloft.net>
19279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19281 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19283         [BZ #15283]
19284         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19285         for arguments at most half maximum finite value.
19286         * math/libm-test.inc (j0_test): Add more tests.
19287         (j1_test): Likewise.
19288         (y0_test): Likewise.
19289         (y1_test): Likewise.
19290         * sysdeps/i386/fpu/libm-test-ulps: Update.
19291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293         [BZ #14155]
19294         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19295         1 / x and functions P and Q for arguments above 0x1p256L.
19296         (__ieee754_y0l): Likewise.
19297         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19298         (__ieee754_y1l): Likewise.
19299         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19300         (j1_test): Likewise.
19301         (y0_test): Likewise.
19302         (y1_test): Likewise.
19304 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19306         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19307         variable.
19309 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19311         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19312         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19313         zero since it's initialized to EXEC_PAGESIZE.
19315         * sysdeps/unix/sysv/linux/ldsodefs.h
19316         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19317         * sysdeps/generic/ldsodefs.h: ... here.
19319 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19321         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19323         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19324         math/test-snan.c.
19325         * math/test-snan.c: Renamed from
19326         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19327         * math/Makefile (tests): Add test-snan.
19328         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19329         test-powerpc-snan.
19331         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19332         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19333         functions.
19334         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19335         __builtin_nan family of functions.
19336         * math/libm-test.inc (initialize): Initialize qnan_value with
19337         __builtin_nan family of functions.
19338         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19339         Remove variables.
19340         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19341         Remove functions.
19342         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19343         storage class.  Initialize qNaN_var and sNaN_var with
19344         __builtin_nan and __builtin_nans families of functions,
19345         respectively.
19347         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19348         (sqrt_test): Remove duplicate test with qNaN input.
19349         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19350         (round_test, signbit_test, significand_test): Note missing +/-Inf
19351         as well as qNaN tests.
19353         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19354         qNaN_var.  Fix a few strings, too.
19355         * math/libm-test.inc (nan_value): Rename to qnan_value.
19356         * math/gen-libm-test.pl (%beautify): Adjust to that.
19357         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19358         * math/test-misc.c (main): Likewise.
19359         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19360         to __qnan_bytes, and __qnan_union, respectively.
19361         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19362         Likewise.
19363         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19364         and lqnanval, respectively.
19365         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19366         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19367         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19368         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19370         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19371         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19372         doubles.
19374         * math/test-misc.c (main): Fix copy'n'pastos.
19375         * misc/tst-efgcvt.c (special): Likewise.
19377         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19378         Remove declarations.
19380 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19382         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19383         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19384         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19385         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19387 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19389         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19390         macro to return vdso values correctly in IFUNC implementations.
19391         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19392         Optimization by using IFUNC.
19394 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395             Richard Henderson  <rth@redhat.com>
19396             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19398         * Makefile.in (bench): New target.
19399         * NEWS: Mention the benchmark framework.
19400         * Rules (bench): Likewise.
19401         (binaries-bench): Generate binaries for functions to
19402         benchmark.
19403         * benchtests/Makefile: New makefile for benchmark tests.
19404         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19405         programs.
19406         * benchtests/exp-inputs: New input file for EXP function.
19407         * benchtests/pow-inputs: New input file for POW function.
19408         * scripts/bench.pl: New script to generate source files for
19409         benchmark programs.
19411 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19413         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19414         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19415         computations on mantissa.  Use macros for rounding and
19416         division.
19417         (denorm): Likewise.
19418         (__dbl_mp): Likewise.
19419         (add_magnitudes): Likewise.
19420         (sub_magnitudes): Likewise.
19421         (__mul): Likewise.
19422         (__sqr): Likewise.
19423         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19424         powers of two in terms of TWOPOW macro.
19425         (mp_no): Make type of mantissa as MANTISSA_T.
19426         [!RADIXI]: Define RADIXI.
19427         [!TWO52]: Define TWO52.
19428         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19430         * manual/nptl.texi (cindex): Modify threads to pthreads.
19432 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19434         * sysdeps/x86_64/preconfigure: Regenerated.
19436 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19438         [BZ #14155]
19439         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19440         0x1p28 and above.
19441         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19442         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19443         0x1p28 and above.
19444         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19445         * math/libm-test.inc (j0_test): Do not allow one spurious
19446         underflow exception.
19447         (y1_test): Likewise.
19449 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19451         * manual/Makefile (chapters): Add nptl.
19452         * manual/debug.texi (Debugging Support): Add link to Threads
19453         chapter.
19454         * manual/nptl.texi: New file.
19456         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19458 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19460         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19461         for non-NULL pointer before the memory validity test. Pointed
19462         out by Holger Brunck <holger.brunck@keymile.com>.
19464 2013-03-13  Andreas Schwab  <schwab@suse.de>
19466         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19467         instead of .os.
19469 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19471         * timezone/zic.c: Update from tzcode 2013b.
19473 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19475         * manual/install.texi (Configuring and compiling):
19476         Mention i686 and i586.
19477         * INSTALL: Regenerate.
19479 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19481         * sysdeps/init_array/elf-init.c: New file.
19482         * csu/elf-init.c
19483         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19484         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19486         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19487         __gmon_start__ as global, but as static with a .preinit_array pointer.
19488         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19489         * sysdeps/init_array/crti.S: New file, empty except for comments.
19490         * sysdeps/init_array/crtn.S: Likewise.
19492 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19494         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19495         definining bcopy.
19496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19497         Remove Prefer_SSE_for_memop.
19498         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19499         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19500         HAS_PREFER_SSE_FOR_MEMOP.
19501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19502         memset-x86-64.
19503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19504         Remove bzero, memset ifunc support.
19505         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19506         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19507         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19510 2013-03-11  Andreas Schwab  <schwab@suse.de>
19512         [BZ #15234]
19513         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19514         by SHLIB_COMPAT.
19515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19516         (GLIBC_2.16): Remove pthread_atfork.
19518 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19520         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19521         (ptestcases.h): Likewise.
19523 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19525         * Makeconfig ($(common-objpfx)config.status): Depend on
19526         sysdeps/*/preconfigure{,.in} too.
19528 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19530         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19531         (__free_hook): Use void * instead of __malloc_ptr_t.
19532         (__malloc_hook): Likewise.
19533         (__realloc_hook): Likewise.
19534         (__memalign_hook): Likewise.
19535         (__after_morecore_hook): Likewise.
19536         * malloc/arena.c (save_malloc_hook): Likewise.
19537         (save_free_hook): Likewise.
19538         * malloc/hooks.c (malloc_hook_ini): Likewise.
19539         (realloc_hook_ini): Likewise.
19540         (memalign_hook_ini): Likewise.
19541         * malloc/malloc.c (malloc_hook_ini): Likewise.
19542         (realloc_hook_ini): Likewise.
19543         (memalign_hook_ini): Likewise.
19544         (__free_hook): Likewise.
19545         (__malloc_hook): Likewise.
19546         (__realloc_hook): Likewise.
19547         (__memalign_hook): Likewise.
19548         (__libc_malloc): Likewise.
19549         (__libc_free): Likewise.
19550         (__libc_realloc): Likewise.
19551         (__libc_memalign): Likewise.
19552         (__libc_valloc): Likewise.
19553         (__libc_pvalloc): Likewise.
19554         (__libc_calloc): Likewise.
19555         (__posix_memalign): Likewise.
19556         * malloc/morecore.c (__sbrk): Likewise.
19557         (__default_morecore): Likewise.
19559         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19561         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19562         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19563         __malloc_ptrdiff_t.
19565         * malloc/malloc.h (__malloc_size_t): Remove macro.
19566         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19567         __malloc_size_t.
19568         (old_memalign_hook): Likewise.
19569         (old_realloc_hook): Likewise.
19570         (struct hdr): Likewise.
19571         (flood): Likewise.
19572         (mallochook): Likewise.
19573         (memalignhook): Likewise.
19574         (reallochook): Likewise.
19575         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19576         (tr_old_realloc_hook): Likewise.
19577         (tr_old_memalign_hook): Likewise.
19578         (tr_mallochook): Likewise.
19579         (tr_reallochook): Likewise.
19580         (tr_memalignhook): Likewise.
19582 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19584         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19585         default_ldbl_pack and using as default implementation.
19586         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19587         implementation.
19588         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19589         redundant definition.
19590         (ldbl_insert_mantissa): Likewise.
19591         (ldbl_canonicalize): Likewise.
19592         (ldbl_nearbyint): Likewise.
19593         (ldbl_pack): Rename to ldbl_pack_ppc.
19594         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19595         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19596         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19598 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19601         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19602         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19603         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19605         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19606         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19607         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19609 2013-03-07  Andreas Jaeger  <aj@suse.de>
19611         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19612         bits/mman-linux.h.
19614 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19616         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19617         Include mpa.h and declare __MPEXP.
19618         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19619         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19620         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19621         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19622         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19623         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19624         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19626         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19627         (__slowpow): Use long double EXPL and LOGL functions to
19628         compute POW.
19629         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19630         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19631         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19632         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19633         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19634         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19637         intermediate variable to calculate exponent.
19638         (__sqr): Likewise.
19639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19640         Likewise.
19641         (__sqr): Likewise.
19643         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19644         [!NO__SQR]: Define __sqr.
19645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19646         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19647         sysdeps/ieee754/dbl-64/mpa.c.
19648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19650         [BZ #12723]
19651         * posix/Makefile (tests): Add tst-pathconf.
19652         * posix/tst-pathconf.c: New test case.
19653         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19654         _PC_PIPE_BUF.
19655         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19657 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19659         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19661 2013-03-06  Andreas Jaeger  <aj@suse.de>
19663         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19664         definition via __MAP_ANONYMOUS.
19666         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19667         it's not part of Linux headers.
19669         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19670         (MAP_HUGE_MASK): Define.
19672         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19673         Define.
19674         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19676         Define.
19677         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19678         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19679         Define.
19680         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19681         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19682         Define.
19683         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19685         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19686         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19687         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19688         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19689         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19690         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19692         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19693         Handle f2fs.
19695         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19696         Handle f2fs and efivarfs.
19698         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19699         f2fs.
19701         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19702         (EFIVARFS_MAGIC): Add.
19703         (F2FS_LINK_MAX): Add.
19705 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19707         * stdio-common/vfprintf.c: Replace __builtin_expect with
19708         __glibc_unlikely.
19710 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19712         [BZ #13550]
19713         * sysdeps/generic/bp-sym.h: Remove file.
19714         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19715         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19716         <bp-sym.h> and <bp-asm.h>.
19717         (__longjmp): Don't use BP_SYM.
19718         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19719         and <bp-asm.h>.
19720         (memcpy): Don't use BP_SYM.
19721         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19722         <bp-sym.h> and <bp-asm.h>.
19723         (memcpy): Don't use BP_SYM.
19724         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19725         <bp-asm.h>.
19726         (memcpy): Don't use BP_SYM.
19727         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19728         <bp-asm.h>.
19729         (memset): Don't use BP_SYM.
19730         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19731         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19732         (__bzero): Don't use BP_SYM.
19733         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19734         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19735         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19736         <bp-sym.h> and <bp-asm.h>.
19737         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19738         pointers.
19739         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19740         <bp-sym.h> and <bp-asm.h>.
19741         (memcpy): Don't use BP_SYM.
19742         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19743         <bp-sym.h> and <bp-asm.h>.
19744         (memset): Don't use BP_SYM.
19745         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19746         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19747         (__bzero): Don't use BP_SYM.
19748         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19749         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19750         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19751         <bp-sym.h> and <bp-asm.h>.
19752         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19753         pointers.
19754         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19755         <bp-sym.h> and <bp-asm.h>.
19756         (memcpy): Don't use BP_SYM.
19757         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19758         <bp-sym.h> and <bp-asm.h>.
19759         (memset): Don't use BP_SYM.
19760         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19761         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19762         (__bzero): Don't use BP_SYM.
19763         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19764         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19765         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19766         <bp-sym.h> and <bp-asm.h>.
19767         (__memchr): Don't use BP_SYM.
19768         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19769         <bp-sym.h> and <bp-asm.h>.
19770         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19771         pointers.
19772         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19773         <bp-sym.h> and <bp-asm.h>.
19774         (memcpy): Don't use BP_SYM.
19775         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19776         <bp-sym.h> and <bp-asm.h>.
19777         (__mempcpy): Don't use BP_SYM.
19778         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19779         <bp-sym.h> and <bp-asm.h>.
19780         (__memrchr): Don't use BP_SYM.
19781         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19782         <bp-sym.h> and <bp-asm.h>.
19783         (memset): Don't use BP_SYM.
19784         (__bzero): Likewise.
19785         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19786         <bp-sym.h> and <bp-asm.h>.
19787         (__rawmemchr): Don't use BP_SYM.
19788         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19789         <bp-sym.h> and <bp-asm.h>.
19790         (__STRCMP): Don't use BP_SYM.
19791         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19792         <bp-sym.h> and <bp-asm.h>.
19793         (strchr): Don't use BP_SYM.
19794         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19795         <bp-sym.h> and <bp-asm.h>.
19796         (__strchrnul): Don't use BP_SYM.
19797         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19798         <bp-sym.h> and <bp-asm.h>.
19799         (strlen): Don't use BP_SYM.
19800         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19801         <bp-sym.h> and <bp-asm.h>.
19802         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19803         pointers.
19804         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19805         <bp-sym.h> and <bp-asm.h>.
19806         (__strnlen): Don't use BP_SYM.
19807         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19808         <bp-sym.h> and <bp-asm.h>.
19809         (__GI__setjmp): Don't use BP_SYM.
19810         (_setjmp): Likewise.
19811         (__sigsetjmp): Likewise.
19812         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19813         (L(start_addresses)): Don't use BP_SYM.
19814         (_start): Likewise.
19815         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19816         <bp-asm.h>.
19817         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19818         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19819         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19820         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19821         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19822         <bp-asm.h>.
19823         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19824         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19825         about bounded pointers.
19826         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19827         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19828         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19829         <bp-asm.h>.
19830         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19831         about bounded pointers.  Remove GKM FIXME comments.
19832         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19833         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19834         <bp-asm.h>.
19835         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19836         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19837         Remove GKM FIXME comments.
19838         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19839         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19840         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19841         <bp-asm.h>.
19842         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19843         about bounded pointers.  Remove GKM FIXME comment.
19844         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19845         and <bp-asm.h>.
19846         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19847         pointers.
19848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19849         <bp-sym.h> and <bp-asm.h>.
19850         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19852         <bp-sym.h> and <bp-asm.h>.
19853         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19854         comment.
19856 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19858         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19859         call free(NULL).
19861 2013-03-05  David S. Miller  <davem@davemloft.net>
19863         * po/es.po: Update from translation team.
19865 2013-03-05  Andreas Jaeger  <aj@suse.de>
19867         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19868         <bits/mman-linux.h>.
19869         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19870         is fine.
19871         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19872         <bits/mman-linux.h> to end of file.
19873         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19874         is fine.
19875         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19876         <bits/mman-linux.h> to end of file.
19877         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19878         is fine.
19879         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19880         <bits/mman-linux.h> to end of file.
19882         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19883         (MCL_CURRENT, MCL_FUTURE): Define here.
19885 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19887         [BZ #15232]
19888         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19889         attribute_hidden.
19890         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19892 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19894         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19895         fourth parameter needed for rt_sigprocmask syscall.
19896         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19897         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19898         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19899         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19900         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19901         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19903 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19905         [BZ #13550]
19906         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19907         comment about bounded pointers.
19908         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19909         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19911 2013-03-04  Andreas Jaeger  <aj@suse.de>
19913         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19914         common definitions.
19916         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19917         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19918         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19919         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19920         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19921         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19923 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19925         [BZ #15055]
19926         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19927         __ieee754_sqrl instead of __sqrl.
19929 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19931         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19932         * sysdeps/powerpc/fpu_control.h: ... here.
19933         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19934         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19935         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19936         * sysdeps/powerpc/bits/mathinline.h: ... here.
19938 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19940         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19941         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19942         to just [NEED_DL_SYSINFO_DSO].
19943         * elf/dl-support.c: Likewise.
19944         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19945         * elf/rtld.c (dl_main): Likewise.
19946         * elf/setup-vdso.h (setup_vdso): Likewise.
19947         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19948         * sysdeps/unix/sysv/linux/dl-sysdep.c
19949         (_dl_discover_osversion): Likewise.
19951 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19953         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19954         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19956 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19958         * NEWS: Mention libm performance improvements and non-x86 PI
19959         futex support.
19961         * csu/libc-start.c (__pthread_initialize_minimal): Change
19962         function arguments.
19963         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19965 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19967         [BZ #13550]
19968         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19969         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19970         <bp-sym.h> and <bp-asm.h>.
19971         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19972         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19973         and <bp-asm.h>.
19974         (memcpy): Don't use BP_SYM.
19975         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19976         <bp-asm.h>.
19977         (__mpn_add_n): Don't use BP_SYM.
19978         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19979         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19980         and <bp-asm.h>.
19981         (__mpn_addmul_1): Don't use BP_SYM.
19982         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19983         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19984         <bp-sym.h>.
19985         (_setjmp): Don't use BP_SYM.
19986         (__novmx_setjmp): Likewise.
19987         (__GI__setjmp): Likewise.
19988         (__vmx_setjmp): Likewise.
19989         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19990         <bp-sym.h>.
19991         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19992         (__bzero): Don't use BP_SYM.
19993         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19994         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19995         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19996         <bp-sym.h> and <bp-asm.h>.
19997         (memcpy): Don't use BP_SYM.
19998         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19999         <bp-sym.h> and <bp-asm.h>.
20000         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20001         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20002         <bp-sym.h> and <bp-asm.h>.
20003         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20004         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20005         <bp-asm.h>.
20006         (__mpn_lshift): Don't use BP_SYM.
20007         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20008         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20009         <bp-asm.h>.
20010         (memset): Don't use BP_SYM.
20011         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20012         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20013         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20014         <bp-asm.h>.
20015         (__mpn_mul_1): Don't use BP_SYM.
20016         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20017         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20018         <bp-sym.h> and <bp-asm.h>.
20019         (memcmp): Don't use BP_SYM.
20020         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20021         <bp-sym.h> and <bp-asm.h>.
20022         (memcpy): Don't use BP_SYM.
20023         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20024         <bp-sym.h> and <bp-asm.h>.
20025         (memset): Don't use BP_SYM.
20026         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20027         <bp-sym.h> and <bp-asm.h>.
20028         (strncmp): Don't use BP_SYM.
20029         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20030         <bp-sym.h> and <bp-asm.h>.
20031         (memcpy): Don't use BP_SYM.
20032         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20033         <bp-sym.h> and <bp-asm.h>.
20034         (memset): Don't use BP_SYM.
20035         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20036         <bp-sym.h> and <bp-asm.h>.
20037         (__memchr): Don't use BP_SYM.
20038         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20039         <bp-sym.h> and <bp-asm.h>.
20040         (memcmp): Don't use BP_SYM.
20041         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20042         <bp-sym.h> and <bp-asm.h>.
20043         (memcpy): Don't use BP_SYM.
20044         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20045         <bp-sym.h> and <bp-asm.h>.
20046         (__mempcpy): Don't use BP_SYM.
20047         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20048         <bp-sym.h> and <bp-asm.h>.
20049         (__memrchr): Don't use BP_SYM.
20050         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20051         <bp-sym.h> and <bp-asm.h>.
20052         (memset): Don't use BP_SYM.
20053         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20054         <bp-sym.h> and <bp-asm.h>.
20055         (__rawmemchr): Don't use BP_SYM.
20056         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20057         <bp-sym.h> and <bp-asm.h>.
20058         (__STRCMP): Don't use BP_SYM.
20059         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20060         <bp-sym.h> and <bp-asm.h>.
20061         (strchr): Don't use BP_SYM.
20062         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20063         <bp-sym.h> and <bp-asm.h>.
20064         (__strchrnul): Don't use BP_SYM.
20065         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20066         <bp-sym.h> and <bp-asm.h>.
20067         (strlen): Don't use BP_SYM.
20068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20069         <bp-sym.h> and <bp-asm.h>.
20070         (strncmp): Don't use BP_SYM.
20071         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20072         <bp-sym.h> and <bp-asm.h>.
20073         (__strnlen): Don't use BP_SYM.
20074         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20075         <bp-asm.h>.
20076         (__mpn_rshift): Don't use BP_SYM.
20077         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20078         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20079         <bp-sym.h> and <bp-asm.h>.
20080         (__sigsetjmp): Don't use BP_SYM.
20081         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20082         (L(start_addresses)): Don't use BP_SYM.
20083         (_start): Likewise.
20084         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20085         <bp-asm.h>.
20086         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20087         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20088         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20089         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20090         <bp-asm.h>.
20091         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20092         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20093         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20094         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20095         <bp-asm.h>.
20096         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20097         comments.
20098         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20099         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20100         <bp-asm.h>.
20101         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20102         FIXME comments.
20103         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20104         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20105         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20106         <bp-asm.h>.
20107         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20108         comment.
20109         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20110         and <bp-asm.h>.
20111         (strncmp): Don't use BP_SYM,
20112         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20113         <bp-asm.h>.
20114         (__mpn_sub_n): Don't use BP_SYM.
20115         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20116         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20117         and <bp-asm.h>.
20118         (__mpn_submul_1): Don't use BP_SYM.
20119         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20121         <bp-sym.h> and <bp-asm.h>.
20122         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20124         <bp-sym.h> and <bp-asm.h>.
20125         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20126         comment.
20128 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20131         Use ZK to minimize writes to Z.
20132         (sub_magnitudes): Simplify code a bit.
20133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20134         Use ZK to minimize writes to Z.
20135         (sub_magnitudes): Simplify code a bit.
20137 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20139         * csu/gmon-start.c: Add special exception to license text.
20141 2013-02-27  Richard Henderson  <rth@redhat.com>
20143         * scripts/config.guess: Update from config.git.
20144         * scripts/config.sub: Likewise.
20146 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20148         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20150         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20152         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20154         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20156         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20158 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20160         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20161         [$(build-shared = yes].
20163 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20165         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20166         (__mul): Reduce iterations for calculating mantissa.
20168         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20169         MPTWO.
20170         (__mpranred): Likewise.
20172         [BZ #15160]
20173         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20174         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20176 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20178         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20179         Define __attribute__.
20181 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20183         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20184         unused.
20185         * posix/regex_internal.h (__attribute): Remove.
20186         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20187         (re_string_context_at): Likewise.
20188         (bitset_not): Use __attribute__ and mark function as possibly
20189         unused.
20190         (bitset_merge): Likewise.
20191         (bitset_mask): Likewise.
20192         (re_string_char_size_at): Likewise.
20193         (re_string_wchar_at): Likewise.
20194         (re_string_elem_size_at): Likewise.
20196 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20198         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20199         code.
20200         (cc32): Likewise.
20202         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20203         (__acr): Likewise.
20204         (__cpy): Likewise.
20205         (norm): Likewise.
20206         (denorm): Likewise.
20207         (__dbl_mp): Likewise.
20208         (add_magnitudes): Likewise.
20209         (sub_magnitudes): Likewise.
20210         (__mul): Likewise.
20211         (__inv): Likewise.
20213         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20214         style.
20216         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20217         style.
20219         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20220         code.
20222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20223         up changes with default code.
20224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20225         Likewise.
20227 2013-02-24  Allan McRae  <allan@archlinux.org>
20229         * manual/socket.texi (The Internet Namespace): Order menu items
20230         to match that in the file.
20232         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20233         node listing of the info page menu.
20235 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20237         [BZ #13550]
20238         * sysdeps/i386/bp-asm.h: Remove file.
20239         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20240         (PARMS): Do not use macros from bp-asm.h.
20241         (S1): Likewise.
20242         (S2): Likewise.
20243         (SIZE): Likewise.
20244         (__mpn_add_n): Do not use BP_SYM
20245         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20246         "bp-asm.h".
20247         (PARMS): Do not use macros from bp-asm.h.
20248         (S1): Likewise.
20249         (SIZE): Likewise.
20250         (__mpn_addmul_1): Do not use BP_SYM
20251         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20252         "bp-asm.h".
20253         (PARMS): Do not use macros from bp-asm.h.
20254         (SIGMSK): Likewise.
20255         (_setjmp): Likewise.  Do not use BP_SYM.
20256         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20257         "bp-asm.h".
20258         (PARMS): Do not use macros from bp-asm.h.
20259         (SIGMSK): Likewise.
20260         (setjmp): Likewise.  Do not use BP_SYM.
20261         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20262         "bp-asm.h".
20263         (PARMS): Do not use macros from bp-asm.h.
20264         (__frexp): Do not use BP_SYM.
20265         (frexp): Likewise.
20266         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20267         "bp-asm.h".
20268         (PARMS): Do not use macros from bp-asm.h.
20269         (__frexpf): Do not use BP_SYM.
20270         (frexpf): Likewise.
20271         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20272         "bp-asm.h".
20273         (PARMS): Do not use macros from bp-asm.h.
20274         (__frexpl): Do not use BP_SYM.
20275         (frexpl): Likewise.
20276         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20277         "bp-asm.h".
20278         (PARMS): Do not use macros from bp-asm.h.
20279         (__remquo): Do not use BP_SYM.
20280         (remquo): Likewise.
20281         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20282         "bp-asm.h".
20283         (PARMS): Do not use macros from bp-asm.h.
20284         (__remquof): Do not use BP_SYM.
20285         (remquof): Likewise.
20286         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20287         "bp-asm.h".
20288         (PARMS): Do not use macros from bp-asm.h.
20289         (__remquol): Do not use BP_SYM.
20290         (remquol): Likewise.
20291         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20292         "bp-asm.h".
20293         (PARMS): Do not use macros from bp-asm.h.
20294         (DEST): Likewise.
20295         (SRC): Likewise.
20296         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20297         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20298         "bp-asm.h".
20299         (PARMS): Do not use macros from bp-asm.h.
20300         (strlen): Do not use BP_SYM.
20301         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20302         "bp-asm.h".
20303         (PARMS): Do not use macros from bp-asm.h.
20304         (S1): Likewise.
20305         (S2): Likewise.
20306         (SIZE): Likewise.
20307         (__mpn_add_n): Do not use BP_SYM.
20308         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20309         "bp-asm.h".
20310         (PARMS): Do not use macros from bp-asm.h.
20311         (S1): Likewise.
20312         (SIZE): Likewise.
20313         (__mpn_addmul_1): Do not use BP_SYM.
20314         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20315         weak_alias.
20316         (bzero): Likewise.
20317         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20318         "bp-asm.h".
20319         (PARMS): Do not use macros from bp-asm.h.
20320         (S): Likewise.
20321         (SIZE): Likewise.
20322         (__mpn_lshift): Do not use BP_SYM.
20323         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20324         "bp-asm.h".
20325         (PARMS): Do not use macros from bp-asm.h.
20326         (DEST): Likewise.
20327         (SRC): Likewise.
20328         (LEN): Likewise.
20329         (memcpy): Likewise.  Do not use BP_SYM.
20330         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20331         libc_hidden_def and weak_alias.
20332         (mempcpy): Do not use BP_SYM in weak_alias.
20333         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20334         "bp-asm.h".
20335         (PARMS): Do not use macros from bp-asm.h.
20336         (DEST): Likewise.
20337         (LEN): Likewise.
20338         [!BZERO_P] (CHR): Likewise.
20339         (memset): Likewise.  Do not use BP_SYM.
20340         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20341         "bp-asm.h".
20342         (PARMS): Do not use macros from bp-asm.h.
20343         (S1): Likewise.
20344         (SIZE): Likewise.
20345         (__mpn_mul_1): Do not use BP_SYM.
20346         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20347         "bp-asm.h".
20348         (PARMS): Do not use macros from bp-asm.h.
20349         (S): Likewise.
20350         (SIZE): Likewise.
20351         (__mpn_rshift): Do not use BP_SYM.
20352         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20353         "bp-asm.h".
20354         (PARMS): Do not use macros from bp-asm.h.
20355         (STR): Likewise.
20356         (CHR): Likewise.
20357         (strchr): Likewise.  Do not use BP_SYM.
20358         (index): Do not use BP_SYM in weak_alias.
20359         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20360         "bp-asm.h".
20361         (PARMS): Do not use macros from bp-asm.h.
20362         (DEST): Likewise.
20363         (SRC): Likewise.
20364         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20365         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20366         "bp-asm.h".
20367         (PARMS): Do not use macros from bp-asm.h.
20368         (strlen): Do not use BP_SYM.
20369         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20370         "bp-asm.h".
20371         (PARMS): Do not use macros from bp-asm.h.
20372         (S1): Likewise.
20373         (S2): Likewise.
20374         (SIZE): Likewise.
20375         (__mpn_sub_n): Do not use BP_SYM.
20376         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20377         "bp-asm.h".
20378         (PARMS): Do not use macros from bp-asm.h.
20379         (S1): Likewise.
20380         (SIZE): Likewise.
20381         (__mpn_submul_1): Do not use BP_SYM.
20382         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20383         "bp-asm.h".
20384         (PARMS): Do not use macros from bp-asm.h.
20385         (S1): Likewise.
20386         (S2): Likewise.
20387         (SIZE): Likewise.
20388         (__mpn_add_n): Do not use BP_SYM.
20389         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20390         weak_alias.
20391         (bzero): Likewise.
20392         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20393         "bp-asm.h".
20394         (PARMS): Do not use macros from bp-asm.h.
20395         (BLK2): Likewise.
20396         (LEN): Likewise.
20397         (memcmp): Do not use BP_SYM.
20398         (bcmp): Do not use BP_SYM in weak_alias.
20399         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20400         "bp-asm.h".
20401         (PARMS): Do not use macros from bp-asm.h.
20402         (DEST): Likewise.
20403         (SRC): Likewise.
20404         (LEN): Likewise.
20405         (memcpy): Likewise.  Do not use BP_SYM.
20406         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20407         "bp-asm.h".
20408         (PARMS): Do not use macros from bp-asm.h.
20409         (DEST): Likewise.
20410         (SRC): Likewise.
20411         (LEN): Likewise.
20412         (memmove): Likewise.  Do not use BP_SYM.
20413         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20414         "bp-asm.h".
20415         (PARMS): Do not use macros from bp-asm.h.
20416         (DEST): Likewise.
20417         (SRC): Likewise.
20418         (LEN): Likewise.
20419         (__mempcpy): Likewise.  Do not use BP_SYM.
20420         (mempcpy): Do not use BP_SYM in weak_alias.
20421         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20422         "bp-asm.h".
20423         (PARMS): Do not use macros from bp-asm.h.
20424         (DEST): Likewise.
20425         (LEN): Likewise.
20426         [!BZERO_P] (CHR): Likewise.
20427         (memset): Likewise.  Do not use BP_SYM.
20428         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20429         "bp-asm.h".
20430         (PARMS): Do not use macros from bp-asm.h.
20431         (STR2): Likewise.
20432         (strcmp): Do not use BP_SYM.
20433         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20434         "bp-asm.h".
20435         (PARMS): Do not use macros from bp-asm.h.
20436         (STR): Likewise.
20437         (DELIM): Likewise.
20438         [USE_AS_STRTOK_R] (SAVE): Likewise.
20439         (FUNCTION): Likewise.  Do not use BP_SYM.
20440         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20441         aliases.
20442         (strtok_r): Likewise.
20443         (__GI___strtok_r): Likewise.
20444         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20445         (PARMS): Do not use macros from bp-asm.h.
20446         (S): Likewise.
20447         (SIZE): Likewise.
20448         (__mpn_lshift): Do not use BP_SYM.
20449         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20450         (PARMS): Do not use macros from bp-asm.h.
20451         (STR): Likewise.
20452         (CHR): Likewise.
20453         (__memchr): Do not use BP_SYM.
20454         (memchr): Do not use BP_SYM in weak_alias.
20455         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20456         (PARMS): Do not use macros from bp-asm.h.
20457         (BLK2): Likewise.
20458         (LEN): Likewise.
20459         (memcmp): Do not use BP_SYM.
20460         (bcmp): Do not use BP_SYM in weak_alias.
20461         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20462         (PARMS): Do not use macros from bp-asm.h.
20463         (S1): Likewise.
20464         (SIZE): Likewise.
20465         (__mpn_mul_1): Do not use BP_SYM.
20466         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20467         "bp-asm.h".
20468         (PARMS): Do not use macros from bp-asm.h.
20469         (STR): Likewise.
20470         (CHR): Likewise.
20471         (__rawmemchr): Do not use BP_SYM.
20472         (rawmemchr): Do not use BP_SYM in weak_alias.
20473         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20474         (PARMS): Do not use macros from bp-asm.h.
20475         (S): Likewise.
20476         (SIZE): Likewise.
20477         (__mpn_rshift): Do not use BP_SYM.
20478         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20479         (PARMS): Do not use macros from bp-asm.h.
20480         (SIGMSK): Likewise.
20481         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20482         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20483         (_start): Do not use BP_SYM.
20484         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20485         (PARMS): Do not use macros from bp-asm.h.
20486         (DEST): Likewise.
20487         (SRC): Likewise.
20488         (__stpcpy): Likewise.  Do not use BP_SYM.
20489         (stpcpy): Do not use BP_SYM in weak_alias.
20490         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20491         "bp-asm.h".
20492         (PARMS): Do not use macros from bp-asm.h.
20493         (DEST): Likewise.
20494         (SRC): Likewise.
20495         (LEN): Likewise.
20496         (__stpncpy): Likewise.  Do not use BP_SYM.
20497         (stpncpy): Do not use BP_SYM in weak_alias.
20498         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20499         (PARMS): Do not use macros from bp-asm.h.
20500         (STR): Likewise.
20501         (CHR): Likewise.
20502         (strchr): Likewise.  Do not use BP_SYM.
20503         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20504         "bp-asm.h".
20505         (PARMS): Do not use macros from bp-asm.h.
20506         (STR): Likewise.
20507         (CHR): Likewise.
20508         (__strchrnul): Likewise.  Do not use BP_SYM.
20509         (strchrnul): Do not use BP_SYM in weak_alias.
20510         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20511         "bp-asm.h".
20512         (PARMS): Do not use macros from bp-asm.h.
20513         (STOP): Likewise.
20514         (strcspn): Do not use BP_SYM.
20515         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20516         "bp-asm.h".
20517         (PARMS): Do not use macros from bp-asm.h.
20518         (STR): Likewise.
20519         (STOP): Likewise.
20520         (strpbrk): Likewise.  Do not use BP_SYM.
20521         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20522         "bp-asm.h".
20523         (PARMS): Do not use macros from bp-asm.h.
20524         (STR): Likewise.
20525         (CHR): Likewise.
20526         (strrchr): Likewise.  Do not use BP_SYM.
20527         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20528         (PARMS): Do not use macros from bp-asm.h.
20529         (SKIP): Likewise.
20530         (strspn): Do not use BP_SYM.
20531         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20532         (PARMS): Do not use macros from bp-asm.h.
20533         (STR): Likewise.
20534         (DELIM): Likewise.
20535         (SAVE): Likewise.
20536         (FUNCTION): Likewise.  Do not use BP_SYM.
20537         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20538         aliases.
20539         (strtok_r): Likewise.
20540         (__GI___strtok_r): Likewise.
20541         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20542         (PARMS): Do not use macros from bp-asm.h.
20543         (S1): Likewise.
20544         (S2): Likewise.
20545         (SIZE): Likewise.
20546         (__mpn_sub_n): Do not use BP_SYM.
20547         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20548         "bp-asm.h".
20549         (PARMS): Do not use macros from bp-asm.h.
20550         (S1): Likewise.
20551         (SIZE): Likewise.
20552         (__mpn_submul_1): Do not use BP_SYM.
20553         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20554         <bp-sym.h>.
20555         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20556         and <bp-asm.h>.
20557         (PARMS): Do not use macros from bp-asm.h.
20558         (FLAGS): Likewise.
20559         (PTID): Likewise.
20560         (TLS): Likewise.
20561         (CTID): Likewise.
20562         (__clone): Do not use BP_SYM.
20563         (clone): Do not use BP_SYM in weak_alias.
20564         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20565         and <bp-asm.h>.
20566         (PARMS): Do not use macros from bp-asm.h.
20567         (LEN): Likewise.
20568         (__mmap64): Do not use BP_SYM.
20569         (mmap64): Do not use BP_SYM in weak_alias.
20570         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20571         <bp-sym.h> and <bp-asm.h>.
20572         (PARMS): Do not use macros from bp-asm.h.
20573         (__posix_fadvise64_l64): Do not use BP_SYM.
20574         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20575         (PARMS): Do not use macros from bp-asm.h.
20576         (NSOPS): Likewise.
20577         (semtimedop): Do not use BP_SYM.
20578         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20579         and <bp-asm.h>.
20581 2013-02-21  Allan McRae  <allan@archlinux.org>
20583         * manual/message.texi (Charset conversion in gettext):
20584         Move @end statement to beginning of line.
20586 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20589         static.
20590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20591         Likewise.
20593         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20594         (denorm): Likewise.
20595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20598 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20600         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20601         tail-call to the resolved function if pltexit isn't needed.
20603 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20606         or Y being zero as being unlikely.
20607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20608         Likewise.
20610 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20612         * manual/nss.texi (System Databases and Name Service Switch):
20613         Remove frobnicate @pxref.
20615 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20617         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20618         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20620 2013-02-20  Petr Machata  <pmachata@redhat.com>
20622         * elf/elf.h (R_ARM_TARGET1): New macro.
20623         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20624         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20625         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20626         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20627         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20628         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20629         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20630         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20631         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20632         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20633         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20634         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20635         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20636         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20637         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20638         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20639         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20640         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20641         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20642         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20643         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20644         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20645         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20646         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20647         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20648         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20649         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20650         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20651         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20652         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20653         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20654         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20655         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20656         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20657         (R_ARM_THM_GOT_BREL12): Likewise.
20658         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20659         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20660         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20661         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20662         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20663         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20664         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20665         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20666         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20668 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20670         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20671         __attribute_used__ to __attribute__ ((unused)).
20673 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20675         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20676         powerpc mpa.c.
20677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20678         comment formatting.
20679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20681 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20683         [BZ #13550]
20684         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20685         Remove macro.
20686         (ENTER): Remove both macro definitions.
20687         (LEAVE): Likewise.
20688         (CHECK_BOUNDS_LOW): Likewise.
20689         (CHECK_BOUNDS_HIGH): Likewise.
20690         (CHECK_BOUNDS_BOTH): Likewise.
20691         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20692         (RETURN_BOUNDED_POINTER): Likewise.
20693         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20694         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20695         (POP_ERRNO_LOCATION_RETURN): Likewise.
20696         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20697         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20698         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20699         macros.
20700         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20701         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20702         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20703         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20704         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20705         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20706         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20707         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20708         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20709         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20710         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20711         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20712         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20713         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20714         removed macros.
20715         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20716         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20717         macros.
20718         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20719         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20720         * sysdeps/i386/i586/memset.S (memset): Likewise.
20721         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20722         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20723         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20724         macros.
20725         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20726         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20727         Change uses of L(2) to L(out).
20728         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20729         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20730         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20731         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20732         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20733         removed macros.
20734         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20735         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20736         macros.
20737         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20738         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20739         (RETURN): Do not use macro LEAVE.
20740         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20741         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20742         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20743         * sysdeps/i386/i686/memset.S (memset): Likewise.
20744         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20745         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20746         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20747         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20748         Likewise.
20749         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20750         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20751         L(1_2) and L(1_3) into L(1).
20752         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20753         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20754         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20755         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20756         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20757         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20758         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20759         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20760         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20761         macros.
20762         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20763         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20764         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20765         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20766         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20767         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20768         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20769         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20770         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20771         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20772         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20773         * sysdeps/i386/strspn.S (strspn): Likewise.
20774         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20775         conditional code.
20776         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20777         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20778         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20779         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20780         L(1_3) into L(1_1).
20781         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20782         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20783         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20784         macros.
20785         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20787 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20789         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20790         macro.
20792 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20794         * math/atest-exp.c (exp_mpn): Remove ROUND.
20795         * math/atest-exp2.c (exp_mpn): Likewise.
20796         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20798         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20799         * stdlib/tst-tls-atexit-lib.c: Likewise.
20800         * stdlib/tst-tls-atexit.c: Likewise.
20802 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20804         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20805         and __attribute_alloc_size__.
20807 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20809         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20810         __attribute_alloc_size__.
20811         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20812         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20814 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20816         * include/programs/xmalloc.h: New file.
20817         * catgets/gencat.c: Include it.
20818         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20819         * elf/pldd.c: Likewise.
20820         * iconv/iconv_charmap.c: Likewise.
20821         * iconv/iconvconfig.c: Likewise.
20822         * iconv/strtab.c: Likewise.
20823         * locale/programs/locale.c: Likewise.
20824         * locale/programs/localedef.h: Likewise.
20825         * locale/programs/simple-hash.c: Likewise.
20826         * nscd/nscd.h: Likewise.
20827         * nss/makedb.c: Likewise.
20828         * sysdeps/generic/ldconfig.h: Likewise.
20830 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20832         * Versions.def: Add GLIBC_2.18.
20833         * include/link.h (struct link_map): New member l_tls_dtor_count.
20834         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20835         (__call_tls_dtors): Likewise.
20836         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20837         __cxa_thread_atexit_impl.
20838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20839         Likewise.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20841         Likewise.
20842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20845         Likewise.
20846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20848         Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20850         Likewise.
20851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20853         Likewise.
20854         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20855         (tests): Add test case tst-tls-atexit.
20856         (modules-names): Add shared library for tst-tls-atexit.
20857         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20858         (GLIBC_PRIVATE): Add __call_tls_dtors.
20859         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20860         for libstdc++.
20861         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20862         * stdlib/tst-tls-atexit.c: New test case.
20863         * stdlib/tst-tls-atexit-lib.c: New test case.
20865         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20867         * elf/Versions (ld): Add _dl_find_dso_for_object.
20868         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20869         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20870         (dl_open_worker): Use _dl_find_dso_for_object.
20871         * elf/dl-sym.c (do_sym): Likewise.
20872         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20874 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20876         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20877         Syntactic changes only.
20878         (_dl_runtime_profile): Do a tail-call to the resolved function.
20880 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20882         [BZ #13550]
20883         * sysdeps/x86_64/bp-asm.h: Remove file.
20884         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20885         <bp-sym.h> and <bp-asm.h>.
20886         (__clone): Do not use BP_SYM.
20887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20888         <bp-sym.h> and <bp-asm.h>.
20889         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20890         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20891         "bp-asm.h".
20892         (_setjmp): Do not use BP_SYM.
20893         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20894         "bp-asm.h".
20895         (setjmp): Do not use BP_SYM.
20896         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20897         libc_hidden_def.
20898         (mempcpy): Do not use BP_SYM in weak_alias.
20899         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20900         "bp-asm.h".
20901         (strchr): Do not use BP_SYM.
20902         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20903         "bp-asm.h".
20904         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20905         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20906         (_start): Do not use BP_SYM.
20907         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20908         "bp-asm.h".
20909         (strcat): Do not use BP_SYM.
20910         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20911         "bp-asm.h".
20912         (STRCMP): Do not use BP_SYM.
20913         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20914         "bp-asm.h".
20915         (STRCPY): Do not use BP_SYM.
20916         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20917         "bp-asm.h".
20918         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20919         "bp-asm.h".
20920         (FUNCTION): Do not use BP_SYM.
20921         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20922         weak_alias.
20923         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20925 2013-02-17  Andreas Jaeger  <aj@suse.de>
20927         * time/Versions: Sort entries.
20928         * string/Versions: Likewise.
20929         * resolv/Versions: Likewise.
20930         * posix/Versions: Likewise.
20931         * iconv/Versions: Likewise.
20932         * elf/Versions: Likewise.
20933         * wcsmbs/Versions: Likewise.
20935 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20937         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20938         loop termination condition.
20940         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20941         variable to calculate EZ.
20942         (__sqr): Likewise.
20944         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20945         the lower precision input.
20947 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20949         [BZ #13550]
20950         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20951         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20952         (run-via-rtld-prefix): Do not handle %-bp tests.
20953         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20954         (all-object-suffixes): Remove .ob.
20955         (bppfx): Remove variable.
20956         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20957         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20958         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20959         [$(build-bounded) = yes] (libtype.ob): Likewise.
20960         * Makerules (elide-routines.ob): Remove variable.
20961         (do-tests-clean): Do not handle *-bp.out.
20962         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20963         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20964         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20965         (tests): Do not include $(tests-bp.out).
20966         (xtests): Do not include $(xtests-bp.out).
20967         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20968         [$(build-bounded) = yes] ($(addprefix
20969         $(objpfx),$(binaries-bounded))): Remove rule.
20970         ($(objpfx)%-bp.out): Remove rule.
20971         * config.make.in (build-bounded): Remove variable.
20972         * crypt/Makefile [$(build-bounded) = yes]
20973         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20974         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20975         append to variable.
20976         [$(build-bounded) = yes] (install-lib): Likewise.
20977         [$(build-bounded) = yes] (generated): Likewise.
20978         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20979         Remove rule.
20980         * intl/Makefile [$(build-bounded) = yes]
20981         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20982         * math/Makefile [$(build-bounded) = yes]
20983         ($(tests:%=$(objpfx)%-bp): Likewise.
20984         * misc/Makefile [$(build-bounded) = yes]
20985         ($(objpfx)tst-tsearch-bp): Likewise.
20986         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20987         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20988         Remove dependency.
20989         * string/Makefile (o-objects.ob): Remove variable.
20990         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20991         (CFLAGS-.ob): Remove variable.
20992         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20993         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20994         both definitions of variable.
20995         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20996         (ASFLAGS-.ob): Remove variable.
20998 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21000         [BZ #13550]
21001         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21002         Remove __BOUNDED_POINTERS__ from condition.
21003         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21004         * string/bits/string2.h [!__NO_STRING_INLINES &&
21005         !__BOUNDED_POINTERS__]: Likewise.
21006         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21007         Likewise.
21008         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21009         Remove conditional code.
21010         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21011         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21012         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21013         condition.
21015         [BZ #13550]
21016         * csu/libc-start.c: Do not include <bp-sym.h>.
21017         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21018         * elf/dl-open.c: Do not include <bp-sym.h>.
21019         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21020         * math/fegetenv.c: Do not include <bp-sym.h>.
21021         (fegetenv): Do not use BP_SYM in versioned symbols.
21022         * nptl/sysdeps/pthread/bits/libc-lockP.h
21023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21024         <bp-sym.h>.
21025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21026         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21028         (__pthread_mutex_destroy): Likewise.
21029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21030         (__pthread_mutex_lock): Likewise.
21031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21032         (__pthread_mutex_trylock): Likewise.
21033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21034         (__pthread_mutex_unlock): Likewise.
21035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21036         (__pthread_mutexattr_init): Likewise.
21037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21038         (__pthread_mutexattr_destroy): Likewise.
21039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21040         (__pthread_mutexattr_settype): Likewise.
21041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21042         (__pthread_rwlock_init): Likewise.
21043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21044         (__pthread_rwlock_destroy): Likewise.
21045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21046         (__pthread_rwlock_rdlock): Likewise.
21047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21048         (__pthread_rwlock_tryrdlock): Likewise.
21049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21050         (__pthread_rwlock_wrlock): Likewise.
21051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21052         (__pthread_rwlock_trywrlock): Likewise.
21053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21054         (__pthread_rwlock_unlock): Likewise.
21055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21056         (__pthread_key_create): Likewise.
21057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21058         (__pthread_setspecific): Likewise.
21059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21060         (__pthread_getspecific): Likewise.
21061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21062         Likewise.
21063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21064         (_pthread_cleanup_push_defer): Likewise.
21065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21066         (_pthread_cleanup_pop_restore): Likewise.
21067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21068         (pthread_setcancelstate): Likewise.
21069         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21070         <bp-sym.h>.
21071         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21072         (memchr): Do not use BP_SYM in weak_alias.
21073         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21074         (fegetenv): Do not use BP_SYM in versioned symbols.
21075         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21076         (fesetenv): Do not use BP_SYM in versioned symbols.
21077         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21078         (feupdateenv): Do not use BP_SYM in versioned symbols.
21079         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21080         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21081         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21082         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21083         (open64): Do not use BP_SYM in weak_alias.
21084         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21085         (fegetenv): Do not use BP_SYM in versioned symbols.
21086         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21087         (fesetenv): Do not use BP_SYM in versioned symbols.
21088         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21089         (feupdateenv): Do not use BP_SYM in versioned symbols.
21090         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21091         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21092         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21093         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21094         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21095         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21096         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21097         <bp-sym.h>.
21098         (__libc_start_main): Do not use BP_SYM.
21100 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21102         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21103         redundant return line.
21104         (norm): Likewise.
21105         (denorm): Likewise.
21106         (dbl_mp): Likewise.
21107         (sub_magnitudes): Likewise.
21108         (__add): Likewise.
21109         (__sub): Likewise.
21110         (__mul): Likewise.
21111         (__inv): Likewise.
21112         (__dvd): Likewise.
21113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21114         (norm): Likewise.
21115         (denorm): Likewise.
21116         (dbl_mp): Likewise.
21117         (sub_magnitudes): Likewise.
21118         (__add): Likewise.
21119         (__sub): Likewise.
21120         (__mul): Likewise.
21121         (__inv): Likewise.
21122         (__dvd): Likewise.
21124         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21125         instead of __mul.
21126         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21127         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21128         (cc32): Likewise.
21130         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21131         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21133         of __mul for squares.
21134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21135         function
21136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21137         Likewise.
21138         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21139         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21141 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21143         [BZ #13550]
21144         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21145         code.
21146         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21147         prototype or function definition.  Rename ubp_* variables and
21148         parameters.  Remove argv definitions conditional on
21149         [__BOUNDED_POINTERS__].
21150         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21151         * elf/dl-runtime.c (_dl_fixup): Likewise.
21152         * include/set-hooks.h (RUN_HOOK): Likewise.
21153         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21154         definition.
21155         * string/strcpy.c (strcpy): Do not use __unbounded.
21156         * sysdeps/generic/frame.h (struct layout): Likewise.
21157         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21158         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21159         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21160         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21161         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21162         (__backtrace): Likewise.
21163         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21164         use __ptrvalue.
21165         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21166         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21167         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21168         Likewise.
21169         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21170         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21171         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21172         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21173         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21174         Do not use __unbounded.
21175         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21176         Rename __unboundedrlimits parameter to rlimits in prototype.
21177         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21178         Do not use __unbounded.
21179         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21180         not use __ptrvalue.
21181         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21182         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21183         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21184         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21185         __ptrvalue or __unbounded.
21186         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21187         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21188         use __unbounded.
21189         (__new_msgctl): Do not use __ptrvalue.
21190         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21191         __unbounded.
21192         (__libc_msgrcv): Do not use __ptrvalue.
21193         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21194         startup_info): Do not use __unbounded.
21195         (__libc_start_main): Likewise.  Rename ubp_* variables and
21196         parameters.  Remove argv definitions conditional on
21197         [__BOUNDED_POINTERS__].
21198         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21199         __ptrvalue.
21200         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21201         use __unbounded.
21202         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21203         or __ptrvalue.
21204         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21205         use __unbounded.
21206         (__new_shmctl): Do not use __ptrvalue.
21207         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21208         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21209         Likewise.
21210         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21211         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21212         (__libc_sigaction): Likewise.
21213         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21214         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21215         Likewise.
21216         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21218 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21220         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21222         * string/mempcpy.c: Implement by calling memcpy.
21224 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21228         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21229         evaluation.
21231         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21232         values in the mantissa.
21234         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21235         minimize writes to Z.
21236         (sub_magnitudes): Simplify code a bit.
21238 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21240         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21241         from the message.  The linker prefixes all warnings with that already.
21243 2013-02-12  Andreas Schwab  <schwab@suse.de>
21245         [BZ #15078]
21246         * posix/regexec.c (extend_buffers): Add parameter min_len.
21247         (check_matching): Pass minimum needed length.
21248         (clean_state_log_if_needed): Likewise.
21249         (get_subexp): Likewise.
21250         * posix/Makefile (tests): Add bug-regex34.
21251         (bug-regex34-ENV): Define.
21252         * posix/bug-regex34.c: New file.
21254         [BZ #11561]
21255         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21256         elements compare against the byte sequence of it, not its name.
21257         * posix/Makefile (tests): Add bug-regex35.
21258         (bug-regex35-ENV): Define.
21259         * posix/bug-regex35.c: New file.
21261 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21263         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21264         comment.
21265         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21266         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21267         (CHECK_EOL): Add undef.
21269 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21271         * bits/stdlib-bsearch.h: New file.
21272         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21273         * stdlib/stdlib.h: Likewise.
21275 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21277         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21278         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21279         declaration.
21280         * manual/search.texi (Array Search Function): Add missing const in
21281         lfind prototype.
21282         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21283         declaration to use rlim_t.
21284         (Basic Scheduling Functions): Remove erroneous const from
21285         sched_getparam prototype.  Remove erroneous * from
21286         sched_get_priority_max and sched_get_priority_min prototypes.
21287         (Resource Usage): Fix summary @comment on vtimes to refer to
21288         sys/vtimes.h rather than vtimes.h.
21289         Add missing *s in vtimes prototype.
21290         (Limits on Resources): Fix ulimit prototype to return long int.
21291         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21292         prototypes to use long int rather than double.
21293         (BSD Random): Fix initstate and setstate to use char *, not void *.
21294         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21295         prototype to make second argument 'struct aiocb64 *const[]'.
21296         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21297         (Status of AIO Operations): Remove erroneous const in aio_return and
21298         aio_return64 prototypes.
21299         (Synchronizing I/O): Fix sync prototype to return void.
21300         * manual/startup.texi (Suboptions): Remove an erroneous const in
21301         getsubopt prototype.
21302         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21303         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21304         use size_t rather than int.
21305         (Scanning All Users): Likewise for getpwent_r.
21306         (Setting Groups): Add missing const to setgroups prototype.
21307         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21308         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21309         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21310         'const void *' rather than 'const char *'.
21311         (Host Address Functions): Likewise for inet_ntop.
21312         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21313         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21314         ssize_t for return value.
21315         (Sending Data): Likewise for send, sendto, sendmsg.
21316         (Socket Option Functions): Add a missing const in setsockopt prototype.
21317         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21318         use wchar_t for the argument.
21319         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21320         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21321         take no arguments.
21322         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21323         double/float/long double for second argument.
21324         Fix return types of significand, significandf, significandl.
21325         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21326         argument in fchmod prototype.
21327         (File Owner): Use uid_t and gid_t in fchown prototype.
21328         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21329         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21330         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21331         use 'const struct dirent **' as argument types to CMP function pointer
21332         argument.
21333         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21334         (File Times): Fix summary magic @comment for struct utimbuf and utime
21335         to refer to utime.h, not time.h.
21336         * manual/string.texi (Argz Functions): Add missing const in
21337         argz_extract and argz_next prototypes.
21338         (Finding Tokens in a String): Likewise for basename.
21339         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21340         (Copying and Concatenation): Fix typo in wmemmove prototype.
21341         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21342         (Signal Stack): Remove erroneous const in sigstack prototype.
21343         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21344         prototype.
21345         (Simple Calendar Time): Likewise for stime.
21346         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21347         prototype.
21348         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21349         say sys/sysctl.h instead.
21350         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21351         and vsyslog prototypes.
21353 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21355         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21356         Remove.
21358 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21360         * misc/sys/mman.h: Fix typo in mremap comment.
21362 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21364         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21365         the '\0' terminator.
21367 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21369         [BZ #13550]
21370         * debug/segfault.c: Don't include <bp-checks.h>.
21371         * sysdeps/generic/bp-checks.h: Remove file.
21372         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21373         (__GETDENTS): Don't use CHECK_N.
21374         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21375         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21376         (__getgroups): Don't use CHECK_N.
21377         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21378         (setgroups): Don't use CHECK_N.
21379         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21380         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21381         (__libc_msgrcv): Don't use CHECK_N.
21382         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21383         (__libc_msgsnd): Don't use CHECK_N.
21384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21385         <bp-checks.h>.
21386         (__libc_pread): Don't use CHECK_N.
21387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21388         include <bp-checks.h>.
21389         (__libc_pread64): Don't use CHECK_N.
21390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21391         include <bp-checks.h>.
21392         (__libc_pwrite): Don't use CHECK_N.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21394         include <bp-checks.h>.
21395         (__libc_pwrite64): Don't use CHECK_N.
21396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21397         <bp-checks.h>.
21398         (__libc_pread): Don't use CHECK_N.
21399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21400         include <bp-checks.h>.
21401         (__libc_pread64): Don't use CHECK_N.
21402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21403         include <bp-checks.h>.
21404         (__libc_pwrite): Don't use CHECK_N.
21405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21406         include <bp-checks.h>.
21407         (__libc_pwrite64): Don't use CHECK_N.
21408         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21409         (do_pread): Don't use CHECK_N.
21410         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21411         (do_pread64): Don't use CHECK_N.
21412         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21413         (do_pwrite): Don't use CHECK_N.
21414         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21415         (do_pwrite64): Don't use CHECK_N.
21416         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21417         (__libc_readv): Don't use CHECK_N.
21418         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21419         (semop): Don't use CHECK_N.
21420         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21421         <bp-checks.h>.
21422         (semtimedop): Don't use CHECK_N.
21423         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21424         (__libc_pread): Don't use CHECK_N.
21425         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21426         <bp-checks.h>.
21427         (__libc_pread64): Don't use CHECK_N.
21428         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21429         <bp-checks.h>.
21430         (__libc_pwrite): Don't use CHECK_N.
21431         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21432         <bp-checks.h>.
21433         (__libc_pwrite64): Don't use CHECK_N.
21434         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21435         <bp-checks.h>.
21436         (__libc_msgrcv): Don't use CHECK_N.
21437         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21438         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21439         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21440         (__libc_writev): Don't use CHECK_N.
21442 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21444         * string/strcpy.c: Removed unused variable.
21446         * Makeconfig (+sysdep-includes): Define with := rather than =.
21447         Use an existing include/ subdir of each sysdeps dir before it.
21449 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21451         * nscd/connection.c (register_traced_file): Comment function.
21452         [HAVE_INOTIFY] (union __inev): Define.
21453         [HAVE_INOTIFY] (inotify_check_files): New function.
21454         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21455         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21456         clear_db_cache.
21457         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21459 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21461         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21462         loaded if not already and that a failure is permanent.
21464 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21466         [BZ #15006]
21467         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21468         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21470 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21472         [BZ #13550]
21473         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21474         (CHECK_1_NULL_OK): Likewise.
21475         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21476         (__fxstat): Do not use CHECK_1.
21477         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21478         <bp-checks.h>.
21479         (___fxstat64): Do not use CHECK_1.
21480         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21481         <bp-checks.h>.
21482         (__fxstatat): Do not use CHECK_1.
21483         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21484         <bp-checks.h>.
21485         (__fxstatat64): Do not use CHECK_1.
21486         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21487         <bp-checks.h>.
21488         (__fxstat): Do not use CHECK_1.
21489         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21490         <bp-checks.h>.
21491         (__fxstatat): Do not use CHECK_1.
21492         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21493         <bp-checks.h>.
21494         (__getresgid): Do not use CHECK_1.
21495         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21496         <bp-checks.h>.
21497         (__getresuid): Do not use CHECK_1.
21498         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21499         <bp-checks.h>.
21500         (__lxstat): Do not use CHECK_1.
21501         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21502         <bp-checks.h>.
21503         (__old_msgctl): Do not use CHECK_1.
21504         (__new_msgctl): Likewise.
21505         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21506         <bp-checks.h>.
21507         (__new_setrlimit): Do not use CHECK_1.
21508         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21509         <bp-checks.h>.
21510         (__old_shmctl): Do not use CHECK_1.
21511         (__new_shmctl): Likewise.
21512         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21513         <bp-checks.h>.
21514         (__xstat): Do not use CHECK_1.
21515         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21516         (__lxstat): Do not use CHECK_1.
21517         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21518         <bp-checks.h>.
21519         (___lxstat64): Do not use CHECK_1.
21520         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21521         (__old_msgctl): Do not use CHECK_1.
21522         (__new_msgctl): Likewise.
21523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21524         <bp-checks.h>.
21525         (__gettimeofday): Do not use CHECK_1.
21526         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21527         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21528         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21529         <bp-checks.h>.
21530         (__gettimeofday): Do not use CHECK_1.
21531         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21532         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21533         (__new_shmctl): Do not use CHECK_1.
21534         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21535         <bp-checks.h>.
21536         (do_sigtimedwait): Do not use CHECK_1.
21537         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21538         <bp-checks.h>.
21539         (do_sigwaitinfo): Do not use CHECK_1.
21540         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21541         <bp-checks.h>.
21542         (msgctl): Do not use CHECK_1.
21543         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21544         <bp-checks.h>.
21545         (shmctl): Do not use CHECK_1.
21546         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21547         (ustat): Do not use CHECK_1.
21548         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21549         <bp-checks.h>.
21550         (__fxstat): Do not use CHECK_1.
21551         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21552         <bp-checks.h>.
21553         (__fxstatat): Do not use CHECK_1.
21554         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21555         <bp-checks.h>.
21556         (__lxstat): Do not use CHECK_1.
21557         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21558         <bp-checks.h>.
21559         (__xstat): Do not use CHECK_1.
21560         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21561         (__xstat): Do not use CHECK_1.
21562         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21563         (___xstat64): Do not use CHECK_1.
21565         [BZ #13550]
21566         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21567         definitions.
21568         (CHECK_BOUNDS_HIGH): Likewise.
21569         * string/strcpy.c: Do not include <bp-checks.h>.
21570         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21572 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21574         * nscd/nscd-client.h (__nscd_drop_map_ref):
21575         Add __attribute__ ((unused)).
21576         * nis/nss-nisplus.h (niserr2nss): Likewise.
21578         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21579         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21581         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21582         Remove inline keyword.
21583         * include/rounding-mode.h (round_away): Likewise.
21584         * libio/wfileops.c (adjust_wide_data): Likewise.
21585         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21586         (__m128i_strloadu_tolower): Likewise.
21587         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21588         (__m128i_strloadu_tolower): Likewise.
21589         * time/mktime.c (ydhms_diff): Likewise.
21590         * locale/elem-hash.h (elem_hash): Likewise.
21591         * locale/setlocale.c (setdata): Likewise.
21592         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21593         (re_string_wchar_at): Likewise.
21594         (bitset_not, bitset_merge, bitset_mask): Likewise.
21595         [!(__GNUC__ > 3)] (inline): Remove macro.
21596         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21597         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21598         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21599         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21600         * string/memcmp.c (memcmp_bytes): Likewise.
21601         * locale/programs/locarchive.c (compute_hashval): Likewise.
21602         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21603         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21604         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21605         * nss/getent.c (print_rpc, print_protocols): Likewise.
21606         (print_passwd, print_group, print_aliases): Likewise.
21607         * nis/nss-nisplus.h (niserr2nss): Likewise.
21608         * nscd/connections.c (restart_p): Likewise.
21609         Change return type to bool.
21611 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21613         * Makeconfig (all-Depend-files): Add existing
21614         $(sorted-subdirs:=/Depend) files.
21615         (all-subdirs): Remove nss.
21616         * sysdeps/unix/inet/Subdirs: Add it here instead.
21617         * hesiod/Depend: New file.
21619         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21620         instead of calling alloca.
21622         * io/lseek.c (__lseek): Rename to __libc_lseek.
21623         Define __lseek as an alias.
21625         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21627 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21629         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21630         else clause and remove check for non-standard endianness.
21632 2013-02-04  David S. Miller  <davem@davemloft.net>
21634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21636 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #13550]
21639         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21640         (__ubp_memchr): Remove prototype.
21641         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21642         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21643         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21644         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21645         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21646         Remove alias.
21647         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21648         (__ubp_memchr): Likewise.
21649         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21650         (__ubp_memchr): Likewise.
21651         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21652         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21653         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21654         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21655         CHECK_STRING.
21656         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21657         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21658         (__getcwd): Do not use CHECK_STRING.
21659         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21660         <bp-checks.h>.
21661         (__real_chown): Do not use CHECK_STRING.
21662         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21663         <bp-checks.h>.
21664         (fchownat): Do not use CHECK_STRING.
21665         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21666         CHECK_STRING.
21667         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21668         <bp-checks.h>.
21669         (__lchown): Do not use CHECK_STRING.
21670         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21671         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21672         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21673         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21675         include <bp-checks.h>.
21676         (truncate64): Do not use CHECK_STRING.
21677         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21678         <bp-checks.h>.
21679         (__real_chown): Do not use CHECK_STRING.
21680         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21681         <bp-checks.h>.
21682         (__lchown): Do not use CHECK_STRING.
21683         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21684         <bp-checks.h>.
21685         (__chown): Do not use CHECK_STRING.
21686         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21687         <bp-checks.h>.
21688         (truncate64): Do not use CHECK_STRING.
21689         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21690         Likewise.
21691         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21692         (__xmknod): Do not use CHECK_STRING.
21693         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21694         <bp-checks.h>.
21695         (__xmknodat): Do not use CHECK_STRING.
21696         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21697         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21699 2013-02-04  Andreas Schwab  <schwab@suse.de>
21701         [BZ #14142]
21702         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21703         * include/netdb.h: Likewise for h_errno.
21704         * elf/tst-stackguard1.c: Include <tls.h>.
21706 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21708         * elf/link.h (struct link_map): Extend the l_addr comment.
21709         * include/link.h (struct link_map): Likewise.
21711 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21713         [BZ #13550]
21714         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21715         (BOUNDED_1): Remove macro.
21716         * debug/backtrace.c: Don't include <bp-checks.h>.
21717         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21718         (__backtrace): Likewise.
21719         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21720         <bp-checks.h>.
21721         (__backtrace): Don't use BOUNDED_1.
21722         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21723         <bp-checks.h>.
21724         (__backtrace): Don't use BOUNDED_1.
21725         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21726         (__backtrace): Don't use BOUNDED_1.
21727         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21728         (shmat): Don't use BOUNDED_N.
21730 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21732         [BZ #13550]
21733         * sysdeps/generic/bp-start.h: Remove file.
21734         * csu/libc-start.c: Don't include <bp-start.h>.
21735         (LIBC_START_MAIN): Set up __environ directly instead of using
21736         INIT_ARGV_and_ENVIRON.
21737         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21738         <bp-start.h>.
21740         [BZ #13550]
21741         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21742         definitions.
21743         (CHECK_FCNTL): Likewise.
21744         (CHECK_N_PAGES): Likewise.
21746         [BZ #13550]
21747         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21748         definitions.
21749         (CHECK_SIGSET_NULL_OK): Likewise.
21750         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21751         <bp-checks.h>.
21752         (sigpending): Don't use CHECK_SIGSET.
21753         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21754         <bp-checks.h>.
21755         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21756         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21757         <bp-checks.h>.
21758         (do_sigsuspend): Don't use CHECK_SIGSET.
21759         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21760         use CHECK_SIGSET.
21761         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21762         (do_sigwait): Don't use CHECK_SIGSET.
21763         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21764         use CHECK_SIGSET.
21765         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21766         include <bp-checks.h>.
21767         (sigpending): Don't use CHECK_SIGSET.
21768         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21769         include <bp-checks.h>.
21770         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21771         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21772         <bp-checks.h>.
21773         (sigpending): Don't use CHECK_SIGSET.
21774         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21775         <bp-checks.h>.
21776         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21778         [BZ #13550]
21779         * sysdeps/generic/bp-semctl.h: Remove file.
21780         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21781         <bp-checks.h> and <bp-semctl.h>.
21782         (__old_semctl): Don't use CHECK_SEMCTL.
21783         (__new_semctl): Likewise.
21784         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21785         and <bp-semctl.h>.
21786         (__old_semctl): Don't use CHECK_SEMCTL.
21787         (__new_semctl): Likewise.
21788         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21789         <bp-checks.h> and <bp-semctl.h>.
21790         (__old_semctl): Don't use CHECK_SEMCTL.
21791         (__new_semctl): Likewise.
21792         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21793         <bp-checks.h> and <bp-semctl.h>.
21794         (semctl): Don't use CHECK_SEMCTL.
21796         [BZ #13550]
21797         * Makerules (elide-bp-thunks): Remove variable.
21798         (elide-routines.oS): Don't use $(elide-bp-thunks).
21799         (elide-routines.os): Likewise.
21800         (elide-routines.o): Likewise.
21801         (elide-routines.op): Likewise.
21802         (elide-routines.og): Likewise.
21803         (objects): Don't use $(bp-thunks).
21804         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21805         include.
21806         (common-generated): Do not add s-proto-bp.d.
21807         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21808         (int): Likewise.
21809         (typ): Likewise.
21810         Do not generate makefile rules for bounded-pointer thunks.
21811         * sysdeps/generic/bp-thunks.h: Remove file.
21812         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21813         * sysdeps/unix/s-proto-bp.S: Likewise.
21815         [BZ #15062]
21816         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21817         parts of result separately when argument is not close to line from
21818         -i to i and one part of argument is small.
21819         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21820         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21821         * math/libm-test.inc (cacos_test): Add more tests.
21822         (casin_test): Likewise.
21823         (casinh_test): Likewise.
21824         * sysdeps/i386/fpu/libm-test-ulps: Update.
21825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21827 2013-01-31  David S. Miller  <davem@davemloft.net>
21829         * po/de.po: Update from translation team.
21831 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21833         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21835 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21837         * configure.in (_AC_PROG_CC_C89): New definition.
21838         * configure: Regenerate.
21840         * configure.in (AC_PROG_CPP): New definition.
21841         * configure: Regenerate.
21843 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21845         * debug/tst-backtrace.h: New file.
21846         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21847         (ret): Remove variable.
21848         (x): Likewise.
21849         (FAIL): Remove macro.
21850         (NO_INLINE): Likewise.
21851         (fn1): Use match function instead of strstr.
21852         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21853         (ret): Remove variable.
21854         (x): Likewise.
21855         (FAIL): Remove macro.
21856         (NO_INLINE): Likewise.
21857         (fn): Use match function instead of strstr.
21858         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21859         (ret): Remove variable.
21860         (x): Likewise.
21861         (FAIL): Remove macro.
21862         (NO_INLINE): Likewise.
21863         (handle_signal): Use match function instead of strstr.
21864         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21865         (ret): Remove variable.
21866         (x): Likewise.
21867         (FAIL): Remove macro.
21868         (NO_INLINE): Likewise.
21869         (handle_signal): Use match function instead of strstr.
21871 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21873         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21875 2013-01-23  David S. Miller  <davem@davemloft.net>
21877         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21878         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21879         argument of CAS if possible.
21880         * sysdeps/sparc/sparc64/bits/atomic.h
21881         (__arch_compare_and_exchange_val_32_acq): Likewise.
21882         (__arch_compare_and_exchange_val_64_acq): Likewise.
21884 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21886         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21887         * sysdeps/posix/ulimit.c: ... this.
21888         Include <limits.h>.
21889         * sysdeps/unix/bsd/ulimit.c: Remove file.
21891 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21893         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21894         (LDFLAGS-tst-array5): Likewise.
21896 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21898         [BZ #15036]
21899         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21900         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21901         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21902         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21904 2013-01-21  David S. Miller  <davem@davemloft.net>
21906         * sysdeps/sparc/backtrace.c: New file.
21907         * sysdeps/sparc/sparc32/backtrace.h: New file.
21908         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21909         * sysdeps/sparc/sparc64/backtrace.h: New file.
21910         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21911         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21912         -funwind-tables.
21914 2013-01-21  Andreas Schwab  <schwab@suse.de>
21916         [BZ #15020]
21917         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21918         closed its stdout.
21920 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21923         "mpa2.h".
21924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21926 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21927             Mark Mitchell  <mark@codesourcery.com>
21928             Tom de Vries  <tom@codesourcery.com>
21929             Paul Pluzhnikov  <ppluzhnikov@google.com>
21931         * debug/tst-backtrace2.c: New file.
21932         * debug/tst-backtrace3.c: Likewise.
21933         * debug/tst-backtrace4.c: Likewise.
21934         * debug/tst-backtrace5.c: Likewise.
21935         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21936         (CFLAGS-tst-backtrace3.c): Likewise.
21937         (CFLAGS-tst-backtrace4.c): Likewise.
21938         (CFLAGS-tst-backtrace5.c): Likewise.
21939         (LDFLAGS-tst-backtrace2): Likewise.
21940         (LDFLAGS-tst-backtrace3): Likewise.
21941         (LDFLAGS-tst-backtrace4): Likewise.
21942         (LDFLAGS-tst-backtrace5): Likewise.
21943         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21944         tst-backtrace4 and tst-backtrace5.
21946 2013-01-18  Anton Blanchard  <anton@samba.org>
21947             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21949         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21950         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21952         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21954         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21955         "+r" and remove output regs list as redundant.  Add explicit inline
21956         asm to specify register of return val to work around compiler codegen
21957         bug.  Remove (int) cast on return value.  Add return type parameter to
21958         use in macro so that this macro does not truncate return value for
21959         64-bit values.
21960         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21961         pass to INTERNAL_VSYSCALL_NCS.
21962         (INLINE_VSYSCALL): Add 'long int' as return type to
21963         INTERNAL_VSYSCALL_NCS macro invocation.
21964         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21965         INTERNAL_VSYSCALL_NCS macro invocation.
21966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21968 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21970         [BZ #14496]
21971         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21972         Fix application of SIMD FP exception mask.
21974         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21975         mp_no from a power of two.
21976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21977         __mpexp_twomm1.  Use __pow_mp.
21979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21980         multiplication.
21982 2013-01-17  David S. Miller  <davem@davemloft.net>
21984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21986 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21988         [BZ #15023]
21989         * include/complex.h: Condition contents on [!_COMPLEX_H].
21990         (__kernel_casinhf): New prototype.
21991         (__kernel_casinh): Likewise.
21992         (__kernel_casinhl): Likewise.
21993         * math/Makefile (libm_calls): Add k_casinh.
21994         * math/k_casinh.c: New file.
21995         * math/k_casinhf.c: Likewise.
21996         * math/k_casinhl.c: Likewise.
21997         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21998         finite nonzero arguments.
21999         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22000         finite nonzero arguments.
22001         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22002         finite nonzero arguments.
22003         * math/s_casinh.c: Do not include <float.h>.
22004         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22005         * math/s_casinhf.c: Do not include <float.h>.
22006         (__casinhf): Move code for finite nonzero arguments to
22007         k_casinhf.c.
22008         * math/s_casinhl.c: Do not include <float.h>.
22009         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22010         redefine.
22011         (__casinhl): Move code for finite nonzero arguments to
22012         k_casinhl.c.
22013         * math/libm-test.inc (cacos_test): Add more tests.
22014         * sysdeps/i386/fpu/libm-test-ulps: Update.
22015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22017 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22019         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22020         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22021         [!HAVE_MREMAP]: Remove [defined linux] case.
22022         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22024 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22026         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22028 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22030         * elf/elf.h (R_386_SIZE32): New relocation.
22031         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22032         R_386_SIZE32.
22033         (elf_machine_rela): Likewise.
22034         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22035         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22037 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22039         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22040         (FP_FAST_FMA): Do not define.
22041         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22042         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22043         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22044         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22045         !_SOFT_FLOAT]: Likewise.
22046         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22048         value.
22049         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22050         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22051         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22052         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22053         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22054         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22055         file.
22057 2013-01-16  Andreas Schwab  <schwab@suse.de>
22059         [BZ #14327]
22060         * include/stdlib.h (__mktemp): Add declaration.
22061         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22062         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22064 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22066         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22067         definitions.
22068         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22069         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22070         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22071         definitions here.
22072         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22073         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22074         definitions.
22075         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22076         and ONE.
22077         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22078         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22079         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22080         definitions.
22081         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22082         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22083         definitions.
22084         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22086         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22088 2013-01-15  David S. Miller  <davem@davemloft.net>
22090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22091         trunc{,f} to libm-sysdep_routes.
22092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22094         file.
22095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22097         file.
22098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22099         file.
22100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22102         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22103         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22104         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22105         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22106         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22107         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22110         nearbyint{,f} to libm-sysdep_routes.
22111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22113         New file.
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22115         file.
22116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22117         New file.
22118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22119         file.
22120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22122         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22123         file.
22124         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22125         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22126         file.
22127         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22128         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22129         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22131         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22132         libc_feholdexcept and libc_fesetenv.
22134 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22136         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22138 2013-01-14  David S. Miller  <davem@davemloft.net>
22140         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22141         (SPARC_ASM_VIS2_IFUNC): Likewise.
22142         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22144         use of 'siam' instruction.
22145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22146         Likewise.
22147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22148         Likewise.
22149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22150         Likewise.
22151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22156         file.
22157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22158         file.
22159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22160         file.
22161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22162         file.
22163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22168         new VIS2 routines.
22169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22172         Likewise.
22173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22178         routines to libm-sysdep_routines.
22179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22182         fdim/fdimf to libm-sysdep_routines.
22183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22184         file.
22185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22187         file.
22188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22191         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22192         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22193         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22194         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22196 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22198         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22199         to optimize copies.
22201         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22206         local variable MPTWO.
22207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22208         Likewise.
22210 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22212         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22213         GLOB_NOESCAPE.
22215 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22217         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22219 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22221         * manual/pattern.texi (glob_t): Document gl_flags.
22222         (glob64_t): Likewise.
22224 2013-01-11  David S. Miller  <davem@davemloft.net>
22226         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22227         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22228         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22229         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22230         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22231         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22232         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22233         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22234         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22235         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22236         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22237         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22238         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22240         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22241         sparc V9 rather than using V8 code.
22242         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22243         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22245         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22246         Move to...
22247         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22248         Here.
22250 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22252         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22253         not in the main loop.
22254         * configure: Regenerated.
22256 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22258         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22259         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22260         to just #else.
22261         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22262         [!__GLIBC_HAVE_LONG_LONG] case.
22263         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22264         condition to just #else.
22265         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22266         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22267         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22268         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22269         unconditional.
22270         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22271         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22272         #elif condition to just #else.
22273         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22274         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22275         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22276         #elif condition to just #else.
22278 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22280         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22281         (EF_MIPS_ARCH_64): Fix value.
22282         (EF_MIPS_ARCH_32R2): New.
22283         (EF_MIPS_ARCH_64R2): New.
22285 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22287         * Makeconfig (+link-pie-before-libc): New.
22288         (+link-pie-after-libc): Likewise.
22289         (+link-pie-tests): Likewise.
22290         (+link-pie): Rewritten.
22291         (link-before-libc): Remove $(config-LDFLAGS).
22292         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22293         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22294         (config-LDFLAGS): Renamed to ...
22295         (rtld-LDFLAGS): This.
22296         (rtld-tests-LDFLAGS): New macro.
22297         (link-libc-rpath-link): Likewise.
22298         (link-libc-tests-rpath-link): Likewise.
22299         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22300         (link-libc): Prepand $(link-libc-rpath-link).
22301         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22302         (test-program-prefix): New macro.
22303         (test-via-rtld-prefix): Likewise.
22304         (test-program-cmd): Likewise.
22305         (host-test-program-cmd): Likewise.
22306         * Makefile ($(common-objpfx)testrun.sh): Replace
22307         $(run-program-prefix) with $(test-program-prefix).
22308         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22309         $(rtld-LDFLAGS).
22310         ($(common-objpfx)shlib.lds): Likewise.
22311         (build-module-helper): Likewise.
22312         ($(common-objpfx)format.lds): Likewise.
22313         * Rules (binaries-pie-tests): New.
22314         (binaries-pie-notests): Likewise.
22315         (binaries-pie): Rewritten.
22316         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22317         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22318         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22319         (make-test-out): Replace $(host-built-program-cmd) with
22320         $(host-test-program-cmd).
22321         * config.make.in (build-hardcoded-path-in-tests): New variable.
22322         * configure.in (--enable-hardcoded-path-in-tests): New configure
22323         option.
22324         (hardcoded_path_in_tests): New AC_SUBST.
22325         * configure: Regenerated.
22326         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22327         $(built-program-cmd) with $(test-program-cmd).
22328         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22329         (test_program_cmd): This.
22330         * elf/Makefile ($(objpfx)order.out): Run test with
22331         $(test-program-prefix).
22332         ($(objpfx)order2.out): Likewise.
22333         ($(objpfx)tst-initorder.out): Likewise.
22334         ($(objpfx)tst-initorder2.out): Likewise.
22335         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22336         $(test-program-cmd).
22337         ($(objpfx)tst-array1-static.out): Likewise.
22338         ($(objpfx)tst-array2.out): Likewise.
22339         ($(objpfx)tst-array3.out): Likewise.
22340         ($(objpfx)tst-array4.out): Likewise.
22341         ($(objpfx)tst-array5.out): Likewise.
22342         ($(objpfx)tst-array5-static.out): Likewise.
22343         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22344         $(test-program-cmd).
22345         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22346         $(run-program-prefix) with $(test-program-prefix).
22347         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22348         (test_program_prefix): This.
22349         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22350         $(run-program-prefix) with $(test-program-prefix).
22351         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22352         (test_program_prefix): This.
22353         * iconvdata/tst-tables.sh: Likewise.
22354         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22355         $(run-program-prefix) with $(test-program-prefix).
22356         ($(objpfx)tst-translit.out): Likewise.
22357         ($(objpfx)tst-gettext2.out): Likewise.
22358         ($(objpfx)tst-gettext4.out): Likewise.
22359         ($(objpfx)tst-gettext6.out): Likewise.
22360         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22361         (test_program_prefix): This.
22362         * intl/tst-gettext2.sh: Likewise.
22363         * intl/tst-gettext4.sh  Likewise.
22364         * intl/tst-gettext6.sh: Likewise.
22365         * intl/tst-translit.sh: Likewise.
22366         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22367         with $(test-program-cmd).
22368         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22369         $(run-program-prefix) with $(test-program-prefix).
22370         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22371         (test_program_prefix): This.
22372         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22373         $(run-program-prefix) with $(test-program-prefix).
22374         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22375         (test_program_prefix): This.
22376         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22377         * posix/Makefile ($(objpfx)globtest.out): Replace
22378         $(run-via-rtld-prefix) and $(test-wrapper) with
22379         $(test-program-prefix) and $(test-via-rtld-prefix).
22380         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22381         $(test-program-prefix).
22382         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22383         $(host-test-program-cmd).
22384         (tst-spawn-ARGS): Likewise.
22385         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22386         $(test-program-prefix).
22387         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22388         (test_via_rtld_prefix): This.
22389         (test_wrapper): Renamed to ...
22390         (test_program_prefix): This.
22391         (run_program_prefix): Replaced by test_program_prefix.
22392         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22393         (test_program_prefix): This.
22394         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22395         with $(host-test-program-cmd).
22396         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22397         $(run-program-prefix) with $(test-program-prefix).
22398         ($(objpfx)tst-printf.out): Likewise.
22399         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22400         $(test-program-cmd).
22401         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22402         (test_program_prefix): This.
22403         * stdio-common/tst-unbputc.sh: Likewise.
22404         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22405         $(run-program-prefix) with $(test-program-prefix).
22406         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22407         (test_program_prefix): This.
22408         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22409         $(built-program-cmd) with $(test-program-cmd).
22411 2013-01-11  Andreas Jaeger  <aj@suse.de>
22413         [BZ #15003]
22414         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22415         value. Sync with Linux 3.7.
22417 2013-01-10  David S. Miller  <davem@davemloft.net>
22419         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22420         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22421         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22423 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22425         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22426         never set.
22427         * configure: Regenerated.
22429 2013-01-10  David S. Miller  <davem@davemloft.net>
22431         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22432         sparc V9 rather than using V8 code.
22433         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22434         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22436 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22438         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22439         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22440         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22441         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22442         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22443         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22444         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22445         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22446         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22447         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22448         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22449         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22450         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22451         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22452         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22453         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22454         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22455         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22456         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22457         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22458         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22459         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22460         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22461         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22462         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22463         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22464         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22466 2013-01-10  David S. Miller  <davem@davemloft.net>
22468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22470 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22472         * posix/Makefile (tests-static): New variable.
22473         (tests): Add $(tests-static).
22474         (tst-exec-static-ARGS): New variable.
22475         (tst-spawn-static-ARGS): Likewise.
22476         * posix/tst-exec-static.c: New file.
22477         * posix/tst-spawn-static.c: Likewise.
22478         * posix/tst-exec.c: Support run directly.
22479         * posix/tst-spawn.c: Likewise.
22481 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22483         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22484         long.
22485         * math/bits/mathcalls.h (llrint): Likewise.
22486         (llround): Likewise.
22487         * stdlib/stdlib.h (struct drand48_data): Likewise.
22488         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22489         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22490         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22491         Likewise.
22492         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22493         Likewise.
22494         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22495         (elf_greg_t): Likewise.
22496         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22497         (__jmp_buf): Likewise.
22498         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22499         definitions.
22500         (llrint): Likewise, for all definitions.
22501         (llrintl): Likewise.
22503         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22504         Remove [__GNUC__] condition.
22505         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22506         condition to just [__USE_ISOC99].
22507         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22509 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22511         [BZ #14200]
22512         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22513         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22514         defined.
22515         (_POSIX_V6_ILP32_OFF32): Likewise.
22516         (_XBS5_ILP32_OFF32): Likewise.
22517         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22518         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22520 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22522         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22525         doubles __mpexp_twomm1.  Adjust usage.
22526         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22527         Remove.
22529 2013-01-10  Andreas Schwab  <schwab@suse.de>
22531         [BZ #14964]
22532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22533         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22535 2013-01-09  David S. Miller  <davem@davemloft.net>
22537         [BZ #15003]
22538         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22539         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22540         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22541         (TCP_FASTOPEN): Define.
22542         (tcp_repair_opt): New structure.
22543         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22544         enum values.
22545         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22546         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22547         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22548         (tcp_cookie_transactions): New structure.
22550 2013-01-09  Anton Blanchard  <anton@samba.org>
22552         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22553         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22554         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22555         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22557 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22559         * include/features.h (__USE_ANSI): Remove.
22561 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22563         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22565         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22567 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22569         * sysdeps/s390/fpu/libm-test-ulps: Update.
22571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22573         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22574         (__acr): Likewise.
22575         (__cpy): Likewise.
22576         (norm): Likewise.
22577         (denorm): Likewise.
22578         (__mp_dbl): Likewise.
22579         (__dbl_mp): Likewise.
22580         (add_magnitudes): Likewise.
22581         (sub_magnitudes): Likewise.
22582         (__add): Likewise.
22583         (__sub): Likewise.
22584         (__mul): Likewise.
22585         (__inv): Likewise.
22586         (__dvd): Likewise.
22587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22588         (__acr): Likewise.
22589         (__cpy): Likewise.
22590         (norm): Likewise.
22591         (denorm): Likewise.
22592         (__mp_dbl): Likewise.
22593         (__dbl_mp): Likewise.
22594         (add_magnitudes): Likewise.
22595         (sub_magnitudes): Likewise.
22596         (__add): Likewise.
22597         (__sub): Likewise.
22598         (__mul): Likewise.
22599         (__inv): Likewise.
22600         (__dvd): Likewise.
22601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22602         (__acr): Likewise.
22603         (__cpy): Likewise.
22604         (norm): Likewise.
22605         (denorm): Likewise.
22606         (__mp_dbl): Likewise.
22607         (__dbl_mp): Likewise.
22608         (add_magnitudes): Likewise.
22609         (sub_magnitudes): Likewise.
22610         (__add): Likewise.
22611         (__sub): Likewise.
22612         (__mul): Likewise.
22613         (__inv): Likewise.
22614         (__dvd): Likewise.
22616 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22618         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22619         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22620         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22621         2 && __USE_EXTERN_INLINES]: Likewise.
22623 2013-01-08  Andreas Jaeger  <aj@suse.de>
22625         [BZ# 14985]
22626         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22627         Remove.
22628         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22629         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22631 2013-01-07  Anton Blanchard  <anton@samba.org>
22633         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22634         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22635         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22636         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22637         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22638         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22639         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22640         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22642         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22643         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22644         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22645         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22646         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22647         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22648         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22649         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22650         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22651         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22652         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22653         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22654         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22655         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22656         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22657         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22658         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22659         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22660         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22662         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22663         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22665         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22666         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22667         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22668         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22669         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22670         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22671         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22672         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22673         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22674         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22675         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22677 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22679         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22680         (__MALLOC_PMT): Likewise.
22681         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22682         [__GNUC__], only on [_LIBC].
22683         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22684         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22685         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22686         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22687         forward declaration.
22688         (realloc_hook_ini): Likewise.
22689         (memalign_hook_ini): Likewise.
22690         (__libc_memalign): Do not use __MALLOC_PMT in variable
22691         declaration.
22692         (__libc_valloc): Likewise.
22693         (__libc_pvalloc): Likewise.
22694         (__libc_calloc): Likewise.
22695         (__posix_memalign): Likewise.
22697         [BZ #14996]
22698         * math/s_casinh.c: Include <float.h>.
22699         (__casinh): Do not do computation with squaring and square root
22700         for large arguments.
22701         * math/s_casinhf.c: Include <float.h>.
22702         (__casinhf): Do not do computation with squaring and square root
22703         for large arguments.
22704         * math/s_casinhl.c: Include <float.h>.
22705         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22706         (__casinhl): Do not do computation with squaring and square root
22707         for large arguments.
22708         * math/libm-test.inc (casin_test): Add more tests.
22709         (casinh_test): Likewise.
22710         * sysdeps/i386/fpu/libm-test-ulps: Update.
22711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22713 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22715         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22716         (__x86_64_raw_data_cache_size): Likewise.
22717         (__x86_64_data_cache_size_half): Likewise.
22718         (__x86_64_raw_data_cache_size_half): Likewise.
22719         (__x86_64_shared_cache_size): Likewise.
22720         (__x86_64_raw_shared_cache_size): Likewise.
22721         (__x86_64_shared_cache_size_half): Likewise.
22722         (__x86_64_raw_shared_cache_size_half): Likewise.
22723         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22724         to ...
22725         (__x86_data_cache_size): This.
22726         (__x86_64_raw_data_cache_size): Renamed to ...
22727         (__x86_raw_data_cache_size): This.
22728         (__x86_64_data_cache_size_half): Renamed to ...
22729         (__x86_data_cache_size_half): This.
22730         (__x86_64_raw_data_cache_size_half): Renamed to ...
22731         (__x86_raw_data_cache_size_half): This.
22732         (__x86_64_shared_cache_size): Renamed to ...
22733         (__x86_shared_cache_size): This.
22734         (__x86_64_raw_shared_cache_size): Renamed to ...
22735         (__x86_raw_shared_cache_size): This.
22736         (__x86_64_shared_cache_size_half): Renamed to ...
22737         (__x86_shared_cache_size_half): This.
22738         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22739         (__x86_raw_shared_cache_size_half): This.
22740         * sysdeps/x86_64/memcpy.S: Updated.
22741         * sysdeps/x86_64/memset.S: Likewise.
22742         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22743         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22744         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22746 2013-01-04  David S. Miller  <davem@davemloft.net>
22748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22750 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22752         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22753         1 to avoid redefinition warning.
22754         (__USE_GNU): Don't define.
22755         (init_signaling_nan): Protoize.
22757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22759 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22761         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22763         (__cpymn): Likewise.
22764         (norm): Remove commented code.
22765         (denorm): Likewise.
22766         (__mp_dbl): Likewise.
22767         (__inv): Likewise.
22768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22769         (__cpymn): Likewise.
22770         (norm): Remove commented code.
22771         (denorm): Likewise.
22772         (__mp_dbl): Likewise.
22773         (__inv): Likewise.
22775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22776         mp_no value for 1.0 and 2.0.
22777         (norm): Use RADIXI instead of radixi.d.
22778         (denorm): Likewise.
22779         (__mul): Use 0.0 instead of zero.d.
22780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22781         mp_no value for 1.0 and 2.0.
22782         (norm): Use RADIXI instead of radixi.d.
22783         (denorm): Likewise.
22784         (__mul): Use 0.0 instead of zero.d.
22786 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22788         [BZ #14994]
22789         * math/s_casinh.c (__casinh): Reduce finite argument to first
22790         quadrant then set signs of results at the end.
22791         * math/s_casinhf.c (__casinhf): Likewise.
22792         * math/s_casinhl.c (__casinhl): Likewise.
22793         * math/libm-test.inc (casin_test): Add more tests.
22794         (casinh_test): Likewise.
22795         * sysdeps/i386/fpu/libm-test-ulps: Update.
22796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22798 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22800         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22802         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22804         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22805         declarations.
22806         (denorm): Likewise.
22807         (__mp_dbl): Likewise.
22808         (__inv): Likewise.
22810         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22811         and adjust the header comment.
22813         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22814         variable name from declaration.
22816 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22819         Initialize COMMON_CPUID_INDEX_7 element.
22820         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22821         (CPUID_RTM): Likewise.
22822         (HAS_RTM): Likewise.
22823         (COMMON_CPUID_INDEX_7): New enum.
22825 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22827         [BZ #14981]
22828         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22829         size is zero, record memory as freed.
22831 2013-01-03  Andreas Jaeger  <aj@suse.de>
22833         * po/ia.po: Add new Interlingua translation.
22835 2012-01-03  Allan McRae  <allan@archlinux.org>
22837         * locale/programs/localedef.c: Fix description of '--posix' flag.
22839 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22841         * NEWS: Update dates in second copyright notice.
22842         * README: Update copyright dates in example.
22843         * manual/libc.texinfo: Update copyright dates.
22844         * scripts/test-installation.pl: Update copyright date in --version
22845         output.
22847         * hurd/ctty-input.c: Fix copyright notice formatting.
22848         * hurd/ctty-output.c: Likewise.
22849         * hurd/dtable.c: Likewise.
22850         * hurd/hurd-raise.c: Likewise.
22851         * hurd/hurdprio.c: Likewise.
22852         * hurd/msgportdemux.c: Likewise.
22853         * misc/sys/file.h: Likewise.
22854         * misc/sys/ioctl.h: Likewise.
22855         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22856         * sysdeps/mach/hurd/chdir.c: Likewise.
22857         * sysdeps/mach/hurd/fchdir.c: Likewise.
22858         * sysdeps/mach/hurd/rename.c: Likewise.
22859         * sysdeps/mach/hurd/rmdir.c: Likewise.
22860         * sysdeps/mach/hurd/seekdir.c: Likewise.
22861         * sysdeps/mach/hurd/setsid.c: Likewise.
22862         * sysdeps/posix/wait3.c: Likewise.
22864         * All files with FSF copyright notices: Update copyright dates
22865         using scripts/update-copyrights.
22866         * intl/plural.c: Regenerated.
22867         * locale/programs/charmap-kw.h: Likewise.
22868         * locale/programs/locfile-kw.h: Likewise.
22870 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22872         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22873         four values.
22875         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22876         calculation loop and add branch prediction.
22878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22879         check access beyond bounds of m1np.
22881         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22882         MPTWO.
22883         (__inv): Remove local variable MPTWO to use the global
22884         constant.
22885         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22887         variable MPTWO.
22888         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22889         MP3HALFS static const.
22891 2013-01-01  David S. Miller  <davem@davemloft.net>
22893         * po/ca.po: Update from translation team.
22895 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22897         * scripts/update-copyrights: New file.
22898         * Makeconfig: Reformat copyright notice.
22899         * ctype/ctype.h: Likewise.
22900         * debug/swprintf_chk.c: Likewise.
22901         * elf/dl-cache.c: Likewise.
22902         * elf/dl-debug.c: Likewise.
22903         * elf/dl-object.c: Likewise.
22904         * grp/initgroups.c: Likewise.
22905         * hurd/Makefile: Likewise.
22906         * hurd/hurd/signal.h: Likewise.
22907         * hurd/hurdfault.c: Likewise.
22908         * hurd/hurdioctl.c: Likewise.
22909         * hurd/hurdlookup.c: Likewise.
22910         * hurd/intr-msg.c: Likewise.
22911         * iconv/gconv_open.c: Likewise.
22912         * libio/swprintf.c: Likewise.
22913         * locale/lc-ctype.c: Likewise.
22914         * locale/nl_langinfo.c: Likewise.
22915         * mach/Machrules: Likewise.
22916         * mach/Makefile: Likewise.
22917         * malloc/obstack.h: Likewise.
22918         * manual/Makefile: Likewise.
22919         * manual/tsort.awk: Likewise.
22920         * misc/bits/stab.def: Likewise.
22921         * nis/nis_print_group_entry.c: Likewise.
22922         * nis/nis_table.c: Likewise.
22923         * nis/nss_compat/compat-pwd.c: Likewise.
22924         * nis/nss_compat/compat-spwd.c: Likewise.
22925         * po/Makefile: Likewise.
22926         * posix/fnmatch.c: Likewise.
22927         * posix/regex.h: Likewise.
22928         * resolv/Makefile: Likewise.
22929         * resolv/nss_dns/dns-network.c: Likewise.
22930         * resolv/res_hconf.c: Likewise.
22931         * scripts/gen-sorted.awk: Likewise.
22932         * soft-fp/soft-fp.h: Likewise.
22933         * stdio-common/printf.h: Likewise.
22934         * stdlib/monetary.h: Likewise.
22935         * stdlib/random.c: Likewise.
22936         * stdlib/random_r.c: Likewise.
22937         * sysdeps/generic/Makefile: Likewise.
22938         * sysdeps/gnu/Makefile: Likewise.
22939         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22941         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22942         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22944         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22946         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22947         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22948         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22949         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22950         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22951         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22952         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22953         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22954         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22955         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22957         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22958         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22959         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22960         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22961         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22962         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22963         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22965         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22966         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22967         * sysdeps/mach/hurd/errnos.awk: Likewise.
22968         * sysdeps/mach/hurd/fork.c: Likewise.
22969         * sysdeps/mach/hurd/getcwd.c: Likewise.
22970         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22971         * sysdeps/mach/hurd/mmap.c: Likewise.
22972         * sysdeps/mach/hurd/utimes.c: Likewise.
22973         * sysdeps/mach/hurd/xmknod.c: Likewise.
22974         * sysdeps/posix/profil.c: Likewise.
22975         * sysdeps/posix/readdir_r.c: Likewise.
22976         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22977         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22978         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22979         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22981         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22982         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22983         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22985         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22986         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22987         * sysdeps/pthread/lio_listio.c: Likewise.
22988         * sysdeps/sparc/dl-procinfo.h: Likewise.
22989         * sysdeps/unix/i386/sysdep.S: Likewise.
22990         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22991         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22992         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22993         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22995         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22996         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22997         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22998         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22999         * sysdeps/wordsize-32/divdi3.c: Likewise.
23000         * time/sys/time.h: Likewise.
23001         * wcsmbs/Makefile: Likewise.
23003 2013-01-01  David S. Miller  <davem@davemloft.net>
23005         * po/fr.po: Update from translation team.
23007         * catgets/gencat.c: Update copyright year.
23008         * csu/version.c: Likewise.
23009         * debug/catchsegv.sh: Likewise.
23010         * debug/pcprofiledump.c: Likewise.
23011         * debug/xtrace.sh: Likewise.
23012         * elf/ldconfig.c: Likewise.
23013         * elf/ldd.bash.in: Likewise.
23014         * elf/pldd.c: Likewise.
23015         * elf/sotruss.ksh: Likewise.
23016         * elf/sprof.c: Likewise.
23017         * iconv/iconv_prog.c: Likewise.
23018         * iconv/iconvconfig.c: Likewise.
23019         * locale/programs/locale.c: Likewise.
23020         * locale/programs/localedef.c: Likewise.
23021         * login/programs/pt_chown.c: Likewise.
23022         * malloc/memusage.sh: Likewise.
23023         * malloc/memusagestat.c: Likewise.
23024         * malloc/mtrace.pl: Likewise.
23025         * nscd/nscd.c: Likewise.
23026         * nss/getent.c: Likewise.
23027         * nss/makedb.c: Likewise.
23028         * posix/getconf.c: Likewise.
23030 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23032         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23033         numbers.
23035 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23037         * math/bits/mathcalls.h (modf): Use __nonnull.
23039 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23042         (split): Use macro CN instead of the bare value.
23043         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23044         could be used.
23045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23046         instead of the bare value.
23047         (power1): Likewise.
23049 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23052         __ATAN_TWOM.
23053         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23055         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23056         their values.
23057         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23058         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23059         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23060         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23062 2012-12-28  Andreas Jaeger  <aj@suse.de>
23064         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23065         values are from Linux 3.7.
23067         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23068         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23070 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23072         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23073         TRUE case.
23075         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23076         (norm): Likewise.
23077         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23078         variables with preprocessor constants.
23079         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23080         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23081         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23083 2012-12-27  Bruno Haible  <bruno@clisp.org>
23085         [BZ #14317]
23086         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23087         only if needed.
23089 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23092         and use variable directly.
23093         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23095         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23096         MPONE.
23097         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23098         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23099         variable MPONE.
23100         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23102         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23103         include directive.  Remove local variable MPONE.
23104         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23105         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23106         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23108 2012-12-25  David S. Miller  <davem@davemloft.net>
23110         * version.h (RELEASE): Set to "development".
23111         (VERSION): Set to "2.17.90".
23112         * NEWS: Add 2.18 section.
23114 2012-12-21  David S. Miller  <davem@davemloft.net>
23116         * po/hr.po: Update from translation team.
23118 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23120         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23122 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23124         * NEWS:  Mention new memcpy for MIPS.
23126 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23128         * manual/contrib.texi (Contributors): Spelling correction.
23130 2012-12-15  David S. Miller  <davem@davemloft.net>
23132         * po/ru.po: Update from translation team.
23134 2012-12-13  David S. Miller  <davem@davemloft.net>
23136         * NEWS: Mention IFUNC testsuite enhancements.
23138         * po/pl.po: Update from translation team.
23139         * po/bg.po: Likewise.
23141         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23142         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23144 2012-12-11  David S. Miller  <davem@davemloft.net>
23146         * po/sv.po: Update from translation team.
23148         * po/vi.po: Update from translation team.
23150         * po/cs.po: Update from translation team.
23152         * po/de.po: Update from translation team.
23153         * po/eo.po: Likewise.
23154         * po/nl.po: Likewise.
23156 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23158         [BZ #14246]
23159         * manual/argp.texi (Argp Helper Functions): Move node to follow
23160         Argp Parsing State.
23162         [BZ #14872]
23163         * manual/conf.texi (Limits on File System Capacity): Mention if
23164         terminating null is included in the max size.
23166 2012-12-10  Andreas Jaeger  <aj@suse.de>
23168         * po/cs.po: Update from translation team.
23170 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23172         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23173         void pointer and cast to uintptr_t.
23174         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23175         path.
23176         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23177         * sysdeps/s390/s390-64/memset.S: Likewise.
23179 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23181         [BZ #14833]
23182         * menual/message.texi (Message Translation): Fix typos.
23183         (Helper programs for gettext): Likewise.
23185 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23187         [BZ #14898]
23188         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23189         Change to -1.
23191 2012-12-07  David S. Miller  <davem@davemloft.net>
23193         * po/libc.pot: Update.
23195 2012-12-07  Richard Henderson  <rth@redhat.com>
23197         [BZ #10114]
23198         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23199         normal/normal case to before the switch.
23200         (_FP_DIV): Likewise.
23202 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23203             Mike Frysinger  <vapier@gentoo.org>
23205         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23206         check for __NR_fadvise64_64.
23208 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23210         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23211         0, not just to plain "0" as a statement.
23212         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23213         with cw.
23215 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23217         * NEWS: Use sourceware.org in Bugzilla URL.
23219 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23222         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23224         * stdio-common/tst-put-error.c (do_test): Add newline to the
23225         padded test to ensure flush.
23227 2012-12-05  Jeff Law  <law@redhat.com>
23229         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23231 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23233         * README: Don't refer to ports add-on as distributed separately.
23234         Mention AArch64 in list of systems supported in the ports add-on.
23236         * LICENSES: Add more non-FSF copyright and license notices.
23238         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23239         ((unused)).
23241         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23243         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23244         10000 as width of padded output.
23246 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23248         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23250         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23251         variable LX with __attribute__ ((unused)).
23252         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23253         Likewise.
23254         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23256         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23257         with __attribute__ ((unused)).
23259 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23261         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23263 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23265         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23266         (CFLAGS-nldbl-acos.c): New variable.
23267         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23268         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23269         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23281         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23282         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23283         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23284         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23285         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23286         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23287         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23288         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23289         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23290         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23291         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23292         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23293         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23294         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23295         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23296         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23297         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23298         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23299         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23300         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23301         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23302         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23303         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23304         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23305         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23306         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23307         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23308         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23309         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23310         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23311         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23312         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23313         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23314         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23315         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23316         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23317         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23318         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23319         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23320         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23321         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23322         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23323         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23324         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23325         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23326         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23327         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23328         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23329         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23330         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23331         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23332         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23333         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23334         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23335         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23336         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23337         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23338         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23339         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23340         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23341         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23342         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23343         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23344         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23345         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23346         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23347         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23348         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23349         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23350         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23351         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23352         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23353         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23354         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23355         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23356         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23357         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23358         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23359         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23360         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23361         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23362         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23363         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23366         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23368         [BZ #14914]
23369         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23370         whole low double instead of just low 47 bits when splitting values
23371         into two parts.
23373 2012-12-03  Allan McRae  <allan@archlinux.org>
23375         * manual/stdio.texi (Predefined Printf Handlers): Remove
23376         @hsep and @vsep usage.
23378 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23380         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23381         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23383 2012-12-03  Jeff Law  <law@redhat.com>
23385         * time/sys/time.h (settimeofday): Do not mark TV argument
23386         as __nonnull.
23388 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23390         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23391         when currently writing and seek to current position when not.
23392         * libio/Makefile (tests): Remove bug-fclose1.
23393         * libio/bug-fclose1.c: Delete.
23395 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23397         * manual/arith.texi (feenableexcept): Fix typo.
23398         (fedisableexcept): Likewise.
23400 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23402         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23403         second, differently-typed declaration, rather than a cast.
23405 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23407         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23408         * include/rpc/svc.h: ... here.
23410 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23412         [BZ #13013]
23413         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23414         depending n and resplen2 to catch cases where answer
23415         equals answerp2.
23417 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23419         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23420         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23422 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23424         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23426 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23428         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23430 2012-11-28  Jeff Law  <law@redhat.com>
23432         [BZ #13761]
23433         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23434         dataset_temporary.  Track alloca usage into alloca_used.
23435         If dataset is large allocate and release it via malloc/free.
23437 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23439         [BZ #14197]
23440         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23442 2012-11-28  David S. Miller  <davem@davemloft.net>
23444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23446 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23448         [BZ #14803]
23449         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23450         of pi/2 rounded to nearest to 64 bits.
23451         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23452         nearest to 64 bits.
23453         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23454         bits.
23456 2012-11-28  Jeff Law <law@redhat.com>
23457             Martin Osvald <mosvald@redhat.com>
23459         [BZ #14889]
23460         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23461         * sunrpc/svc.c: Include time.h.
23462         (__svc_accept_failed): New function.
23463         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23464         any reason other than EINTR, call __svc_accept_failed.
23465         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23466         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23468 2012-11-28  Andreas Schwab  <schwab@suse.de>
23470         * scripts/abilist.awk: Also handle indirect functions in .opd
23471         section.
23473 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23475         [BZ #13881]
23476         * sysdeps/x86/fpu/powl_helper.c: New file.
23477         * sysdeps/x86/fpu/Makefile: Likewise.
23478         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23479         (p3): New object.
23480         (__ieee754_powl): Use __powl_helper for finite arguments except
23481         integer exponents below 8.
23482         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23483         (p3): New object.
23484         (__ieee754_powl): Use __powl_helper for finite arguments except
23485         integer exponents below 8.
23486         * math/libm-test.inc (pow_test): Add more tests and enable some
23487         previously disabled tests.
23488         * sysdeps/i386/fpu/libm-test-ulps: Update.
23489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23491 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23492             Carlos O'Donell  <carlos_odonell@mentor.com>
23494         * nss/makedb.c (is_prime): Assert that input is odd and greater
23495         than 4.  Note that fact in a comment too.
23496         (next_prime): Add 4 to input.
23498 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23500         [BZ #11741]
23501         * libio/Makefile (tests): Add test case tst-fwrite-error.
23502         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23503         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23504         * libio/tst-fwrite-error.c: New test case.
23506 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23508         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23509         before casting to void *.
23510         * include/libc-internal.h (__pointer_type): New macro.
23511         (__integer_if_pointer_type_sub): Likewise.
23512         (__integer_if_pointer_type): Likewise.
23513         (cast_to_integer): Likewise.
23514         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23515         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23516         before casting to atomic64_t.
23517         (atomic_exchange_acq): Likewise.
23518         (__arch_exchange_and_add_body): Likewise.
23519         (__arch_add_body): Likewise.
23520         (atomic_add_negative): Likewise.
23521         (atomic_add_zero): Likewise.
23523 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23525         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23526         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23527         (add_fdes): Likewise.
23528         (linear_search_fdes): Likewise.
23529         (binary_search_unencoded_fdes): Likewise.
23531 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23533         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23535 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23537         * configure.in: Autodetect C++ header directories.
23538         * configure: Regenerated.
23540 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23542         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23544 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23548 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23550         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23551         LDBL_MANT_DIG == 106]: Disable some tests.
23552         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23553         Likewise.
23554         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23555         Likewise.
23557         [BZ #14871]
23558         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23559         input for small inputs.  Return +/- pi/2 for large inputs.
23560         * math/libm-test.inc (atan_test): Add more tests.
23562         * sysdeps/generic/unwind-dw2-fde-glibc.c
23563         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23564         __attribute__ ((unused)).
23566         [BZ #14645]
23567         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23568         x * y if x and y are nonzero and z is zero.
23570         [BZ #14811]
23571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23572         nonzero exponents with absolute value below 0x1p-117 to +/-
23573         0x1p-117.
23575         [BZ #14869]
23576         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23577         up arguments below 2**-450, not just those below 2**-500.
23578         * math/libm-test.inc (hypot_test): Add another test.
23580         [BZ #14868]
23581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23582         Return a+b for ratio over 2**120, not 2**60.
23583         * math/libm-test.inc (hypot_test): Add another test.
23585         * math/libm-test.inc (clog_test): Use
23586         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23587         (clog10_test): Likewise.
23589         [BZ #6778]
23590         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23592 2012-11-22  Andreas Schwab  <schwab@suse.de>
23594         * sysdeps/i386/fpu/libm-test-ulps: Update.
23596 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23598         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23599         printf output with newline.
23601 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23603         [BZ #14865]
23604         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23605         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23606         -z nodlopen, -z initfirst and -z execstack support.
23607         * configure: Regenerated.
23609         * elf/elf.h (DF_1_NODIRECT): New macro.
23610         (DF_1_IGNMULDEF): Likewise.
23611         (DF_1_NOKSYMS): Likewise.
23612         (DF_1_NOHDR): Likewise.
23613         (DF_1_EDITED): Likewise.
23614         (DF_1_NORELOC): Likewise.
23615         (DF_1_SYMINTPOSE): Likewise.
23616         (DF_1_GLOBAUDIT): Likewise.
23617         (DF_1_SINGLETON): Likewise.
23618         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23619         DT_1_SUPPORTED_MASK bits.
23620         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23622 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23624         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23626 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23628         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23629         macro.
23631         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23632         (sendmmsg): Move declarations...
23633         * socket/sys/socket.h: ... here.
23634         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23635         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23636         include it from...
23637         * socket/recvmmsg.c: ... this new file.
23638         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23639         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23640         definition of __sendmmsg hidden.
23641         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23642         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23643         Move ENOSYS stub into and include it from...
23644         * socket/sendmmsg.c: ... this new file.
23645         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23646         (sysdep_routines): Move recvmmsg and sendmmsg...
23647         * socket/Makefile (routines): ... here.
23648         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23649         (GLIBC_PRIVATE): Add __sendmmsg.
23650         * include/sys/socket.h (__sendmmsg): Add declarations.
23651         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23652         sendmmsg.
23654 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23657         variable I1 with __attribute__ ((unused)).
23658         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23660 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23662         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23663         DUMMY variables with __attribute__ ((unused)).
23665         * bits/byteswap.h: Include <bits/types.h>.
23666         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23668 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23670         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23671         string_t.  Do not manually set errno.
23672         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23673         length with __strnlen.  Make sure to both set errno and return it on
23674         failure.
23676 2012-11-19  David S. Miller  <davem@davemloft.net>
23678         With help from Joseph Myers.
23679         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23680         very large arguments properly.
23681         * math/libm-test.inc (atan_test): New tests.
23682         (atan2_test): New tests.
23683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23686 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23688         [BZ #14856]
23689         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23690         Define to 3.
23692         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23693         [POSIX] (EADDRNOTAVAIL): Likewise.
23694         [POSIX] (EAFNOSUPPORT): Likewise.
23695         [POSIX] (EALREADY): Likewise.
23696         [POSIX] (ECONNABORTED): Likewise.
23697         [POSIX] (ECONNREFUSED): Likewise.
23698         [POSIX] (ECONNRESET): Likewise.
23699         [POSIX] (EDESTADDRREQ): Likewise.
23700         [POSIX] (EDQUOT): Likewise.
23701         [POSIX] (EHOSTUNREACH): Likewise.
23702         [POSIX] (EIDRM): Likewise.
23703         [POSIX] (EISCONN): Likewise.
23704         [POSIX] (ELOOP): Likewise.
23705         [POSIX] (EMULTIHOP): Likewise.
23706         [POSIX] (ENETDOWN): Likewise.
23707         [POSIX] (ENETUNREACH): Likewise.
23708         [POSIX] (ENOBUFS): Likewise.
23709         [POSIX] (ENODATA): Likewise.
23710         [POSIX] (ENOLINK): Likewise.
23711         [POSIX] (ENOMSG): Likewise.
23712         [POSIX] (ENOPROTOOPT): Likewise.
23713         [POSIX] (ENOSR): Likewise.
23714         [POSIX] (ENOSTR): Likewise.
23715         [POSIX] (ENOTCONN): Likewise.
23716         [POSIX] (ENOTSOCK): Likewise.
23717         [POSIX] (EOPNOTSUPP): Likewise.
23718         [POSIX] (EOVERFLOW): Likewise.
23719         [POSIX] (EPROTO): Likewise.
23720         [POSIX] (EPROTONOSUPPORT): Likewise.
23721         [POSIX] (EPROTOTYPE): Likewise.
23722         [POSIX] (ESTALE): Likewise.
23723         [POSIX] (ETIME): Likewise.
23724         [POSIX] (ETXTBSY): Likewise.
23725         [POSIX] (EWOULDBLOCK): Likewise.
23726         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23727         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23728         [POSIX] (SEEK_CUR): Likewise.
23729         [POSIX] (SEEK_END): Likewise.
23730         [POSIX || UNIX98] (mode_t): Do not require.
23731         [POSIX] (off_t): Likewise.
23732         [POSIX] (pid_t): Likewise.
23733         [POSIX] (sys/stat.h): Do not allow header.
23734         [POSIX] (unistd.h): Likewise.
23735         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23736         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23737         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23738         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23739         require.
23740         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23741         sigevent): Specify elements.
23742         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23743         entry.
23744         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23745         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23747         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23748         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23749         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23750         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23751         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23752         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23753         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23754         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23755         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23756         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23757         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23758         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23759         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23760         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23761         Likewise.
23762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23763         Likewise.
23764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23765         Likewise.
23766         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23767         Likewise.
23768         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23769         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23770         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23771         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23772         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23773         Specify lower bound on value.
23774         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23775         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23776         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23777         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23778         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23779         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23780         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23781         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23782         value.
23783         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23784         as optional.
23785         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23786         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23787         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23788         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23789         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23790         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23791         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23792         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23793         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23794         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23795         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23796         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23797         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23798         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23799         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23800         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23801         entry.
23802         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23803         optional.
23804         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23805         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23806         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23807         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23808         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23809         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23810         Likewise.
23811         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23812         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23813         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23814         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23815         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23816         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23818         as optional.
23819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23820         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23821         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23822         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23823         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23824         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23825         specify as optional.
23826         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23827         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23828         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23829         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23830         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23831         [XPG3] (NL_LANGMAX): Likewise.
23832         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23833         [POSIX || XPG3] (NL_NMAX): Likewise.
23834         [POSIX || XPG3] (NL_SETMAX): Likewise.
23835         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23836         [XPG3] (NZERO): Likewise.
23837         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23838         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23839         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23840         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23841         (REG_ERANGE): Expect.
23842         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23843         optional-constant.
23844         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23845         Use (void) in prototype.
23846         [POSIX] (*_t): Allow.
23847         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23848         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23849         (WRDE_BADVAL): Expect.
23851         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23852         expect.
23853         [XPG3 || XPG4] (O_RSYNC): Likewise.
23854         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23855         Likewise.
23856         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23857         [XPG3 || XPG4] (sigqueue): Likewise.
23858         [XPG3 || XPG4] (sigtimedwait): Likewise.
23859         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23860         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23861         [XPG3 || XPG4] (vsnprintf): Likewise.
23862         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23863         Likewise.
23864         [XPG3 || XPG4] (blksize_t): Likewise.
23865         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23866         Likewise.
23867         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23868         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23869         [XPG3 || XPG4] (struct itimerspec): Likewise.
23870         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23871         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23872         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23873         [XPG3 || XPG4] (clockid_t): Likewise.
23874         [XPG3 || XPG4] (timer_t): Likewise.
23875         [XPG3 || XPG4] (clock_getres): Likewise.
23876         [XPG3 || XPG4] (clock_gettime): Likewise.
23877         [XPG3 || XPG4] (clock_settime): Likewise.
23878         [XPG3 || XPG4] (nanosleep): Likewise.
23879         [XPG3 || XPG4] (timer_create): Likewise.
23880         [XPG3 || XPG4] (timer_delete): Likewise.
23881         [XPG3 || XPG4] (timer_gettime): Likewise.
23882         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23883         [XPG3 || XPG4] (timer_settime): Likewise.
23884         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23885         [XPG3 || XPG4] (getlogin_r): Likewise.
23886         [XPG3 || XPG4] (pread): Likewise.
23887         [XPG3 || XPG4] (pthread_atfork): Likewise.
23888         [XPG3 || XPG4] (pwrite): Likewise.
23890         [BZ #14835]
23891         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23892         <bits/siginfo.h>.
23894 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23896         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23897         finalizing MALLSTREAM.
23899         * sysdeps/mach/hurd/syncfs.c: New file.
23901 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23903         [BZ #14719]
23904         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23905         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23906         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23907         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23908         (_nss_dns_gethostbyname4_r): Likewise.
23909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23910         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23912 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23914         [BZ #13763]
23915         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23917 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23919         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23920         * elf/cache.c (print_entry): Print ",AArch64" for
23921         FLAG_AARCH64_LIB64
23923         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23924         * elf/cache.c (print_entry): Print ",hard-float" for
23925         FLAG_ARM_LIBHF.
23927 2012-11-18  David S. Miller  <davem@davemloft.net>
23929         With help from Joseph Myers.
23930         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23931         cutoff to 2**-13.
23932         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23933         cutoff to 2**-25.
23934         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23935         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23936         small.
23937         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23938         * math/libm-test.inc (y0_test): New tests.
23939         (y1_test): New tests.
23940         * sysdeps/i386/fpu/libm-test-ulps: Update.
23941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23944 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23946         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23947         64-bit targets.
23948         * configure: Regenerated.
23950 2012-11-17  David S. Miller  <davem@davemloft.net>
23952         [BZ #14811]
23953         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23954         nonzero exponents with absolute value below 0x1p-128 to +/-
23955         0x1p-128.
23957 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23959         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23961         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23963         * posix/getconf-speclist.c: New file.
23964         * posix/posix-envs.def: Likewise.
23965         * posix/confstr.c (START_ENV_GROUP): New macro.
23966         (END_ENV_GROUP): Likewise.
23967         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23968         (KNOWN_PRESENT_ENV_STRING): Likewise.
23969         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23970         (UNKNOWN_ENVIRONMENT): Likewise.
23971         (confstr): Include posix-envs.def instead of handling
23972         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23973         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23974         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23975         (END_ENV_GROUP): Likewise.
23976         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23977         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23978         (UNKNOWN_ENVIRONMENT): Likewise.
23979         (__sysconf): Include posix-envs.def instead of handling associated
23980         cases directly here.
23981         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23982         preprocessing getconf-speclist.c rather than running getconf or
23983         generating empty file.
23985 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23987         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23989 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23991         [BZ #14672]
23992         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23994 2012-11-16  David S. Miller  <davem@davemloft.net>
23996         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23997         smaller than LDBL_EPSILON/2.0L, just return xm1.
23999 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24001         * elf/tst-array1.c (init): Set constructor priority to 1000.
24002         (fini): Set destructor priority to 1000.
24003         * elf/tst-array2dep.c: Likewise.
24005 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24007         [BZ #11741]
24008         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24009         (_IO_new_file_xsputn): Also return EOF if none of the input
24010         data was written when overflow failed.
24011         * libio/iopadn.c (_IO_padn): Likewise.
24012         * libio/iowpadn.c (_IO_wpadn): Likewise.
24013         * stdio-common/tst-put-error.c: Add copyright notice.
24014         (do_test): Add case for printing padded string.
24015         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24016         _IO_padn returned error.
24017         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24018         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24019         return EOF.
24021 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24023         * libio/libioP.h: Add comment note that the references to C++
24024         bits are now obsolete.
24026 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24028         * math/libm-test.inc (check_complex): Use asprintf.
24030 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24032         * debug/pcprofiledump.c (print_version): Update copyright year.
24033         * malloc/memusagestat.c (print_version): Likewise.
24035 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24037         [BZ #14831]
24038         * elf/Makefile (tests): Add tst-audit8.
24039         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24040         ($(objpfx)tst-audit8.out): New target.
24041         (tst-audit8-ENV): New variable.
24042         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24043         audit if l_reloc_result is NULL.
24044         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24045         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24046         * elf/tst-audit8.c: New file.
24048 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24050         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24051         * misc/Makefile (CFLAGS-select.c): Define.
24052         * posix/Makefile (CFLAGS-pause.c): Define.
24054 2012-11-13  David S. Miller  <davem@davemloft.net>
24056         * crypt/Makefile: Move test targets after toplevel Rules
24057         inclusion.  Grab any necessary sysdep routines when linking.
24058         * crypt/md5.c (md5_process_block): Remove define, we will always
24059         name it __md5_process_block.
24060         (md5_finish_ctx): Update md5_process_block call.
24061         (md5_stream): Likewise.
24062         (md5_process_bytes): Likewise.
24063         (md5_process_block): Rename to __md5_process_block and move to ...
24064         * crypt/md5-block.c: ... here.
24065         * crypt/sha256.c (sha256_process_block): Move to ...
24066         * crypt/sha256-block.c: ... here.
24067         * crypt/sha512.c (sha512_process_block): Move to ...
24068         * crypt/sha512-block.c: ... here.
24069         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24070         path.
24071         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24072         * sysdeps/sparc/sparc64/multiarch/Makefile
24073         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24074         crypt subdir.
24075         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24076         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24077         multiarch changes.
24078         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24079         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24080         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24081         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24082         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24083         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24084         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24085         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24086         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24087         file.
24088         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24089         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24090         file.
24091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24093 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24095         * timezone/tzselect.ksh: Update from tzcode git revision
24096         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24097         * timezone/zdump.c: Likewise.
24098         * timezone/zic.c: Likewise.
24099         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24100         in TZVERSION setting, not $(PKGVERSION).
24101         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24102         REPORT_BUGS_TO settings.
24104         [BZ #14838]
24105         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24106         macro.
24108 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24110         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24111         detection to immediately after _FP_ROUND().
24112         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24113         bits are 0.
24115 2012-11-11  David S. Miller  <davem@davemloft.net>
24117         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24118         inttypes.h
24119         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24120         __close rather than their public counterparts.
24122 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24124         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24125         file.
24126         [UNIX98] (sem_timedwait): Do not expect.
24127         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24128         [XPG4 || UNIX98] (sockatmark): Do not expect.
24129         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24130         (clock_getcpuclockid): Do not expect.
24131         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24132         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24133         Do not expect.
24134         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24135         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24136         [UNIX98] (vwscanf): Likewise.
24137         [UNIX98] (vswscanf): Likewise.
24139 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24141         * timezone/version.h: Remove file.
24142         * timezone/README: Do not refer to version.h.
24143         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24144         $(objpfx)version.h.
24145         ($(objpfx)zdump.o): Likewise.
24146         ($(objpfx)version.h): New target.
24148         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24149         2012i.
24150         * timezone/README: Don't mention modification to tzselect.ksh.
24151         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24152         work on unmodified tzselect.ksh.  Substitute version numbers in
24153         tzselect.ksh.
24155         * Makefile (format-me): Remove.
24156         (INSTALL): Adjust indentation.  Use commands directly instead of
24157         using $(format-me).
24159         * aclocal.m4 (ACX_PKGVERSION): New macro.
24160         (ACX_BUGURL): Likewise.
24161         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24162         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24163         (REPORT_BUGS_TO): Likewise.
24164         * configure: Regenerated.
24165         * config.h.in (PKGVERSION): New macro.
24166         (REPORT_BUGS_TO): Likewise.
24167         * config.make.in (PKGVERSION): New variable.
24168         (PKGVERSION_TEXI): Likewise.
24169         (REPORT_BUGS_TO): Likewise.
24170         (REPORT_BUGS_TEXI): Likewise.
24171         * Makefile (format-me): Use -I$(common-objpfx)manual.
24172         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24173         ($(common-objpfx)manual/%): New target.
24174         (manual/%): Remove target.
24175         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24176         (print_version): Use PKGVERSION.
24177         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24178         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24179         and REPORT_BUGS_TO.
24180         ($(objpfx)xtrace): Likewise.
24181         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24182         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24183         (print_version): Use PKGVERSION.
24184         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24185         (do_version): Use PKGVERSION.
24186         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24187         REPORT_BUGS_TO.
24188         (common-ldd-rewrite): Likewise.
24189         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24190         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24191         (print_version): Use PKGVERSION.
24192         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24193         * elf/pldd.c (argp_program_bug_address): Remove variable.
24194         (more_help): New function.
24195         (argp): Use more_help.
24196         (print_version): Use PKGVERSION.
24197         * elf/sln.c (main): Use PKGVERSION.
24198         (usage): Use REPORT_BUGS_TO.
24199         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24200         (top level): Use PKGVERSION.
24201         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24202         (print_version): Use PKGVERSION.
24203         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24204         (print_version): Use PKGVERSION.
24205         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24206         (print_version): Use PKGVERSION.
24207         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24208         (print_version): Use PKGVERSION.
24209         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24210         (print_version): Use PKGVERSION.
24211         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24212         (print_version): Use PKGVERSION.
24213         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24214         and BUGURL.
24215         ($(objpfx)memusage): Likewise.
24216         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24217         (do_version): Use PKGVERSION.
24218         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24219         (print_version): Use PKGVERSION.
24220         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24221         ($PKGVERSION): New variable.
24222         ($REPORT_BUGS_TO): Likewise.
24223         (usage): Use $REPORT_BUGS_TO.
24224         (top level): Use $PKGVERSION.
24225         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24226         ($(objpfx)pkgvers.texi): New rule.
24227         ($(objpfx)stamp-pkgvers): Likewise.
24228         * manual/install.texi: Include pkgvers.texi.
24229         (--with-pkgversion): Document new configure option.
24230         (--with-bugurl): Likewise.
24231         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24232         than necessarily for this particular distribution.  Use
24233         REPORT_BUGS_TO for where to report bugs.
24234         * INSTALL: Regenerated.
24235         * manual/libc.texinfo: Include pkgvers.texi.
24236         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24237         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24238         (print_version): Use PKGVERSION.
24239         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24240         (print_version): Use PKGVERSION.
24241         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24242         (print_version): Use PKGVERSION.
24243         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24244         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24245         macro.
24246         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24247         (print_version): Use PKGVERSION.
24248         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24249         (print_version): Use PKGVERSION.
24250         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24251         and PKGVERSION.
24253         * timezone/checktab.awk: Update from tzcode 2012i.
24254         * timezone/ialloc.c: Likewise.
24255         * timezone/private.h: Likewise.
24256         * timezone/scheck.c: Likewise.
24257         * timezone/tzfile.h: Likewise.
24258         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24259         (TZVERSION): Hardcode tzcode version number.
24260         * timezone/zdump.c: Update from tzcode 2012i.
24261         * timezone/zic.c: Likewise.
24262         * timezone/version.h: New file.
24263         * timezone/README: Describe version.h.  Update upstream location.
24265         [BZ #14824]
24266         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24267         (mktemp): Enable declaration.
24268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24272         Likewise.
24273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24274         Likewise.
24275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24276         Likewise.
24277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24278         Likewise.
24279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24280         Likewise.
24281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24282         Likewise.
24284         [BZ #14821]
24285         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24286         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24287         for copies of such integer values.
24288         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24289         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24291 2012-11-09  Andreas Jaeger  <aj@suse.de>
24293         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24294         definitions and declarations that are provided by
24295         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24297 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24299         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24300         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24301         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24302         definition.
24304 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24306         * elf/elf.h: Update comment before AArch64 relocations.
24308 2012-11-07  David S. Miller  <davem@davemloft.net>
24310         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24311         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24312         (__start_context): Declare.
24313         (__makecontext_ret): Delete.
24314         (__makecontext): Hook up __start_context instead of
24315         __makecontext_ret.
24316         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24317         (sysdep_routines): Add __start_context when in stdlib.
24319 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24321         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24322         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24323         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24324         hardcoded "nm".
24325         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24326         (READELF): New variable.  Use it instead of hardcoded "readelf".
24328 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24330         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24331         * sysdeps/x86/Makefile: Here.
24332         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24333         * sysdeps/x86/tst-xmmymm.sh: This.
24335 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24337         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24338         expectations.
24339         [UNIX98] (pthread_barrier_t): Do not expect.
24340         [UNIX98] (pthread_barrierattr_t): Likewise.
24341         [UNIX98] (pthread_spinlock_t): Likewise.
24342         [UNIX98] (pthread_barrier_destroy): Likewise.
24343         [UNIX98] (pthread_barrier_init): Likewise.
24344         [UNIX98] (pthread_barrier_wait): Likewise.
24345         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24346         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24347         [UNIX98] (pthread_barrierattr_init): Likewise.
24348         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24349         [UNIX98] (pthread_getcpuclockid): Likewise.
24350         [UNIX98] (pthread_mutex_timedlock): Likewise.
24351         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24352         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24353         [UNIX98] (pthread_sigmask): Likewise.
24354         [UNIX98] (pthread_spin_destroy): Likewise.
24355         [UNIX98] (pthread_spin_init): Likewise.
24356         [UNIX98] (pthread_spin_lock): Likewise.
24357         [UNIX98] (pthread_spin_trylock): Likewise.
24358         [UNIX98] (pthread_spin_unlock): Likewise.
24359         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24360         Do not expect.
24361         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24362         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24363         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24364         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24365         [XPG3 || XPG4] (pthread_key_t): Likewise.
24366         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24367         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24368         [XPG3 || XPG4] (pthread_once_t): Likewise.
24369         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24370         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24371         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24372         [XPG3 || XPG4] (pthread_t): Likewise.
24374         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24375         not expect.
24376         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24378         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24379         Change function return type to int.
24381         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24382         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24383         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24384         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24385         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24386         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24387         [!POSIX] (posix_madvise): Likewise.
24388         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24389         && !UNIX98].
24390         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24391         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24392         (mode_t): Likewise.
24393         (posix_mem_offset): Likewise.
24394         (posix_typed_mem_get_info): Likewise.
24395         (posix_typed_mem_open): Likewise.
24397         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24398         Change condition to [XOPEN2K8].
24400         * conform/conformtest.pl: Preprocess allow-header data with -x c
24401         instead of from stdin.
24402         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24403         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24404         [C99-based standards] (cerfc): Likewise.
24405         [C99-based standards] (cexp2): Likewise.
24406         [C99-based standards] (cexpm1): Likewise.
24407         [C99-based standards] (clog10): Likewise.
24408         [C99-based standards] (clog1p): Likewise.
24409         [C99-based standards] (clog2): Likewise.
24410         [C99-based standards] (clgamma): Likewise.
24411         [C99-based standards] (ctgamma): Likewise.
24412         [C99-based standards] (cerff): Likewise.
24413         [C99-based standards] (cerfcf): Likewise.
24414         [C99-based standards] (cexp2f): Likewise.
24415         [C99-based standards] (cexpm1f): Likewise.
24416         [C99-based standards] (clog10f): Likewise.
24417         [C99-based standards] (clog1pf): Likewise.
24418         [C99-based standards] (clog2f): Likewise.
24419         [C99-based standards] (clgammaf): Likewise.
24420         [C99-based standards] (ctgammaf): Likewise.
24421         [C99-based standards] (cerfl): Likewise.
24422         [C99-based standards] (cerfcl): Likewise.
24423         [C99-based standards] (cexp2l): Likewise.
24424         [C99-based standards] (cexpm1l): Likewise.
24425         [C99-based standards] (clog10l): Likewise.
24426         [C99-based standards] (clog1pl): Likewise.
24427         [C99-based standards] (clog2l): Likewise.
24428         [C99-based standards] (clgammal): Likewise.
24429         [C99-based standards] (ctgammal): Likewise.
24430         * conform/data/inttypes.h-data [C99-based standards]: Include
24431         stdint.h-data.  Remove all expectations for stdint.h contents.
24432         [C99-based standards] (PRI*): Do not allow.
24433         [C99-based standards] (SCN*): Likewise.
24434         [C99-based standards] (*_t): Likewise.
24435         [C99-based-standards] (PRId8): Expect macro.
24436         [C99-based-standards] (PRIi8): Likewise.
24437         [C99-based-standards] (PRIo8): Likewise.
24438         [C99-based-standards] (PRIu8): Likewise.
24439         [C99-based-standards] (PRIx8): Likewise.
24440         [C99-based-standards] (PRIX8): Likewise.
24441         [C99-based-standards] (SCNd8): Likewise.
24442         [C99-based-standards] (SCNi8): Likewise.
24443         [C99-based-standards] (SCNo8): Likewise.
24444         [C99-based-standards] (SCNu8): Likewise.
24445         [C99-based-standards] (SCNx8): Likewise.
24446         [C99-based-standards] (PRIdLEAST8): Likewise.
24447         [C99-based-standards] (PRIiLEAST8): Likewise.
24448         [C99-based-standards] (PRIoLEAST8): Likewise.
24449         [C99-based-standards] (PRIuLEAST8): Likewise.
24450         [C99-based-standards] (PRIxLEAST8): Likewise.
24451         [C99-based-standards] (PRIXLEAST8): Likewise.
24452         [C99-based-standards] (SCNdLEAST8): Likewise.
24453         [C99-based-standards] (SCNiLEAST8): Likewise.
24454         [C99-based-standards] (SCNoLEAST8): Likewise.
24455         [C99-based-standards] (SCNuLEAST8): Likewise.
24456         [C99-based-standards] (SCNxLEAST8): Likewise.
24457         [C99-based-standards] (PRIdFAST8): Likewise.
24458         [C99-based-standards] (PRIiFAST8): Likewise.
24459         [C99-based-standards] (PRIoFAST8): Likewise.
24460         [C99-based-standards] (PRIuFAST8): Likewise.
24461         [C99-based-standards] (PRIxFAST8): Likewise.
24462         [C99-based-standards] (PRIXFAST8): Likewise.
24463         [C99-based-standards] (SCNdFAST8): Likewise.
24464         [C99-based-standards] (SCNiFAST8): Likewise.
24465         [C99-based-standards] (SCNoFAST8): Likewise.
24466         [C99-based-standards] (SCNuFAST8): Likewise.
24467         [C99-based-standards] (SCNxFAST8): Likewise.
24468         [C99-based-standards] (PRId16): Likewise.
24469         [C99-based-standards] (PRIi16): Likewise.
24470         [C99-based-standards] (PRIo16): Likewise.
24471         [C99-based-standards] (PRIu16): Likewise.
24472         [C99-based-standards] (PRIx16): Likewise.
24473         [C99-based-standards] (PRIX16): Likewise.
24474         [C99-based-standards] (SCNd16): Likewise.
24475         [C99-based-standards] (SCNi16): Likewise.
24476         [C99-based-standards] (SCNo16): Likewise.
24477         [C99-based-standards] (SCNu16): Likewise.
24478         [C99-based-standards] (SCNx16): Likewise.
24479         [C99-based-standards] (PRIdLEAST16): Likewise.
24480         [C99-based-standards] (PRIiLEAST16): Likewise.
24481         [C99-based-standards] (PRIoLEAST16): Likewise.
24482         [C99-based-standards] (PRIuLEAST16): Likewise.
24483         [C99-based-standards] (PRIxLEAST16): Likewise.
24484         [C99-based-standards] (PRIXLEAST16): Likewise.
24485         [C99-based-standards] (SCNdLEAST16): Likewise.
24486         [C99-based-standards] (SCNiLEAST16): Likewise.
24487         [C99-based-standards] (SCNoLEAST16): Likewise.
24488         [C99-based-standards] (SCNuLEAST16): Likewise.
24489         [C99-based-standards] (SCNxLEAST16): Likewise.
24490         [C99-based-standards] (PRIdFAST16): Likewise.
24491         [C99-based-standards] (PRIiFAST16): Likewise.
24492         [C99-based-standards] (PRIoFAST16): Likewise.
24493         [C99-based-standards] (PRIuFAST16): Likewise.
24494         [C99-based-standards] (PRIxFAST16): Likewise.
24495         [C99-based-standards] (PRIXFAST16): Likewise.
24496         [C99-based-standards] (SCNdFAST16): Likewise.
24497         [C99-based-standards] (SCNiFAST16): Likewise.
24498         [C99-based-standards] (SCNoFAST16): Likewise.
24499         [C99-based-standards] (SCNuFAST16): Likewise.
24500         [C99-based-standards] (SCNxFAST16): Likewise.
24501         [C99-based-standards] (PRId32): Likewise.
24502         [C99-based-standards] (PRIi32): Likewise.
24503         [C99-based-standards] (PRIo32): Likewise.
24504         [C99-based-standards] (PRIu32): Likewise.
24505         [C99-based-standards] (PRIx32): Likewise.
24506         [C99-based-standards] (PRIX32): Likewise.
24507         [C99-based-standards] (SCNd32): Likewise.
24508         [C99-based-standards] (SCNi32): Likewise.
24509         [C99-based-standards] (SCNo32): Likewise.
24510         [C99-based-standards] (SCNu32): Likewise.
24511         [C99-based-standards] (SCNx32): Likewise.
24512         [C99-based-standards] (PRIdLEAST32): Likewise.
24513         [C99-based-standards] (PRIiLEAST32): Likewise.
24514         [C99-based-standards] (PRIoLEAST32): Likewise.
24515         [C99-based-standards] (PRIuLEAST32): Likewise.
24516         [C99-based-standards] (PRIxLEAST32): Likewise.
24517         [C99-based-standards] (PRIXLEAST32): Likewise.
24518         [C99-based-standards] (SCNdLEAST32): Likewise.
24519         [C99-based-standards] (SCNiLEAST32): Likewise.
24520         [C99-based-standards] (SCNoLEAST32): Likewise.
24521         [C99-based-standards] (SCNuLEAST32): Likewise.
24522         [C99-based-standards] (SCNxLEAST32): Likewise.
24523         [C99-based-standards] (PRIdFAST32): Likewise.
24524         [C99-based-standards] (PRIiFAST32): Likewise.
24525         [C99-based-standards] (PRIoFAST32): Likewise.
24526         [C99-based-standards] (PRIuFAST32): Likewise.
24527         [C99-based-standards] (PRIxFAST32): Likewise.
24528         [C99-based-standards] (PRIXFAST32): Likewise.
24529         [C99-based-standards] (SCNdFAST32): Likewise.
24530         [C99-based-standards] (SCNiFAST32): Likewise.
24531         [C99-based-standards] (SCNoFAST32): Likewise.
24532         [C99-based-standards] (SCNuFAST32): Likewise.
24533         [C99-based-standards] (SCNxFAST32): Likewise.
24534         [C99-based-standards] (PRId64): Likewise.
24535         [C99-based-standards] (PRIi64): Likewise.
24536         [C99-based-standards] (PRIo64): Likewise.
24537         [C99-based-standards] (PRIu64): Likewise.
24538         [C99-based-standards] (PRIx64): Likewise.
24539         [C99-based-standards] (PRIX64): Likewise.
24540         [C99-based-standards] (SCNd64): Likewise.
24541         [C99-based-standards] (SCNi64): Likewise.
24542         [C99-based-standards] (SCNo64): Likewise.
24543         [C99-based-standards] (SCNu64): Likewise.
24544         [C99-based-standards] (SCNx64): Likewise.
24545         [C99-based-standards] (PRIdLEAST64): Likewise.
24546         [C99-based-standards] (PRIiLEAST64): Likewise.
24547         [C99-based-standards] (PRIoLEAST64): Likewise.
24548         [C99-based-standards] (PRIuLEAST64): Likewise.
24549         [C99-based-standards] (PRIxLEAST64): Likewise.
24550         [C99-based-standards] (PRIXLEAST64): Likewise.
24551         [C99-based-standards] (SCNdLEAST64): Likewise.
24552         [C99-based-standards] (SCNiLEAST64): Likewise.
24553         [C99-based-standards] (SCNoLEAST64): Likewise.
24554         [C99-based-standards] (SCNuLEAST64): Likewise.
24555         [C99-based-standards] (SCNxLEAST64): Likewise.
24556         [C99-based-standards] (PRIdFAST64): Likewise.
24557         [C99-based-standards] (PRIiFAST64): Likewise.
24558         [C99-based-standards] (PRIoFAST64): Likewise.
24559         [C99-based-standards] (PRIuFAST64): Likewise.
24560         [C99-based-standards] (PRIxFAST64): Likewise.
24561         [C99-based-standards] (PRIXFAST64): Likewise.
24562         [C99-based-standards] (SCNdFAST64): Likewise.
24563         [C99-based-standards] (SCNiFAST64): Likewise.
24564         [C99-based-standards] (SCNoFAST64): Likewise.
24565         [C99-based-standards] (SCNuFAST64): Likewise.
24566         [C99-based-standards] (SCNxFAST64): Likewise.
24567         [C99-based-standards] (PRIdMAX): Likewise.
24568         [C99-based-standards] (PRIiMAX): Likewise.
24569         [C99-based-standards] (PRIoMAX): Likewise.
24570         [C99-based-standards] (PRIuMAX): Likewise.
24571         [C99-based-standards] (PRIxMAX): Likewise.
24572         [C99-based-standards] (PRIXMAX): Likewise.
24573         [C99-based-standards] (SCNdMAX): Likewise.
24574         [C99-based-standards] (SCNiMAX): Likewise.
24575         [C99-based-standards] (SCNoMAX): Likewise.
24576         [C99-based-standards] (SCNuMAX): Likewise.
24577         [C99-based-standards] (SCNxMAX): Likewise.
24578         [C99-based-standards] (PRIdPTR): Likewise.
24579         [C99-based-standards] (PRIiPTR): Likewise.
24580         [C99-based-standards] (PRIoPTR): Likewise.
24581         [C99-based-standards] (PRIuPTR): Likewise.
24582         [C99-based-standards] (PRIxPTR): Likewise.
24583         [C99-based-standards] (PRIXPTR): Likewise.
24584         [C99-based-standards] (SCNdPTR): Likewise.
24585         [C99-based-standards] (SCNiPTR): Likewise.
24586         [C99-based-standards] (SCNoPTR): Likewise.
24587         [C99-based-standards] (SCNuPTR): Likewise.
24588         [C99-based-standards] (SCNxPTR): Likewise.
24589         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24590         allow.
24591         * conform/data/stdint.h-data: Update comments to clarify
24592         requirements.
24593         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24594         type.
24595         [C99-based standards] (INT8_MAX): Likewise.
24596         [C99-based standards] (INT16_MIN): Likewise.
24597         [C99-based standards] (INT16_MAX): Likewise.
24598         [C99-based standards] (INT32_MIN): Likewise.
24599         [C99-based standards] (INT32_MAX): Likewise.
24600         [C99-based standards] (INT64_MIN): Likewise.
24601         [C99-based standards] (INT64_MAX): Likewise.
24602         [C99-based standards] (UINT8_MAX): Likewise.
24603         [C99-based standards] (UINT16_MAX): Likewise.
24604         [C99-based standards] (UINT32_MAX): Likewise.
24605         [C99-based standards] (UINT64_MAX): Likewise.
24606         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24607         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24608         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24609         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24610         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24611         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24612         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24613         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24614         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24615         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24616         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24617         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24618         [C99-based standards] (INT_FAST8_MIN): Likewise.
24619         [C99-based standards] (INT_FAST8_MAX): Likewise.
24620         [C99-based standards] (INT_FAST16_MIN): Likewise.
24621         [C99-based standards] (INT_FAST16_MAX): Likewise.
24622         [C99-based standards] (INT_FAST32_MIN): Likewise.
24623         [C99-based standards] (INT_FAST32_MAX): Likewise.
24624         [C99-based standards] (INT_FAST64_MIN): Likewise.
24625         [C99-based standards] (INT_FAST64_MAX): Likewise.
24626         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24627         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24628         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24629         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24630         [C99-based standards] (INTPTR_MIN): Likewise.
24631         [C99-based standards] (INTPTR_MAX): Likewise.
24632         [C99-based standards] (UINTPTR_MAX): Likewise.
24633         [C99-based standards] (INTMAX_MIN): Likewise.
24634         [C99-based standards] (INTMAX_MAX): Likewise.
24635         [C99-based standards] (UINTMAX_MAX): Likewise.
24636         [C99-based standards] (PTRDIFF_MIN): Likewise.
24637         [C99-based standards] (PTRDIFF_MAX): Likewise.
24638         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24639         [C99-based standards] (SIZE_MAX): Likewise.
24640         [C99-based standards] (WCHAR_MAX): Likewise.
24641         [C99-based standards] (WINT_MAX): Likewise.
24642         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24643         constraint on value.
24644         [C99-based standards] (WCHAR_MIN): Likewise.
24645         [C99-based standards] (WINT_MIN): Likewise.
24646         [C99-based standards] (*_t): Allow.
24647         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24648         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24649         Include math.h-data and complex.h-data.  Remove all expectations
24650         of math.h and complex.h contents.
24651         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24652         at end of line.
24653         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24654         (struct tm): Expect tag.
24655         [C99-based-standards] (wcstof): Expect function.
24656         [C99-based-standards] (wcstold): Likewise.
24657         [C99-based-standards] (wcstoll): Likewise.
24658         [C99-based-standards] (wcstoull): Likewise.
24659         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24660         macro-int-constant.  Specify type.
24661         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24662         constraint on value.
24663         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24664         Specify type.
24665         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24666         Specify value.
24667         [ISO C standards]: Do not allow headers.
24668         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24669         wcs[abcdefghijklmnopqrstuvwxyz]*.
24670         [ISO C standards] (*_t): Do not allow.
24671         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24672         Expect function.
24673         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24674         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24675         Specify type.
24676         [ISO C standards]: Do not allow headers.
24677         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24678         is[abcdefghijklmnopqrstuvwxyz]*.
24679         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24680         to[abcdefghijklmnopqrstuvwxyz]*.
24681         [ISO C standards] (*_t): Do not allow.
24682         * conform/data/stdalign.h-data: New file.
24683         * conform/data/stdbool.h-data: Likewise.
24684         * conform/data/stdnoreturn.h-data: Likewise.
24686 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24688         [BZ #14815]
24689         * manual/filesys.texi (Directory Entries): Typo fix.
24690         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24692 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24694         * elf/elf.h (EM_AARCH64): New macro.
24695         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24696         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24697         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24698         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24699         (R_AARCH64_TLSDESC): Likewise.
24700         (NT_ARM_TLS): Likewise.
24701         (NT_ARM_HW_BREAK): Likewise.
24702         (NT_ARM_HW_WATCH): Likewise.
24704 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24706         [BZ #14811]
24707         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24708         (__ieee754_powl): Saturate nonzero exponents with absolute value
24709         below 0x1p-79 to +/- 0x1p-79.
24710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24711         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24712         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24713         nonzero exponents with absolute value below 0x1p-32 to +/-
24714         0x1p-32.
24715         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24716         (__ieee754_powl): Saturate nonzero exponents with absolute value
24717         below 0x1p-79 to +/- 0x1p-79.
24718         * math/libm-test.inc (pow_test): Add more tests.
24720 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24722         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24723         _dl_s390_cap_flags with kernel. Increase string length.
24724         (_dl_s390_platforms): Add z196 and zEC12.
24726 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24728         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24729         Change XOPEN21K to XOPEN2K.
24731 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24733         * string/memmove.c: Use memcpy when possible.
24735 2012-11-06  Andreas Jaeger  <aj@suse.de>
24737         * po/eo.po: Update from translation team.
24739 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24741         [BZ #14793]
24742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24743         exponent and small x and y exponents, scale x or y up.  Increase
24744         by 2 the exponent used in scaling up.
24745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24747         * math/libm-test.inc (fma_test): Add more tests.
24748         (fma_test_towardzero): Likewise.
24749         (fma_test_downward): Likewise.
24750         (fma_test_upward): Likewise.
24752 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24754         [BZ #14805]
24755         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24756         fenv_t *.
24758         [BZ #14801]
24759         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24760         namespace for names of struct fields.
24761         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24762         fenv_t fields.
24763         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24764         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24766 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24768         [BZ #3665]
24769         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24771 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24773         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24774         PTR_DEMANGLE.
24776         [BZ #5246]
24777         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24778         PTR_DEMANGLE.
24780 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24782         [BZ #14797]
24783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24784         definitely overflow as x * y not x * y + z.
24785         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24786         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24787         * math/libm-test.inc (fma_test): Add more tests.
24788         (fma_test_towardzero): Likewise.
24789         (fma_test_downward): Likewise.
24790         (fma_test_upward): Likewise.
24792 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24794         [BZ #157]
24796         * include/stub-tag.h: Remove file.
24797         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24798         '#include' of it.
24799         * manual/maint.texi (Porting): Don't reference it.
24800         * Makerules ($(objpfx)stubs): Likewise.
24801         * dirent/closedir.c: Don't include <stub-tag.h>.
24802         * dirent/dirfd.c: Likewise.
24803         * dirent/fdopendir.c: Likewise.
24804         * dirent/getdents.c: Likewise.
24805         * dirent/getdents64.c: Likewise.
24806         * dirent/opendir.c: Likewise.
24807         * dirent/readdir.c: Likewise.
24808         * dirent/readdir64.c: Likewise.
24809         * dirent/readdir64_r.c: Likewise.
24810         * dirent/readdir_r.c: Likewise.
24811         * dirent/rewinddir.c: Likewise.
24812         * dirent/seekdir.c: Likewise.
24813         * dirent/telldir.c: Likewise.
24814         * gmon/profil.c: Likewise.
24815         * grp/setgroups.c: Likewise.
24816         * inet/if_index.c: Likewise.
24817         * io/access.c: Likewise.
24818         * io/chdir.c: Likewise.
24819         * io/chmod.c: Likewise.
24820         * io/chown.c: Likewise.
24821         * io/close.c: Likewise.
24822         * io/dup.c: Likewise.
24823         * io/dup2.c: Likewise.
24824         * io/dup3.c: Likewise.
24825         * io/euidaccess.c: Likewise.
24826         * io/faccessat.c: Likewise.
24827         * io/fchdir.c: Likewise.
24828         * io/fchmod.c: Likewise.
24829         * io/fchmodat.c: Likewise.
24830         * io/fchown.c: Likewise.
24831         * io/fchownat.c: Likewise.
24832         * io/fcntl.c: Likewise.
24833         * io/flock.c: Likewise.
24834         * io/fstatfs.c: Likewise.
24835         * io/fstatfs64.c: Likewise.
24836         * io/fstatvfs.c: Likewise.
24837         * io/fstatvfs64.c: Likewise.
24838         * io/futimens.c: Likewise.
24839         * io/fxstat.c: Likewise.
24840         * io/fxstat64.c: Likewise.
24841         * io/fxstatat.c: Likewise.
24842         * io/fxstatat64.c: Likewise.
24843         * io/getcwd.c: Likewise.
24844         * io/isatty.c: Likewise.
24845         * io/lchmod.c: Likewise.
24846         * io/lchown.c: Likewise.
24847         * io/link.c: Likewise.
24848         * io/linkat.c: Likewise.
24849         * io/lseek.c: Likewise.
24850         * io/lseek64.c: Likewise.
24851         * io/lxstat64.c: Likewise.
24852         * io/mkdir.c: Likewise.
24853         * io/mkdirat.c: Likewise.
24854         * io/mkfifo.c: Likewise.
24855         * io/mkfifoat.c: Likewise.
24856         * io/open.c: Likewise.
24857         * io/open64.c: Likewise.
24858         * io/openat.c: Likewise.
24859         * io/openat64.c: Likewise.
24860         * io/pipe.c: Likewise.
24861         * io/pipe2.c: Likewise.
24862         * io/poll.c: Likewise.
24863         * io/posix_fadvise.c: Likewise.
24864         * io/posix_fadvise64.c: Likewise.
24865         * io/posix_fallocate.c: Likewise.
24866         * io/posix_fallocate64.c: Likewise.
24867         * io/read.c: Likewise.
24868         * io/readlink.c: Likewise.
24869         * io/readlinkat.c: Likewise.
24870         * io/rmdir.c: Likewise.
24871         * io/sendfile.c: Likewise.
24872         * io/sendfile64.c: Likewise.
24873         * io/statfs.c: Likewise.
24874         * io/statfs64.c: Likewise.
24875         * io/statvfs.c: Likewise.
24876         * io/statvfs64.c: Likewise.
24877         * io/symlink.c: Likewise.
24878         * io/symlinkat.c: Likewise.
24879         * io/ttyname.c: Likewise.
24880         * io/ttyname_r.c: Likewise.
24881         * io/umask.c: Likewise.
24882         * io/unlink.c: Likewise.
24883         * io/unlinkat.c: Likewise.
24884         * io/utime.c: Likewise.
24885         * io/utimensat.c: Likewise.
24886         * io/write.c: Likewise.
24887         * io/xmknod.c: Likewise.
24888         * io/xmknodat.c: Likewise.
24889         * io/xstat.c: Likewise.
24890         * io/xstat64.c: Likewise.
24891         * login/getpt.c: Likewise.
24892         * login/grantpt.c: Likewise.
24893         * login/unlockpt.c: Likewise.
24894         * math/e_acoshl.c: Likewise.
24895         * math/e_acosl.c: Likewise.
24896         * math/e_asinl.c: Likewise.
24897         * math/e_atan2l.c: Likewise.
24898         * math/e_atanhl.c: Likewise.
24899         * math/e_coshl.c: Likewise.
24900         * math/e_expl.c: Likewise.
24901         * math/e_fmodl.c: Likewise.
24902         * math/e_gammal_r.c: Likewise.
24903         * math/e_hypotl.c: Likewise.
24904         * math/e_j0l.c: Likewise.
24905         * math/e_j1l.c: Likewise.
24906         * math/e_jnl.c: Likewise.
24907         * math/e_lgammal_r.c: Likewise.
24908         * math/e_log10l.c: Likewise.
24909         * math/e_log2l.c: Likewise.
24910         * math/e_logl.c: Likewise.
24911         * math/e_powl.c: Likewise.
24912         * math/e_rem_pio2l.c: Likewise.
24913         * math/e_sinhl.c: Likewise.
24914         * math/e_sqrtl.c: Likewise.
24915         * math/fclrexcpt.c: Likewise.
24916         * math/fedisblxcpt.c: Likewise.
24917         * math/feenablxcpt.c: Likewise.
24918         * math/fegetenv.c: Likewise.
24919         * math/fegetexcept.c: Likewise.
24920         * math/fegetround.c: Likewise.
24921         * math/feholdexcpt.c: Likewise.
24922         * math/fesetenv.c: Likewise.
24923         * math/fesetround.c: Likewise.
24924         * math/feupdateenv.c: Likewise.
24925         * math/fgetexcptflg.c: Likewise.
24926         * math/fraiseexcpt.c: Likewise.
24927         * math/fsetexcptflg.c: Likewise.
24928         * math/ftestexcept.c: Likewise.
24929         * math/k_cosl.c: Likewise.
24930         * math/k_rem_pio2l.c: Likewise.
24931         * math/k_sinl.c: Likewise.
24932         * math/k_tanl.c: Likewise.
24933         * math/s_asinhl.c: Likewise.
24934         * math/s_atanl.c: Likewise.
24935         * math/s_cbrtl.c: Likewise.
24936         * math/s_erfl.c: Likewise.
24937         * math/s_expm1l.c: Likewise.
24938         * math/s_log1pl.c: Likewise.
24939         * math/s_tanhl.c: Likewise.
24940         * misc/acct.c: Likewise.
24941         * misc/brk.c: Likewise.
24942         * misc/chflags.c: Likewise.
24943         * misc/chroot.c: Likewise.
24944         * misc/fchflags.c: Likewise.
24945         * misc/fgetxattr.c: Likewise.
24946         * misc/flistxattr.c: Likewise.
24947         * misc/fremovexattr.c: Likewise.
24948         * misc/fsetxattr.c: Likewise.
24949         * misc/fsync.c: Likewise.
24950         * misc/ftruncate.c: Likewise.
24951         * misc/futimes.c: Likewise.
24952         * misc/futimesat.c: Likewise.
24953         * misc/getdomain.c: Likewise.
24954         * misc/getdtsz.c: Likewise.
24955         * misc/gethostid.c: Likewise.
24956         * misc/gethostname.c: Likewise.
24957         * misc/getloadavg.c: Likewise.
24958         * misc/getpagesize.c: Likewise.
24959         * misc/getsysstats.c: Likewise.
24960         * misc/getxattr.c: Likewise.
24961         * misc/gtty.c: Likewise.
24962         * misc/ioctl.c: Likewise.
24963         * misc/lgetxattr.c: Likewise.
24964         * misc/listxattr.c: Likewise.
24965         * misc/llistxattr.c: Likewise.
24966         * misc/lremovexattr.c: Likewise.
24967         * misc/lsetxattr.c: Likewise.
24968         * misc/lutimes.c: Likewise.
24969         * misc/madvise.c: Likewise.
24970         * misc/mincore.c: Likewise.
24971         * misc/mlock.c: Likewise.
24972         * misc/mlockall.c: Likewise.
24973         * misc/mmap.c: Likewise.
24974         * misc/mprotect.c: Likewise.
24975         * misc/msync.c: Likewise.
24976         * misc/munlock.c: Likewise.
24977         * misc/munlockall.c: Likewise.
24978         * misc/munmap.c: Likewise.
24979         * misc/preadv.c: Likewise.
24980         * misc/preadv64.c: Likewise.
24981         * misc/ptrace.c: Likewise.
24982         * misc/pwritev.c: Likewise.
24983         * misc/pwritev64.c: Likewise.
24984         * misc/readv.c: Likewise.
24985         * misc/reboot.c: Likewise.
24986         * misc/remap_file_pages.c: Likewise.
24987         * misc/removexattr.c: Likewise.
24988         * misc/revoke.c: Likewise.
24989         * misc/select.c: Likewise.
24990         * misc/setdomain.c: Likewise.
24991         * misc/setegid.c: Likewise.
24992         * misc/seteuid.c: Likewise.
24993         * misc/sethostid.c: Likewise.
24994         * misc/sethostname.c: Likewise.
24995         * misc/setregid.c: Likewise.
24996         * misc/setreuid.c: Likewise.
24997         * misc/setxattr.c: Likewise.
24998         * misc/sstk.c: Likewise.
24999         * misc/stty.c: Likewise.
25000         * misc/swapoff.c: Likewise.
25001         * misc/swapon.c: Likewise.
25002         * misc/sync.c: Likewise.
25003         * misc/syncfs.c: Likewise.
25004         * misc/syscall.c: Likewise.
25005         * misc/truncate.c: Likewise.
25006         * misc/ualarm.c: Likewise.
25007         * misc/usleep.c: Likewise.
25008         * misc/ustat.c: Likewise.
25009         * misc/utimes.c: Likewise.
25010         * misc/vhangup.c: Likewise.
25011         * misc/writev.c: Likewise.
25012         * posix/_exit.c: Likewise.
25013         * posix/alarm.c: Likewise.
25014         * posix/execve.c: Likewise.
25015         * posix/fexecve.c: Likewise.
25016         * posix/fork.c: Likewise.
25017         * posix/fpathconf.c: Likewise.
25018         * posix/getaddrinfo.c: Likewise.
25019         * posix/getegid.c: Likewise.
25020         * posix/geteuid.c: Likewise.
25021         * posix/getgid.c: Likewise.
25022         * posix/getgroups.c: Likewise.
25023         * posix/getlogin.c: Likewise.
25024         * posix/getlogin_r.c: Likewise.
25025         * posix/getpgid.c: Likewise.
25026         * posix/getpid.c: Likewise.
25027         * posix/getppid.c: Likewise.
25028         * posix/getresgid.c: Likewise.
25029         * posix/getresuid.c: Likewise.
25030         * posix/getsid.c: Likewise.
25031         * posix/getuid.c: Likewise.
25032         * posix/glob64.c: Likewise.
25033         * posix/nanosleep.c: Likewise.
25034         * posix/pathconf.c: Likewise.
25035         * posix/pause.c: Likewise.
25036         * posix/posix_madvise.c: Likewise.
25037         * posix/pread.c: Likewise.
25038         * posix/pread64.c: Likewise.
25039         * posix/pwrite.c: Likewise.
25040         * posix/pwrite64.c: Likewise.
25041         * posix/sched_getaffinity.c: Likewise.
25042         * posix/sched_getp.c: Likewise.
25043         * posix/sched_gets.c: Likewise.
25044         * posix/sched_primax.c: Likewise.
25045         * posix/sched_primin.c: Likewise.
25046         * posix/sched_rr_gi.c: Likewise.
25047         * posix/sched_setaffinity.c: Likewise.
25048         * posix/sched_setp.c: Likewise.
25049         * posix/sched_sets.c: Likewise.
25050         * posix/sched_yield.c: Likewise.
25051         * posix/setgid.c: Likewise.
25052         * posix/setlogin.c: Likewise.
25053         * posix/setpgid.c: Likewise.
25054         * posix/setresgid.c: Likewise.
25055         * posix/setresuid.c: Likewise.
25056         * posix/setsid.c: Likewise.
25057         * posix/setuid.c: Likewise.
25058         * posix/sleep.c: Likewise.
25059         * posix/spawni.c: Likewise.
25060         * posix/sysconf.c: Likewise.
25061         * posix/times.c: Likewise.
25062         * posix/wait.c: Likewise.
25063         * posix/wait3.c: Likewise.
25064         * posix/wait4.c: Likewise.
25065         * posix/waitpid.c: Likewise.
25066         * resolv/gai_sigqueue.c: Likewise.
25067         * resource/getpriority.c: Likewise.
25068         * resource/getrlimit.c: Likewise.
25069         * resource/getrusage.c: Likewise.
25070         * resource/nice.c: Likewise.
25071         * resource/setpriority.c: Likewise.
25072         * resource/setrlimit.c: Likewise.
25073         * resource/ulimit.c: Likewise.
25074         * rt/aio_cancel.c: Likewise.
25075         * rt/aio_fsync.c: Likewise.
25076         * rt/aio_read.c: Likewise.
25077         * rt/aio_sigqueue.c: Likewise.
25078         * rt/aio_suspend.c: Likewise.
25079         * rt/aio_write.c: Likewise.
25080         * rt/clock_getres.c: Likewise.
25081         * rt/clock_gettime.c: Likewise.
25082         * rt/clock_nanosleep.c: Likewise.
25083         * rt/clock_settime.c: Likewise.
25084         * rt/lio_listio.c: Likewise.
25085         * rt/mq_close.c: Likewise.
25086         * rt/mq_getattr.c: Likewise.
25087         * rt/mq_notify.c: Likewise.
25088         * rt/mq_open.c: Likewise.
25089         * rt/mq_receive.c: Likewise.
25090         * rt/mq_send.c: Likewise.
25091         * rt/mq_setattr.c: Likewise.
25092         * rt/mq_timedreceive.c: Likewise.
25093         * rt/mq_timedsend.c: Likewise.
25094         * rt/mq_unlink.c: Likewise.
25095         * rt/shm_open.c: Likewise.
25096         * rt/shm_unlink.c: Likewise.
25097         * rt/timer_create.c: Likewise.
25098         * rt/timer_delete.c: Likewise.
25099         * rt/timer_getoverr.c: Likewise.
25100         * rt/timer_gettime.c: Likewise.
25101         * rt/timer_settime.c: Likewise.
25102         * setjmp/__longjmp.c: Likewise.
25103         * setjmp/setjmp.c: Likewise.
25104         * signal/kill.c: Likewise.
25105         * signal/killpg.c: Likewise.
25106         * signal/raise.c: Likewise.
25107         * signal/sigaction.c: Likewise.
25108         * signal/sigaltstack.c: Likewise.
25109         * signal/sigblock.c: Likewise.
25110         * signal/sigignore.c: Likewise.
25111         * signal/sigintr.c: Likewise.
25112         * signal/signal.c: Likewise.
25113         * signal/sigpause.c: Likewise.
25114         * signal/sigpending.c: Likewise.
25115         * signal/sigqueue.c: Likewise.
25116         * signal/sigreturn.c: Likewise.
25117         * signal/sigset.c: Likewise.
25118         * signal/sigsetmask.c: Likewise.
25119         * signal/sigstack.c: Likewise.
25120         * signal/sigsuspend.c: Likewise.
25121         * signal/sigtimedwait.c: Likewise.
25122         * signal/sigvec.c: Likewise.
25123         * signal/sigwait.c: Likewise.
25124         * signal/sigwaitinfo.c: Likewise.
25125         * signal/sysv_signal.c: Likewise.
25126         * socket/accept.c: Likewise.
25127         * socket/accept4.c: Likewise.
25128         * socket/bind.c: Likewise.
25129         * socket/connect.c: Likewise.
25130         * socket/getpeername.c: Likewise.
25131         * socket/getsockname.c: Likewise.
25132         * socket/getsockopt.c: Likewise.
25133         * socket/isfdtype.c: Likewise.
25134         * socket/listen.c: Likewise.
25135         * socket/recv.c: Likewise.
25136         * socket/recvfrom.c: Likewise.
25137         * socket/recvmsg.c: Likewise.
25138         * socket/send.c: Likewise.
25139         * socket/sendmsg.c: Likewise.
25140         * socket/sendto.c: Likewise.
25141         * socket/setsockopt.c: Likewise.
25142         * socket/shutdown.c: Likewise.
25143         * socket/sockatmark.c: Likewise.
25144         * socket/socket.c: Likewise.
25145         * socket/socketpair.c: Likewise.
25146         * stdio-common/ctermid.c: Likewise.
25147         * stdio-common/cuserid.c: Likewise.
25148         * stdio-common/remove.c: Likewise.
25149         * stdio-common/rename.c: Likewise.
25150         * stdio-common/renameat.c: Likewise.
25151         * stdio-common/tempname.c: Likewise.
25152         * stdlib/getcontext.c: Likewise.
25153         * stdlib/makecontext.c: Likewise.
25154         * stdlib/setcontext.c: Likewise.
25155         * stdlib/swapcontext.c: Likewise.
25156         * stdlib/system.c: Likewise.
25157         * streams/fattach.c: Likewise.
25158         * streams/fdetach.c: Likewise.
25159         * streams/getmsg.c: Likewise.
25160         * streams/getpmsg.c: Likewise.
25161         * streams/putmsg.c: Likewise.
25162         * streams/putpmsg.c: Likewise.
25163         * sysdeps/unix/bsd/getpt.c: Likewise.
25164         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25165         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25166         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25168         Likewise.
25169         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25170         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25171         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25172         * sysvipc/msgctl.c: Likewise.
25173         * sysvipc/msgget.c: Likewise.
25174         * sysvipc/msgrcv.c: Likewise.
25175         * sysvipc/msgsnd.c: Likewise.
25176         * sysvipc/semctl.c: Likewise.
25177         * sysvipc/semget.c: Likewise.
25178         * sysvipc/semop.c: Likewise.
25179         * sysvipc/semtimedop.c: Likewise.
25180         * sysvipc/shmat.c: Likewise.
25181         * sysvipc/shmctl.c: Likewise.
25182         * sysvipc/shmdt.c: Likewise.
25183         * sysvipc/shmget.c: Likewise.
25184         * termios/tcdrain.c: Likewise.
25185         * termios/tcflow.c: Likewise.
25186         * termios/tcflush.c: Likewise.
25187         * termios/tcgetattr.c: Likewise.
25188         * termios/tcgetpgrp.c: Likewise.
25189         * termios/tcsendbrk.c: Likewise.
25190         * termios/tcsetattr.c: Likewise.
25191         * termios/tcsetpgrp.c: Likewise.
25192         * time/adjtime.c: Likewise.
25193         * time/clock.c: Likewise.
25194         * time/getitimer.c: Likewise.
25195         * time/gettimeofday.c: Likewise.
25196         * time/setitimer.c: Likewise.
25197         * time/settimeofday.c: Likewise.
25198         * time/stime.c: Likewise.
25199         * time/time.c: Likewise.
25201 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25203         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25204         /usr/old/bin.
25206         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25207         instead of spaces.
25208         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25210 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25212         [BZ #14796]
25213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25214         FE_TONEAREST before applying Dekker multiplication and Knuth
25215         addition.  Clear inexact exceptions and check for exact zero
25216         results afterwards.
25217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25218         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25219         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25220         * math/libm-test.inc (fma_test): Add more tests.
25221         (fma_test_towardzero): Likewise.
25222         (fma_test_downward): Likewise.
25223         (fma_test_upward): Likewise.
25224         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25225         function.
25226         (libc_fesetround): New macro.
25227         (libc_fesetroundf): Likewise.
25228         (libc_fesetroundl): Likewise.
25229         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25230         function.
25231         (libc_fesetround_387): Likewise.
25232         (libc_fesetroundf): New macro.
25233         (libc_fesetround): Likewise.
25234         (libc_fesetroundl): Likewise.
25235         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25236         function.
25237         (libc_fesetroundf): New macro.
25238         (libc_fesetround): Likewise.
25239         (libc_fesetroundl): Likewise.
25240         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25241         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25242         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25243         libm_hidden_ver.
25244         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25245         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25246         libm_hidden_def.
25247         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25248         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25249         libm_hidden_ver.
25250         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25251         libm_hidden_def.
25253         [BZ #3439]
25254         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25255         integer constant usable in #if and use that to give value to enum
25256         constant.
25257         (FE_DIVBYZERO): Likewise.
25258         (FE_UNDERFLOW): Likewise.
25259         (FE_OVERFLOW): Likewise.
25260         (FE_INVALID): Likewise.
25261         (FE_INVALID_SNAN): Likewise.
25262         (FE_INVALID_ISI): Likewise.
25263         (FE_INVALID_IDI): Likewise.
25264         (FE_INVALID_ZDZ): Likewise.
25265         (FE_INVALID_IMZ): Likewise.
25266         (FE_INVALID_COMPARE): Likewise.
25267         (FE_INVALID_SOFTWARE): Likewise.
25268         (FE_INVALID_SQRT): Likewise.
25269         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25270         (FE_TONEAREST): Likewise.
25271         (FE_TOWARDZERO): Likewise.
25272         (FE_UPWARD): Likewise.
25273         (FE_DOWNWARD): Likewise.
25274         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25275         (FE_DIVBYZERO): Likewise.
25276         (FE_OVERFLOW): Likewise.
25277         (FE_UNDERFLOW): Likewise.
25278         (FE_INEXACT): Likewise.
25279         (FE_TONEAREST): Likewise.
25280         (FE_DOWNWARD): Likewise.
25281         (FE_UPWARD): Likewise.
25282         (FE_TOWARDZERO): Likewise.
25283         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25284         (FE_UNDERFLOW): Likewise.
25285         (FE_OVERFLOW): Likewise.
25286         (FE_DIVBYZERO): Likewise.
25287         (FE_INVALID): Likewise.
25288         (FE_TONEAREST): Likewise.
25289         (FE_TOWARDZERO): Likewise.
25290         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25291         (FE_OVERFLOW): Likewise.
25292         (FE_UNDERFLOW): Likewise.
25293         (FE_DIVBYZERO): Likewise.
25294         (FE_INEXACT): Likewise.
25295         (FE_TONEAREST): Likewise.
25296         (FE_TOWARDZERO): Likewise.
25297         (FE_UPWARD): Likewise.
25298         (FE_DOWNWARD): Likewise.
25299         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25300         (FE_DIVBYZERO): Likewise.
25301         (FE_OVERFLOW): Likewise.
25302         (FE_UNDERFLOW): Likewise.
25303         (FE_INEXACT): Likewise.
25304         (FE_TONEAREST): Likewise.
25305         (FE_DOWNWARD): Likewise.
25306         (FE_UPWARD): Likewise.
25307         (FE_TOWARDZERO): Likewise.
25309 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25311         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25313 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25315         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25316         commands.  Quote $PWD.
25317         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25318         -x" by "export".
25319         (remove_newlines): Remove.
25321 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25323         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25324         * stdlib/stdlib.h (atof): Moved to ...
25325         * include/bits/stdlib-float.h: Here.  New file.
25326         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25327         * stdlib/bits/stdlib-float.h: New file.
25328         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25329         -mno-sse -mno-mmx.
25330         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25331         <xmmintrin.h>.
25333 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25335         * conform/conformtest.pl (@headers): Add fenv.h.
25336         * conform/data/fenv.h-data: New file.
25337         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25338         include of <math/fenv.h>.
25340         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25341         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25342         && !UNIX98].  Enables tests for XOPEN2K8.
25343         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25344         POSIX2008]: Likewise.
25346         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25347         (struct rusage): Do not expect type or its members.
25349         [BZ #3439]
25350         * math/math.h (FP_NAN): Define macro to integer constant usable in
25351         #if and use that to give value to enum constant.
25352         (FP_INFINITE): Likewise.
25353         (FP_ZERO): Likewise.
25354         (FP_SUBNORMAL): Likewise.
25355         (FP_NORMAL): Likewise.
25357 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25359         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25360         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25361         arguments.
25363 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25365         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25366         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25367         autoconf-time if not.
25368         * configure.in: Remove AC_PREREQ.
25370 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25372         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25373         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25374         of the internal implementation.
25376 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25378         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25379         except include of <misc/sys/syslog.h>.
25381 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25384         function returns with a NULL context exit with zero.
25386 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25388         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25390 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25392         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25393         (run_program_cmd): This.
25394         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25395         (tst_langinfo): New variable.  Use it.
25397 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25399         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25400         floating point opcodes.
25402 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25404         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25405         variable.
25407         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25409         * sysdeps/mach/hurd/powerpc: Remove directory.
25410         * sysdeps/mach/powerpc: Likewise.
25412 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25414         * scripts/check-local-headers.sh: Ignore c++ headers.
25416 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25418         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25419         __libc_cleanup_region_start argument.
25421 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25423         [BZ #14784]
25424         [BZ #14785]
25425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25426         x * y using scaling, not as x * y + z.
25427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25429         * math/libm-test.inc (fma_test): Add more tests.
25430         (fma_test_towardzero): Likewise.
25431         (fma_test_downward): Likewise.
25432         (fma_test_upward): Likewise.
25434 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25436         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25438 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25440         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25441         New variable.
25443 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25445         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25447 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25450         Fix sort order.
25451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25452         Likewise.
25454 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25457         Fix the order of the list for glibc 2.17.
25458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25459         Likewise.
25461 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25465 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25467         [BZ #14610]
25468         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25469         for low part of x being zero before using __atanl (y).
25470         * math/libm-test.inc (atan2_test): Add another test.
25472         * manual/install.texi (Configuring and compiling): Document
25473         general use of test-wrapper and test-wrapper-env.
25474         * INSTALL: Regenerated.
25476         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25477         (__fma): Do not extract and scale down low bits on after-rounding
25478         systems when result rounded to normal precision would have normal
25479         exponent.
25480         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25481         (__fmal): Do not extract and scale down low bits on after-rounding
25482         systems when result rounded to normal precision would have normal
25483         exponent.
25484         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25485         (__fmal): Do not extract and scale down low bits on after-rounding
25486         systems when result rounded to normal precision would have normal
25487         exponent.
25488         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25489         macro.
25490         (fma_test): Add more tests.
25491         (fma_test_towardzero): Likewise.
25492         (fma_test_downward): Likewise.
25493         (fma_test_upward): Likewise.
25495 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25497         * sysdeps/i386/tininess.h: Renamed to ...
25498         * sysdeps/x86/tininess.h: This.
25499         * sysdeps/x86_64/tininess.h: Removed.
25501 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25503         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25504         input.  Use $(build-program-cmd).
25505         ($(objpfx)tst-array1-static.out): Likewise.
25506         ($(objpfx)tst-array2.out): Likewise.
25507         ($(objpfx)tst-array3.out): Likewise.
25508         ($(objpfx)tst-array4.out): Likewise.
25509         ($(objpfx)tst-array5.out): Likewise.
25510         ($(objpfx)tst-array5-static.out): Likewise.
25512 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25514         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25515         if defined.
25517         * nss/nsswitch.h (nss_interface_function): Provide new
25518         macro for use with NSS functions.
25519         * grp/initgroups.c: Use new macro.
25520         * nss/getXXbyYY.c: Likewise.
25521         * nss/getXXbyYY_r.c: Likewise.
25522         * nss/getXXent.c: Likewise.
25523         * nss/getXXent_r.c: Likewise.
25524         * sysdeps/posix/getaddrinfo.c: Likewise.
25526 2012-10-30  Andreas Jaeger  <aj@suse.de>
25528         * po/ru.po: Update Russion translation from translation project.
25530 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25532         [BZ #14152]
25533         [BZ #14783]
25534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25535         result and shift together with sticky bit instead of replicating
25536         round-to-nearest rounding.
25537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25538         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25539         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25540         missing underflow exceptions.
25541         (fma_test_towardzero): Add more tests.
25542         (fma_test_downward): Likewise.
25543         (fma_test_upward): Likewise.
25545         [BZ #14047]
25546         * sysdeps/generic/tininess.h: New file.
25547         * sysdeps/i386/tininess.h: Likewise.
25548         * sysdeps/sh/tininess.h: Likewise.
25549         * sysdeps/x86_64/tininess.h: Likewise.
25550         * stdlib/tst-strtod-underflow.c: Likewise.
25551         * stdlib/tst-tininess.c: Likewise.
25552         * stdlib/strtod_l.c: Include <tininess.h>.
25553         (round_and_return): Do not set errno for exact underflow cases.
25554         Force an underflow exception when setting errno for underflow.
25555         Determine underflow based on rounding to normal precision if
25556         TININESS_AFTER_ROUNDING.
25557         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25558         ERANGE for exact underflow cases.
25559         * stdlib/Makefile (tests): Add tst-tininess and
25560         tst-strtod-underflow.
25561         ($(objpfx)tst-tininess): Use $(link-libm).
25562         ($(objpfx)tst-strtod-underflow): Likewise.
25564 2012-10-30  Andreas Jaeger  <aj@suse.de>
25566         [BZ#14767]
25567         * elf/Makefile (tests): Remove conditional for have-initfini-array
25568         since this is now always required and the variable does not exist
25569         anymore.
25570         (tests-static): Likewise.
25571         (modules-names): Likewise.
25573         * po/eo.po: Add Esperanto translation from translation project.
25575         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25576         merged with constructor/destructor.
25577         (init_array): Likewise.
25578         * elf/tst-array2dep.c (fini_array): Likewise.
25579         (init_array): Likewise.
25581 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25583         * manual/message.texi: Delete @cartouche tags.
25585 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25587         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25588         EOPNOTSUPP.
25589         * sysdeps/mach/hurd/fsync.c: Likewise.
25591         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25592         [_POSIX_REALTIME_SIGNALS]: Change condition to
25593         [_POSIX_REALTIME_SIGNALS > 0].
25595 2012-10-27  Andreas Jaeger  <aj@suse.de>
25597         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25598         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25600         [__WORDSIZE != 64]: Likewise.
25602 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25604         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25605         *  iconvdata/tst-tables.sh: Likewise.
25607 2012-10-25  David S. Miller  <davem@davemloft.net>
25609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25610         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25611         of strtoull.
25613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25614         ifunc-impl-list.c
25615         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25616         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25617         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25618         file.
25620 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25622         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25623         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25624         __getdirentries.
25626 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25627             Jim Blandy  <jimb@codesourcery.com>
25629         * scripts/cross-test-ssh.sh: New file.
25630         * manual/install.texi (Configuring and compiling): Document use of
25631         cross-test-ssh.sh.
25632         * INSTALL: Regenerated.
25634 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25636         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25637         EOPNOTSUPP.
25639 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25641         * Makeconfig (run-program-prefix): Fix comment.
25643 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25644             Jim Blandy  <jimb@codesourcery.com>
25646         * Makeconfig (test-wrapper): New variable,
25647         (test-wrapper-env): Likewise.
25648         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25649         (run-built-tests): Define to yes.
25650         (run-program-prefix): Use $(test-wrapper).
25651         (built-program-cmd): Likewise.
25652         * Rules (make-test-out): Use $(test-wrapper-env) and
25653         $(host-built-program-cmd).
25654         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25655         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25656         tst-pathopt.sh.
25657         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25658         $(test-wrapper-env) to tst-rtld-load-self.sh.
25659         ($(objpfx)order2.out): Use $(test-wrapper).
25660         ($(objpfx)tst-initorder.out): Likewise.
25661         ($(objpfx)tst-initorder2.out): Likewise.
25662         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25663         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25664         (test_wrapper_env): New variable.  Use it to run ld.so.
25665         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25666         Use it to run ld.so.
25667         (test_wrapper_env): Likewise.
25668         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25669         $(test-wrapper) to run-iconv-test.sh.
25670         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25671         (ICONV): Use $test_wrapper.
25672         * posix/Makefile ($(objpfx)globtest.out): Pass
25673         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25674         globtest.sh, not $(run-program-prefix).
25675         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25676         (test_wrapper): Likewise.
25677         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25678         set together with run_via_rtld_prefix.
25679         (run_program_prefix): Define in terms of test_wrapper and
25680         run_via_rtld_prefix.
25682 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25684         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25685         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25686         Targets removed.
25688         [BZ #14743]
25689         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25690         Declare __clock_getres, __clock_gettime, __clock_settime,
25691         __clock_nanosleep, and __clock_getcpuclockid.
25692         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25693         Remove librt_hidden_def (clock_gettime).
25694         * sysdeps/unix/clock_gettime.c: Likewise.
25695         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25696         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25697         * rt/clock_getres.c: Define __clock_getres as an alias.
25698         * sysdeps/posix/clock_getres.c: Likewise.
25699         * rt/clock_settime.c: Define __clock_settime as an alias.
25700         * sysdeps/unix/clock_settime.c: Likewise.
25701         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25702         * sysdeps/unix/clock_nanosleep.c: Likewise.
25703         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25704         * rt/clock-compat.c: New file.
25705         * rt/Makefile (librt-routines): Add clock-compat and move
25706         $(clock-routines) to ...
25707         (routines): ... here, new variable.
25708         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25709         Don't add get_clockfreq here.
25710         * rt/Versions (libc: GLIBC_2.17): New version set.
25711         Add clock_* symbols here.
25712         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25713         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25714         (GLIBC_2.17): Add clock_* symbols.
25715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25717         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25719         Likewise.
25720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25721         Likewise.
25722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25726         * NEWS: Mention the move.
25728         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25729         Use __open, __read, __close rather than their public counterparts.
25730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25731         (__get_clockfreq_via_cpuinfo): Likewise.
25732         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25733         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25735         * config.h.in (HAVE_IFUNC): New #undef.
25736         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25737         was successful.
25738         * configure: Regenerated.
25740 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25742         * configure.in: Move READELF check to start of file.
25743         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25744         libc_cv_asm_gnu_indirect_function in the process.
25745         * configure: Regenerated.
25747 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25749         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25750         send the output to /dev/null.
25751         (libc_cv_cc_with_libunwind): Likewise.
25752         (libc_cv_as_noexecstack): Likewise.
25753         * configure: Regenerate.
25755 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25757         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25759         * posix/globtest.sh (TMPDIR): Do not set.
25760         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25761         (testout): Likewise.
25763 2012-10-24  Andreas Jaeger  <aj@suse.de>
25765         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25766         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25767         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25768         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25769         posix_fadvise64, posix_fallocate64.
25771         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25772         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25773         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25774         Likewise.
25775         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25776         Likewise.
25777         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25780         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25781         <bits/fcntl-linux.h>.
25782         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25785         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25786         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25787         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25788         [__WORDSIZE != 64]: Likewise.
25790 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25792         * Makeconfig (run-built-tests): New variable.
25793         * Rules [$(cross-compiling) = yes]: Change condition to
25794         [$(run-built-tests) = no].
25795         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25796         to [$(run-built-tests) = yes].
25797         * elf/Makefile [$(cross-compiling) = no]: Likewise
25798         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25799         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25800         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25801         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25802         * io/Makefile [$(cross-compiling) = no]: Likewise.
25803         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25804         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25805         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25806         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25807         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25808         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25809         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25810         * string/Makefile [$(cross-compiling) = no]: Likewise.
25812         * posix/Makefile ($(objpfx)globtest.out): Pass
25813         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25814         $(rtld-installed-name).
25815         * posix/globtest.sh (elf_objpfx): Remove variable.
25816         (rtld_installed_name): Likewise.
25817         (library_path): Likewise.
25818         (run_program_prefix): New variable.  Use for running globtest
25819         binary.
25821 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25822             Joseph Myers  <joseph@codesourcery.com>
25824         * Makeconfig (host-built-program-cmd): New variable.
25825         * elf/Makefile (tst-stackguard1-ARGS): Use
25826         $(host-built-program-cmd).
25827         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25828         (tst-spawn-ARGS): Likewise.
25829         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25831 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25832             Jim Blandy  <jimb@codesourcery.com>
25834         * Makeconfig (run-via-rtld-prefix): New variable.
25835         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25836         (built-program-cmd): Likewise.
25838 2012-10-22  Andreas Jaeger  <aj@suse.de>
25840         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25841         __O_RSYNC if it exists, otherwise to O_SYNC.
25843 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25844             Joseph Myers  <joseph@codesourcery.com>
25846         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25847         /dev/null.
25848         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25849         from /dev/null
25850         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25851         /dev/null.
25853 2012-10-22  Andreas Jaeger  <aj@suse.de>
25855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25856         Define always.
25857         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25860         bits/fcntl-linux.h.
25862         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25863         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25866         to __O_LARGEFILE.
25867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25868         to __O_LARGEFILE.
25870 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25871             Joseph Myers  <joseph@codesourcery.com>
25873         * config.make.in (NM): New variable.
25875 2012-10-21  Andreas Jaeger  <aj@suse.de>
25877         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25878         definitions and declarations that are provided by
25879         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25881 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25883         [BZ #14683]
25884         * elf/Makefile (tests-static): Add tst-leaks1-static.
25885         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25886         ($(objpfx)tst-leaks1-static): New rule.
25887         ($(objpfx)tst-leaks1-static-mem): Likewise.
25888         (tst-leaks1-static-ENV): New macro.
25889         * elf/dl-open.c (dl_open_worker): Check the main application
25890         only if SHARED is defined.
25891         * elf/tst-leaks1-static.c: New file.
25893 2012-10-20  Andreas Jaeger  <aj@suse.de>
25895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25896         generic values for Linux.
25897         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25898         and declarations that are provided by <bits/fcntl-linux.h> and
25899         include <bits/fcntl-linux.h>.
25900         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25901         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25903 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25905         * io/fcntl.h: Move include of <bits/types.h> to the top and
25906         include it unconditionally.
25908 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25910         * wcsmbs/Makefile (tests-ifunc): New variable.
25911         (tests): Add $(tests-ifunc).
25912         * wcsmbs/test-wcschr-ifunc.c: New file.
25913         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25914         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25915         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25916         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25917         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25919         * string/Makefile (tests-ifunc): New variable.
25920         (tests): Add $(tests-ifunc).
25921         * string/test-memccpy.c (TEST_NAME): New macro.
25922         * string/test-memchr.c (TEST_NAME): Likewise.
25923         * string/test-memcmp.c (TEST_NAME): Likewise.
25924         * string/test-memcpy.c (TEST_NAME): Likewise.
25925         * string/test-memmem.c (TEST_NAME): Likewise.
25926         * string/test-memmove.c (TEST_NAME): Likewise.
25927         * string/test-memset.c (TEST_NAME): Likewise.
25928         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25929         * string/test-stpcpy.c (TEST_NAME): Likewise.
25930         * string/test-stpncpy.c (TEST_NAME): Likewise.
25931         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25932         * string/test-strcasestr.c (TEST_NAME): Likewise.
25933         * string/test-strcat.c (TEST_NAME): Likewise.
25934         * string/test-strchr.c (TEST_NAME): Likewise.
25935         * string/test-strcmp.c(TEST_NAME): Likewise.
25936         * string/test-strcpy.c (TEST_NAME): Likewise.
25937         * string/test-strcspn.c (TEST_NAME): Likewise.
25938         * string/test-strlen.c (TEST_NAME): Likewise.
25939         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25940         * string/test-strncmp.c (TEST_NAME): Likewise.
25941         * string/test-strncpy.c (TEST_NAME): Likewise.
25942         * string/test-strnlen.c (TEST_NAME): Likewise.
25943         * string/test-strpbrk.c (TEST_NAME): Likewise.
25944         * string/test-strrchr.c (TEST_NAME): Likewise.
25945         * string/test-strspn.c (TEST_NAME): Likewise.
25946         * string/test-strstr.c (TEST_NAME): Likewise.
25947         * string/test-bcopy-ifunc.c: New file.
25948         * string/test-bzero-ifunc.c: Likewise.
25949         * string/test-memccpy-ifunc.c: Likewise.
25950         * string/test-memchr-ifunc.c: Likewise.
25951         * string/test-memcmp-ifunc.c: Likewise.
25952         * string/test-memcpy-ifunc.c: Likewise.
25953         * string/test-memmem-ifunc.c: Likewise.
25954         * string/test-memmove-ifunc.c: Likewise.
25955         * string/test-mempcpy-ifunc.c: Likewise.
25956         * string/test-memset-ifunc.c: Likewise.
25957         * string/test-rawmemchr-ifunc.c: Likewise.
25958         * string/test-stpcpy-ifunc.c: Likewise.
25959         * string/test-stpncpy-ifunc.c: Likewise.
25960         * string/test-strcasecmp-ifunc.c: Likewise.
25961         * string/test-strcasestr-ifunc.c: Likewise.
25962         * string/test-strcat-ifunc.c: Likewise.
25963         * string/test-strchr-ifunc.c: Likewise.
25964         * string/test-strchrnul-ifunc.c: Likewise.
25965         * string/test-strcmp-ifunc.c: Likewise.
25966         * string/test-strcpy-ifunc.c: Likewise.
25967         * string/test-strcspn-ifunc.c: Likewise.
25968         * string/test-strlen-ifunc.c: Likewise.
25969         * string/test-strncasecmp-ifunc.c: Likewise.
25970         * string/test-strncat-ifunc.c: Likewise.
25971         * string/test-strncmp-ifunc.c: Likewise.
25972         * string/test-strncpy-ifunc.c: Likewise.
25973         * string/test-strnlen-ifunc.c: Likewise.
25974         * string/test-strpbrk-ifunc.c: Likewise.
25975         * string/test-strrchr-ifunc.c: Likewise.
25976         * string/test-strspn-ifunc.c: Likewise.
25977         * string/test-strstr-ifunc.c: Likewise.
25979         * debug/Makefile (tests-ifunc): New variable.
25980         (tests): Add $(tests-ifunc).
25981         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25982         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25983         * debug/test-stpcpy_chk-ifunc.c: New file.
25984         * debug/test-strcpy_chk-ifunc.c: Likewise.
25986 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25988         [BZ #13601]
25989         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25990         header is not read in.
25992 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25994         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25995         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25996         directly.  Pass built executable to script as
25997         $(built-program-cmd).
25998         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25999         $testprogram without using LD_LIBRARY_PATH and $ldso.
26001         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26002         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26003         $(rtld-installed-name).
26004         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26005         (rtld_installed_name): Likewise.
26006         (library_path): Likewise.
26007         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26008         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26009         $(run-program-prefix) to tst-tables.sh.
26010         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26011         it to run tst-table-from and tst-table-to.
26012         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26013         Pass it to tst-table.sh.
26014         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26015         $(run-program-prefix) to tst-gettext.sh.
26016         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26017         tst-translit.sh.
26018         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26019         tst-gettext2.sh.
26020         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26021         to run tst-gettext.
26022         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26023         to run tst-gettext2.
26024         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26025         to run tst-translit.
26026         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26027         $(run-program-prefix) to tst-mtrace.sh.
26028         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26029         to run tst-mtrace.
26030         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26031         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26032         $(rtld-installed-name).
26033         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26034         (rtld_installed_name): Likewise.
26035         (run_program_prefix): New variable.  Use it to run wordexp-test.
26037         * Makeconfig (ARCH): Remove all definitions.
26038         (machine): Likewise.
26039         [ARCH]: Remove conditional code.
26040         [!objdir]: Give error.
26041         [!objdir] (objpfx): Remove.
26042         [!objdir] (common-objpfx): Likewise.
26043         [!objdir] (common-objdir): Likewise.
26044         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26045         AC_CONFIG_FILES call.
26046         * configure: Regenerated.
26048         [BZ #13888]
26049         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26050         or TMPDIR.
26051         (testout): Likewise.
26053         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26054         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26055         $(rtld-installed-name).
26056         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26057         (rtld_installed_name): Likwise.
26058         (runit): Remove function.
26059         (run_getconf): New variable,  Use it for running getconf binary.
26061 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26063         [BZ #14716]
26064         * string/test-memmem.c (check_result): New function.
26065         (do_one_test): Use it.
26066         (check1): New function.
26067         (test_main): Use it.
26069 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26071         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26073 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26075         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26076         (_G_LSEEK64): Likewise.
26077         (_G_MMAP64): Likewise.
26078         (_G_FSTAT64): Likewise.
26079         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26080         (_G_LSEEK64): Likewise.
26081         (_G_MMAP64): Likewise.
26082         (_G_FSTAT64): Likewise.
26083         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26084         unconditional.  Call __mmap64 directly.
26085         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26086         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26087         __lseek64 directly.
26088         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26089         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26090         __mmap64 directly.
26091         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26092         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26093         __lseek64 directly.
26094         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26095         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26096         __lseek64 directly.
26097         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26098         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26099         __lseek64 directly.
26100         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26101         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26102         __fxstat64 directly.
26103         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26104         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26105         unconditional.
26106         (freopen64) [!_G_OPEN64]: Remove conditional code.
26107         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26108         unconditional.
26109         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26110         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26111         unconditional.
26112         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26113         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26114         unconditional.
26115         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26116         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26117         unconditional.
26118         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26119         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26120         unconditional.
26121         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26122         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26123         unconditional.
26124         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26125         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26126         unconditional.
26127         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26129 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26131         [BZ #12140]
26132         * manual/memory.texi (Malloc Tunable Parameters): Add note
26133         about free list pointers overwriting some perturb bytes.
26134         Wording suggested by Roland McGrath.
26136 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26138         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26139         (lgamma_test): Likewise.
26140         (tgamma_test): Likewise.
26142 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26144         [BZ #14700]
26145         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26146         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26148 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26150         * NEWS: Mention BZ #14716.
26151         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26152         when removing AVAILABLE1_USES_J macro.
26154 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26156         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26157         (__bswap_64): __uint64_t for unsigned 64-bit int.
26159 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26161         * include/string.h (memmem): Declare libc hidden alias.
26162         * string/memmem.c (memmem): Define libc hidden alias.
26163         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26164         __read, __close instead of open, read, close.
26166 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26169         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26170         global and hidden.
26171         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26172         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26173         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26174         Likewise.
26175         (__rawmemchr_sse2): Likewise.
26176         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26177         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26178         (__strchr_sse2): Likewise.
26179         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26180         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26181         (__strcasecmp_sse2): Likewise.
26182         (__strncasecmp_sse2): Likewise.
26183         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26184         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26185         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26186         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26187         (__strrchr_sse2): Likewise.
26188         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26189         ifunc-impl-list.c.
26190         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26191         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26192         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26193         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26194         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26195         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26196         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26197         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26198         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26199         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26200         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26201         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26202         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26203         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26204         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26205         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26206         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26207         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26208         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26209         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26210         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26211         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26212         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26213         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26214         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26215         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26216         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26217         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26218         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26219         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26221         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26222         global and hidden.
26223         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26224         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26225         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26226         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26227         Likewise.
26228         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26229         Likewise.
26230         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26231         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26232         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26233         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26234         ifunc-impl-list.c.
26235         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26236         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26237         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26238         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26239         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26240         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26241         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26242         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26243         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26244         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26245         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26246         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26247         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26248         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26249         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26250         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26251         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26252         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26253         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26254         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26255         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26256         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26257         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26258         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26259         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26260         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26261         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26262         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26263         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26264         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26265         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26266         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26267         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26268         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26269         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26270         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26271         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26272         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26273         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26274         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26275         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26277         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26278         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26279         * include/ifunc-impl-list.h: New file.
26280         * misc/ifunc-impl-list.c: Likewise.
26281         * misc/Makefile (routines): Add ifunc-impl-list.
26282         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26283         * string/test-string.h: Include <ifunc-impl-list.h>.
26284         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26285         TEST_NAME]: New variables.
26286         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26287         are defined.
26288         (test_init): Call __libc_ifunc_impl_list to initialize
26289         func_list if TEST_IFUNC and TEST_NAME are defined.
26291         * string/Makefile (strop-tests): Add bcopy and bzero.
26292         * string/test-bcopy.c: New file.
26293         * string/test-bzero.c: Likewise.
26294         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26295         defined.
26296         * string/test-memset.c: Support bzero test if TEST_BZERO is
26297         defined.
26298         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26299         __libc_memmove.
26300         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26301         __libc_memset.
26302         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26303         of memset.
26305 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26307         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26308         * configure: Regenerated.
26310         * Makeconfig (+link-static-before-libc): Don't include
26311         $(link-static-libc).
26313         * libio/libio.h (_IO_pos_t): Remove.
26315 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26317         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26318         McGrath.
26320 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26322         * crypt/crypt-entry.c: Include fips-private.h.
26323         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26324         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26325         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26326         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26328 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26330         * crypt/crypt-private.h: Include stdbool.h.
26331         (_ufc_setup_salt_r): Return bool.
26332         * crypt/crypt-entry.c: Include errno.h.
26333         (__crypt_r): Return NULL with EINVAL for bad salt.
26334         * crypt/crypt_util.c (bad_for_salt): New.
26335         (_ufc_setup_salt_r): Check that salt is long enough and within
26336         the specified alphabet.
26337         * crypt/badsalttest.c: New file.
26338         * crypt/Makefile (tests): Add it.
26339         ($(objpfx)badsalttest): New.
26341 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26343         * NEWS: Add entry for BZ #14602.
26345 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26347         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26348         type-generic.
26349         * math/libm-test.inc: Update comment listing what functions and
26350         macros are tested.
26351         (isgreater_test): New function.
26352         (isgreaterequal_test): Likewise.
26353         (isless_test): Likewise.
26354         (islessequal_test): Likewise.
26355         (islessgreater_test): Likewise.
26356         (isunordered_test): Likewise.
26357         (main): Call the new functions.
26359 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26361         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26362         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26363         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26364         * sysdeps/i386/configure: Regenerated.
26365         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26366         * sysdeps/mach/configure: Regenerated.
26367         * sysdeps/mach/hurd/configure: Regenerated.
26368         * sysdeps/powerpc/configure: Regenerated.
26369         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26370         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26371         * sysdeps/s390/s390-32/configure: Regenerated.
26372         * sysdeps/s390/s390-64/configure: Regenerated.
26373         * sysdeps/sh/configure: Regenerated.
26374         * sysdeps/sparc/configure: Regenerated.
26375         * sysdeps/unix/sysv/linux/configure: Regenerated.
26376         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26377         * sysdeps/x86_64/configure: Regenerated.
26379         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26380         defined.  Don't check if MAP is NULL.
26382 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26384         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26385         (_G_stat64): Likewise.
26386         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26387         (_G_stat64): Likewise.
26388         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26389         instead of struct _G_stat64.
26390         * libio/fileops.c (mmap_remap_check): Likewise.
26391         (decide_maybe_mmap): Likewise.
26392         (_IO_new_file_seekoff): Likewise.
26393         (_IO_file_stat): Likewise.
26394         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26395         _G_off64_t.
26396         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26397         instead of struct _G_stat64.
26398         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26400 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26402         [BZ #14602]
26403         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26404         Replace with ...
26405         (CHECK_EOL): New macro.
26406         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26407         CHECK_EOL.
26408         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26409         Replace with CHECK_EOL.
26410         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26411         Replace with CHECK_EOL.
26413 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26415         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26416         type-generic.
26417         * math/libm-test.inc: Update comment listing what functions and
26418         macros are tested.
26419         (finite_test): New function.
26420         (isinf_test): Likewise.
26421         (isnan_test): Likewise.
26422         (fpclassify_test): Test subnormal input.
26423         (isfinite_test): Likewise.
26424         (isnormal_test): Likewise.
26425         (main): Call the new functions.
26427 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26429         [BZ #14660]
26430         * Makerules (%.dynsym): Force C locale when running
26431         $(OBJDUMP) --dynamic-syms.
26433 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26435         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26436         <stdint.h>.
26438 2012-10-06  David S. Miller  <davem@davemloft.net>
26440         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26441         upper 32-bits of the length value in %o2 since we use branch-on-register
26442         tests which consider the entire 64-bit register.
26444 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26446         * string/test-strstr.c (check2): Add a test for page boundary.
26448 2012-10-05  David S. Miller  <davem@davemloft.net>
26450         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26451         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26452         file.
26453         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26454         sysdep_routines.
26455         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26456         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26457         and bzero when HWCAP_SPARC_CRYPTO is present.
26459 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26461         [BZ #14602]
26462         * string/test-strstr.c (check2): New function.
26463         (test_main): Call check2.
26465         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26466         and bug-strchr1.
26467         * string/bug-strcasestr1.c (do_test): Moved to ...
26468         * string/test-strcasestr.c (check1): Here.  New function.
26469         (do_one_test): Break out result checking code into ...
26470         (check_result): This.  New function.
26471         (do_one_test): Call check_result.
26472         (test_main): Call check1.
26473         * string/bug-strchr1.c (do_test): Moved to ...
26474         * string/test-strchr.c (check1): Here.  New function.
26475         (do_one_test): Break out result checking code into ...
26476         (check_result): This.  New function.
26477         (do_one_test): Call check_result.
26478         (test_main): Call check1.
26479         * string/bug-strstr1.c (main): Moved to ...
26480         * string/test-strstr.c (check1): Here.  New function.
26481         (do_one_test): Break out result checking code into ...
26482         (check_result): This.  New function.
26483         (do_one_test): Call check_result.
26484         (test_main): Call check1.
26485         * string/bug-strcasestr1.c: Removed.
26486         * string/bug-strchr1.c: Likewise.
26487         * string/bug-strstr1.c: Likewise.
26489         * elf/Makefile (dl-routines): Add hwcaps.
26490         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26491         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26492         (_dl_important_hwcaps): Moved to ...
26493         * elf/dl-hwcaps.c: Here.  New file.
26494         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26496         [BZ #14557]
26497         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26498         if IS_IN_rtld isn't defined.
26500         * elf/dl-support.c (_dl_sysinfo_map): New.
26501         Include "get-dynamic-info.h" and "setup-vdso.h".
26502         (_dl_non_dynamic_init): Call setup_vdso.
26503         * elf/dynamic-link.h: Don't include <assert.h>.
26504         (elf_get_dynamic_info): Moved to ...
26505         * elf/get-dynamic-info.h: Here.  New file.
26506         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26507         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26508         * elf/setup-vdso.h: Here.  New file.
26509         * elf/rtld.c: Include "setup-vdso.h".
26510         (dl_main): Call setup_vdso.
26512 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26514         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26515         creal in comment listing functions tested.  List finite, isinf,
26516         isnan, isless, islessequal, isgreater, isgreaterequal,
26517         islessgreater, isunordered, lgamma_r and pow10 as functions and
26518         macros not tested.  Mention which functions not tested are aliases
26519         for other functions.  Fix typo.  Note that signs of NaNs are not
26520         tested.
26522         * scripts/config.guess: Update from config.git.
26523         * scripts/config.sub: Likewise.
26525 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26527         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26528         * misc/madvise.c (madvise): Renamed to __madvise.
26529         Make madvise a weak alias.
26530         * include/sys/mman.h: Declare __madvise.
26531         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26532         * sysdeps/unix/syscalls.list
26533         (madvise): Make __madvise the strong name, and madvise a weak alias.
26534         * sysdeps/unix/sysv/linux/syscalls.list
26535         (madvise, mmap): Remove redundant entries.
26536         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26537         * malloc/malloc.c (mtrim): Likewise.
26538         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26540 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26542         * sysdeps/mach/hurd/dl-cache.c: File removed.
26543         * config.h.in (USE_LDCONFIG): New #undef.
26544         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26545         * configure: Regenerated.
26546         * elf/Makefile (dl-routines): Add dl-cache only under
26547         [$(use-ldconfig) = yes].
26548         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26549         cache on [USE_LDCONFIG].
26550         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26551         [USE_LDCONFIG].
26552         * elf/rtld.c (dl_main): Likewise.
26554 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26556         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26557         _SC_LEVEL4_CACHE_LINESIZE.
26559 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26561         * sysdeps/unix/bsd/confstr.h: File removed.
26563 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26565         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26566         sys/sdt-config.h.
26568 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26570         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26571         Make 'mapoff' field ElfW(Off) rather than off_t.
26573 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26575         * nscd/Makefile: Remove nscd-cflags and all its users.
26576         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26577         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26579         [BZ #10631]
26580         * malloc.c (malloc_printerr): Clarify error message.
26582 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26584         [BZ #14648]
26585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26586         Set bit_FMA_Usable if FMA is supported.
26587         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26588         macro.
26589         (bit_FMA4_Usable): Updated.
26590         (index_FMA_Usable): New macro.
26591         (CPUID_FMA): Likewise
26592         (HAS_FMA): Defined with bit_FMA_Usable.
26594 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26596         * bits/types.h (__swblk_t): Type removed.
26597         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26598         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26600         (__SWBLK_T_TYPE): Likewise.
26601         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26602         (__SWBLK_T_TYPE): Likewise.
26603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26604         (__SWBLK_T_TYPE): Likewise.
26605         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26606         (__SWBLK_T_TYPE): Likewise.
26608 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26609             Honza Horak <hhorak@redhat.com>
26611         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26612         (xdr_mapname): Use YPMAXMAP as maxsize.
26613         (xdr_peername): Use YPMAXPEER as maxsize.
26614         (xdr_keydat): Use YPAXRECORD as maxsize.
26615         (xdr_valdat): Use YPMAXRECORD as maxsize.
26617 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26619         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26621         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26622         * csu/init-first.c: ... here.
26623         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26624         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26625         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26626         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26627         * sysdeps/i386/init-first.c: File removed.
26628         * sysdeps/sh/init-first.c: File removed.
26630 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26632         [BZ #14645]
26633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26634         if x * y might underflow to zero and z is zero.
26635         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26636         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26637         * math/libm-test.inc (min_subnorm_value): New variable.
26638         (fma_test): Add more tests.
26639         (fma_test_towardzero): Likewise.
26640         (fma_test_downward): Likewise
26641         (fma_test_upward): Likewise.
26642         (initialize): Set min_subnorm_value.
26644 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26646         [BZ #14638]
26647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26648         0 + 0.
26649         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26650         mode for addition resulting in exact zero.
26651         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26653         exact 0 + 0.
26654         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26655         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26656         * math/libm-test.inc (fma_test): Add more tests.
26657         (fma_test_towardzero): New function.
26658         (fma_test_downward): Likewise.
26659         (fma_test_upward): Likewise.
26660         (main): Call the new functions.
26662 2012-09-28  David S. Miller  <davem@davemloft.net>
26664         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26666 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26668         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26669         instead of SIGALRM.
26671         * sysdeps/gnu/_G_config.h: Moved to ...
26672         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26673         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26674         * sysdeps/generic/_G_config.h: ... here.
26676         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26678         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26680         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26681         Conditionalize target on [libnss_test1.so-version].
26683         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26685         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26686         (elfobjdir): Move out of conditionals.
26688         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26689         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26690         (__nss_lookup_function): Conditionalize label remove_from_tree on
26691         [!DO_STATIC_NSS || SHARED], matching its only use.
26693 2012-09-28  David S. Miller  <davem@davemloft.net>
26695         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26696         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26697         file.
26698         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26699         sysdep_routines.
26700         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26702         when HWCAP_SPARC_CRYPTO is present.
26704 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26706         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26708 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26710         [BZ #6530]
26711         * stdio-common/vfprintf.c (process_string_arg): Revert
26712         2000-07-22 change.
26714 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26716         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26717         for testcase.
26718         * stdio-common/tst-sprintf.c: Include <locale.h>
26719         (main): Test sprintf's handling of incomplete multibyte
26720         characters.
26722 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26724         * elf/dl-runtime.c (VERSYMIDX): Removed.
26725         * elf/dl-version.c (VERSYMIDX): Likewise.
26726         * elf/do-rel.h (VERSYMIDX): Likewise.
26727         (VALIDX): Likewise.
26728         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26729         * elf/rtld.c (VALIDX): Likewise.
26730         (ADDRIDX): Likewise.
26731         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26732         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26733         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26734         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26735         (VALIDX): Likewise.
26736         (ADDRIDX): Likewise.
26738 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26740         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26742 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26744         [BZ #11438]
26745         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26746         to global scope.
26747         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26748         addresses are in the same scope as 192.0.2/24.
26749         * posix/gai.conf: Document new scope table defaults.
26751 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26753         [BZ #5298]
26754         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26755         for ftell.  Compute offsets from write pointers instead.
26756         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26758 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26760         [BZ #14543]
26761         * libio/Makefile (tests): New test case tst-fseek.
26762         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26763         combination works in wide mode.
26764         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26765         state when the external buffer state changes.
26767 2012-09-27  David S. Miller  <davem@davemloft.net>
26769         [BZ #14376]
26770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26771         pass reloc->r_addend in as the 'high' argument to
26772         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26776 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26778         * rt/tst-aio2.c: Include <pthread.h>.
26779         * rt/tst-aio3.c: Likewise.
26781 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26783         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26785 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26787         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26788         contents on [SHARED].
26790 2012-09-26  Marek Polacek  <polacek@redhat.com>
26792         [BZ #14530]
26793         [BZ #13741]
26794         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26795         for C++ and GCC <4.3 as well as for non GCC compilers.
26797 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26801 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26803         * Makefile.in (all, install): Declare with .PHONY.
26804         Reported by Michael Hope <michael.hope@linaro.org>.
26806 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26808         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26809         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26810         system header.
26811         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26812         Likewise.
26813         (sydep_routines): Add the new and the internal functions.
26814         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26815         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26817         (GLIBC_2.17): Add the new function.
26818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26819         (GLIBC_2.17): Likewise.
26820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26821         (GLIBC_2.17): Likewise.
26822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26823         (GLIBC_2.17): Likewise.
26824         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26826 2012-09-25  Alan Modra  <amodra@gmail.com>
26828         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26829         Add release barrier before setting once_control to say
26830         initialisation is done.  Add hints on lwarx.  Use macro in
26831         place of isync.
26832         (clear_once_control): Add release barrier.
26834 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26836         [BZ #13629]
26837         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26838         specially.
26839         * math/s_clog10.c (__clog10): Likewise.
26840         * math/s_clog10f.c (__clog10f): Likewise.
26841         * math/s_clog10l.c (__clog10l): Likewise.
26842         * math/s_clogf.c (__clogf): Likewise.
26843         * math/s_clogl.c (__clogl): Likewise.
26844         * math/Makefile (libm-calls): Add x2y2m1.
26845         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26846         (__x2y2m1): Likewise.
26847         (__x2y2m1l): Likewise.
26848         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26849         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26850         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26851         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26852         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26853         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26854         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26855         * sysdeps/i386/fpu/libm-test-ulps: Update.
26856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26858         [BZ #14621]
26859         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26860         int as type of variable DEPTH.
26861         (glob): Use size_t instead of int as type of variables NEWCOUNT
26862         and OLD_PATHC.
26864 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26866         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26867         Add s_sincosf-sse2.
26868         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26869         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26870         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26871         macros for using routine as __sincosf_ia32.
26872         Use macro for function declaration and weak_alias.
26873         * sysdeps/i386/fpu/libm-test-ulps: Update.
26875         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26878         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26879         subnormal argument.
26880         * math/s_cexpf.c (__cexpf): Likewise.
26881         * math/s_csinf.c (__csinf): Likewise.
26882         * math/s_csinhf.c (__csinhf): Likewise.
26883         * math/s_ctanf.c (__ctanf): Likewise.
26884         * math/s_ctanhf.c (__ctanhf): Likewise.
26885         * math/s_ccosh.c (__ccoshf): Likewise.
26886         * math/s_cexp.c (__cexpl): Likewise.
26887         * math/s_csin.c (__csin): Likewise.
26888         * math/s_csinh.c (__csinh): Likewise.
26889         * math/s_ctan.c (__ctan): Likewise.
26890         * math/s_ctanh.c (ctanh): Likewise.
26891         * math/s_ccoshl.c (__ccoshl): Likewise.
26892         * math/s_cexpl.c (__cexpl): Likewise.
26893         * math/s_csinl.c (__csinl): Likewise.
26894         * math/s_csinhl.c (__csinhl): Likewise.
26895         * math/s_ctanl.c (__ctanl): Likewise.
26896         * math/s_ctanhl.c (__ctanhl): Likewise.
26898 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26900         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26901         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26902         (_IO_off_t): Define to __off_t, not _G_off_t.
26903         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26904         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26905         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26906         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26907         type of __dummy and __dummy2 fields.
26908         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26909         (_G_ssize_t): Likewise.
26910         (_G_off_t): Likewise.
26911         (_G_pid_t): Likewise.
26912         (_G_uid_t): Likewise.
26913         (_G_wchar_t): Likewise.
26914         (_G_wint_t): Likewise.
26915         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26916         (_G_ssize_t): Likewise.
26917         (_G_off_t): Likewise.
26918         (_G_pid_t): Likewise.
26919         (_G_uid_t): Likewise.
26920         (_G_wchar_t): Likewise.
26921         (_G_wint_t): Likewise.
26922         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26923         (_G_ssize_t): Likewise.
26924         (_G_off_t): Likewise.
26925         (_G_pid_t): Likewise.
26926         (_G_uid_t): Likewise.
26927         (_G_wchar_t): Likewise.
26928         (_G_wint_t): Likewise.
26930 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26932         * malloc/arena.c: Include malloc-sysdep.h.
26933         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26934         is sufficient to shrink the heap or an unmap is needed.
26935         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26936         new function check_may_shrink_heap.
26937         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26938         new function check_may_shrink_heap.
26940 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26942         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26943         comments.
26945 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26947         * catgets/test-gencat.sh: Add "set -e".
26948         * elf/tst-pathopt.sh: Likewise.
26949         * grp/tst_fgetgrent.sh: Likewise.
26950         * iconvdata/run-iconv-test.sh: Likewise.
26951         * intl/tst-gettext.sh: Likewise.
26952         * intl/tst-gettext2.sh: Likewise.
26953         * intl/tst-gettext4.sh: Likewise.
26954         * intl/tst-gettext6.sh: Likewise.
26955         * intl/tst-translit.sh: Likewise.
26956         * io/ftwtest-sh: Likewise.
26957         * libio/test-freopen.sh: Likewise.
26958         * malloc/tst-mtrace.sh: Likewise.
26959         * posix/globtest.sh: Likewise.
26960         * posix/tst-getconf.sh: Likewise.
26961         * posix/wordexp-tst.sh: Likewise.
26962         * stdio-common/tst-printf.sh: Likewise.
26963         * stdio-common/tst-unbputc.sh: Likewise.
26964         * stdlib/tst-fmtmsg.sh: Likewise.
26965         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26966         * catgets/Makefile: Do not specify -e option when running
26967         testsuite shell scripts.
26968         * elf/Makefile: Likewise.
26969         * grp/Makefile: Likewise.
26970         * iconvdata/Makefile: Likewise.
26971         * intl/Makefile: Likewise.
26972         * io/Makefile: Likewise.
26973         * libio/Makefile: Likewise.
26974         * malloc/Makefile: Likewise.
26975         * posix/Makefile: Likewise.
26976         * stdio-common/Makefile: Likewise.
26977         * stdlib/Makefile: Likewise.
26978         * sysdeps/x86_64/Makefile: Likewise.
26980         * io/ftwtest-sh: Add copyright header.
26981         * posix/globtest.sh: Likewise.
26982         * posix/tst-getconf.sh: Likewise.
26983         * posix/wordexp-tst.sh: Likewise.
26984         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26986 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26988         [BZ #13679]
26989         * Makeconfig (+link): Defined as $(+link-static) if
26990         $(build-shared) isn't yes.
26991         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26992         isn't yes.
26993         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26995         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26997         [BZ #14562]
26998         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26999         new chunk size with MALLOC_ALIGN_MASK.
27001 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27003         [BZ #5044]
27004         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27005         <rounding-mode.h>.
27006         (__printf_fphex): Determine rounding using get_rounding_mode and
27007         round_away.
27008         * stdio-common/tst-printf-round.c (struct hex_test): New
27009         structure.
27010         (hex_tests): New variable.
27011         (test_hex_in_one_mode): New function.
27012         (do_test): Also run tests for hex float output.
27014 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27016         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27017         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27018         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27019         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27020         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27021         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27022         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27023         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27025 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27027         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27028         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27029         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27030         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27032 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27034         [BZ #14579]
27035         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27036         mode only.
27037         * elf/tst-rtld-load-self.sh: New test.
27038         * elf/Makefile: Run it.
27040 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27042         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27043         (tst-writev-ENV): Remove.
27044         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27046 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27048         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27050 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27052         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27053         unconditional.
27054         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27055         Likewise.
27056         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27057         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27058         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27059         Likewise.
27061 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27063         [BZ #14587]
27064         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27065         * config.make.in (have-cpp-asm-debuginfo): Removed.
27066         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27067         * configure: Regenerated.
27069 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27071         [BZ #5044]
27072         * stdio-common/printf_fp.c: Include <stdbool.h> and
27073         <rounding-mode.h>.
27074         (___printf_fp): Determine rounding using get_rounding_mode and
27075         round_away.
27076         * stdio-common/tst-printf-round.c: New file.
27077         * stdio-common/Makefile (tests): Add tst-printf-round.
27078         (link-libm): New variable.
27079         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27081 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27083         [BZ #14576]
27084         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27085         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27086         Likewise.
27087         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27088         Likewise.
27090 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27092         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27093         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27094         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27095         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27097 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27099         [BZ #14518]
27100         * include/rounding-mode.h: New file.
27101         * sysdeps/generic/get-rounding-mode.h: Likewise.
27102         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27103         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27104         (MAX_VALUE): New macro.
27105         (MIN_VALUE): Likewise.
27106         (overflow_value): New function.
27107         (underflow_value): Likewise.
27108         (round_and_return): Use overflow_value and underflow_value to
27109         determine return values in overflow and underflow cases.  Use
27110         round_away to determine rounding depending on rounding mode.
27111         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27112         determine return values in overflow and underflow cases.
27113         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27114         (struct test_results): New structure.
27115         (struct test): Use struct test_results to store expected results
27116         for all rounding modes.
27117         (TEST): Include expected results for all rounding modes.
27118         (test_in_one_mode): New function.
27119         (do_test): Use test_in_one_mode to compute and check results.
27120         Check results for all rounding modes.
27121         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27122         $(link-libm).
27124 2012-12-09  Allan McRae  <allan@archlinux.org>
27126         * sysdeps/i386/fpu/libm-test-ulps: Update
27128 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27130         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27131         (_G_int32_t): Likewise.
27132         (_G_uint16_t): Likewise.
27133         (_G_uint32_t): Likewise.
27134         (_G_HAVE_BOOL): Likewise.
27135         (_G_HAVE_ATEXIT): Likewise.
27136         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27137         (_G_HAVE_IO_FILE_OPEN): Likewise.
27138         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27139         (_G_int32_t): Likewise.
27140         (_G_uint16_t): Likewise.
27141         (_G_uint32_t): Likewise.
27142         (_G_HAVE_BOOL): Likewise.
27143         (_G_HAVE_ATEXIT): Likewise.
27144         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27145         (_G_HAVE_IO_FILE_OPEN): Likewise.
27146         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27147         (_G_int32_t): Likewise.
27148         (_G_uint16_t): Likewise.
27149         (_G_uint32_t): Likewise.
27150         (_G_HAVE_BOOL): Likewise.
27151         (_G_HAVE_ATEXIT): Likewise.
27152         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27153         (_G_HAVE_IO_FILE_OPEN): Likewise.
27155 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27157         * csu/libc-tls.c: Update copyright years.
27159 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27161         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27162         [!_G_USING_THUNKS]: Remove conditional code.
27163         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27164         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27166         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27167         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27168         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27169         (_G_VTABLE_LABEL_PREFIX): Likewise.
27170         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27171         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27172         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27173         (_G_VTABLE_LABEL_PREFIX): Likewise.
27174         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27175         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27176         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27177         (_G_VTABLE_LABEL_PREFIX): Likewise.
27178         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27180 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27182         * libio/Makefile: Include ../Makeconfig before tests.
27183         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27184         only if $(build-shared) is yes.
27186         * iconv/gconv_db.c: Update copyright years.
27188 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27190         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27191         unwind info if defined PIC. Fix special cases description.
27192         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27194         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27195         DP_HI_MASK entry.
27196         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27198 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27200         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27202         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27203         is NULL.
27205         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27206         (LDLIBS-tst-chk4): This.
27207         (LDFLAGS-tst-chk5): Renamed to ...
27208         (LDLIBS-tst-chk5): This.
27209         (LDFLAGS-tst-chk6): Renamed to ...
27210         (LDLIBS-tst-chk6): This.
27211         (LDFLAGS-tst-lfschk4): Renamed to ...
27212         (LDLIBS-tst-lfschk4): This.
27213         (LDFLAGS-tst-lfschk5): Renamed to ...
27214         (LDLIBS-tst-lfschk5): This.
27215         (LDFLAGS-tst-lfschk6): Renamed to ...
27216         (LDLIBS-tst-lfschk6): This.
27218         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27219         on $(common-objpfx)soversions.mk.
27221 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27223         [BZ #10014]
27224         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27225         example host name.
27227 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27229         * malloc/arena.c (arena_get_retry): New function that gets
27230         another arena for the caller to try its request on.
27231         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27232         current arena cannot fulfill the request.
27233         (__libc_memalign): Likewise.
27234         (__libc_memalign): Likewise.
27235         (__libc_pvalloc): Likewise.
27236         (__libc_calloc): Likewise.
27238 2012-09-05  John Tobey  <john.tobey@gmail.com>
27240         [BZ #13542]
27241         * manual/arith.texi (Operations on Complex): Fix description
27242         of carg branch cut.
27244 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27246         [BZ #10014]
27247         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27248         host name.
27250         [BZ #10038]
27251         * manual/memory.texi (Memory): Make order of menu items match
27252         order of sections.
27254 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27256         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27257         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27258         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27260 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27262         * csu/libc-tls.c (static_dtv): Renamed to ...
27263         (_dl_static_dtv): This.  Make it global.
27264         (_dl_initial_dtv): Removed.
27265         (__libc_setup_tls): Updated.
27266         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27267         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27268         DL_INITIAL_DTV.
27270 2012-09-06  Petr Machata  <pmachata@redhat.com>
27272         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27273         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27274         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27275         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27277 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27279         [BZ #14545]
27280         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27281         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27282         freeing dtv[-1].
27284 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27286         [BZ #14544]
27287         * Makeconfig (link-static-before-libc): Replace $(+prector)
27288         with $(+prectorT).
27289         (link-static-after-libc): Replace $(+postctor) with
27290         $(+postctorT).
27291         (link-bounded): Replace $(+prector)/$(+postctor) with
27292         $(+prectorT)/$(+postctorT).
27293         (+prectorT): New macro.
27294         (+postctorT): Likewise.
27296 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27298         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27299         (round_str): Handle values above the maximum for IBM long double
27300         as inexact.
27301         * stdlib/tst-strtod-round.c (tests): Regenerated.
27303 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27305         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27306         assembler flag.
27307         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27308         zarch_nohighgprs around the zarch optimized routines.
27309         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27310         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27311         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27312         for zarch.
27314 2012-09-05  David S. Miller  <davem@davemloft.net>
27316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27318         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27319         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27320         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27321         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27322         entries.
27324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27326         * malloc/arena.c: Fold copyright years.
27327         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27331         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27333 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27335         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27337 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27339         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27340         change internal state upon failure.
27342 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27344         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27345         * malloc/memusage.c (mmap): Likewise.
27346         (mmap64, mremap): Likewise.  Adjust name in comment.
27348 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27350         * libio/fileops.c: Fix typos in comments.
27351         * libio/oldfileops.c: Likewise.
27352         * libio/wfileops.c: Likewise.
27354 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27356         [BZ #1349]
27357         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27358         (tst-malloc-usable-ENV): Set environment for test case.
27359         * malloc/hooks.c (malloc_check_get_size): New function to get
27360         requested size.
27361         * malloc/malloc.c (musable): Use malloc_check_get_size.
27362         * malloc/tst-malloc-usable.c: New test case.
27364 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27366         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27368 2012-09-05  Allan McRae  <allan@archlinux.org>
27370         [BZ #13966]
27371         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27372         determine header location.
27373         * configure: Regenerated.
27375 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27377         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27378         float format.
27379         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27380         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27381         format.
27382         (test): Regenerate.
27384 2012-09-04  David S. Miller  <davem@davemloft.net>
27386         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27387         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27388         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27390 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27392         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27393         failures.
27395         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27397 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27399         [BZ #9914]
27400         * libio/iogetdelim.c: Include <limits.h>.
27401         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27402         + len + 1 would overflow.
27404 2012-09-03  Andreas Jaeger  <aj@suse.de>
27406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27407         * sysdeps/i386/fpu/libm-test-ulps: Update.
27409 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27411         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27412         Add s_sinf-sse2, s_conf-sse2.
27414         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27415         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27416         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27417         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27419         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27420         for using routine as __sinf_ia32.
27421         Use macro for function declaration and weak_alias.
27422         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27423         for using routine as __cosf_ia32.
27424         Use macro for function declaration and weak_alias.
27426         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27427         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27429         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27430         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27433         * math/libm-test.inc (cos_test): Add more test cases.
27434         (sin_test): Likewise.
27435         (sincos_test): Likewise.
27437 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27439         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27440         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27441         hidden.
27442         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27444 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27446         [BZ #14538]
27447         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27448         first element of the GOT.
27449         (elf_machine_load_address): Return the difference between
27450         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27452 2012-09-01  Allan McRae  <allan@archlinux.org>
27454         [BZ #13412]
27455         * configure.in (AWK): Require gawk version 3.0 or later.
27456         * configure: Regenerated.
27458 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27460         * sysdeps/unix/sysv/linux/kernel-features.h
27461         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27462         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27463         [__NR_clock_getres]: Make code unconditional.
27464         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27465         (clock_getcpuclockid): Remove code left unreachable by removal of
27466         conditionals.
27467         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27468         code unconditional.
27469         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27470         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27471         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27472         Make code unconditional.
27473         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27474         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27475         * sysdeps/unix/sysv/linux/clock_settime.c
27476         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27477         conditional code.
27478         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27479         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27481 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27483         [BZ #14476]
27484         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27485         scripts/test-installation.pl.
27487         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27488         and $ld_so_version if it is set.
27490 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27492         [BZ #14516]
27493         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27494         failure if reading from procfs failed.
27495         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27497 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27499         * sysdeps/unix/sysv/linux/kernel-features.h
27500         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27501         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27502         Remove conditional code.
27503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27504         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27505         Remove conditional code.
27506         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27507         * sysdeps/unix/sysv/linux/i386/fxstat.c
27508         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27509         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27510         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27511         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27512         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27513         * sysdeps/unix/sysv/linux/i386/lxstat.c
27514         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27516         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27517         Remove conditional code.
27518         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27519         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27520         Remove conditional code.
27521         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27522         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27523         <kernel-features.h>.
27524         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27525         Remove.
27526         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27527         Remove conditional code.
27528         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27529         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27530         Remove conditional.
27532 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27534         [BZ #5400]
27535         * NEWS: Add fixed bug number.
27537 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27539         [BZ #14519]
27540         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27541         underflowing exponent in case of negative sign.
27542         * stdlib/tst-strtod-round-data: Add more tests.
27543         * stdlib/tst-strtod-round.c (tests): Regenerated.
27545         [BZ #3479]
27546         * stdlib/strtod_l.c (NDIG): Remove.
27547         (HEXNDIG): Likewise.
27548         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27549         smallest representable value.
27550         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27551         lie within an exact representation of 1/2 ulp of the result.
27552         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27553         unconditionally.
27554         (TENS_P9_IDX): Define unconditionally.
27555         (TENS_P9_SIZE): Likewise.
27556         (TENS_P10_IDX): Likewise.
27557         (TENS_P10_SIZE): Likewise.
27558         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27559         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27560         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27561         entries for 10^2^13 and 10^2^14.
27562         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27563         (TENS_P13_IDX): Define.
27564         (TENS_P13_SIZE): Likewise.
27565         (TENS_P14_IDX): Likewise.
27566         (TENS_P14_SIZE): Likewise.
27567         (_fpioconst_pow10): Change array size to
27568         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27569         unconditional.
27570         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27571         1024]: Add entries for 10^2^13 and 10^2^14.
27572         [LAST_POW10 > _LAST_POW10]: Remove #error.
27573         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27574         (_fpioconst_pow10): Change array size to
27575         FPIOCONST_POW10_ARRAY_SIZE.
27576         * stdlib/gen-fpioconst.c: New file.
27577         * stdlib/gen-tst-strtod-round.c: Likewise.
27578         * stdlib/tst-strtod-round-data: Likewise.
27579         * stdlib/tst-strtod-round.c: Likewise.
27580         * stdlib/Makefile (tests): Add tst-strtod-round.
27582         [BZ #14459]
27583         * stdlib/strtod_l.c: Include <stdint.h>.
27584         (NDEBUG): Do not define.
27585         (round_and_return): Change EXPONENT parameter to type intmax_t.
27586         Rearrange calculations to avoid internal overflow possibilities.
27587         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27588         Rearrange calculations to avoid internal overflow possibilities.
27589         Assert that number fits inside MPNSIZE limbs.
27590         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27591         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27592         calculations and add assertions to avoid internal overflow
27593         possibilities.  Add casts to avoid signed/unsigned operations.
27594         * stdlib/tst-strtod-overflow.c: New file.
27595         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27597 2012-08-25  Marek Polacek  <polacek@redhat.com>
27599         * time/time.h: Fix some typos in comments.
27601 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27603         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27604         * posix/tst-rfc3484-2.c: Likewise.
27605         * posix/tst-rfc3484-3.c: Likewise.
27607 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27609         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27610         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27612 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27614         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27615         #include of fxstatat64.c.
27617 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27619         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27620         * shadow/getspent_r.c: Likewise.
27621         * shadow/getspnam.c: Likewise.
27622         * shadow/getspnam_r.c: Likewise.
27623         * gshadow/getsgent.c: Likewise.
27624         * gshadow/getsgent_r.c: Likewise.
27625         * gshadow/getsgnam.c: Likewise.
27626         * gshadow/getsgnam_r.c: Likewise.
27627         * inet/getnetbyad.c: Likewise.
27628         * inet/getnetbyad_r.c: Likewise.
27629         * inet/getnetbynm.c: Likewise.
27630         * inet/getnetbynm_r.c: Likewise.
27631         * inet/getnetent.c: Likewise.
27632         * inet/getnetent_r.c: Likewise.
27633         * inet/getproto.c: Likewise.
27634         * inet/getproto_r.c: Likewise.
27635         * inet/getprtent.c: Likewise.
27636         * inet/getprtent_r.c: Likewise.
27637         * inet/getprtname.c: Likewise.
27638         * inet/getprtname_r.c: Likewise.
27639         * inet/getrpcbyname.c: Likewise.
27640         * inet/getrpcbyname_r.c: Likewise.
27641         * inet/getrpcbynumber.c: Likewise.
27642         * inet/getrpcbynumber_r.c: Likewise.
27643         * inet/getrpcent.c: Likewise.
27644         * inet/getrpcent_r.c: Likewise.
27645         * inet/getaliasent.c: Likewise.
27646         * inet/getaliasent_r.c: Likewise.
27647         * inet/getaliasname.c: Likewise.
27648         * inet/getaliasname_r.c: Likewise.
27649         * nscd/getgrgid_r.c: Likewise.
27650         * nscd/getgrnam_r.c: Likewise.
27651         * nscd/gethstbyad_r.c: Likewise.
27652         * nscd/gethstbynm3_r.c: Likewise.
27653         * nscd/getpwnam_r.c: Likewise.
27654         * nscd/getpwuid_r.c: Likewise.
27655         * nscd/getsrvbynm_r.c: Likewise.
27656         * nscd/getsrvbypt_r.c: Likewise.
27657         * nscd/gai.c: Likewise.
27659         * configure.in (build_nscd): New substituted variable, set
27660         by --disable-build-nscd and defaults to $use_nscd.
27661         * configure: Regenerated.
27662         * config.make.in (build-nscd): New substituted variable.
27663         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27664         Change conditional to require [$(build-nscd) = yes] as well.
27665         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27667         [BZ# 13696]
27668         * configure.in (use_nscd): New substituted variable, set by
27669         --disable-nscd.  If enabled, define USE_NSCD.
27670         * configure: Regenerated.
27671         * config.h.in: Add USE_NSCD.
27672         * config.make.in (use-nscd): New substituted variable.
27673         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27674         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27675         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27676         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27677         (CFLAGS-getgrnam_r.c): Likewise.
27678         (CFLAGS-initgroups.c): Likewise.
27679         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27680         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27681         Variables removed.
27682         * inet/getnetgrent_r.c
27683         (nscd_setnetgrent): New function, broken out of ...
27684         (setnetgrent): ... here.  Call it.
27685         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27686         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27687         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27688         * nscd/Makefile (routines, aux): Move definitions after include of
27689         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27690         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27691         Conditionalize on [USE_NSCD].
27692         (is_nscd, nscd_init_cb): Likewise.
27693         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27694         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27695         * nss/nss_db/db-init.c: Likewise.
27696         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27697         [USE_NSCD].
27698         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27699         (make_request): Use it.
27700         (cache_valid_p): New function.
27701         (__check_pf): Use it.
27702         * NEWS: Add item for --disable-nscd.
27704 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27706         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27707         to support sed >= 4.2.1-20-ga9bf076.
27708         * configure: Regenerated.
27710 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27712         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27713         Conditionalize whole body on [IREL].
27715 2012-08-22  Jeff Law <law@redhat.com>
27717         [BZ #14505]
27718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27719         if the family is PF_UNSPEC.
27721 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27723         * Makerules (lib-version): Rename from V.
27724         (install-lib-nosubdir): Change V to lib-version.
27726 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27728         [BZ #14252]
27729         * powerpc32/power6/wcschr.c: New file.
27730         * powerpc32/power6/wcscpy.c: New file.
27731         * powerpc32/power6/wcsrchr.c: New file.
27732         * powerpc64/power6/wcschr.c: New file.
27733         * powerpc64/power6/wcscpy.c: New file.
27734         * powerpc64/power6/wcsrchr.c: New file.
27736 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27738         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27739         (two_way_short_needle): Use it.
27740         * string/strstr.c (AVAILABLE1_USES_J): Define.
27741         * string/strcasestr.c: Likewise.
27743         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27744         array references.
27745         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27747         [BZ #11607]
27748         * NEWS: Add an entry.
27749         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27750         define their defaults.
27751         (two_way_short_needle): Detect end-of-string on-the-fly.
27752         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27753         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27754         * string/bug-strcasestr1.c: New test.
27755         * string/Makefile: Run it.
27757 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27759         [BZ #11607]
27760         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27761         the first character.
27763 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27765         * csu/elf-init.c (__libc_csu_irel): Function removed.
27766         * csu/libc-start.c (apply_irel): New function.
27767         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27769 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27771         * sysdeps/unix/sysv/linux/kernel-features.h
27772         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27773         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27774         <kernel-features.h>.
27775         [__NR_fadvise64_64]: Make code unconditional.
27776         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27777         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27778         !__NR_fadvise64_64)]: Likewise.
27779         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27780         !__NR_fadvise64_64))]: Likewise.
27781         [__NR_fadvise64]: Make code unconditional.
27782         [!__NR_fadvise64]: Remove conditional code.
27783         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27784         <kernel-features.h>.
27785         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27786         unconditional.
27787         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27788         conditional code.
27789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27790         not include <kernel-features.h>.
27791         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27792         unconditional.
27793         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27794         conditional code.
27795         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27796         include <kernel-features.h>.
27797         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27798         unconditional.
27799         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27800         conditional code.
27802 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27805         slight instruction rearrangements per scrollpipe analysis.
27806         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27808 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27810         * manual/syslog.texi (syslog; vsyslog, closelog):
27811         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27812         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27814         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27815         DSOCAPS to match condition on defining it.
27817 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27819         * sysdeps/unix/sysv/linux/kernel-features.h
27820         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27822         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27823         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27825         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27826         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27828         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27829         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27831         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27832         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27834         * sysdeps/unix/sysv/linux/kernel-features.h
27835         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27836         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27837         unconditional.
27838         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27839         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27840         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27841         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27842         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27843         Make code unconditional.
27844         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27845         (__mmap64) [!__NR_mmap2]: Likewise.
27846         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27847         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27848         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27849         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27850         [__NR_mmap2]: Make code unconditional.
27851         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27852         (__mmap64) [!__NR_mmap2]: Likewise.
27854 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27856         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27858 2012-08-18  Andreas Jaeger  <aj@suse.de>
27860         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27862 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27864         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27865         * include/unistd.h (__have_sock_cloexec): Likewise.
27866         (__have_pipe2): Likewise.
27867         (__have_dup3): Likewise.
27869 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27871         [BZ #9685]
27872         * include/unistd.h (__have_pipe2): Change define into an extern int.
27873         (__have_dup3): Likewise.
27874         * socket/have_sock_cloexec.c: Include fcntl.h.
27875         (__have_pipe2): New variable.
27876         (__have_dup3): Likewise.
27878 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27880         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27882 2012-08-17  Marek Polacek  <polacek@redhat.com>
27884         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27885         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27887 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27889         * configure.in: Add AC_SUBST for sysheaders.
27890         * configure: Regenerated.
27891         * config.make.in (sysheaders): New substituted variable.
27893         * sysdeps/unix/mkfifo.c: Moved ...
27894         * sysdeps/posix/mkfifo.c: ... here.
27895         * sysdeps/unix/mkfifoat.c: Moved ...
27896         * sysdeps/posix/mkfifoat.c: ... here.
27898         * sysdeps/unix/utime.c: Moved ...
27899         * sysdeps/posix/utime.c: ... here.
27901         * sysdeps/unix/time.c: Moved ...
27902         * sysdeps/posix/time.c: ... here.
27903         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27904         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27906         * sysdeps/unix/nice.c: Moved ...
27907         * sysdeps/posix/nice.c: ... here.
27909         * sysdeps/unix/alarm.c: Moved ...
27910         * sysdeps/posix/alarm.c: ... here.
27912         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27914 2012-08-17  Jeff Law <law@redhat.com>
27916         * intl/Makefile (codeset_mo): New variable.
27917         ($(codeset_mo)): New target.
27918         (tst-codeset.out): Depend on that.  Remove explicit rule.
27919         (tst-gettext3.out, tst-gettext5.out): Likewise.
27920         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27921         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27922         * intl/tst-codeset.sh: Remove.
27923         * intl/tst-gettext3.sh: Likewise.
27924         * intl/tst-gettext5.sh: Likewise.
27926 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27928         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27929         * sysdeps/unix/syscalls.list: ... here.
27931         * sysdeps/posix/getaddrinfo.c
27932         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27933         (gaiconf_init, gaiconf_reload): Use them.
27934         [!_STATBUF_ST_NSEC]
27935         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27936         Define using time_t rather than struct timespec.
27938         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27939         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27940         Macros removed.
27941         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27942         [!NO_THREADS].
27943         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27944         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27945         Likewise.
27947         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27948         __libc_cleanup_push argument.
27950         * bits/param.h: New file.
27951         * misc/sys/param.h: New file.
27952         * include/sys/param.h: New file.
27953         * misc/Makefile (headers): Add bits/param.h.
27954         * sysdeps/generic/sys/param.h: File removed.
27955         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27956         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27957         * sysdeps/mach/hurd/bits/param.h: New file.
27958         * sysdeps/mach/hurd/sys/param.h: File removed.
27960         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27961         last change.
27963         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27964         [_IO_MTSAFE_IO].
27965         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27966         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27967         New macros.
27969         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27970         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27971         rather than -D_IO_MTSAFE_IO conditionally.
27972         * stdio-common/Makefile (CPPFLAGS): Likewise.
27973         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27974         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27975         Use $(libio-mtsafe).
27976         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27977         of -D_IO_MTSAFE_IO.
27978         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27979         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27980         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27981         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27982         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27983         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27984         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27985         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27986         (CFLAGS-fread_u_chk.c): Likewise.
27987         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27988         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27989         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27990         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27991         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27992         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27993         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27994         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27995         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27997         * libio/Makefile: Test [$(libc-reentrant) = yes]
27998         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28000         * Makeconfig
28001         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28002         * sysdeps/pthread/configure: File removed.
28003         * sysdeps/pthread/Makeconfig: New file.
28004         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28005         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28007 2012-08-16  Gary Benson  <gbenson@redhat.com>
28009         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28010         unmapping the first object in a namespace.
28012 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28014         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28015         (__internal_setnetgrent): ... this.  Add internal_function to
28016         definition.  Add libc_hidden_def.
28017         (setnetgrent): Update caller.
28018         (internal_endnetgrent): Renamed to ...
28019         (__internal_endnetgrent): ... this.  Add internal_function to
28020         definition.  Add libc_hidden_def.
28021         (endnetgrent): Update caller.
28022         (internal_getnetgrent_r): Renamed to ...
28023         (__internal_getnetgrent_r): ... this.  Add internal_function to
28024         definition.  Add libc_hidden_def.
28025         (__getnetgrent_r): Update caller.
28026         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28028 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28030         * stdlib/longlong.h: Update from GCC.
28032 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28034         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28035         on _QL, which is set by umul_ppmm but never used.
28036         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28037         variables, which are set by GMP macros but never used.
28038         * stdio-common/_itowa.c (_itowa): Likewise.
28039         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28040         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28042 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28044         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28045         struct La_sh_regs is not constant.
28046         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28047         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28048         and struct La_sparc64_regs are not constant.
28050 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28052         * sysdeps/unix/sysv/linux/kernel-features.h
28053         (__ASSUME_POSIX_TIMERS): Remove.
28054         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28055         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28056         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28057         Make code unconditional.
28058         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28059         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28060         Make code unconditional.
28061         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28062         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28063         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28064         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28065         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28066         Make code unconditional.
28067         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28068         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28069         (__libc_missing_posix_timers): Remove.
28071 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28073         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28074         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28076         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28078         * elf/dl-sym.c: Include <stdlib.h>.
28080         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28081         constants, which avoids warnings in 32-bit builds.
28083         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28084         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28086         * misc/lseek.c: File moved to ...
28087         * io/lseek.c: ... here.
28089         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28091         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28092         shifting LEN more than 31 bits at once.
28094 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28096         [BZ #14195]
28097         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28098         segmentation fault for a case of two empty input strings.
28099         * string/test-strncasecmp.c (check1): Renamed to...
28100         (bz12205): ...this.
28101         (bz14195): Add new testcase for two empty input strings and N > 0.
28102         (test_main): Call new testcase, adapt for renamed function.
28104 2012-08-15  Andreas Jaeger  <aj@suse.de>
28106         [BZ #14090]
28107         * crypt/md5test2.c: New test, based on test supplied by Serge
28108         Belyshev <belyshev@depni.sinp.msu.ru>.
28109         * crypt/Makefile (xtests): Add md5test-giant..
28110         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28112 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28114         [BZ #14090]
28115         * crypt/md5.c (md5_process_block): Don't assume the buffer
28116         length is less than 2**32.
28117         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28118         length is less than 2**64.
28120 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28122         * string/str-two-way.h: Include <sys/param.h>.
28123         (MAX): Macro removed.
28125         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28126         Move #define and #undef of memmove to just before and after
28127         including <string.h>.
28129         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28130         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28131         and after including <string.h>.  Move declarations of
28132         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28133         to before #include "string/memmove.c".
28135         * include/dirent.h: Declare __getdirentries.
28137         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28138         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28140 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28142         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28143         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28144         * sysdeps/i386/configure: Regenerated.
28145         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28146         STABS_CURRENT_FILE, and STABS_FUN.
28147         (END): Remove call to STABS_FUN_END.
28148         (STABS_CURRENT_FILE1): Delete.
28149         (STABS_CURRENT_FILE): Likewise.
28150         (STABS_FUN): Likewise.
28151         (STABS_FUN_END): Likewise.
28152         (STABS_FUN2): Likewise.
28153         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28154         * sysdeps/x86_64/configure: Regenerated.
28156 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28158         * elf/dl-open.c: Include <atomic.h>.
28159         * elf/dl-lookup.c: Likewise.
28161 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28163         * sysdeps/unix/sysv/linux/kernel-features.h
28164         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28165         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28166         unconditionally.
28167         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28168         unconditionally.
28169         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28170         condition on __ASSUME_CLONE_THREAD_FLAGS.
28172 2012-08-14  Andreas Jaeger  <aj@suse.de>
28174         * sysdeps/i386/fpu/libm-test-ulps: Update.
28176 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28178         * include/atomic.h (atomic_exchange_and_add): Split into ...
28179         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28180         New atomic macros.
28182 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28186 2012-08-13  Jeff Law <law@redhat.com>
28188         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28189         null byte in the output string.
28191 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28193         * sysdeps/unix/sysv/linux/kernel-features.h
28194         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28195         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28196         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28197         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28198         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28199         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28200         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28202 2012-08-09  Jeff Law <law@redhat.com>
28204         [BZ #13939]
28205         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28206         When avoid_arena is set, don't retry in the that arena.  Pick the
28207         next one, whatever it might be.
28208         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28209         (arena_lock): Pass in new parameter to arena_get2.
28210         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28211         arena_get2.
28212         (__libc_malloc): Unify retrying after main arena failure with
28213         __libc_memalign version.
28214         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28216 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28218         [BZ #14166]
28219         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28220         to __redirect_strstr.
28221         (__strstr_sse42): Use typeof __redirect_strstr.
28222         (__strstr_ia32): Likewise.
28223         (__libc_strstr): New prototype.
28224         (strstr): Renamed to ...
28225         (__libc_strstr): This.
28226         (strstr): New strong alias of __libc_strstr.
28227         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28228         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28229         __redirect_time.
28230         Include <time.h>.
28231         (__libc_time): New prototype.
28232         (time_ifunc): Replace time with __libc_time.
28233         (time): New strong alias and hidden definition of __libc_time.
28234         (__GI_time): Remove strong alias.
28235         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28236         Include <stddef.h>.
28237         (memmove): Redefined to __redirect_memmove.
28238         (__memmove_sse2): Use typeof __redirect_memmove.
28239         (__memmove_ssse3): Likewise.
28240         (__memmove_ssse3_back): Likewise.
28241         (__libc_memmove): New prototype.
28242         (memmove): Renamed to ...
28243         (__libc_memmove): This.
28244         (memmove): New strong alias of __libc_memmove.
28246 2012-08-08  Mark Salter  <msalter@redhat.com>
28248         * elf/elf.h
28249         (R_MN10300_TLS_GD): Define.
28250         (R_MN10300_TLS_LD): Likewise.
28251         (R_MN10300_TLS_LDO): Likewise.
28252         (R_MN10300_TLS_GOTIE): Likewise.
28253         (R_MN10300_TLS_IE): Likewise.
28254         (R_MN10300_TLS_LE): Likewise.
28255         (R_MN10300_TLS_DTPMOD): Likewise.
28256         (R_MN10300_TLS_DTPOFF): Likewise.
28257         (R_MN10300_TLS_TPOFF): Likewise.
28258         (R_MN10300_SYM_DIFF): Likewise.
28259         (R_MN10300_ALIGN): Likewise.
28260         (R_MN10300_NUM): Update.
28262 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28264         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28265         Remove.
28267 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28269         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28271         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28272         sysdeps/unix -> sysdeps/posix move.
28273         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28275 2012-08-07      Allan McRae     <allan@archlinux.org>
28277         [BZ #14303]
28278         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28279         (SUNOS_CPP): Likewise.
28280         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28281         not found.
28282         (open_input): Call CPP using execvp.
28284 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28286         * sysdeps/unix/sysv/linux/kernel-features.h
28287         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28288         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28289         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28290         (__ASSUME_WAITID_SYSCALL): Likewise.
28291         * sysdeps/unix/sysv/linux/dl-execstack.c
28292         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28293         code unconditional.
28294         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28295         conditional code.
28296         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28297         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28298         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28299         code.
28300         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28301         unconditional.
28302         [__ASSUME_WAITID_SYSCALL]: Likewise.
28303         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28305 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28307         * sysdeps/unix/closedir.c: Renamed to ...
28308         * sysdeps/posix/closedir.c: ... here.
28309         * sysdeps/unix/dirfd.c: Renamed to ...
28310         * sysdeps/posix/dirfd.c: ... here.
28311         * sysdeps/unix/dirstream.h: Renamed to ...
28312         * sysdeps/posix/dirstream.h: ... here.
28313         * sysdeps/unix/fdopendir.c: Renamed to ...
28314         * sysdeps/posix/fdopendir.c: ... here.
28315         * sysdeps/unix/opendir.c: Renamed to ...
28316         * sysdeps/posix/opendir.c: ... here.
28317         * sysdeps/unix/readdir.c: Renamed to ...
28318         * sysdeps/posix/readdir.c: ... here.
28319         * sysdeps/unix/readdir_r.c: Renamed to ...
28320         * sysdeps/posix/readdir_r.c: ... here.
28321         * sysdeps/unix/rewinddir.c: Renamed to ...
28322         * sysdeps/posix/rewinddir.c: ... here.
28323         * sysdeps/unix/seekdir.c: Renamed to ...
28324         * sysdeps/posix/seekdir.c: ... here.
28325         * sysdeps/unix/telldir.c: Renamed to ...
28326         * sysdeps/posix/telldir.c: ... here.
28327         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28328         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28329         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28330         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28332         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28333         * bits/fcntl.h: ... here.
28335         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28336         not 0.
28337         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28338         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28339         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28340         (struct flock): Move l_start, l_len to the beginning.
28341         Use __pid_t for l_pid.
28342         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28343         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28344         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28345         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28346         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28347         [__USE_LARGEFILE64] (struct flock64): New type.
28348         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28350         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28351         * bits/dirent.h: ... here.
28353         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28354         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28356 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28358         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28359         Change from 2.6.0 to 2.6.16.
28360         * sysdeps/unix/sysv/linux/configure: Regenerated.
28361         * sysdeps/unix/sysv/linux/kernel-features.h
28362         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28363         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28364         version.
28365         (__ASSUME_UTIMES): Likewise.
28366         (__ASSUME_CLONE_STOPPED): Remove.
28367         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28368         architectures, not kernel version.
28369         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28370         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28371         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28372         (__ASSUME_WAITID_SYSCALL): Likewise.
28373         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28374         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28375         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28376         refer to older versions.
28378 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28380         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28381         Define alphasort64 as an alias.
28382         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28383         Define versionsort64 as an alias.
28384         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28385         Define scandir64 as an alias.
28386         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28387         Define scandirat64 as an alias.
28388         * dirent/alphasort64.c (alphasort64):
28389         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28390         * dirent/versionsort64.c: Likewise.
28391         * dirent/scandir64.c: Likewise.
28392         * dirent/scandirat64.c: Likewise.
28393         * sysdeps/wordsize-64/alphasort.c: File removed.
28394         * sysdeps/wordsize-64/alphasort64.c: File removed.
28395         * sysdeps/wordsize-64/scandir.c: File removed.
28396         * sysdeps/wordsize-64/scandir64.c: File removed.
28397         * sysdeps/wordsize-64/scandirat.c: File removed.
28398         * sysdeps/wordsize-64/scandirat64.c: File removed.
28399         * sysdeps/wordsize-64/versionsort.c: File removed.
28400         * sysdeps/wordsize-64/versionsort64.c: File removed.
28401         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28402         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28403         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28404         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28405         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28406         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28407         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28408         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28410         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28411         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28412         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28414         [defined __arch64__ || defined __sparcv9]
28415         (__INO_T_MATCHES_INO64_T): New macro.
28416         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28417         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28418         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28419         * sysdeps/unix/sysv/linux/bits/dirent.h
28420         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28421         (_DIRENT_MATCHES_DIRENT64): New macro.
28423         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28424         Define lockf64 as an alias.
28425         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28426         Define fseeko64 as an alias.
28427         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28428         Define ftello64 as an alias.
28429         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28430         Define _IO_fgetpos64 and fgetpos64 as aliases.
28431         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28432         Define _IO_fsetpos64 and fsetpos64 as aliases.
28433         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28434         Conditionalize body on this.
28435         * libio/fseeko64.c: Likewise.
28436         * libio/ftello64.c: Likewise.
28437         * libio/iofgetpos64.c: Likewise.
28438         * libio/iofsetpos64.c: Likewise.
28439         * sysdeps/wordsize-64/lockf.c: File removed.
28440         * sysdeps/wordsize-64/lockf64.c: File removed.
28441         * sysdeps/wordsize-64/fseeko.c: File removed.
28442         * sysdeps/wordsize-64/fseeko64.c: File removed.
28443         * sysdeps/wordsize-64/ftello.c: File removed.
28444         * sysdeps/wordsize-64/ftello64.c: File removed.
28445         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28446         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28447         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28448         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28449         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28450         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28451         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28452         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28453         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28454         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28455         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28456         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28457         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28458         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28460         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28462         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28464         [defined __arch64__ || defined __sparcv9]
28465         (__OFF_T_MATCHES_OFF64_T): New macro.
28466         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28467         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28468         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28469         (__OFF_T_MATCHES_OFF64_T): New macro.
28471 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28473         * stdlib/secure-getenv.c (__secure_getenv): Replace
28474         GLIBC_2_16 with GLIBC_2_17.
28476 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28478         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28479         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28481 2012-08-03  David S. Miller  <davem@davemloft.net>
28483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28485 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28488         Remove.
28489         (__ASSUME_CORRECT_SI_PID): Likewise.
28490         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28491         (__ASSUME_TMPFS_NAME): Likewise.
28492         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28493         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28494         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28495         (HAVE_AUX_SECURE): Make definition unconditional.
28496         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28497         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28499 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28501         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28502         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28503         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28504         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28505         __eloop_threshold instead of SYMLOOP_MAX.
28507         * sysdeps/generic/eloop-threshold.h: New file.
28508         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28509         of MAXSYMLINKS.
28510         * elf/chroot_canon.c (chroot_canon): Likewise.
28512 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28514         [BZ #13717]
28515         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28516         Change to 2.6.0 everywhere.
28517         * sysdeps/unix/sysv/linux/configure: Regenerated.
28518         * sysdeps/unix/sysv/linux/kernel-features.h
28519         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28520         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28521         kernel versions.
28522         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28523         (__ASSUME_FUTEX_REQUEUE): Remove.
28524         (__ASSUME_STATFS64): Define unconditionally.
28525         (__ASSUME_AT_SECURE): Likewise.
28526         (__ASSUME_CORRECT_SI_PID): Likewise.
28527         (__ASSUME_TGKILL): Define without depending on kernel version for
28528         i386.
28529         (__ASSUME_UTIMES): Likewise.
28530         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28531         kernel version.
28532         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28533         (__ASSUME_TMPFS_NAME): Likewise.
28534         * README: Update reference to Linux kernel versions.
28536 2012-08-02  Marek Polacek  <polacek@redhat.com>
28538         [BZ# 14150]
28539         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28540         libc_cv_asm_type_prefix with %.
28541         * configure: Regenerated.
28542         * include/libc-symbols.h: Remove comment about
28543         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28544         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28545         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28546         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28547         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28548         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28549         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28550         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28551         * elf/tst-unique2mod1.c: Likewise.
28552         * elf/tst-unique1mod2.c: Likewise.
28553         * elf/tst-unique1mod1.c: Likewise.
28554         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28555         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28556         Replace ASM_TYPE_DIRECTIVE with .type.
28557         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28558         * sysdeps/i386/sysdep.h: Likewise.
28559         * sysdeps/x86_64/sysdep.h: Likewise.
28560         * sysdeps/sh/sysdep.h: Likewise.
28561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28562         Do not define ASM_TYPE_DIRECTIVE.
28563         * sysdeps/powerpc/sysdep.h: Likewise.
28564         * sysdeps/powerpc/powerpc32/sysdep.h:
28565         Replace ASM_TYPE_DIRECTIVE with .type.
28566         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28567         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28568         * sysdeps/i386/fpu/e_powf.S: Likewise.
28569         * sysdeps/i386/fpu/e_expl.S: Likewise.
28570         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28571         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28572         * sysdeps/i386/fpu/e_pow.S: Likewise.
28573         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28574         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28575         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28576         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28577         * sysdeps/i386/fpu/e_log2.S: Likewise.
28578         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28579         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28580         * sysdeps/i386/fpu/e_powl.S: Likewise.
28581         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28582         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28583         * sysdeps/i386/fpu/e_logl.S: Likewise.
28584         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28585         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28586         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28587         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28588         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28589         * sysdeps/i386/fpu/e_log.S: Likewise.
28590         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28591         * sysdeps/i386/fpu/e_logf.S: Likewise.
28592         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28593         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28594         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28595         * sysdeps/i386/fpu/e_log10.S: Likewise.
28596         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28597         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28598         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28599         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28600         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28601         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28602         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28603         * sysdeps/i386/i686/strtok.S: Likewise.
28604         * sysdeps/i386/i386-mcount.S: Likewise.
28605         * sysdeps/i386/strtok.S: Likewise.
28606         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28607         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28608         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28609         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28610         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28611         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28612         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28613         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28614         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28615         * sysdeps/x86_64/_mcount.S: Likewise.
28616         * sysdeps/x86_64/strtok.S: Likewise.
28617         * sysdeps/sh/_mcount.S: Likewise.
28619 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28621         * libio/iofopen.c: Include <fcntl.h>.
28622         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28623         (_IO_fopen64, fopen64): Define as aliases.
28624         * libio/iofopen64.c: Include <fcntl.h>.
28625         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28626         Conditionalize body on this.
28627         * sysdeps/wordsize-64/iofopen.c: File removed.
28628         * sysdeps/wordsize-64/iofopen64.c: File removed.
28630 2012-08-01  Marek Polacek  <polacek@redhat.com>
28632         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28633         Use dlfcn directly instead of a variable.
28634         (binfmt-subdir): Do not define.
28635         (dlfcn): Likewise.
28637 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28639         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28640         Remove all definitions.
28641         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28642         <kernel-features.h>.
28643         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28644         (miss_F_GETOWN_EX): Remove all definitions.
28645         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28646         macro definition.
28647         [!__ASSUME_FCNTL64]: Remove conditional code.
28648         [__ASSUME_FCNTL64]: Make code unconditional.
28649         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28650         <kernel-features.h>.
28651         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28652         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28653         (lockf64) [__NR_fcntl64]: Make code unconditional.
28654         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28656         * sysdeps/unix/sysv/linux/kernel-features.h
28657         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28658         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28659         Make code unconditional.
28660         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28661         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28663         [__NR_vfork]: Make code unconditional.
28664         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28665         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28667         [__NR_vfork]: Make code unconditional.
28668         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28669         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28671 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28673         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28674         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28676         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28677         Define mkstemp64 as an alias.
28678         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28679         Define mkstemps64 as an alias.
28680         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28681         Define mkostemp64 as an alias.
28682         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28683         Define mkostemps64 as an alias.
28684         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28685         Conditionalize body on this.
28686         * misc/mkostemp64.c: Likewise.
28687         * misc/mkostemps64.c: Likewise.
28688         * misc/mkstemps64.c: Likewise.
28689         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28690         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28691         * sysdeps/wordsize-64/mkostemp.c: File removed.
28692         * sysdeps/wordsize-64/mkstemp.c: File removed.
28693         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28694         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28695         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28696         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28698         [BZ #14138]
28699         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28700         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28701         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28702         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28704         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28705         compat_symbol macros from <shlib-compat.h> rather than the underlying
28706         default_symbol_version and symbol_version macros, so that DEFAULT
28707         lines in shlib-versions are respected.
28708         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28710 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28712         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28713         Declare with warn_unused_result.
28714         (setgid, setregid, setegid, setresgid): Likewise.
28715         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28716         Likewise.
28717         * WUR-REPORT: Remove set*id functions.
28719 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28721         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28723 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28725         [BZ #10191]
28726         * include/sys/socket.h (__libc_accept, __libc_accept4):
28727         Add attribute_hidden.
28728         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28730         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28731         use of PTR_MANGLE.
28732         * inet/getnetgrent_r.c (setup): Likewise.
28734         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28736 2012-07-31  David S. Miller  <davem@davemloft.net>
28738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28740 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28742         [BZ #13629]
28743         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28744         value between 1.0 and 2.0 and smaller part has absolute value less
28745         than 1.0.
28746         * math/s_clog10.c (__clog10): Likewise.
28747         * math/s_clog10f.c (__clog10f): Likewise.
28748         * math/s_clog10l.c (__clog10l): Likewise.
28749         * math/s_clogf.c (__clogf): Likewise.
28750         * math/s_clogl.c (__clogl): Likewise.
28751         * math/libm-test.inc (clog_test): Add more tests.
28752         (clog10_test): Likewise.
28753         * sysdeps/i386/fpu/libm-test-ulps: Update.
28754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28756 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28758         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28759         Exit with zero in case no suitable GID is found, and write a
28760         message to standard error.
28762 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28764         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28765         rather than to 1.
28766         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28767         (MAXPATHLEN): Removed.
28768         (NOGROUP, NODEV): New macros.
28769         (setbit, clrbit, isset, isclr): New macros.
28770         (howmany, roundup, powerof2): New macros.
28771         (DEV_BSIZE): New macro.
28773         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28774         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28776         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28777         definition on [!__NO_LONG_DOUBLE_MATH].
28779         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28780         PTR_MANGLE and PTR_DEMANGLE.
28782         * socket/accept4.c (accept4): Rename to __libc_accept4.
28783         Define accept4 as a weak alias.
28785         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28786         on [_DIRENT_HAVE_D_TYPE].
28787         * io/ftw.c (ftw_dir): Likewise.
28789         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28791         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28793         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28794         Use the BSD numbers rather than the arbitrary ones we had.
28795         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28796         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28797         (SIGXCPU, SIGXFSZ): New macros.
28798         (_NSIG): Now 32.
28800         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28801         initializer on [_LIBC_REENTRANT].
28803         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28804         definitions inside [_POSIX_MAPPED_FILES].
28806         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28808         * dirent/opendir.c: Include <fcntl.h>.
28810         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28811         (__libc_getspecific): Likewise.
28812         (__libc_key_create): Likewise.
28814         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28815         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28816         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28817         (tmpfile64): Define as alias.
28818         * sysdeps/wordsize-64/tmpfile.c: File removed.
28819         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28820         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28821         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28823         * stdio-common/vfscanf.c: Include <stdbool.h>.
28824         * nss/makedb.c: Likewise.
28825         * stdio-common/_i18n_number.h: Likewise.
28826         * argp/argp-help.c: Likewise.
28827         * posix/wordexp.c: Likewise.
28828         * sysdeps/posix/spawni.c: Likewise.
28829         * nss/nss_files/files-initgroups.c: Likewise.
28830         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28831         * nss/nss_files/files-initgroups.c: Likewise.
28832         * nss/nss_db/db-netgrp.c: Likewise.
28833         * nss/nss_db/db-initgroups.c: Likewise.
28834         * io/fchmodat.c: Include <sys/stat.h>.
28836         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28837         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28839         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28840         [HAVE_MMAP].
28842         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28843         Add multiple inclusion protection.
28845 2012-07-27  David S. Miller  <davem@davemloft.net>
28847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28849 2012-07-27  Gary Benson  <gbenson@redhat.com>
28851         [BZ #14298]
28852         * elf/rtld.c: Include <stap-probe.h>.
28853         (dl_main): Added static probes "init_start" and "init_complete".
28854         * elf/dl-load.c: Include <stap-probe.h>.
28855         (lose): Take new parameter "nsid".
28856         Added static probe "map_failed".
28857         (_dl_map_object_from_fd): Pass namespace id to lose.
28858         Added static probe "map_start".
28859         (open_verify): Pass namespace id to lose.
28860         * elf/dl-open.c: Include <stap-probe.h>.
28861         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28862         and "reloc_complete".
28863         * elf/dl-close.c: Include <stap-probe.h>.
28864         (_dl_close_worker): Added static probes "unmap_start" and
28865         "unmap_complete".
28866         * elf/rtld-debugger-interface.txt: New file documenting the above.
28868 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28870         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28871         rather than a string variable.
28872         * sunrpc/rpc_main.c (h_output): Likewise.
28873         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28875 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28877         * inet/check_native.c: New file.
28879 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28881         [BZ #13629]
28882         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28883         if larger part has absolute value 1.0.
28884         * math/s_clog10.c (__clog10): Likewise.
28885         * math/s_clog10f.c (__clog10f): Likewise.
28886         * math/s_clog10l.c (__clog10l): Likewise.
28887         * math/s_clogf.c (__clogf): Likewise.
28888         * math/s_clogl.c (__clogl): Likewise.
28889         * math/libm-test.inc (clog_test): Add more tests.
28890         (clog10_test): Likewise.
28891         * sysdeps/i386/fpu/libm-test-ulps: Update.
28892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28894         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28895         (pltexit): Likewise.
28896         (La_regs): Likewise.
28897         (La_retval): Likewise.
28898         (int_retval): Likewise.
28899         Update #error for removed macros to refer only to definitions in
28900         tst-audit.h.
28901         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28902         macro.
28903         (pltexit): Likewise.
28904         (La_regs): Likewise.
28905         (La_retval): Likewise.
28906         (int_retval): Likewise.
28907         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28908         macro.
28909         (pltexit): Likewise.
28910         (La_regs): Likewise.
28911         (La_retval): Likewise.
28912         (int_retval): Likewise.
28913         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28914         macro.
28915         (pltexit): Likewise.
28916         (La_regs): Likewise.
28917         (La_retval): Likewise.
28918         (int_retval): Likewise.
28919         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28920         macro.
28921         (pltexit): Likewise.
28922         (La_regs): Likewise.
28923         (La_retval): Likewise.
28924         (int_retval): Likewise.
28925         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28926         macro.
28927         (pltexit): Likewise.
28928         (La_regs): Likewise.
28929         (La_retval): Likewise.
28930         (int_retval): Likewise.
28931         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28932         macro.
28933         (pltexit): Likewise.
28934         (La_regs): Likewise.
28935         (La_retval): Likewise.
28936         (int_retval): Likewise.
28937         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28938         macro definitions in tst-audit.h.
28939         * sysdeps/i386/tst-audit.h: New file.
28940         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28941         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28942         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28943         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28944         * sysdeps/sh/tst-audit.h: Likewise.
28945         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28946         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28947         * sysdeps/x86_64/tst-audit.h: Likewise.
28949 2012-07-26  Andreas Jaeger  <aj@suse.de>
28951         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28952         ptrace.
28954         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28955         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28956         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28957         PTRACE_O_MASK.
28958         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28959         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28960         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28962         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28963         value.
28965         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28966         _sigsys.
28967         (si_call_addr, si_syscall, si_arch): Define new macro.
28968         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28969         _sigsys.
28970         (si_call_addr, si_syscall, si_arch): Define new marcro.
28971         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28972         _sigsys.
28973         (si_call_addr, si_syscall, si_arch): Define new macro.
28974         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28975         _sigsys.
28976         (si_call_addr, si_syscall, si_arch): Define new macro.
28978 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28980         [BZ #13717]
28981         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28982         Change to 2.4.21 where previously 2.4.1.
28983         * sysdeps/unix/sysv/linux/configure: Regenerated.
28984         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28985         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28986         Linux kernel version.
28987         (__ASSUME_STD_AUXV): Remove.
28988         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28989         kernel version.
28990         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28991         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28992         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28993         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28994         (__ASSUME_NETLINK_SUPPORT): Likewise.
28995         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28996         (__no_netlink_support): Remove conditional definition.
28997         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28998         Remove.
28999         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29000         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29001         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29002         (if_nameindex_ioctl): Remove.
29003         (if_nameindex_netlink): Do not handle __no_netlink_support.
29004         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29005         code.
29006         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29007         Remove conditional code.
29008         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29009         code.
29010         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29011         unconditional.
29012         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29013         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29014         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29015         Remove.
29016         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29017         [!__ASSUME_STD_AUXV]: Remove conditional code.
29018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29019         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29020         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29022         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29023         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29024         code.
29025         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29027         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29028         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29029         conditional code.
29030         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29032         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29033         code.
29034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29035         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29036         conditional code.
29037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29038         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29039         code unconditional.
29040         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29041         conditional code.
29042         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29043         unconditional.
29044         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29045         conditional code.
29046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29047         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29048         unconditional.
29049         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29050         conditional code.
29051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29052         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29053         code unconditional.
29054         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29055         conditional code.
29056         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29057         unconditional.
29058         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29059         conditional code.
29060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29061         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29062         code unconditional.
29063         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29064         conditional code.
29065         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29066         unconditional.
29067         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29068         conditional code.
29070 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29072         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29073         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29074         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29075         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29076         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29077         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29078         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29079         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29080         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29081         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29082         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29083         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29084         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29085         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29086         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29087         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29088         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29089         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29090         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29092         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29093         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29094         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29096 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29098         * Versions.def: Add GLIBC_2.17.
29099         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29100         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29101         Introduce __libc_secure_getenv.
29102         * stdlib/Versions (2.17): Add secure_getenv
29103         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29104         * stdlib/secure-getenv.c: Rename __secure_getenv to
29105         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29106         symbol __secure_getenv for GLIBC_2.0.
29107         * stdlib/tst-secure-getenv.c: New.
29108         * stdlib/Makefile (tests): Add testcase.
29109         * manual/startup.texi (Environment Access): Document
29110         secure_getenv.
29111         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29112         __libc_secure_getenv.
29113         * inet/ruserpass.c (ruserpass): Likewise.
29114         * malloc/mtrace.c (mtrace): Likewise.
29115         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29116         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29117         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29118         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29119         HAVE_SECURE_GETENV.
29120         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29121         __secure_getenv to __libc_secure_getenv.
29122         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29124         Likewise.
29125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29126         Likewise.
29127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29129         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29135 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29137         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29138         (struct La_i86_retval): Likewise.
29139         (struct La_x86_64_regs): Likewise.
29140         (struct La_x86_64_retval): Likewise.
29141         (struct La_x32_regs): Likewise.
29142         (struct La_x32_retval): Likewise.
29143         (struct La_ppc32_regs): Likewise.
29144         (struct La_ppc32_retval): Likewise.
29145         (struct La_ppc64_regs): Likewise.
29146         (struct La_ppc64_retval): Likewise.
29147         (struct La_sh_regs): Likewise.
29148         (struct La_sh_retval): Likewise.
29149         (struct La_s390_32_regs): Likewise.
29150         (struct La_s390_32_retval): Likewise.
29151         (struct La_s390_64_regs): Likewise.
29152         (struct La_s390_64_retval): Likewise.
29153         (struct La_sparc32_regs): Likewise.
29154         (struct La_sparc32_retval): Likewise.
29155         (struct La_sparc64_regs): Likewise.
29156         (struct La_sparc64_retval): Likewise.
29157         (struct audit_ifaces): Remove architecture-specific pltenter and
29158         pltexit members.
29159         * sysdeps/i386/ldsodefs.h: New file.
29160         * sysdeps/powerpc/ldsodefs.h: Likewise.
29161         * sysdeps/s390/ldsodefs.h: Likewise.
29162         * sysdeps/sh/ldsodefs.h: Likewise.
29163         * sysdeps/sparc/ldsodefs.h: Likewise.
29164         * sysdeps/x86_64/ldsodefs.h: Likewise.
29166 2012-07-25  Marek Polacek  <polacek@redhat.com>
29168         [BZ #6808]
29169         * math/libm-test.inc (yn_test): Add another test.
29170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29171         to ERANGE when the result is +-Inf.
29172         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29173         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29174         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29175         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29177 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29179         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29180         equal to 0.
29181         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29182         clock_t.
29183         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29185 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29187         * configure.in <sysdeps resolving>: Correct printing
29188         Implies_before.
29189         * configure: Regenerate.
29191 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29193         * math/w_ilogb.c: Include <limits.h>.
29194         * math/w_ilogbl.c: Likewise.
29196 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29198         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29199         va_copy.  Document allowing for unavailable va_copy only as
29200         pre-C99 compatibility.
29201         * manual/string.texi (Copying and Concatenation): Use va_copy
29202         instead of __va_copy in concat example.
29204 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29206         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29207         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29208         it if not null.
29210         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29211         with O_NOLINK passed to __file_name_lookup.
29213         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29214         with O_NOLINK passed to __file_name_lookup.
29216         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29217         negative N or less than NGIDS.
29219         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29220         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29221         enough.  Use memcpy instead of strncpy.
29223 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29225         * elf/Makefile (check-data): Remove.
29226         (localplt.data): New vpath directive.
29227         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29228         instead of $(check-data).
29229         * scripts/data/localplt-generic.data: Move to ...
29230         * sysdeps/generic/localplt.data: ... here.
29231         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29232         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29233         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29235         ... here.
29236         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29238         ... here.
29239         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29241         ... here.
29242         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29244         ... here.
29245         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29247         ... here.
29248         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29250         ... here.
29252 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29254         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29255         PPC32 and PPC64 files.
29256         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29257         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29259 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29261         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29262         __makecontext_ret to ...
29263         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29264         ... here and call exit if uc_link is NULL.  New file.
29265         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29266         __makecontext_ret.S.
29267         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29268         __makecontext_ret to ...
29269         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29270         ... here and call exit if uc_link is NULL.  New file.
29271         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29272         __makecontext_ret.S.
29274 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29276         * elf/elf.h (R_390_IRELATIVE): New definition.
29277         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29278         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29279         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29280         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29281         (elf_machine_lazy_rel): Likewise.
29282         * sysdeps/s390/dl-irel.h: New file.
29283         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29284         * sysdeps/s390/s390-64/memset.S: New asm code.
29285         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29286         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29287         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29288         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29289         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29290         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29291         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29292         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29293         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29294         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29295         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29296         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29297         * sysdeps/s390/s390-32/memset.S: New asm code.
29298         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29300 2012-07-17  Marek Polacek  <polacek@redhat.com>
29302         [BZ #14349]
29303         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29304         * sysdeps/s390/s390-64/configure.in: Likewise.
29305         * sysdeps/sparc/configure.in: Likewise.
29306         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29307         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29308         * sysdeps/i386/configure.in: Likewise.
29309         * sysdeps/x86_64/configure.in: Likewise.
29310         * sysdeps/sh/configure.in: Likewise.
29311         * sysdeps/s390/s390-32/configure: Regenerated.
29312         * sysdeps/s390/s390-64/configure: Likewise.
29313         * sysdeps/x86_64/configure: Likewise.
29314         * sysdeps/sh/configure: Likewise.
29315         * sysdeps/powerpc/powerpc64/configure: Likewise.
29316         * sysdeps/powerpc/powerpc32/configure: Likewise.
29317         * sysdeps/sparc/configure: Likwise.
29318         * sysdeps/i386/configure: Likewise.
29320         * elf/dl-open.c: Comment fixes.
29322 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29324         * Makefile [CXX] (check-data): Remove.
29325         [CXX] (c++-types.data): New vpath directive.
29326         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29327         vpath.  Do not allow for C++ type data being missing.
29328         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29329         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29330         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29331         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29332         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29333         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29334         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29336         ... here.
29337         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29339         ... here.
29340         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29342         ... here.
29343         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29345         ... here.
29346         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29348         ... here.
29349         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29351         ... here.
29352         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29354         ... here.
29355         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29358         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29359         definitions to architecture-specific files.
29360         (TLS_IE): Likewise.
29361         (TLS_LD): Likewise.
29362         (TLS_GD): Likewise.
29363         * sysdeps/i386/tls-macros.h: New file.
29364         * sysdeps/powerpc/tls-macros.h: Likewise.
29365         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29366         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29367         * sysdeps/sh/tls-macros.h: Likewise.
29368         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29369         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29370         * sysdeps/x86_64/tls-macros.h: Likewise.
29372 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29374         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29375         zero value for regular exit case.
29377         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29378         (__start_context): Preserve zero value for regular exit case.
29380 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29381             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29383         * manual/setjmp.texi (setcontext): Clarify normal process
29384         termination when uc_link is the null pointer.
29385         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29386         exit call.
29388 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29390         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29391         preprocessor.  Test for each exception mask separately.
29393 2012-07-16  Andreas Jaeger  <aj@suse.de>
29395         * po/ru.po: Update from translation team.
29397 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29399         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29400         equal to 0.
29401         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29402         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29403         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29404         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29405         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29407 2012-07-13  Andreas Jaeger  <aj@suse.de>
29409         * po/fr.po: Update from translation team.
29411 2012-07-12  Marek Polacek  <polacek@redhat.com>
29413         [BZ #14173]
29414         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29415         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29416         loop condition.
29418 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29420         [BZ #13717]
29421         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29422         Change to 2.4.1 where previously 2.4.0.
29423         * sysdeps/unix/sysv/linux/configure: Regenerated.
29424         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29425         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29426         version.
29427         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29428         (__ASSUME_AT_CLKTCK): Remove.
29429         (__ASSUME_AT_PAGESIZE): Likewise.
29430         (__ASSUME_AT_XID): Likewise.
29431         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29432         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29433         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29434         unconditionally.
29435         (HAVE_AUX_PAGESIZE): Likewise.
29436         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29437         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29438         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29440 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29442         [BZ #14307]
29443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29444         the temporary buffer used to invoke __gethostbyname2_r,
29445         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29446         host_data / struct gaih_addrtuple.
29447         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29448         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29449         header file nss/nsswitch.h.
29450         * nss/nsswitch.h (global scope): Add definition of implementation
29451         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29452         resolv/nss_dns/dns-host.c).
29454 2012-07-11  Andreas Jaeger  <aj@suse.de>
29456         * po/fr.po: Update from translation team.
29458         * po/sv.po: Update from translation team
29459         * po/fr.po: Another update from translation team.
29461 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29463         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29464         for subnormals or multiply small sinh result by itself.
29465         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29468 2012-07-11  David S. Miller  <davem@davemloft.net>
29470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29472 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29474         [BZ #14347]
29475         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29476         (INTERNAL_MARK): Shift it here.
29478 2012-07-10  Marek Polacek  <polacek@redhat.com>
29480         [BZ #14151]
29481         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29482         libc_cv_asm_global_directive with .globl.
29483         * configure: Regenerated.
29484         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29485         with .globl.
29486         * sysdeps/i386/configure: Regenerated.
29487         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29488         with .globl.
29489         * sysdeps/x86_64/configure: Regenerated.
29490         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29491         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29492         * elf/tst-unique2mod2.c: Likewise.
29493         * elf/tst-unique2mod1.c: Likewise.
29494         * elf/tst-unique1mod2.c: Likewise.
29495         * elf/tst-unique1mod1.c: Likewise.
29496         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29497         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29498         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29499         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29500         * sysdeps/mach/sysdep.h: Likewise.
29501         * sysdeps/i386/sysdep.h: Likewise.
29502         * sysdeps/i386/i386-mcount.S: Likewise.
29503         * sysdeps/x86_64/_mcount.S: Likewise.
29504         * sysdeps/x86_64/sysdep.h: Likewise.
29505         * sysdeps/sh/_mcount.S: Likewise.
29506         * sysdeps/sh/sysdep.h: Likewise.
29507         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29508         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29509         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29510         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29511         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29512         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29513         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29514         * locale/localeinfo.h: Likewise.
29515         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29516         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29518 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29520         [BZ #14336]
29521         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29522         system".
29523         * manual/message.texi (The Uniforum approach): Likewise.
29524         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29525         (glibc iconv Implementation): Likewise.
29527 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29529         [BZ #14337]
29530         * math/s_clog.c (__clog): Avoid scaling a value down where that
29531         could result in underflow.
29532         * math/s_clog10.c (__clog10): Likewise.
29533         * math/s_clog10f.c (__clog10f): Likewise.
29534         * math/s_clog10l.c (__clog10l): Likewise.
29535         * math/s_clogf.c (__clogf): Likewise.
29536         * math/s_clogl.c (__clogl): Likewise.
29537         * math/libm-test.inc (clog_test): Add more tests.
29538         (clog10_test): Likewise.
29539         * sysdeps/i386/fpu/libm-test-ulps: Update.
29540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29542 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29544         [BZ #14283]
29545         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29546         by 7 not 8 to examine high bit of fractional part.
29548         [BZ #14042]
29549         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29550         for call to __mcount_internal.
29551         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29552         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29553         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29555 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29557         [BZ #14154]
29558         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29559         approximation for values within 0x1p-13f of an odd multiple of
29560         pi/4.
29561         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29562         exception.  Add more tests.
29563         * sysdeps/i386/fpu/libm-test-ulps: Update.
29565         [BZ #6778]
29566         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29567         inputs and return -1 for them.  Do not check for +Inf in case not
29568         reachable for +Inf.
29569         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29570         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29571         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29572         and return -1 for them.  Do not check for +Inf in case not
29573         reachable for +Inf.
29574         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29575         define.
29576         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29577         and return -1 for them.  Do not check for +Inf in case not
29578         reachable for +Inf.
29579         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29580         spurious underflow.
29581         * sysdeps/i386/fpu/libm-test-ulps: Update.
29582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29584 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29586         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29588 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29590         [BZ #14157]
29591         [BZ #14331]
29592         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29593         could result in spurious underflow.  Scale down values above
29594         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29595         * math/s_csqrtf.c (__csqrtf): Likewise.
29596         * math/s_csqrtl.c (__csqrtl): Likewise.
29597         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29598         spurious underflow.
29599         * sysdeps/i386/fpu/libm-test-ulps: Update.
29600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29604         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29605         xopen-msg.sed.
29606         * catgets/xopen-msg.awk: New file.
29607         * catgets/xopen-msg.sed: Removed.
29609         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29610         po2text.sed.
29611         * intl/po2test.awk: New file.
29612         * intl/po2test.sed: Removed.
29614 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29616         [BZ #14328]
29617         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29618         or multiply small sinh result by itself.
29619         * math/s_ctanf.c (__ctanf): Likewise.
29620         * math/s_ctanh.c (__ctanh): Likewise.
29621         * math/s_ctanhf.c (__ctanhf): Likewise.
29622         * math/s_ctanhl.c (__ctanhl): Likewise.
29623         * math/s_ctanl.c (__ctanl): Likewise.
29624         * math/libm-test.inc (ctan_test_tonearest): New function.
29625         (ctan_test_towardzero): Likewise.
29626         (ctan_test_downward): Likewise.
29627         (ctan_test_upward): Likewise.
29628         (ctanh_test_tonearest): Likewise.
29629         (ctanh_test_towardzero): Likewise.
29630         (ctanh_test_downward): Likewise.
29631         (ctanh_test_upward): Likewise.
29632         (main): Call these new functions.
29633         * sysdeps/i386/fpu/libm-test-ulps: Update.
29634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29636 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29638         * .gitignore: Delete /ports entry.
29640 2012-07-03  Andreas Jaeger  <aj@suse.de>
29642         * po/bg.po: Update from translation team.
29643         * po/cs.po: Likewise.
29644         * po/de.po: Likewise.
29645         * po/hr.po: Likewise.
29646         * po/nl.pl: Likewise.
29647         * po/pl.po: Likewise.
29648         * po/vi.po: Likewise.
29650 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29652         * Makeconfig [!+link] (+link-before-libc): New variable.
29653         [!+link] (+link-after-libc): Likewise.
29654         [!+link] (+link-tests): Likewise.
29655         [!+link] (+link): Define in terms of $(+link-before-libc) and
29656         $(+link-after-libc).
29657         [!+link-static] (+link-static-before-libc): New variable.
29658         [!+link-static] (+link-static-after-libc): Likewise.
29659         [!+link-static] (+link-static-tests): Likewise.
29660         [!+link-static] (+link-static): Define in terms of
29661         $(+link-static-before-libc) and $(+link-static-after-libc).
29662         [build-shared] (link-libc-before-gnulib): New variable.
29663         [build-shared] (link-libc-tests): Likewise.
29664         [build-shared] (link-libc): Define in terms of
29665         $(link-libc-before-gnulib).
29666         [!build-shared] (link-libc-tests): New variable.
29667         (link-libc-static-tests): New variable.
29668         [!gnulib] (gnulib-arch): New variable.
29669         [!gnulib] (gnulib-tests): Likewise.
29670         [!gnulib] (static-gnulib-arch): Likewise.
29671         [!gnulib] (static-gnulib-tests): Likewise.
29672         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29673         Define with "=" instead of ":=".
29674         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29675         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29676         * Rules (binaries-all-notests): New variable.
29677         (binaries-all-tests): Likewise.
29678         (binaries-static-notests): Likewise.
29679         (binaries-static-tests): Likewise.
29680         (binaries-all): Define using $(binaries-all-notests) and
29681         $(binaries-all-tests).
29682         (binaries-static): Define using $(binaries-static-notests) and
29683         $(binaries-static-tests).
29684         (binaries-shared-tests): New variable.
29685         (binaries-shared-notests): Likewise.
29686         (binaries-shared): Remove variable.
29687         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29688         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29689         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29690         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29691         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29692         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29693         * elf/Makefile (sln-modules): New variable.
29694         (extra-objs): Add $(sln-modules:=.o).
29695         (ldconfig-modules): Add static-stubs.
29696         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29697         * elf/static-stubs.c: New file.
29699         [BZ #14283]
29700         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29701         by 7 not 8 to examine high bit of fractional part.  Use volatile
29702         variables when splitting into final array of floats if
29703         __FLT_EVAL_METHOD__ != 0.
29704         * math/libm-test.inc (cos_test): Add another test.
29705         (sin_test): Likewise.
29706         * sysdeps/i386/fpu/libm-test-ulps: Update.
29708         [BZ #14273]
29709         * math/libm-test.inc (cosh_test): Add more tests.
29711         * version.h (RELEASE): Set to "development".
29712         (VERSION): Set to "2.16.90".
29714 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29716         * NEWS: Update copyright. Remove last-updated date.
29717         Mention math library bug fixes and timezone data changes.
29718         * README: Mention GNU/Hurd, x32, and HPPA support status.
29720 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29722         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29724 2012-06-27  Andreas Jaeger  <aj@suse.de>
29726         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29728 2012-06-25  Andreas Jaeger  <aj@suse.de>
29730         * sysdeps/s390/fpu/libm-test-ulps: Update.
29732 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29733             Thomas Schwinge  <thomas@codesourcery.com>
29735         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29736         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29737         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29738         fanotify_mark.
29740 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29742         * sysdeps/mach/start.c: Remove file.
29743         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29744         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29745         * sysdeps/sh/init-first.c: Likewise.
29747         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29748         registers for frame unwinding purposes, add CFI directives.
29749         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29750         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29751         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29752         Likewise.
29754         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29755         __fortify_fail returning.
29756         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29758         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29759         sysdeps/sh/____longjmp_chk.S.
29760         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29761         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29762         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29763         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29765         * sysdeps/sh/abort-instr.h: New file.
29766         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29767         process in case exit returns.
29769         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29770         initialize the GOT register before use.
29772         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29773         calculation of ARGC > 4.
29775         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29776         meaningful names to some local labels.
29778 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29779             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29781         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29782         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29783         (__arch_compare_and_exchange_val_16_acq): Likewise.
29784         (__arch_compare_and_exchange_val_32_acq): Likewise.
29785         (atomic_exchange_and_add): Fix gUSA sequence.
29786         (atomic_add): Likewise.
29787         (atomic_add_negative): Likewise.
29788         (atomic_add_zero): Likewise.
29789         (atomic_bit_test_set): Likewise.
29791 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29793         [BZ #13579]
29794         * include/link.h (struct link_map): Add l_free_initfini.
29795         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29796         l_initfini.
29797         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29798         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29799         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29800         set.
29802 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29804         * configure.in: Use AC_LANG_SOURCE.
29805         * configure: Regenerate.
29807 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29809         * configure.in (libc_cv_localstatedir): New substituted variable.
29810         * configure: Regenerated.
29811         * config.make.in (localstatedir): New variable, substituted from
29812         libc_cv_localstatedir.
29813         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29814         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29815         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29816         * sysdeps/gnu/configure: Regenerated.
29818 2012-06-21  Jeff Law  <law@redhat.com>
29820         [BZ #14277]
29821         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29822         free.  Simplify list management for _LIBC case.
29824 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29826         [BZ #14273]
29827         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29828         Clear sign bit of 64-bit integer value before comparing against
29829         overflow value.
29831         * sysdeps/mach/configure: Regenerated.
29833 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29835         [BZ #14278]
29836         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29838 2012-06-21  Jeff Law  <law@redhat.com>
29840         [BZ #13882]
29841         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29842         uint16_t for elements in the "seen" array to avoid char overflows.
29843         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29844         * elf/dl-open.c (dl_open_worker): Likewise.
29846 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29848         * scripts/list-sources.sh: Scan PORTS for translations.
29849         * po/libc.pot: Regenerated.
29851 2012-06-21  Andreas Jaeger  <aj@suse.de>
29853         [BZ #12194]
29854         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29855         warning.
29856         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29857         * bits/byteswap-16.h (__bswap_16): Likewise.
29858         * bits/byteswap.h (__bswap_constant_16): Likewise.
29860 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29862         [BZ #14117]
29863         * sysdeps/i386/fpu_control.h: Removed.
29864         * sysdeps/x86_64/fpu_control.h: Moved to ...
29865         * sysdeps/x86/fpu_control.h: Here.
29867         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29868         (_FPU_SETCW): Likewise.
29870 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29872         [BZ #14117]
29873         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29874         * sysdeps/x86/fpu/bits/mathinline.h: This.
29875         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29877         [BZ #14050]
29878         [BZ #14117]
29879         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29880         functions if __x86_64__ is defined.
29882 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29884         * string/endian.h: Add !__ASSEMBLER__ condition for including
29885         conversion interfaces.
29887 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #14241]
29890         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29891         of ABS(x) in calculating zero to negative powers other than odd
29892         integers.
29893         * math/libm-test.inc (pow_test): Add more tests.
29895 2012-06-15  Andreas Jaeger  <aj@suse.de>
29897         * manual/contrib.texi (Contributors): Update entry of Liubov
29898         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29899         Machado Filho.
29901 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29903         * string/string.h: Add __wur to GNU version of strerror_r.
29905 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29907         [BZ #14229]
29908         * string/Makefile (tests): Add tst-strtok_r.
29909         * string/tst-strtok_r.c: New file.
29910         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29911         RAX_LP/RDX_LP on SAVE_PTR.
29913 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29915         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29917 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29919         * libm_test.inc (csqrt_test): Allow more spurious underflow
29920         exceptions.
29921         (j0_test): Likewise.
29922         (j1_test): Likewise.
29923         (y0_test): Likewise.
29924         (y1_test): Likewise.
29926 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29928         * po/Makefile (libc.pot): Use UTF-8 charset.
29930 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29932         [BZ #14210]
29933         Suppress sign-conversion warning from FD_SET.
29934         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29935         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29936         not unsigned long int.
29937         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29939 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29941         [BZ #14050]
29942         [BZ #14117]
29943         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29944         __extern_always_inline instead of __extern_inline.
29945         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29946         (__signbit): Likewise.
29947         (__signbitl): Support C++ namespace.
29948         (lrintf): New inline function.
29949         (lrint): Likewise.
29950         (llrintf): Likewise.
29951         (llrint): Likewise.
29952         (fmaxf): Likewise.
29953         (fmax): Likewise.
29954         (fminf): Likewise.
29955         (fmin): Likewise.
29956         (rint): Likewise.
29957         (rintf): Likewise.
29958         (ceil): Likewise.
29959         (ceilf): Likewise.
29960         (floor): Likewise.
29961         (floorf): Likewise.
29962         (nearbyint): Likewise.
29963         (nearbyintf): Likewise.
29965 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29967         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29968         non-default versions.
29970 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29972         [BZ #14218]
29973         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29975 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29977         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29978         (FE_UPWARD, FE_DOWNWARD): Don't define.
29979         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29980         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29982         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29983         reading it.
29984         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29985         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29987 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29989         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29990         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29991         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29992         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29994 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29996         [BZ #14117]
29997         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29998         * sysdeps/i386/fpu/Implies: New file.
29999         * sysdeps/x86_64/fpu/Implies: Likewise.
30000         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30001         * sysdeps/x86/fpu/bits/fenv.h: This.
30003         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30004         __SSE_MATH__.
30006 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30008         [BZ #14134]
30009         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30010         character 0xffff that matches the last element of the
30011         conversion table.
30013 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30015         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30016         fmodl commit.
30018 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30020         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30021         values higher than 25.6283.
30023 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30026         subnormal exponent extraction and add some __builtin_expect.
30027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30028         Fix for subnormal mantissa calculation.
30030 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30032         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30033         cpu2 is -1 and errno is not ENOSYS.
30035 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30037         [BZ #14117]
30038         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30039         * sysdeps/x86/bits/string.h: This.
30040         * sysdeps/x86_64/bits/string.h: Removed.
30042         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30043         if not compiling for x86-64, but compiling for >= i486.
30045         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30046         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30048         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30049         New macro from Linux kernel 3.4.0.
30050         (FP_XSTATE_MAGIC2): Likewise.
30051         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30052         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30053         (struct _fpx_sw_bytes): New struct.
30054         (struct _xsave_hdr): Likewise.
30055         (struct _ymmh_state): Likewise.
30056         (struct _xstate): Likewise.
30058         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30059         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30060         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30061         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30062         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30063         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30065         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30066         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30067         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30068         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30069         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30070         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30072 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30074         [BZ #13743]
30075         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30076         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30077         (sysdep_headers): Include sys/platform/ppc.h.
30078         * sysdeps/powerpc/test-gettimebase.c: Test for
30079         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30080         * manual/Makefile (appendices): Include platform.texi.
30081         * manual/contrib.texi (Contributors): Update @node pointers.
30082         * manual/maint.texi (Maintenance): Likewise.
30083         (Platform): New node.
30084         * manual/platform.texi: New file.  Document the new features.
30086 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30087             Jakub Jelinek  <jakub@redhat.com>
30089         [BZ #14188]
30090         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30091         where __builtin_expect is unavailable.
30093 2012-06-03  David S. Miller  <davem@davemloft.net>
30095         * stdlib/longlong.h: Updated from GCC.
30097 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30099         [BZ #14042]
30100         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30101         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30102         __mcount_internal.
30103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30104         (GLIBC_2.16): Likewise.
30106 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30108         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30110 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30113         (default-abi): New variable.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30115         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30116         variable.
30117         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30118         Likewise.
30119         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30120         Likewise.
30121         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30122         Likewise.
30124         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30125         definition.  Document in comment.
30127 2012-06-01  David S. Miller  <davem@davemloft.net>
30129         * stdlib/longlong.h: Updated from GCC.
30131 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30133         [BZ #14117]
30134         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30135         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30136         sys/debugreg.h sys/io.h here.
30137         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30138         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30139         sys/io.h.
30140         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30141         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30142         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30143         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30144         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30145         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30147         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30148         Define only if __x86_64__ is defined.
30150 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30152         [BZ #14048]
30153         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30154         Use int64_t for variable i.
30155         * math/libm-test.inc (fmod_test): Add more tests.
30157         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30158         z computation is not scheduled after fetestexcept.
30159         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30160         Use math_force_eval instead of asm to ensure calculation scheduled
30161         before exception test.
30162         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30163         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30165 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30168         computation is not scheduled after fetestexcept.
30170 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30172         [BZ #14117]
30173         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30174         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30176 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30178         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30179         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30181 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30183         [BZ #14117]
30184         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30185         <bits/wordsize.h>.
30186         (__WCHAR_MIN): Support __WORDSIZE == 64.
30187         (__WCHAR_MAX): Likewise.
30189         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30190         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30192         [BZ #14183]
30193         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30194         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30196         [BZ #14117]
30197         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30198         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30200         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30201         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30203         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30204         Defined to 1 if __x86_64__ isn't defined.
30205         (_STAT_VER_LINUX_OLD): New.
30206         (st_atime): Remove duplicate.
30207         (st_mtime): Likewise.
30208         (st_ctime): Likewise.
30210 2012-05-31  David S. Miller  <davem@davemloft.net>
30212         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30213         entries.
30215 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30217         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30218         gen-libm-test.pl.
30220         [BZ #14132]
30221         * elf/dl-reloc.c: Include <_itoa.h>.
30222         (_dl_reloc_bad_type): Remove use of INTUSE.
30223         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30224         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30225         * stdio-common/psiginfo.c (psiginfo): Likewise.
30226         * stdio-common/psignal.c (psignal): Likewise.
30227         * string/strsignal.c (strsignal): Likewise.
30228         * include/signal.h (_sys_siglist): Declare hidden proto.
30229         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30230         INTVARDEF with libc_hidden_data_def.
30231         * stdio-common/itoa-udigits.c: Likewise.
30232         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30233         (_itoa_lower_digits_internal): Remove declaration.
30234         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30235         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30236         (_sys_sigabbrev_internal): Remove aliases.
30237         (_sys_siglist): Define hidden alias.
30239 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30242         bits/sysctl.h.
30244 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30246         [BZ #14117]
30247         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30248         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30250         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30251         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30252         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30253         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30254         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30255         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30257         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30258         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30259         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30261         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30262         with __addr.
30263         (insw): Likewise.
30264         (insl): Likewise.
30265         (outsb): Likewise.
30266         (outsw): Likewise.
30267         (outsl): Likewise.
30269         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30270         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30271         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30273         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30274         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30275         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30276         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30277         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30278         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30280         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30281         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30283         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30284         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30287         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30288         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30290         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30291         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30292         to ...
30293         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30295         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30296         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30297         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30299         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30300         for x86-64.
30301         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30303 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30305         * math/math.h (M_El): Use two more decimal places.
30306         (M_LOG2El): Likewise.
30307         (M_LOG10El): Likewise.
30308         (M_LN2l): Likewise.
30309         (M_LN10l): Likewise.
30310         (M_PIl): Likewise.
30311         (M_PI_2l): Likewise.
30312         (M_PI_4l): Likewise.
30313         (M_1_PIl): Likewise.
30314         (M_2_PIl): Likewise.
30315         (M_2_SQRTPIl): Likewise.
30316         (M_SQRT2l): Likewise.
30317         (M_SQRT1_2l): Likewise.
30319 2012-05-31  David S. Miller  <davem@davemloft.net>
30321         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30322         values between float registers.
30323         * sysdeps/sparc/sparc64/memset.S: Likewise.
30324         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30326 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30328         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30329         -D_FORTIFY_SOURCE=1.
30330         (CPPFLAGS-tst-longjmp_chk.c): Define.
30331         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30332         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30333         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30334         CFLAGS-tst-wchar-h.c.
30336 2012-05-31  Marek Polacek  <polacek@redhat.com>
30338         [BZ #14132]
30339         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30340         __endmntent_internal): Remove declaration.
30341         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30342         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30343         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30345 2012-05-30  David S. Miller  <davem@davemloft.net>
30347         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30348         (___Q_simulate_exceptions): Use real FP ops rather than writing
30349         into the %fsr.
30350         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30351         Likewise.
30353 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30355         [BZ #14117]
30356         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30357         * sysdeps/x86/bits/xtitypes.h: This.
30359         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30360         * sysdeps/x86/bits/wordsize.h: This.
30362         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30363         * sysdeps/x86/bits/huge_vall.h: This.
30365         * sysdeps/i386/bits/select.h: Removed.
30366         * sysdeps/x86_64/bits/select.h: Renamed to ...
30367         * sysdeps/x86/bits/select.h: This.
30369         * sysdeps/i386/bits/setjmp.h: Removed.
30370         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30371         * sysdeps/x86/bits/setjmp.h: This.
30373         * sysdeps/i386/bits/mathdef.h: Removed.
30374         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30375         * sysdeps/x86/bits/mathdef.h: This.
30377 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30379         [BZ #14132]
30380         * include/sys/socket.h (__connect_internal)
30381         (__libc_sa_len_internal): Remove declaration.
30382         (__connect, __libc_sa_len): Declare hidden_proto.
30383         (SA_LEN): Remove use of INTUSE.
30384         * socket/connect.c: Add libc_hidden_def.
30385         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30386         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30387         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30388         alias.
30389         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30390         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30391         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30392         of adding _internal alias.
30394 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30396         [BZ #14117]
30397         * sysdeps/i386/bits/link.h: Removed.
30398         * sysdeps/i386/bits/linkmap.h: Likewise.
30399         * sysdeps/x86_64/bits/link.h: Renamed to ...
30400         * sysdeps/x86/bits/link.h: This.
30401         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30402         * sysdeps/x86/bits/linkmap.h: This.
30404         * sysdeps/i386/bits/endian.h: Removed.
30405         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30406         * sysdeps/x86/bits/endian.h: This.
30408         * sysdeps/i386/bits/byteswap.h: Removed.
30409         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30410         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30411         * sysdeps/x86/bits/byteswap.h: This.
30412         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30413         * sysdeps/x86/bits/byteswap-16.h: This.
30414         * sysdeps/i386/Implies: Add x86.
30415         * sysdeps/x86_64/Implies: Likewise.
30417 2012-05-30  David S. Miller  <davem@davemloft.net>
30419         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30420         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30421         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30422         (FP_TRAPPING_EXCEPTIONS): Define.
30423         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30424         (FP_TRAPPING_EXCEPTIONS): Define.
30425         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30426         subnormals only when inexact has been signalled or underflow
30427         exceptions are enabled.
30428         (_FP_PACK_CANONICAL): Likewise.
30430 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30432         [BZ #14183]
30433         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30434         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30436 2012-05-30  Richard Henderson  <rth@twiddle.net>
30438         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30439         with #ifndef NOT_IN_libc.
30441         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30442         marked to avoid plt entry.
30444 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30446         [BZ #14112]
30447         * Makeconfig (default-abi): New macro.
30448         (abi-includes): Likewise.
30449         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30450         $(abi-$(default-abi)-lib-soname) for soname if defined.
30451         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30452         abi-variants.
30453         * Makefile (installed-stubs): Likewise.
30454         * include/stubs-biarch.h: Removed.
30455         * scripts/lib-names.awk: Only handle one library at a time.
30456         * scripts/soversions.awk: Remove WORDSIZE support.
30457         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30458         entries.
30459         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30460         Removed.
30461         (syscall-list-default-condition): Likewise.
30462         (syscall-list-default-condition): Likewise.
30463         (syscall-list-includes): Likewise.
30464         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30465         syscall-list-* with abi-*.  Handle undefined abi-variants.
30466         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30467         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30468         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30469         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30470         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30471         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30472         Removed.
30473         (syscall-list-32-options): Likewise.
30474         (syscall-list-32-condition): Likewise.
30475         (syscall-list-64-options): Likewise.
30476         (syscall-list-64-condition): Likewise.
30477         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30478         macro.
30479         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30480         Renamed to ...
30481         (abi-*): This.
30482         (abi-64-ld-soname): New macro.
30483         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30484         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30485         Renamed to ...
30486         (abi-*): This.
30487         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30488         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30490 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30492         * sysdeps/unix/sysv/linux/kernel-features.h
30493         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30494         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30495         include <kernel-features.h>.
30496         [!__NR_ftruncate64]: Remove conditional code.
30497         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30498         [__NR_ftruncate64]: Make code unconditional.
30499         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30500         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30501         include <kernel-features.h>.
30502         [!__NR_ftruncate64]: Remove conditional code.
30503         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30504         [__NR_ftruncate64]: Make code unconditional.
30505         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30507         include <kernel-features.h>.
30508         [!__NR_ftruncate64]: Remove conditional code.
30509         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30510         [__NR_ftruncate64]: Make code unconditional.
30511         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30513         include <kernel-features.h>.
30514         [!__NR_ftruncate64]: Remove conditional code.
30515         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30516         [__NR_ftruncate64]: Make code unconditional.
30517         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30519         * configure.in (libc_cv_fpie): Weaken to a compile test using
30520         LIBC_TRY_CC_OPTION.
30521         * configure: Regenerated.
30523 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30529         Refreshed.
30530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30536         Refreshed.
30538 2012-05-27  David S. Miller  <davem@davemloft.net>
30540         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30541         (___Q_zero): New.
30542         (__Q_simulate_exceptions): Return void.  Change to simulate
30543         exceptions by writing into the %fsr.
30544         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30545         (__Qp_handle_exceptions): Likewise.
30546         (numbers): Delete.
30547         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30548         __Qp_handle_exceptions.
30549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30550         __Qp_handle_exceptions.
30551         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30552         as unused and give dummy FP_RND_NEAREST initializer.
30553         (FP_INHIBIT_RESULTS): Define.
30554         (___Q_simulate_exceptions): Update declaration.
30555         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30556         formatting.
30557         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30558         as unused and give dummy FP_RND_NEAREST initializer.
30559         (__Qp_handle_exceptions): Update declaration.
30560         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30561         formatting.
30563 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30565         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30566         the temporary FPU control word.
30567         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30568         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30569         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30570         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30571         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30572         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30573         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30574         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30575         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30576         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30577         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30579 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30581         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30582         fields.
30584 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30586         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30587         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30588         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30589         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30590         Likewise.
30591         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30592         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30593         Likewise.
30595 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30597         * po/h.po: Update from translation team.
30599 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30601         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30603         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30604         handling of denormals.
30605         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30606         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30607         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30608         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30609         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30610         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30611         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30612         Likewise.
30614 2012-05-26  Marek Polacek  <polacek@redhat.com>
30616         [BZ #14152]
30617         * math/libm-test.inc (fma_test): Don't always expect underflow
30618         exception.
30620 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30622         [BZ #12416]
30623         * elf/tst-execstack.c: Include stackinfo.h.
30624         (do_test): Adjust test case to ensure that pthread_getattr_np
30625         behaviour remains the same after marking stack executable.
30627 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30629         * sysdeps/unix/sysv/linux/kernel-features.h
30630         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30631         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30632         kernel-features.h.
30633         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30634         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30635         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30636         kernel-features.h.
30637         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30638         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30640 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30642         * configure.in: Define the default includes to being none.
30643         * configure: Regenerated.
30645 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30647         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30648         * sysdeps/x86_64/setjmp.S: Likewise.
30649         * sysdeps/i386/bsd-setjmp.S: Likewise.
30650         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30651         * sysdeps/i386/setjmp.S: Likewise.
30652         * sysdeps/i386/__longjmp.S: Likewise.
30653         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30654         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30656         * include/stap-probe.h: New file.
30657         * configure.in: Handle --enable-systemtap.
30658         * configure: Regenerated.
30659         * config.h.in (USE_STAP_PROBE): New #undef.
30660         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30661         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30662         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30664 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30666         [BZ #13717]
30667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30668         to 2.4.0 where earlier.
30669         * sysdeps/unix/sysv/linux/configure: Regenerated.
30670         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30671         <kernel-features.h>.
30672         [__ASSUME_32BITUIDS]: Make code unconditional.
30673         [!__ASSUME_32BITUIDS]: Remove conditional code.
30674         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30675         <kernel-features.h>.
30676         [__ASSUME_32BITUIDS]: Make code unconditional.
30677         [!__ASSUME_32BITUIDS]: Remove conditional code.
30678         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30679         [__ASSUME_32BITUIDS]: Make code unconditional.
30680         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30681         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30682         <kernel-features.h>.
30683         [__ASSUME_32BITUIDS]: Make code unconditional.
30684         [!__ASSUME_32BITUIDS]: Remove conditional code.
30685         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30686         <kernel-features.h>.
30687         [__ASSUME_32BITUIDS]: Make code unconditional.
30688         [!__ASSUME_32BITUIDS]: Remove conditional code.
30689         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30690         <kernel-features.h>.
30691         [__ASSUME_32BITUIDS]: Make code unconditional.
30692         [!__ASSUME_32BITUIDS]: Remove conditional code.
30693         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30694         <kernel-features.h>.
30695         [__ASSUME_32BITUIDS]: Make code unconditional.
30696         [!__ASSUME_32BITUIDS]: Remove conditional code.
30697         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30698         <kernel-features.h>.
30699         [__ASSUME_32BITUIDS]: Make code unconditional.
30700         [!__ASSUME_32BITUIDS]: Remove conditional code.
30701         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30702         <kernel-features.h>.
30703         [__ASSUME_32BITUIDS]: Make code unconditional.
30704         [!__ASSUME_32BITUIDS]: Remove conditional code.
30705         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30706         <kernel-features.h>.
30707         [__ASSUME_32BITUIDS]: Make code unconditional.
30708         [!__ASSUME_32BITUIDS]: Remove conditional code.
30709         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30710         <kernel-features.h>.
30711         [__ASSUME_32BITUIDS]: Make code unconditional.
30712         [!__ASSUME_32BITUIDS]: Remove conditional code.
30713         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30714         <kernel-features.h>.
30715         [__ASSUME_32BITUIDS]: Make code unconditional.
30716         [!__ASSUME_32BITUIDS]: Remove conditional code.
30717         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30718         <kernel-features.h>.
30719         [__ASSUME_32BITUIDS]: Make code unconditional.
30720         [!__ASSUME_32BITUIDS]: Remove conditional code.
30721         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30722         <kernel-features.h>.
30723         [__NR_setresgid] (__setresgid): Do not declare.
30724         [__ASSUME_32BITUIDS]: Make code unconditional.
30725         [!__ASSUME_32BITUIDS]: Remove conditional code.
30726         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30727         <kernel-features.h>.
30728         [__NR_setresuid] (__setresuid): Do not declare.
30729         [__ASSUME_32BITUIDS]: Make code unconditional.
30730         [!__ASSUME_32BITUIDS]: Remove conditional code.
30731         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30732         <kernel-features.h>.
30733         [__ASSUME_32BITUIDS]: Make code unconditional.
30734         [!__ASSUME_32BITUIDS]: Remove conditional code.
30735         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30736         <kernel-features.h>.
30737         [__ASSUME_32BITUIDS]: Make code unconditional.
30738         [!__ASSUME_32BITUIDS]: Remove conditional code.
30739         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30740         <kernel-features.h>.
30741         [__ASSUME_32BITUIDS]: Make code unconditional.
30742         [!__ASSUME_32BITUIDS]: Remove conditional code.
30743         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30744         <kernel-features.h>.
30745         [__ASSUME_32BITUIDS]: Make code unconditional.
30746         [!__ASSUME_32BITUIDS]: Remove conditional code.
30747         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30748         <kernel-features.h>.
30749         [__ASSUME_32BITUIDS]: Make code unconditional.
30750         [!__ASSUME_32BITUIDS]: Remove conditional code.
30751         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30752         <kernel-features.h>.
30753         [__ASSUME_32BITUIDS]: Make code unconditional.
30754         [!__ASSUME_32BITUIDS]: Remove conditional code.
30755         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30756         <kernel-features.h>.
30757         [__ASSUME_32BITUIDS]: Make code unconditional.
30758         [!__ASSUME_32BITUIDS]: Remove conditional code.
30759         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30760         <kernel-features.h>.
30761         [__ASSUME_32BITUIDS]: Make code unconditional.
30762         [!__ASSUME_32BITUIDS]: Remove conditional code.
30763         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30764         <kernel-features.h>.
30765         [__ASSUME_32BITUIDS]: Make code unconditional.
30766         [!__ASSUME_32BITUIDS]: Remove conditional code.
30767         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30768         <kernel-features.h>.
30769         [__ASSUME_32BITUIDS]: Make code unconditional.
30770         [!__ASSUME_32BITUIDS]: Remove conditional code.
30771         * sysdeps/unix/sysv/linux/kernel-features.h
30772         (__ASSUME_SETRESUID_SYSCALL): Remove.
30773         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30774         (__ASSUME_32BITUIDS): Likewise.
30775         (__ASSUME_LDT_WORKS): Likewise.
30776         (__ASSUME_O_DIRECTORY): Likewise.
30777         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30778         architecture but not kernel version.
30779         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30780         (__ASSUME_MMAP2_SYSCALL): Likewise.
30781         (__ASSUME_STAT64_SYSCALL): Likewise.
30782         (__ASSUME_IPC64): Likewise.
30783         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30784         <kernel-features.h>.
30785         [__ASSUME_32BITUIDS]: Make code unconditional.
30786         [!__ASSUME_32BITUIDS]: Remove conditional code.
30787         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30788         <kernel-features.h>.
30789         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30790         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30791         132096]: Remove conditional code.
30792         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30793         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30794         <kernel-features.h>.
30795         [__ASSUME_32BITUIDS]: Make code unconditional.
30796         [!__ASSUME_32BITUIDS]: Remove conditional code.
30797         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30798         <kernel-features.h>.
30799         [__ASSUME_32BITUIDS]: Make code unconditional.
30800         [!__ASSUME_32BITUIDS]: Remove conditional code.
30801         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30802         <kernel-features.h>.
30803         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30804         unconditional.
30805         (__setresgid): Do not declare.
30806         [__ASSUME_32BITUIDS]: Make code unconditional.
30807         [!__ASSUME_32BITUIDS]: Remove conditional code.
30808         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30809         <kernel-features.h>.
30810         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30811         unconditional.
30812         (__setresuid): Do not declare.
30813         [__ASSUME_32BITUIDS]: Make code unconditional.
30814         [!__ASSUME_32BITUIDS]: Remove conditional code.
30815         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30816         <kernel-features.h>.
30817         [__ASSUME_32BITUIDS]: Make code unconditional.
30818         [!__ASSUME_32BITUIDS]: Remove conditional code.
30819         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30820         <kernel-features.h>.
30821         [__ASSUME_32BITUIDS]: Make code unconditional.
30822         [!__ASSUME_32BITUIDS]: Remove conditional code.
30824 2012-05-25  Richard Henderson  <rth@twiddle.net>
30826         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30827         dl_hwcap to ifunc resolver.
30828         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30829         elf_ifunc_invoke.
30830         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30831         dl_hwcap to ifunc resolver.
30832         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30834 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30836         [BZ #14153]
30837         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30838         for |x| <= 2**-26, not 2**-57.
30839         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30840         exception.
30842 2012-05-24  Jeff Law  <law@redhat.com>
30844         * stdio-common/Makefile (tests): Add bug25.
30845         * stdio-common/bug25.c: New test.
30847 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30849         [BZ #13576]
30850         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30851         multiple of MALLOC_ALIGNMENT in size.
30852         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30854 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30856         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30857         Require >= 256.
30858         (FILENAME_MAX): Use macro-int-constant.
30859         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30860         (_IOFBF): Use macro-int-constant.
30861         (_IOLBF): Likewise.
30862         (_IONBF): Likewise.
30863         (SEEK_CUR): Likewise.
30864         (SEEK_END): Likewise.
30865         (SEEK_SET): Likewise.
30866         (TMP_MAX): Likewise.
30867         (EOF): Use macro-int-constant.  Require < 0.
30868         (NULL): Use macro-constant.  Require == 0.
30869         (stdin): Require type to be FILE *.
30870         (stdout): Likewise.
30871         (stderr): Likewise.
30872         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30873         macro-int-constant.
30874         (EXIT_SUCCESS): Likewise.
30875         (NULL): Use macro-constant.  Require == 0.
30876         (RAND_MAX): Use macro-int-constant.
30877         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30878         [C99-based standards] (strtof): Require function.
30879         [C99-based standards] (strtold): Likewise.
30880         [C99-based standards] (strtoll): Likewise.
30881         [C99-based standards] (strtoull): Likewise.
30882         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30883         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30884         [ISO || ISO99 || ISO11] (math.h): Likewise.
30885         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30886         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30887         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30889 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30891         [BZ #14132]
30892         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30893         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30894         * intl/dgettext.c (DCGETTEXT): Likewise.
30895         * intl/gettext.c (DCGETTEXT): Likewise.
30896         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30897         * posix/regex_internal.h (gettext): Likewise.
30898         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30899         Remove declaration.
30900         * include/argz.h (__argz_count_internal)
30901         (__argz_stringify_internal): Remove declaration.
30902         (__argz_count, __argz_stringify): Declare hidden proto.
30903         * intl/dcgettext.c: Remove use of INTDEF.
30904         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30905         * string/argz-stringify.c: Likewise.
30906         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30907         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30908         Declare hidden proto.
30909         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30910         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30911         Declare hidden proto.
30912         * include/stdio.h (__asprintf_internal): Don't declare.
30913         (__asprintf): Don't define as macro.  Declare hidden proto.
30914         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30915         (__fsetlocking): Declare hidden proto.
30916         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30917         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30918         hidden proto.
30919         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30920         (_IO_setlinebuf): Remove use of INTUSE.
30921         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30922         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30923         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30924         Remove declaration.
30925         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30926         (_IO_do_flush): Remove use of INTUSE.
30927         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30928         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30929         (_IO_adjust_column, _IO_least_wmarker)
30930         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30931         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30932         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30933         (_IO_default_doallocate, _IO_wdefault_doallocate)
30934         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30935         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30936         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30937         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30938         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30939         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30940         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30941         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30942         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30943         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30944         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30945         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30946         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30947         proto.
30948         (_IO_flush_all_internal, _IO_adjust_column_internal)
30949         (_IO_default_uflow_internal, _IO_default_finish_internal)
30950         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30951         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30952         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30953         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30954         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30955         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30956         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30957         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30958         (_IO_file_close_internal, _IO_file_close_it_internal)
30959         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30960         (_IO_file_init_internal, _IO_file_attach_internal)
30961         (_IO_file_fopen_internal, _IO_file_read_internal)
30962         (_IO_file_sync_internal, _IO_file_seek_internal)
30963         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30964         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30965         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30966         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30967         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30968         (_IO_list_all_internal, _IO_link_in_internal)
30969         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30970         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30971         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30972         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30973         (_IO_do_write_internal, _IO_padn_internal)
30974         (_IO_getline_info_internal, _IO_getline_internal)
30975         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30976         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30977         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30978         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30979         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30980         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30981         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30982         with libc_hidden_ver, remove use of INTUSE.
30983         * libio/genops.c: Likewise.
30984         * libio/freopen.c: Likewise.
30985         * libio/freopen64.c: Likewise.
30986         * libio/iofclose.c: Likewise.
30987         * libio/iofdopen.c: Likewise.
30988         * libio/iofflush.c: Likewise.
30989         * libio/iofflush_u.c: Likewise.
30990         * libio/iofgets.c: Likewise.
30991         * libio/iofgets_u.c: Likewise.
30992         * libio/iofopen.c: Likewise.
30993         * libio/iofopncook.c: Likewise.
30994         * libio/iofread.c: Likewise.
30995         * libio/iofread_u.c: Likewise.
30996         * libio/ioftell.c: Likewise.
30997         * libio/iofwrite.c: Likewise.
30998         * libio/iogetline.c: Likewise.
30999         * libio/iogets.c: Likewise.
31000         * libio/iogetwline.c: Likewise.
31001         * libio/iopadn.c: Likewise.
31002         * libio/iopopen.c: Likewise.
31003         * libio/ioseekoff.c: Likewise.
31004         * libio/ioseekpos.c: Likewise.
31005         * libio/iosetbuffer.c: Likewise.
31006         * libio/iosetvbuf.c: Likewise.
31007         * libio/ioungetc.c: Likewise.
31008         * libio/ioungetwc.c: Likewise.
31009         * libio/iovdprintf.c: Likewise.
31010         * libio/iovsprintf.c: Likewise.
31011         * libio/iovsscanf.c: Likewise.
31012         * libio/memstream.c: Likewise.
31013         * libio/obprintf.c: Likewise.
31014         * libio/oldfileops.c: Likewise.
31015         * libio/oldiofclose.c: Likewise.
31016         * libio/oldiofdopen.c: Likewise.
31017         * libio/oldiofopen.c: Likewise.
31018         * libio/oldiopopen.c: Likewise.
31019         * libio/oldstdfiles.c: Likewise.
31020         * libio/putc.c: Likewise.
31021         * libio/setbuf.c: Likewise.
31022         * libio/setlinebuf.c: Likewise.
31023         * libio/stdfiles.c: Likewise.
31024         * libio/strops.c: Likewise.
31025         * libio/vasprintf.c: Likewise.
31026         * libio/vscanf.c: Likewise.
31027         * libio/vsnprintf.c: Likewise.
31028         * libio/vswprintf.c: Likewise.
31029         * libio/wfiledoalloc.c: Likewise.
31030         * libio/wfileops.c: Likewise.
31031         * libio/wgenops.c: Likewise.
31032         * libio/wmemstream.c: Likewise.
31033         * libio/wstrops.c: Likewise.
31034         * libio/__fpurge.c: Likewise.
31035         * libio/__fsetlocking.c: Likewise.
31036         * assert/assert.c: Likewise.
31037         * debug/fgets_chk.c: Likewise.
31038         * debug/fgets_u_chk.c: Likewise.
31039         * debug/fread_chk.c: Likewise.
31040         * debug/fread_u_chk.c: Likewise.
31041         * debug/gets_chk.c: Likewise.
31042         * debug/obprintf_chk.c: Likewise.
31043         * debug/vasprintf_chk.c: Likewise.
31044         * debug/vdprintf_chk.c: Likewise.
31045         * debug/vsnprintf_chk.c: Likewise.
31046         * debug/vsprintf_chk.c: Likewise.
31047         * malloc/mtrace.c: Likewise.
31048         * misc/error.c: Likewise.
31049         * misc/syslog.c: Likewise.
31050         * stdio-common/asprintf.c: Likewise.
31051         * stdio-common/fxprintf.c: Likewise.
31052         * stdio-common/getw.c: Likewise.
31053         * stdio-common/isoc99_fscanf.c: Likewise.
31054         * stdio-common/isoc99_scanf.c: Likewise.
31055         * stdio-common/isoc99_vfscanf.c: Likewise.
31056         * stdio-common/isoc99_vscanf.c: Likewise.
31057         * stdio-common/isoc99_vsscanf.c: Likewise.
31058         * stdio-common/printf-prs.c: Likewise.
31059         * stdio-common/printf_fp.c: Likewise.
31060         * stdio-common/printf_fphex.c: Likewise.
31061         * stdio-common/printf_size.c: Likewise.
31062         * stdio-common/putw.c: Likewise.
31063         * stdio-common/scanf.c: Likewise.
31064         * stdio-common/sprintf.c: Likewise.
31065         * stdio-common/tmpfile.c: Likewise.
31066         * stdio-common/vfprintf.c: Likewise.
31067         * stdio-common/vfscanf.c: Likewise.
31068         * stdlib/strfmon_l.c: Likewise.
31069         * sunrpc/openchild.c: Likewise.
31070         * sunrpc/xdr_stdio.c: Likewise.
31071         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31072         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31074 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31076         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31078         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31079         in the third column, to generate for the shared library an IFUNC
31080         that uses _dl_vdso_vsym.
31081         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31082         * Makeconfig (object-suffixes-noshared): New variable.
31084         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31085         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31086         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31087         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31089         [BZ #14132]
31090         * include/sys/time.h (__gettimeofday): Remove macro.
31091         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31092         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31093         Remove INTDEF.
31094         (__gettimeofday): Add libc_hidden_def.
31095         (gettimeofday): Add libc_hidden_weak.
31096         * sysdeps/mach/gettimeofday.c: Likewise.
31097         * sysdeps/posix/gettimeofday.c: Likewise.
31098         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31099         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31101         (__gettimeofday_internal): Remove strong_alias.
31102         (__gettimeofday): Add libc_hidden_def.
31103         (gettimeofday): Add libc_hidden_weak.
31104         * sysdeps/unix/syscalls.list (gettimeofday):
31105         Remove __gettimeofday_internal alias.
31107 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31108             H.J. Lu  <hongjiu.lu@intel.com>
31110         [BZ #12495]
31111         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31112         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31113         (largebin_index_32_big): New.
31114         (largebin_index): Use it for 16-byte alignment.
31115         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31116         correction with front_misalign.
31118 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31122         Likewise.
31123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31124         Likewise.
31125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31126         Likewise.
31127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31130         Likewise.
31131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31132         Likewise.
31133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31134         Likewise.
31135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31136         Likewise.
31137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31138         Likewise.
31139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31140         Likewise.
31141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31142         Likewise.
31143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31144         Likewise.
31146         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31147         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31149 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31151         [BZ #10846]
31152         [BZ #14036]
31153         * math/libm-test.inc (exp_test): Add test from bug 14036.
31154         (pow_test): Add test from bug 10846.
31156         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31157         and other flags.
31158         (special_function): Do not include flags in test name.
31159         (parse_args): Likewise.
31160         * sysdeps/i386/fpu/libm-test-ulps: Update.
31161         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31162         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31163         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31166         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31167         exceptions.
31168         * math/libm-test.inc ("Philosophy"): Update comment about
31169         exception testing.
31170         (UNDERFLOW_EXCEPTION): New macro.
31171         (UNDERFLOW_EXCEPTION_OK): Likewise.
31172         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31173         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31174         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31175         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31176         (INVALID_EXCEPTION_OK): Update value.
31177         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31178         (OVERFLOW_EXCEPTION_OK): Likewise.
31179         (IGNORE_ZERO_INF_SIGN): Likewise.
31180         (test_exceptions): Handle underflow exceptions.
31181         (acos_test): Update for underflow exception expectations.
31182         (cexp_test): Likewise.
31183         (clog_test): Likewise.
31184         (clog10_test): Likewise.
31185         (csqrt_test): Likewise.
31186         (ctan_test): Likewise.
31187         (ctanh_test): Likewise.
31188         (exp_test): Likewise.
31189         (exp10_test): Likewise.
31190         (exp2_test): Likewise.
31191         (expm1_test): Likewise.
31192         (fma_test): Likewise.
31193         (j0_test): Likewise.
31194         (jn_test): Likewise.
31195         (nexttoward_test): Likewise.
31196         (pow_test): Likewise.
31197         (scalbn_test): Likewise.
31198         (scalbln_test): Likewise.
31199         (tan_test): Likewise.
31200         (y1_test): Likewise.
31201         * sysdeps/i386/fpu/libm-test-ulps: Update.
31202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31204 2012-05-23  David S. Miller  <davem@davemloft.net>
31206         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31207         (__libc_sigaction): Remove unused local variables.
31209 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31211         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31213 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31215         mktime: avoid signed integer overflow
31216         * time/mktime.c (__mktime_internal): Do not mishandle the case
31217         where diff == INT_MIN.
31219         mktime: simplify computation of average
31220         * time/mktime.c (ranged_convert): Use new time_t_avg function
31221         instead of rolling our own (probably-slower) code.
31223         mktime: do not assume signed right shift propagates sign bit
31224         * time/mktime.c (isdst_differ): New static function.
31225         (__mktime_internal): No need to normalize tm_isdst now.
31226         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31227         tm_isdst values.
31229         mktime: merge another wrapv change from gnulib
31230         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31231         from some compilers.
31233         mktime: remove incorrect attempt at unusual arithmetics
31234         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31235         The code didn't really work on such machines anyway.
31236         (TYPE_MINIMUM): Assume two's complement.
31237         (twos_complement_arithmetic): Verify that long_int and time_t
31238         are two's complement (or unsigned, in the latter case).
31240         mktime: check signed shifts on long_int and time_t, too
31241         * time/mktime.c (SHR): Check that shifts work as desired
31242         on the types long_int and time_t too, as SHR is used on
31243         such types.
31245         mktime: do not assume 'long' is wide enough
31246         * time/mktime.c (verify): Move decl up.
31247         (long_int): New type.
31248         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31249         to remove assumption in the code that 'long' is wide enough to
31250         store year values.  This assumption is not true on x32 and on
31251         some non-glibc platforms.
31253         mktime: merge wrapv change from gnulib
31254         * time/mktime.c (WRAPV): New macro.
31255         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31256         (guess_time_tm, __mktime_internal): Do not assume that signed
31257         integer overflow wraps around; modern compilers generate code
31258         where this assumption is no longer valid.
31260 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31262         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31263         Replace "jmp L(pseudo_end)" with "ret".
31264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31265         Likewise.
31267 2012-05-23  Andreas Jaeger  <aj@suse.de>
31269         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31270         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31272 2012-05-23  Andreas Jaeger  <aj@suse.de>
31273             Maximilian Attems  <max@stro.at>
31275         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31276         New macros.
31278 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31280         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31281         code so that pseudo_end is just ret and the stack pointer is
31282         correct also for static library in error case.
31284 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31286         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31287         move to syscalls.list.
31288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31293         * manual/install.texi (Running make install): Do not mention Linux
31294         kernel version for which pt_chown is not needed.
31295         (Linux): Do not mention problems with nscd with 2.0 kernels.
31296         * INSTALL: Regenerated.
31298 2012-05-23  Andreas Jaeger  <aj@suse.de>
31300         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31301         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31302         macro.
31303         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31304         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31305         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31307         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31309         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31311         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31312         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31313         * sysdeps/unix/sysv/linux/bits/in.h
31314         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31316 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31318         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31319         (PREPARE_VERSION): Just use assert instead, it will be elided
31320         under [NDEBUG] anyway.
31322 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31324         * sysdeps/unix/sysv/linux/Makefile: Include
31325         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31326         (sysdep_routines): Remove sysctl.
31327         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31328         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31329         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31330         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31331         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31333 2012-05-22  Andreas Jaeger  <aj@suse.de>
31335         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31336         that pseudo_end is just ret and the stack pointer is correct also
31337         for static library in error case.
31339 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31341         [BZ #14122]
31342         * nss/nsswitch.c (defconfig_entries): New variable.
31343         (__nss_database_lookup): Don't leak defconfig entries.
31344         (nss_parse_service_list): Don't leak on error paths.
31345         (free_database_entries): New function.
31346         (free_defconfig): New function.
31347         (free_mem): Move common code to free_database_entries.
31349 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31351         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31352         Add arch_prctl.
31353         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31355         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31356         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31358         New macro.
31359         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31360         (INTERNAL_SYSCALL_TYPES): Likewise.
31361         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31362         (LOAD_REGS_TYPES_[1-6]): Likewise.
31363         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31364         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31366 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31368         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31369         copysignl for GLIBC_2_0.
31370         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31371         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31373         logbl for GLIBC_2_0.
31374         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31375         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31377 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31380         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31382         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31383         Use "neg %eax".
31385         * time/mktime.c: Update copyright years.
31387 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31389         mktime: merge comment-quoting-style change from gnulib
31390         * time/mktime.c: Quote 'like this' in comments.
31391         The GNU coding standards suggest that we no longer quote `like this',
31392         as "`" and "'" are typically rendered asymmetrically nowadays.
31393         The typical gnulib style is to quote 'like this' when quoting
31394         code, and "like this" when quoting English.
31396         * time/mktime.c (compile-command): Add "-I.".
31398         mktime: merge mktime-internal.h change from gnulib
31399         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31401         mktime: merge time_r change from gnulib
31402         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31404         mktime: merge DEBUG change from gnulib
31405         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31406         case system <time.h> has a #define.
31408         mktime: merge <sys/types.h> change from gnulib
31409         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31410         since <time.t> is now guaranteed to define time_t.
31412         mktime: merge HAVE_CONFIG_H change from gnulib
31413         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31415 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31418         Use "neg %eax".
31420         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31421         __rlim_t cast.
31422         (struct rusage): Use anonymous union to pad each field to
31423         __syscall_slong_t.
31425 2012-05-21  David S. Miller  <davem@davemloft.net>
31427         * Makefules (o-iterator): Remove .s cases.
31428         (compile-command.s): Delete.
31429         (COMPILE.s): Delete.
31430         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31432 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31434         * configure.in (libc_cv_predef_stack_protector): Only consider
31435         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31436         * configure: Regenerated.
31438 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31441         New macro.  Use R*LP on int and pointer.
31442         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31443         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31444         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31445         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31447         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31448         [__WORDSIZE_TIME64_COMPAT32] instead of
31449         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31450         (struct utmp): Likewise.
31451         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31452         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31453         Renamed to ...
31454         (__WORDSIZE_TIME64_COMPAT32): This.
31455         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31456         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31457         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31458         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31459         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31460         (__WORDSIZE_TIME64_COMPAT32): New macro.
31462 2012-05-21  Andreas Jaeger  <aj@suse.de>
31464         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31465         only if [SHARED]. Add prototype for __wcschr_ia32.
31467 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31469         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31470         of %rbp unmolested in the jmp_buf while mangling the low bits.
31471         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31472         unmolested high bits of %rbp while demangling the low bits.
31473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31475 2012-05-21  Andreas Jaeger  <aj@suse.de>
31477         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31478         * sunrpc/svc_simple.c: Use it for registerrpc.
31479         * sunrpc/xcrypt.c: Use it for passwd2des.
31481         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31483 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31485         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31486         Don't define if [__SYSCALL_WORDSIZE != 32].
31487         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31488         New macro.
31490 2012-05-21  Bruno Haible  <bruno@clisp.org>
31491             Andreas Jaeger  <aj@suse.de>
31493         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31494         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31495         inptr and inend for must_buffer_ch.
31496         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31497         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31498         * stdio-common/Makefile (tests): Remove bug15.
31499         (bug15-ENV): Remove macro.
31500         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31501         anymore.
31503 2012-05-19  Andreas Jaeger  <aj@suse.de>
31504             Roland McGrath  <roland@hack.frob.com>
31506         * manual/contrib.texi: Completely rewritten. It contains now an
31507         alphabetical list of contributors and their contributions.
31509 2012-05-21  Richard Henderson  <rth@twiddle.net>
31511         * misc/getauxval.c (__getauxval): Use unsigned long int.
31512         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31513         (getauxval): Use unsigned long int.
31515 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31517         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31519 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31521         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31522         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31523         __alignof__ (long double).
31525 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31529 2012-05-20  Richard Henderson  <rth@twiddle.net>
31531         * misc/getauxval.c: New file.
31532         * misc/sys/auxv.h: New file.
31533         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31534         (routines): Add getauxval.
31535         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31536         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31537         * elf/dl-sysdep.c (_dl_auxv): Remove.
31538         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31539         * elf/dl-support.c (_dl_auxv): New variable.
31540         (_dl_aux_init): Initialize it.
31541         * manual/startup.texi (Auxiliary Vector): New node.
31542         * sysdeps/generic/bits/hwcap.h: New file.
31543         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31544         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31545         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31546         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31547         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31548         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31550         Update.
31551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31554         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31560 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31564 2012-05-19  David S. Miller  <davem@davemloft.net>
31566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31568 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31570         [BZ #14123]
31571         * math/s_ccosh.c: Include <float.h>
31572         (__ccosh): Avoid internal overflow calculating sinh and cosh
31573         values before multiplying by sin and cos values.
31574         * math/s_ccoshf.c: Likewise.
31575         * math/s_ccoshl.c: Likewise.
31576         * math/s_csin.c: Likewise.
31577         * math/s_csinf.c: Likewise.
31578         * math/s_csinl.c: Likewise.
31579         * math/s_csinh.c: Likewise.
31580         * math/s_csinhf.c: Likewise.
31581         * math/s_csinhl.c: Likewise.
31582         * math/libm-test.inc (ccos_test): Add more tests.
31583         (ccosh_test): Likewise.
31584         (csin_test): Likewise.
31585         (csinh_test): Likewise.
31586         * sysdeps/i386/fpu/libm-test-ulps: Update.
31587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31589 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31591         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31592         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31594         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31596 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31598         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31599         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31600         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31601         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31602         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31603         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31604         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31605         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31606         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31607         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31608         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31609         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31610         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31611         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31612         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31613         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31614         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31615         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31616         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31617         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31618         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31619         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31620         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31621         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31622         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31623         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31624         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31625         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31626         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31627         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31628         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31630 2012-05-18  Andreas Jaeger  <aj@suse.de>
31632         * csu/.gitignore: Delete.
31634 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31636         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31637         (timex): Use __syscall_slong_t.
31639 2012-05-18  Andreas Jaeger  <aj@suse.de>
31640             Carlos O'Donell  <carlos_odonell@mentor.com>
31642         * manual/install.texi (Configuring and compiling): Update
31643         description about files modified in the source directory.
31644         * INSTALL: Regenerated.
31646 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31648         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31649         value.  Use "or" to set return value to -1.
31650         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31651         negate return value.
31653 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31655         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31656         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31657         failure if the compiler has Graphite support disabled.
31658         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31659         Likewise.
31660         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31661         (CFLAGS-memmove.c): Likewise.
31662         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31663         Likewise.
31665 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31667         * sysdeps/x86_64/x32/_itoa.h: New file.
31669         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31670         getdents system call only if kernel and user dirents have the
31671         same d_ino and d_off.
31673         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31674         LLONG_MAX != LONG_MAX.
31675         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31676         (_fitoa_word): Likewise.
31678         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31679         years.
31680         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31681         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31682         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31684         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31685         include <bits/wordsize.h>.  Check __x86_64__ instead of
31686         __WORDSIZE.
31687         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31688         if __x86_64__ is defined.  Use anonymous union on fpstate.
31690         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31691         anonymous union.
31693 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31695         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31696         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31697         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31698         Refer to _rtld_local_ro instead of _rtld_global_ro.
31699         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31700         Likewise.
31701         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31702         Likewise.
31703         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31704         Likewise.
31705         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31706         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31707         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31709         * sysdeps/powerpc/powerpc32/dl-machine.c
31710         (__elf_machine_runtime_setup) [PROF]: Don't reference
31711         _dl_prof_resolve.
31713 2012-05-18  Andreas Jaeger  <aj@suse.de>
31715         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31716         function only available for GCCs before 3.4 since GCC 3.4
31717         introduced a builtin.
31718         (lrint): Likewise.
31719         (llrintf): Likewise.
31720         (llrint): Likewise.
31721         (fmaxf): Likewise.
31722         (fmax): Likewise.
31723         (fminf): Likewise.
31724         (fmin): Likewise.
31725         (rint): Likewise.
31726         (rintf): Likewise.
31727         (nearbyint): Likewise.
31728         (nearbyintf): Likewise.
31729         (ceil): Likewise.
31730         (ceilf): Likewise.
31731         (floor): Likewise.
31732         (floorf): Likewise.
31734 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31736         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31737         on both fields and cast pointer to __syscall_ulong_t.
31739         * bits/types.h (__fsword_t): New type.
31740         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31741         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31743         (__FSWORD_T_TYPE): Likewise.
31744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31745         (__FSWORD_T_TYPE): Likewise.
31746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31747         (__FSWORD_T_TYPE): Likewise.
31748         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31749         (__FSWORD_T_TYPE): Likewise.
31750         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31751         __SWORD_TYPE with __fsword_t.
31752         (statfs64): Likewise.
31754 2012-05-17  David S. Miller  <davem@davemloft.net>
31756         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31758 2012-05-17  Andreas Jaeger  <aj@suse.de>
31760         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31761         warning.
31763 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31765         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31767 2012-05-17  Andreas Jaeger  <aj@suse.de>
31769         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31770         when it is used.
31772 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31774         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31776 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31778         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31779         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31781 2012-05-17  Andreas Jaeger  <aj@suse.de>
31782             Carlos O'Donell  <carlos_odonell@mentor.com>
31784         [BZ #14059]
31785         * sysdeps/x86_64/multiarch/init-arch.h
31786         (bit_YMM_Usable): Rename to...
31787         (bit_AVX_Usable): ... this.
31788         (bit_FMA4_Usable): New macro.
31789         (bit_XMM_state): New macro.
31790         (bit_YMM_state): New macro.
31791         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31792         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31793         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31794         (CPUID_OSXSAVE): New macro.
31795         (CPUID_AVX): New macro.
31796         (CPUID_FMA4): New macro.
31797         (index_YMM_Usable): Rename to...
31798         (index_AVX_Usable): ... this.
31799         (HAS_AVX): Use HAS_ARCH_FEATURE.
31800         (HAS_FMA4): Likewise.
31801         (HAS_YMM_USABLE): Remove.
31802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31803         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31804         are present.
31805         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31806         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31807         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31808         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31809         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31811 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31813         * math/libm-test.c: Support platforms without multiple rounding modes.
31814         * math/bug-nextafter.c: Support platforms without FP exceptions.
31815         * math/bug-nexttoward.c: Likewise.
31816         * math/test-fenv.c: Likewise.
31817         * math/test-misc.c: Likewise.
31818         * stdlib/bug-getcontext.c: Likewise.
31820 2012-05-17  Andreas Jaeger  <aj@suse.de>
31822         * manual/examples/search.c (critter_cmp): Change signature to
31823         avoid warnings.
31824         * manual/string.texi (Collation Functions): Likewise.
31826 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31828         * bits/types.h: Fold copyright years.
31829         * bits/typesizes.h: Likewise.
31830         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31832         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31833         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31834         * time/time.h: Likewise.
31836 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31838         [BZ #208]
31839         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31840         in instead of returning them.  Return void.
31841         (__libc_mallinfo): Accumulate over all arenas.
31842         (__malloc_stats): Adjust for change in int_mallinfo interface.
31844 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31846         [BZ #10375]
31847         * configure.in (NM): Add AC_CHECK_TOOL for it.
31848         (libc_extra_cflags): New substituted variable.
31849         Check for -fstack-protector being used implicitly.
31850         * configure: Regenerated.
31851         * config.make.in (config-extra-cflags): New variable,
31852         gets @libc_extra_cflags@.
31853         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31855         [BZ #10375]
31856         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31857         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31858         * configure: Regenerated.
31859         * config.make.in (CPPUNDEFS): New substituted variable.
31860         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31861         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31862         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31864 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31866         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31867         (mq_attr): Use __syscall_slong_t.
31869 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31871         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31872         Check __x86_64__ instead of __WORDSIZE.
31873         (_STAT_VER_LINUX): Likewise.
31874         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31875         __syscall_ulong_t and __syscall_slong_t.
31876         (stat64): Likewise.
31878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31880         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31882 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31884         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31886 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31888         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31889         __syscall_ulong_t.
31891         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31892         include <bits/wordsize.h>.  Check __x86_64__ instead of
31893         __WORDSIZE.
31894         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31895         defined.
31896         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31898         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31899         include <bits/wordsize.h>.  Check __x86_64__ instead of
31900         __WORDSIZE.
31901         (user_regs_struct): Use "__extension__ unsigned long long"
31902         instead of "unsigned long" if __x86_64__ is defined.
31903         (user): Likewise.  Pad after pointer field if __ILP32__ is
31904         defined.
31906 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31908         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31909         versions 5 to 9.
31910         * configure: Regenerated.
31911         * manual/install.texi (texinfo): Increase version requirement to
31912         4.5 or later.
31913         * INSTALL: Regenerated.
31915         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31919         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31921         * sysdeps/x86_64/x32/ffs.c: New file.
31923         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31924         __syscall_ulong_t.
31925         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31926         defined.  Use __syscall_ulong_t.
31927         (shminfo): Use __syscall_ulong_t.
31928         (shm_info): Likewise.
31930         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31931         __syscall_ulong_t.
31933         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31934         <bits/wordsize.h>.
31935         (msgqnum_t): Use __syscall_ulong_t.
31936         (msglen_t): Likewise.
31937         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31938         __syscall_ulong_t.
31940         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31941         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31943         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31945         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31946         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31948         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31949         __syscall_slong_t.
31951         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31952         include <bits/wordsize.h>.  Check __x86_64__ instead of
31953         __WORDSIZE.
31955         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31956         "unsigned long long int" if __x86_64__ is defined.
31957         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31959         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31960         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31961         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31963         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31964         <stdint.h>.
31965         (GET_PC): Cast to uintptr_t first.
31966         (GET_FRAME): Likewise.
31967         (GET_STACK): Likewise.
31969         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31970         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31971         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31972         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31973         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31974         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31975         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31976         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31977         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31978         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31979         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31980         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31981         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31982         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31983         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31984         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31985         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31986         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31987         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31988         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31989         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31990         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31991         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31992         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31993         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31994         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31995         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31996         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31997         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31999 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32001         * Makerules (+depfiles): Also collect depfiles from .oS in
32002         $(extra-objs).
32003         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32004         .oS, $(libnldbl-routines)).
32006         * Makerules (native-compile-mkdep-flags): Define.
32007         * sunrpc/Makefile (extra-objs): Add $(addprefix
32008         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32009         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32010         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32011         calling $(make-target-directory).
32013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32015         * bits/types.h (__snseconds_t): Removed.
32016         * time/time.h (struct timespec): Replace __snseconds_t with
32017         __syscall_slong_t.
32018         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32019         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32020         Likewise.
32021         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32022         (__SNSECONDS_T_TYPE): Likewise.
32023         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32024         (__SNSECONDS_T_TYPE): Likewise.
32025         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32026         (__SNSECONDS_T_TYPE): Likewise.
32028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32030         * sysdeps/mach/hurd/bits/typesizes.h
32031         (__SYSCALL_SLONG_TYPE): New macro.
32032         (__SYSCALL_ULONG_TYPE): Likewise.
32034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32036         * bits/types.h (__syscall_slong_t): New type.
32037         (__syscall_ulong_t): Likewise.
32039         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32040         (__SYSCALL_ULONG_TYPE): Likewise.
32041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32042         (__SYSCALL_SLONG_TYPE): Likewise.
32043         (__SYSCALL_ULONG_TYPE): Likewise.
32044         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32045         (__SYSCALL_SLONG_TYPE): Likewise.
32046         (__SYSCALL_ULONG_TYPE): Likewise.
32047         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32048         (__SYSCALL_SLONG_TYPE): Likewise.
32049         (__SYSCALL_ULONG_TYPE): Likewise.
32051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32053         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32054         Add sigaltstack-offsets.sym.
32055         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32056         <sigaltstack-offsets.h>.
32057         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32058         longjmp_msg pointer.
32059         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32060         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32061         signal stack.
32062         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32064 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32066         * elf/stackguard-macros.h: Remove file.
32067         * sysdeps/generic/stackguard-macros.h: New file.
32068         * sysdeps/i386/stackguard-macros.h: Likewise.
32069         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32070         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32071         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32072         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32073         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32074         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32075         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32076         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32077         <elf/stackguard-macros.h>.
32079         [BZ #14109]
32080         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32081         __aligned__ in attribute.
32082         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32083         (gregset_t): Likewise.
32085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32087         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32088         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32089         * sysdeps/x86_64/x32/Implies-after: New file.
32091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32093         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32094         and access return value for _dl_profile_fixup.  Use R10_LP to
32095         load frame size.
32097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32099         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32103         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32104         * sysdeps/x86_64/x32/sysdep.h: New file.
32106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32108         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32109         * sysdeps/x86_64/setjmp.S: Likewise.
32111 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32113         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32114         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32115         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32116         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32117         remove unused global constant.
32119 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32121         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32122         include of <not-cancel.h>.
32124 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32126         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32128 2012-05-15  Jeff Law  <law@redhat.com>
32129             Andreas Jaeger  <aj@suse.de>
32131         [BZ #13594]
32132         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32133         out from...
32134         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32135         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32136         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32137         code changing __hst_map_handle.map.
32139 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32141         * configure.in (sysnames): Look for Implies-before and Implies-after
32142         files.
32143         * configure: Regenerated.
32145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32147         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32148         8-byte data alignment with LP_SIZE alignment.
32150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32152         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32153         into R10_LP.
32155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32157         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32161         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32162         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32164         Likewise.
32165         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32169         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32170         (stackinfo_sub_sp): Likewise.
32172 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32174         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32175         RAX_LP.
32177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32179         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32180         into R*_LP.
32182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32184         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32185         sizes into R*_LP.
32187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32189         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32193         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32194         into R11_LP and load __x86_64_shared_cache_size_half into
32195         R8_LP.
32197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32199         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32200         R8_LP.
32202 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32205         logb for POWER7.
32206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32207         logbf for POWER7.
32208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32209         logbl for POWER7.
32210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32211         powerpc32/power7/fpu/s_logb.c via #include.
32212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32213         powerpc32/power7/fpu/s_logbf.c via #include.
32214         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32215         powerpc32/power7/fpu/s_logbl.c via #include.
32217 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32219         * README.libm: Remove file.
32221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32223         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32224         count for x32.  Use R*_LP and omit operand-size suffix.
32226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32228         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32229         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32230         * sysdeps/x86_64/x32/shlib-versions: New file.
32232 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32234         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32235         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32236         Use _dl_fatal_printf instead.
32238 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32240         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32241         set if not set by the user.  Do not allow for being unset.
32242         * sysdeps/unix/sysv/linux/configure: Regenerated.
32244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32246         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32247         the `q' suffix from lea and replace .quad with ASM_ADDR.
32249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32252         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32253         instead of $17.
32254         (PTR_DEMANGLE): Likewise.
32256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32258         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32259         (LP_OP): Likewise.
32260         (ASM_ADDR): Likewise.
32261         (RAX_LP): Likewise.
32262         (RBP_LP): Likewise.
32263         (RBX_LP): Likewise.
32264         (RCX_LP): Likewise.
32265         (RDI_LP): Likewise.
32266         (RSI_LP): Likewise.
32267         (RSP_LP): Likewise.
32268         (R8_LP): Likewise.
32269         (R9_LP): Likewise.
32270         (R10_LP): Likewise.
32271         (R10_LP): Likewise.
32272         (R11_LP): Likewise.
32273         (R12_LP): Likewise.
32274         (R13_LP): Likewise.
32275         (R14_LP): Likewise.
32276         (R15_LP): Likewise.
32278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32280         * sysdeps/x86_64/x32/dl-machine.h: New file.
32282 2012-05-14  Andreas Jaeger  <aj@suse.de>
32284         * manual/Makefile (subdir): Remove export of subdir.
32285         (all): Remove target.
32286         (.PHONY): Remove all from list.
32287         (mkinstalldirs): Remove.
32288         (.PHONY): Remove installdirs from list.
32289         ($(inst_infodir)/libc.info): Use make-target-directory.
32290         (installdirs): Remove.
32291         (subdir_%): Remove.
32292         (glibc-targets): Remove.
32293         (lib): Remove.
32294         (stubs): Remove.
32295         ($(objpfx)stubs ../po/manual.pot): Remove.
32296         ($(objpfx)stamp%): Remove.
32297         (make-target-directory): Remove.
32298         (subdir_install): Remove.
32299         (routines): Remove.
32300         (aux): Remove.
32301         (sources): Remove.
32302         (objects): Remove.
32303         (headers): Remove.
32305         [BZ #13750]
32306         * manual/.gitignore: Remove, it's not needed anymore.
32307         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32308         all files in it.
32309         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32310         directory.
32311         (texis): Renamed to $(objpfx)texis.
32312         (texis-path): New, contains path to generated files.
32313         (chapters.%): Use texis-path for complete path, add extra argument
32314         libc-texinfo.sh.
32315         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32316         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32317         (summary,texi, stamp-summary): Use complete path of
32318         files. Generate files in build dir.
32319         (dir-add.texi): Build in build dir.
32320         (libm-err.texi,stamp-libm-err): Likewise.
32321         (version.texi, stamp-version): Likewise.
32322         (.%c.texi): Likewise.
32323         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32324         (mostlyclean): Remove target.
32325         (realclean): Remove target.
32326         (generated): Add new variable with contents from mostlyclean and
32327         realclean, remove entries duplicated in common-mostlyclean, add
32328         stamp-libm-err and stamp-version.
32329         (generated-dirs): Add libc directory.
32330         ($(inst_infodir)/libc.info): Install files from build dir.
32332         * manual/install.texi (Configuring and compiling): Adjust since
32333         the info files are not part of the tar ball anymore.
32335 2012-05-14  Andreas Jaeger  <aj@suse.de>
32337         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32338         variable.
32340 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32342         [BZ #13717]
32343         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32344         to 2.2.0 where earlier.
32345         * sysdeps/unix/sysv/linux/configure: Regenerated.
32346         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32347         Remove conditional code.
32348         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32349         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32350         Remove conditional code.
32351         [!__NR_lchown]: Likewise.
32352         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32353         [__NR_lchown]: Likewise.
32354         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32355         comment referencing __ASSUME_LCHOWN_SYSCALL.
32356         * sysdeps/unix/sysv/linux/i386/sigaction.c
32357         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32358         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32359         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32360         Remove conditional code.
32361         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32362         (__protocol_available): Remove #if 0 code.
32363         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32364         conditional code.
32365         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32366         * sysdeps/unix/sysv/linux/kernel-features.h
32367         (__ASSUME_GETCWD_SYSCALL): Don't define.
32368         (__ASSUME_REALTIME_SIGNALS): Likewise.
32369         (__ASSUME_PREAD_SYSCALL): Likewise.
32370         (__ASSUME_PWRITE_SYSCALL): Likewise.
32371         (__ASSUME_POLL_SYSCALL): Likewise.
32372         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32373         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32374         non-SPARC.
32375         (__ASSUME_SIOCGIFNAME): Don't define.
32376         (__ASSUME_MSG_NOSIGNAL): Likewise.
32377         (__ASSUME_SENDFILE): Define unconditionally.
32378         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32379         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32380         conditional code.
32381         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32382         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32383         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32384         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32385         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32386         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32387         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32389         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32392         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32401         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32404         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32407         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32408         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32410         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32412         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32413         Remove conditional code.
32414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32415         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32416         Remove conditional code.
32417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32418         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32419         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32420         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32421         Remove conditional code.
32422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32423         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32424         Remove conditional code.
32425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32426         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32427         Remove conditional code.
32428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32429         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32430         Remove conditional code.
32431         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32432         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32433         Remove conditional code.
32434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32435         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32436         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32437         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32438         * sysdeps/unix/sysv/linux/sigaction.c
32439         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32440         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32441         * sysdeps/unix/sysv/linux/sigpending.c
32442         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32443         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32444         * sysdeps/unix/sysv/linux/sigprocmask.c
32445         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32446         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32447         * sysdeps/unix/sysv/linux/sigsuspend.c
32448         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32449         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32450         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32451         (__libc_missing_rt_sigs): Remove.
32452         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32453         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32454         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32455         Remove conditional code.
32456         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32457         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32458         return 1.
32459         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32460         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32461         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32462         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32464 2012-05-14  Andreas Jaeger  <aj@suse.de>
32466         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32467         it's not used in glibc.
32468         (__coshm1): Likewise.
32469         (__acosh1p): Likewise.
32470         (__sgn): Likewise.
32472         * manual/string.texi (Copying and Concatenation): Add missing
32473         variable in concat example.
32474         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32476 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32478         [BZ #14103]
32479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32480         __builtin_clzl with __builtin_clzll.
32482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32484         [BZ #14104]
32485         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32486         libc_freeres_ptr.
32488 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32490         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32491         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32492         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32493         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32495 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32497         * NEWS: Update ia64 info.
32499 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32501         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32502         used as bcopy.
32504 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32506         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32507         * sysdeps/unix/syscalls.list (dup3): Likewise.
32508         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32509         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32511 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32513         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32514         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32516 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32518         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32519         thread pointer.
32520         (TLS_IE): Use mov/add instead of movq/addq to load thread
32521         pointer.
32522         (TLS_GD_PREFIX): New.
32523         (TLS_GD): Use it.
32525 2012-05-11  David S. Miller  <davem@davemloft.net>
32527         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32528         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32529         (_FPU_SETCW): Likewise.
32531 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32533         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32534         is 32-byte aligned.
32536 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32538         [BZ #11837]
32539         * iconvdata/gb18030.c: Update tables.
32540         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32541         characters specially.
32542         (BODY for TO_LOOP): Add encoding of missing ranges.
32544 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32546         [BZ #13673]
32547         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32548         * sysdeps/mach/hurd/dup3.c: Likewise.
32549         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32550         * sysdeps/powerpc/memmove.c:: Likewise.
32552 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32555         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32557 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32559         * elf/elf.h (R_X86_64_RELATIVE64): New.
32560         (R_X86_64_NUM): Updated.
32561         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32562         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32563         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32564         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32565         tst-quad1pie tst-quad2pie
32566         (modules-names): Add tst-quadmod1 tst-quadmod2.
32567         ($(objpfx)tst-quad1): New dependency.
32568         ($(objpfx)tst-quad2): Likewise.
32569         ($(objpfx)tst-quad1pie): Likewise.
32570         ($(objpfx)tst-quad2pie): Likewise.
32571         * sysdeps/x86_64/tst-quad1.c: New file.
32572         * sysdeps/x86_64/tst-quad1pie.c: New file.
32573         * sysdeps/x86_64/tst-quad2.c: Likewise.
32574         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32575         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32576         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32577         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32578         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32582         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32583         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32584         * streams/stropts.h (t_scalar_t): Define type.
32586         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32587         (_PATH_PRESERVE): Set to "/var/lib".
32588         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32590         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32591         instead of int.
32593         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32594         if __dir_mkfile succeeded.
32596         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32597         checking for _hurd_dtablesize.  Unlock it right after having
32598         finished _hurd_dtable allocation.
32600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32602         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32603         * sysdeps/mach/hurd/configure: Regenerated.
32604         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32605         special-casing to...
32606         * sysdeps/gnu/configure.in: ... this new file.
32607         * sysdeps/unix/sysv/linux/configure: Regenerated.
32608         * sysdeps/gnu/configure: New generated file.
32610         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32611         for Linux: use nsec instead of usec, as well as:
32612         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32613         members of type struct timespec.
32614         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32615         New macros.
32616         (struct stat64): Likewise.
32617         (_STATBUF_ST_NSEC): New macro.
32618         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32620         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32621         __strtoul_internal rather than strtoul.
32623 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32625         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32626         and reject them.
32628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32630         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32631         which preserves existing values.
32632         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32634 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32636         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32637         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32638         greater than FD_SETSIZE.
32640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32642         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32643         allocated, call __vm_protect to finish enabling the existing space, and
32644         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32645         allocate the remainder.
32647 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32649         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32650         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32654         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32655         sysdeps/mach/hurd/readlink.c.
32657         * posix/tst-sysconf.c (posix_options): Only use
32658         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32659         _POSIX_SYNCHRONIZED_IO when they are defined
32660         * sysdeps/mach/hurd/bits/posix_opt.h:
32661         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32662         (_XOPEN_REALTIME): Undefine macro.
32663         (_XOPEN_REALTIME_THREADS): Undefine macro.
32664         (_XOPEN_SHM): Undefine macro.
32665         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32666         macro to -1.
32667         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32668         macro to -1.
32669         (_POSIX_ASYNC_IO): Undefine macro.
32670         (_POSIX_PRIORITIZED_IO): Undefine macro.
32671         (_POSIX_SPIN_LOCKS): Define macro to -1.
32673         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32674         SA_NODEFER, SA_RESETHAND.
32675         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32676         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32677         F_DUPFD_CLOEXEC.
32679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32681         * elf/Makefile (pldd-modules): Define unconditionally.
32683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32685         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32689         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32690         Return ENOENT when name is empty.
32691         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32693 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32695         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32697         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32701         Fix mlock in all cases except non-readable pages.
32702         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32703         instead of VM_PROT_ALL as parameter to __vm_wire function.
32705         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32706         (__mkdir): When path is `/', just fail with EEXIST.
32707         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32711         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32712         <sys/uio.h> (for writev).
32713         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32714         and <sys/param.h> (for MIN).
32716 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32718         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32719         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32720         if interrupted.
32722 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32724         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32725         Depend on against $(link-rpcuserlibs).
32727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32729         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32730         (__libc_stack_end): Do not use attribute_relro.
32731         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32732         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32733         to libthread-provided value.
32734         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32735         attribute_relro.
32737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32739         [BZ #3748]
32740         * bits/libc-lock.h (__libc_once_get): New macro.
32741         * sysdeps/mach/bits/libc-lock.h: Likewise.
32742         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32743         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32744         instead of using implementation details.
32746         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32747         * libio/freopen.c: Likewise.
32748         * libio/freopen64.c: Likewise.
32749         * misc/syslog.c: Likewise.
32750         * nscd/connections.c: Likewise.
32751         * nscd/netgroupcache.c: Likewise.
32752         * sysdeps/posix/getcwd.c: Likewise.
32754 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32756         * math/w_ilogbf.c: Add #include <limits.h>.
32758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32760         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32761         path instead of returning without unlocking.
32763         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32764         immediate-write ioctls.
32765         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32769         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32770         __builtin_frame_address instead of making assumptions about the
32771         location of the return address relative to DATA.  Force early load of
32772         the return address.
32773         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32774         __builtin_frame_address.
32776         dup3 for GNU Hurd.
32777         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32778         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32779         implement dup3 and do some further code clean-ups.
32780         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32781         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32785         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32787         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32788         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32789         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32790         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32791         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32792         d->port.lock.
32794         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32795         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32796         when handler == SIG_ERR, not when handler != SIG_ERR.
32798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32800         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32801         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32802         definitions.
32804         accept4 for GNU Hurd.
32805         * include/sys/socket.h (__libc_accept4): New prototype.
32806         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32807         to implement __libc_accept4.
32808         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32809         __libc_accept4.
32810         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32812         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32813         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32814         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32815         signal-defines.sym.
32817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32819         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32823         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32824         assertion on O_CLOEXEC flag.
32825         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32826         * hurd/intern-fd.c: Likewise.
32827         * hurd/port2fd.c: Likewise.
32829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32831         [BZ #3906]
32832         * bits/in.h (IPV6_PKTINFO): Define new macro.
32833         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32835 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32837         [BZ #13954]
32838         [BZ #13955]
32839         [BZ #13956]
32840         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32841         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32842         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32843         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32844         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32845         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32846         * math/libm-test.inc (logb_test) : Additional logb tests.
32848 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32849             Andreas Jaeger  <aj@suse.de>
32851         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32852         * configure: Regenerated.
32853         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32854         * config.make.in (link-obsolete-rpc): New substituted variable.
32855         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32856         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32857         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32858         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32859         so that libc.a contains the symbols.
32860         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32861         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32862         * sunrpc/auth_none.c: Likewise.
32863         * sunrpc/auth_unix.c: Likewise.
32864         * sunrpc/authdes_prot.c: Likewise.
32865         * sunrpc/authuxprot.c: Likewise.
32866         * sunrpc/clnt_gen.c: Likewise.
32867         * sunrpc/clnt_perr.c: Likewise.
32868         * sunrpc/clnt_raw.c: Likewise.
32869         * sunrpc/clnt_simp.c: Likewise.
32870         * sunrpc/clnt_tcp.c: Likewise.
32871         * sunrpc/clnt_udp.c: Likewise.
32872         * sunrpc/clnt_unix.c: Likewise.
32873         * sunrpc/des_crypt.c: Likewise.
32874         * sunrpc/des_soft.c: Likewise.
32875         * sunrpc/get_myaddr.c: Likewise.
32876         * sunrpc/key_call.c: Likewise.
32877         * sunrpc/key_prot.c: Likewise.
32878         * sunrpc/netname.c: Likewise.
32879         * sunrpc/pm_getmaps.c: Likewise.
32880         * sunrpc/pm_getport.c: Likewise.
32881         * sunrpc/pmap_clnt.c: Likewise.
32882         * sunrpc/pmap_prot.c: Likewise.
32883         * sunrpc/pmap_prot2.c: Likewise.
32884         * sunrpc/pmap_rmt.c: Likewise.
32885         * sunrpc/publickey.c: Likewise.
32886         * sunrpc/rpc_cmsg.c: Likewise.
32887         * sunrpc/rpc_common.c: Likewise.
32888         * sunrpc/rpc_dtable.c: Likewise.
32889         * sunrpc/rpc_prot.c: Likewise.
32890         * sunrpc/rpc_thread.c: Likewise.
32891         * sunrpc/rtime.c: Likewise.
32892         * sunrpc/svc.c: Likewise.
32893         * sunrpc/svc_auth.c: Likewise.
32894         * sunrpc/svc_raw.c: Likewise.
32895         * sunrpc/svc_run.c: Likewise.
32896         * sunrpc/svc_tcp.c: Likewise.
32897         * sunrpc/svc_udp.c: Likewise.
32898         * sunrpc/svc_unix.c: Likewise.
32899         * sunrpc/svcauth_des.c: Likewise.
32900         * sunrpc/xcrypt.c: Likewise.
32901         * sunrpc/xdr.c: Likewise.
32902         * sunrpc/xdr_array.c: Likewise.
32903         * sunrpc/xdr_float.c: Likewise.
32904         * sunrpc/xdr_intXX_t.c: Likewise.
32905         * sunrpc/xdr_mem.c: Likewise.
32906         * sunrpc/xdr_rec.c: Likewise.
32907         * sunrpc/xdr_ref.c: Likewise.
32908         * sunrpc/xdr_sizeof.c: Likewise.
32909         * sunrpc/xdr_stdio.c: Likewise.
32911 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32913         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32914         change.  Update copyright years.
32916 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32918         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32920 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32921             Joseph Myers  <joseph@codesourcery.com>
32922             Paul Pluzhnikov  <ppluzhnikov@google.com>
32924         [BZ #14012]
32925         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32926         requiring rpcgen.
32927         [cross-compiling] (extra-libs): Likewise.
32928         [cross-compiling] (extra-libs-others): Likewise.
32929         [cross-compiling] (librpcsvc-routines): Likewise.
32930         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32931         [cross-compiling] (omit-deps): Likewise.
32932         (sunrpc-CPPFLAGS): New variable.
32933         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32934         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32935         (cross-rpcgen-objs): New variable.
32936         (extra-objs): Append $(cross-rpcgen-objs).
32937         ($(cross-rpcgen-objs)): New rule.
32938         ($(objpfx)cross-rpcgen): Likewise.
32939         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32940         comment.
32941         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32942         ($(objpfx)x%.stmp): Likewise.
32943         * sunrpc/proto.h [IS_IN_build] (_): Define.
32944         [IS_IN_build] (_libc_intl_domainname): Likewise.
32946 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32949         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32950         and R_X86_64_TPOFF64.
32952 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32954         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32955         sysdeps/unix/sysv/syscalls.list.
32956         (stime): Likewise.
32957         (utime): Likewise.
32958         * sysdeps/unix/sysv/syscalls.list: Remove file.
32960 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32962         [BZ #3440]
32963         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32964         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32965         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32966         (__LC_IDENTIFICATION): Make these macros useful in #if
32967         expressions, as required by C99.
32969 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32971         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32972         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32973         after this.
32975 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32977         * stdlib/longlong.h: Updated from GCC.
32979 2012-05-09  Andreas Jaeger  <aj@suse.de>
32981         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32982         default is first entry.
32983         (run_mode): Set type.
32984         (main): Remove informal message about syslog.
32985         (options): Fix typo.
32987         [BZ #14053]
32988         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32989         to asm.
32990         (lrint): Likewise.
32991         (llrintf): Likewise.
32992         (llrint): Likewise.
32993         (rint): Likewise.
32994         (rintf): Likewise.
32995         (nearbyint): Likewise.
32996         (nearbyintf): Likewise.
32998 2012-05-09  Andreas Jaeger  <aj@suse.de>
32999             Pedro Alves  <palves@redhat.com>
33001         * nscd/nscd.c (run_mode): Use enum.
33002         (main): Cleanup coding style issue.
33004 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33005             Andreas Jaeger  <aj@suse.de>
33007         * nscd/nscd.c (go_background): Replaced with...
33008         (run_mode): ... this.
33009         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33010         (options): Add -F --foreground.
33011         (main): Implement it.
33012         (parse_opt): Parse it.
33014 2012-05-09  Andreas Jaeger  <aj@suse.de>
33016         [BZ #14083]
33017         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33018         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33019         -Wconversion warning.
33020         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33021         Likewise.
33023 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33025         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33026         == 0.
33027         (LC_ALL): Use macro-int-constant.
33028         (LC_COLLATE): Likewise.
33029         (LC_CTYPE): Likewise.
33030         (LC_MESSAGES): Likewise.
33031         (LC_MONETARY): Likewise.
33032         (LC_NUMERIC): Likewise.
33033         (LC_TIME): Likewise.
33034         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33035         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33036         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33037         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33038         Specify type.
33039         [C99-based standards] (float_t): Expect type.
33040         [C99-based standards] (double_t): Expect type.
33041         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33042         type.
33043         [C99-based standards] (HUGE_VALL): Likewise.
33044         [C99-based standards] (INFINITY): Likewise.
33045         [C99-based standards] (NAN): Likewise.
33046         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33047         [C99-based standards] (FP_NAN): Likewise.
33048         [C99-based standards] (FP_NORMAL): Likewise.
33049         [C99-based standards] (FP_SUBNORMAL): Likewise.
33050         [C99-based standards] (FP_ZERO): Likewise.
33051         [C99-based standards] (FP_FAST_FMA): Use
33052         optional-macro-int-constant.  Specify type.  Require == 1.
33053         [C99-based standards] (FP_FAST_FMAF): Likewise.
33054         [C99-based standards] (FP_FAST_FMAL): Likewise.
33055         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33056         [C99-based standards] (FP_ILOGBNAN): Likewise.
33057         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33058         Specify type.
33059         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33060         [C99-based standards] (math_errhandling): Specify type.
33061         [ISO99 || ISO11] (signgam): Do not allow.
33062         [non-C99-based standards] (copysignf): Do not allow.
33063         [non-C99-based standards] (exp2f): Likewise.
33064         [non-C99-based standards] (log2f): Likewise.
33065         [non-C99-based standards] (modff): Allow.
33066         [non-C99-based standards] (erff): Do not allow.
33067         [non-C99-based standards] (erfcf): Likewise.
33068         [non-C99-based standards] (gammaf): Likewise.
33069         [non-C99-based standards] (hypotf): Likewise.
33070         [non-C99-based standards] (j0f): Likewise.
33071         [non-C99-based standards] (j1f): Likewise.
33072         [non-C99-based standards] (jnf): Likewise.
33073         [non-C99-based standards] (lgammaf): Likewise.
33074         [non-C99-based standards] (tgammaf): Likewise.
33075         [non-C99-based standards] (y0f): Likewise.
33076         [non-C99-based standards] (y1f): Likewise.
33077         [non-C99-based standards] (ynf): Likewise.
33078         [non-C99-based standards] (isnanf): Likewise.
33079         [non-C99-based standards] (acoshf): Likewise.
33080         [non-C99-based standards] (asinhf): Likewise.
33081         [non-C99-based standards] (atanhf): Likewise.
33082         [non-C99-based standards] (cbrtf): Likewise.
33083         [non-C99-based standards] (expm1f): Likewise.
33084         [non-C99-based standards] (ilogbf): Likewise.
33085         [non-C99-based standards] (log1pf): Likewise.
33086         [non-C99-based standards] (logbf): Likewise.
33087         [non-C99-based standards] (nextafterf): Likewise.
33088         [non-C99-based standards] (remainderf): Likewise.
33089         [non-C99-based standards] (rintf): Likewise.
33090         [non-C99-based standards] (scalbf): Likewise.
33091         [non-C99-based standards] (copysignl): Likewise.
33092         [non-C99-based standards] (exp2l): Likewise.
33093         [non-C99-based standards] (log2l): Likewise.
33094         [non-C99-based standards] (modfl): Allow.
33095         [non-C99-based standards] (erfl): Do not allow.
33096         [non-C99-based standards] (erfcl): Likewise.
33097         [non-C99-based standards] (gammal): Likewise.
33098         [non-C99-based standards] (hypotl): Likewise.
33099         [non-C99-based standards] (j0l): Likewise.
33100         [non-C99-based standards] (j1l): Likewise.
33101         [non-C99-based standards] (jnl): Likewise.
33102         [non-C99-based standards] (lgammal): Likewise.
33103         [non-C99-based standards] (tgammal): Likewise.
33104         [non-C99-based standards] (y0l): Likewise.
33105         [non-C99-based standards] (y1l): Likewise.
33106         [non-C99-based standards] (ynl): Likewise.
33107         [non-C99-based standards] (isnanl): Likewise.
33108         [non-C99-based standards] (acoshl): Likewise.
33109         [non-C99-based standards] (asinhl): Likewise.
33110         [non-C99-based standards] (atanhl): Likewise.
33111         [non-C99-based standards] (cbrtl): Likewise.
33112         [non-C99-based standards] (expm1l): Likewise.
33113         [non-C99-based standards] (ilogbl): Likewise.
33114         [non-C99-based standards] (log1pl): Likewise.
33115         [non-C99-based standards] (logbl): Likewise.
33116         [non-C99-based standards] (nextafterl): Likewise.
33117         [non-C99-based standards] (remainderl): Likewise.
33118         [non-C99-based standards] (rintl): Likewise.
33119         [non-C99-based standards] (scalbl): Likewise.
33120         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33121         [non-C99-based standards] (FP_*): Do not allow.
33122         [C99-based standards] (FP_*): Change to
33123         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33124         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33125         allow.
33126         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33127         (SIG_ERR): Likewise.
33128         [X/Open-based standards] (SIG_HOLD): Likewise.
33129         (SIG_IGN): Likewise.
33130         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33131         positive value.
33132         (SIGFPE): Likewise.
33133         (SIGILL): Likewise.
33134         (SIGINT): Likewise.
33135         (SIGSEGV): Likewise.
33136         (SIGTER): Likewise.
33137         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33138         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33139         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33140         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33141         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33142         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33143         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33144         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33145         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33146         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33147         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33148         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33149         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33150         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33151         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33152         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33153         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33154         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33155         [X/Open-based standards] (SIGTRAP): Likewise.
33156         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33157         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33158         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33159         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33160         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33161         allow.
33163 2012-05-08  Ian Wienand  <ianw@vmware.com>
33165         [BZ #14080]
33166         * time/tzset.c (__tzset_parse_tz): Update default rules for
33167         daylight time changes in the Energy Policy Act of 2005.
33169 2012-05-09  Andreas Jaeger  <aj@suse.de>
33171         [BZ #13983]
33172         * elf/ldconfig.c (parse_conf): Change string to make clear that
33173         ldconfig only issued a warning if ld.so.conf does not exist.
33175 2012-05-08  David S. Miller  <davem@davemloft.net>
33177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33178         movxtod instead of popping the value on the stack.
33180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33182 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33184         * config.h.in: Add HAVE_ARM_PCS_VFP.
33186 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33188         [BZ #13979]
33189         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33190         checking but the checks are disabled for any reason.
33192 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33194         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33195         and ELF64_R_TYPE with ELFW(R_TYPE).
33197 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33199         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33200         (ulimit): Likewise.
33202         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33203         (settimeofday): Likewise.
33205 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33207         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33208         a struct th_u2 inside the union, and move tu_block/tu_code into
33209         a new th_u3 union of tu_block/tu_code inside of that.  Move
33210         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33211         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33212         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33213         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33214         (th_stuff): Change to th_u1.tu_stuff.
33215         (th_data): Define.
33216         (th_msg): Change to th_u1.th_u2.tu_data.
33218 2012-05-07  David S. Miller  <davem@davemloft.net>
33220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33222         [BZ #14074]
33223         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33224         (SETUP_PIC_REG): Use it.
33225         (SETUP_PIC_REG_LEAF): Use it.
33227 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33229         [BZ #13885]
33230         [BZ #13923]
33231         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33232         USE_AS_EXPM1L.
33233         (EXPL_FINITE): Likewise.
33234         (FLDLOG): Likewise.
33235         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33236         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33237         e_expl.S.
33238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33239         USE_AS_EXPM1L.
33240         (EXPL_FINITE): Likewise.
33241         (FLDLOG): Likewise.
33242         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33243         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33244         e_expl.S.
33245         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33246         test of -max_value argument for long double.
33247         * sysdeps/i386/fpu/libm-test-ulps: Update.
33248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33250 2012-05-06  David S. Miller  <davem@davemloft.net>
33252         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33253         quad soft-float symbols whose references which are compiler
33254         generated.
33255         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33257 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33259         [BZ #13884]
33260         [BZ #13914]
33261         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33262         USE_AS_EXP10L.
33263         (EXPL_FINITE): Likewise.
33264         (FLDLOG): Likewise.
33265         (c0): Likewise.
33266         (c1): Likewise.
33267         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33268         Adjust comments for base varying.
33269         (__expl_finite): Change alias to EXPL_FINITE.
33270         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33271         e_expl.S.
33272         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33273         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33274         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33275         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33276         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33277         USE_AS_EXP10L.
33278         (EXPL_FINITE): Likewise.
33279         (FLDLOG): Likewise.
33280         (c0): Likewise.
33281         (c1): Likewise.
33282         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33283         Adjust comments for base varying.
33284         (__expl_finite): Change alias to EXPL_FINITE.
33285         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33286         tests for bugs.
33287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33289         [BZ #14064]
33290         * math/libm-test.inc (check_float_internal): Correct ulp
33291         calculation for subnormal expected results.
33293 2012-05-06  Andreas Jaeger  <aj@suse.de>
33295         * Makeconfig (+math-flags): New, set to -frounding-math.
33296         (+cflags): Add +math-flags so that all of glibc gets compiled with
33297         it.
33299         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33301 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33303         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33304         Disable one test.
33306         [BZ #13787]
33307         [BZ #13922]
33308         [BZ #14036]
33309         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33310         (__ieee754_expl): Allow for and saturate large arguments.
33311         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33312         (u_threshold): Likewise.
33313         (__exp): Call __ieee754_exp before checking for overflow and
33314         underflow.
33315         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33316         (u_threshold): Likewise.
33317         (__expf): Call __ieee754_expf before checking for overflow and
33318         underflow.
33319         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33320         (u_threshold): Likewise.
33321         (__expl): Call __ieee754_expl before checking for overflow and
33322         underflow.
33323         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33324         (__ieee754_expl): Allow for and saturate large arguments.
33325         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33326         missing overflow exception on overflow.
33327         (expm1_test): Do not allow missing overflow exception on overflow.
33329         * sysdeps/i386/fpu/e_expl.c: Move to ...
33330         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33331         rather than using inline asm.
33332         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33333         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33334         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33336         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33337         (nice): Likewise.
33338         (poll): Likewise.
33339         (signal): Likewise.
33340         (time): Likewise.
33341         (times): Likewise.
33343 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33345         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33346         sysdeps/unix/common/syscalls.list.
33347         (fchmod): Likewise.
33348         (fchown): Likewise.
33349         (ftruncate): Likewise.
33350         (getrusage): Likewise.
33351         (gettimeofday): Likewise.
33352         (setpgid): Likewise.
33353         (setregid): Likewise.
33354         (setreuid): Likewise.
33355         (sigaction): Likewise.
33356         (truncate): Likewise.
33357         (vhangup): Likewise.
33358         * sysdeps/unix/common/syscalls.list: Remove file.
33359         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33360         * sysdeps/unix/sysv/linux/Implies: Likewise.
33362 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33364         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33366         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33367         Moved to ...
33368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33369         Here.
33370         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33371         to ...
33372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33373         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33374         to ...
33375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33376         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33377         to ...
33378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33379         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33380         to ...
33381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33382         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33383         to ...
33384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33385         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33386         to ...
33387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33388         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33389         to ...
33390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33391         Here.
33392         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33393         to ...
33394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33395         Here.
33396         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33397         to ...
33398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33399         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33400         Moved to ...
33401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33402         Here.
33403         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33404         to ...
33405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33407 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33409         * sysdeps/unix/common/bits/dirent.h: Remove file.
33410         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33412         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33413         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33414         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33415         * sysdeps/unix/bsd/isatty.c: Likewise.
33416         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33417         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33418         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33420 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33422         [BZ #13563]
33423         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33424         long double comparison inaccuracies.
33425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33428 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33430         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33431         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33433 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33435         [BZ #14049]
33436         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33437         nonzero digits before rounding a hex value.
33438         * stdlib/tst-strtod.c (tests): Add another test.
33440 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33442         * sysdeps/s390/fpu/libm-test-ulps: Update.
33444 2012-05-03  Andreas Jaeger  <aj@suse.de>
33446         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33447         does not get optimized out.
33448         (malloc_opt_barrier): New.
33450 2012-05-03  Andreas Jaeger  <aj@suse.de>
33451             Roland McGrath  <roland@hack.frob.com>
33453         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33454         intermediate file deletion.
33455         (generated): Add .symlist files.
33457 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33459         [BZ #13775]
33460         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33461         Redirect under this condition.
33462         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33463         [__USE_GNU] (__dprintf_chk): Not under this condition.
33464         [__USE_GNU] (__vdprintf_chk): Likewise.
33465         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33466         under this condition.
33467         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33468         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33469         [__USE_XOPEN2K8] (vdprintf): Likewise.
33470         [__USE_GNU] (__dprintf_chk): Not under this condition.
33471         [__USE_GNU] (__vdprintf_chk): Likewise.
33472         [__USE_GNU] (dprintf): Likewise.
33473         [__USE_GNU] (vdprintf): Likewise.
33475 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33477         * elf/Makefile (common-generated): Set this instead of generated for
33478         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33479         $(all-built-dso)-derived lists.
33481 2012-05-03  Andreas Jaeger  <aj@suse.de>
33483         * sysdeps/i386/fpu/libm-test-ulps: Update.
33485         * FAQ: Removed.
33486         * FAQ.in: Likewise.
33487         * scripts/gen-FAQ.pl: Likewise.
33488         * manual/install.texi (Installation): Point to online location of
33489         FAQ.
33490         * Makefile (files-for-dist): Remove FAQ.
33491         (FAQ): Remove.
33493 2012-05-02  Allan McRae  <allan@archlinux.org>
33495         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33496         (LDFLAGS-reldepmod5.so): Likewise.
33497         (LDFLAGS-reldep6mod1.so): Likewise.
33498         (LDFLAGS-reldep6mod4.so): Likewise.
33499         (LDFLAGS-reldep8mod3.so): Likewise.
33500         (LDFLAGS-unload4mod1.so): Likewise.
33501         (LDFLAGS-unload4mod2.so): Likewise.
33502         (LDFLAGS-tst-initorder): Likewise.
33503         (LDFLAGS-tst-initordera2.so): Likewise.
33504         (LDFLAGS-tst-initordera3.so): Likewise.
33505         (LDFLAGS-tst-initordera4.so): Likewise.
33506         (LDFLAGS-tst-initorderb2.so): Likewise.
33507         (LDFLAGS-noload): Likewise.
33508         (LDFLAGS-next): Likewise.
33509         (LDFLAGS-order2mod1.so): Likewise.
33510         (LDFLAGS-order2mod2.so): Likewise.
33511         (LDFLAGS-tst-initorder2): Likewise.
33512         (LDFLAGS-tst-initorder2a.so): Likewise.
33513         (LDFLAGS-tst-initorder2b.so): Likewise.
33514         (LDFLAGS-tst-initorder2c.so): Likewise.
33515         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33517 2012-05-02  David S. Miller  <davem@davemloft.net>
33519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33521 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33523         [BZ #14055]
33524         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33526 2012-05-02  Andreas Jaeger  <aj@suse.de>
33528         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33529         since we manipulate rounding mode.
33530         (CPPFLAGS-test-idouble.c): Likewise.
33531         (CPPFLAGS-test-ifloat.c): Likewise.
33532         (CFLAGS-test-ldouble.c): Likewise.
33533         (CFLAGS-test-double.c): Likewise.
33534         (CFLAGS-test-float.c): Likewise.
33535         (CFLAGS-test-misc.c): Likewise.
33536         (CFLAGS-test-test-fenv.c): Likewise.
33538 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33540         [BZ #2550]
33541         [BZ #2570]
33542         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33543         comparisons to determine direction to adjust input.
33545 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33547         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33548         output to the target.
33550         * scripts/localplt.awk: New file.
33551         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33552         (check-localplt-CFLAGS): Variable removed.
33553         ($(all-built-dso:=.jmprel)): New static pattern rule.
33554         (generated): Add those targets.
33555         (localplt-built-dso): New variable.
33556         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33558         * elf/check-localplt.c: File removed.
33560         * scripts/check-execstack.awk: New file.
33561         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33562         (check-execstack-CFLAGS): Variable removed.
33563         ($(objpfx)check-execstack.h): Target removed.
33564         ($(objpfx)execstack-default): New target.
33565         (generated): Add that instead of check-execstack.h.
33566         ($(all-built-dso:=.phdr)): New static pattern rule.
33567         (generated): Add those targets.
33568         * elf/check-execstack.c: File removed.
33570         * scripts/check-textrel.awk: New file.
33571         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33572         (check-textrel-CFLAGS): Variable removed.
33573         (all-built-dso): Use := to define.o
33574         ($(all-built-dso:=.dyn)): New static pattern rule.
33575         (generated): Add those targets.
33576         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33577         * config.make.in (READELF): New substituted variable.
33578         * elf/check-textrel.c: File removed.
33580 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33582         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33583         allow.
33584         * conform/data/ctype.h-data [C99-based standards] (isblank):
33585         Expect function.
33586         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33587         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33588         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33589         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33590         Specify type.  Require positive value.
33591         (EILSEQ): Likewise.
33592         (ERANGE): Likewise.
33593         [ISO || POSIX] (EILSEQ): Do not expect.
33594         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33595         Specify type.  Require positive value.
33596         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33597         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33598         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33599         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33600         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33601         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33602         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33603         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33604         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33605         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33606         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33607         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33608         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33609         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33610         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33611         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33612         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33613         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33614         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33615         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33616         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33617         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33618         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33619         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33620         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33621         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33622         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33623         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33624         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33625         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33626         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33627         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33628         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33629         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33630         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33631         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33632         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33633         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33634         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33635         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33636         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33637         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33638         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33639         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33640         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33641         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33642         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33643         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33644         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33645         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33646         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33647         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33648         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33649         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33650         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33651         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33652         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33653         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33654         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33655         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33656         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33657         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33658         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33659         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33660         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33661         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33662         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33663         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33664         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33665         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33666         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33667         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33668         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33669         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33670         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33671         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33672         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33673         Require >= 2.
33674         (FLT_ROUNDS): Expect as macro, not constant.
33675         (FLT_MANT_DIG): Use macro-int-constant.
33676         (DBL_MANT_DIG): Likewise.
33677         (LDBL_MANT_DIG): Likewise.
33678         (FLT_DIG): Likewise.
33679         (DBL_DIG): Likewise.
33680         (LDBL_DIG): Likewise.
33681         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33682         (DBL_MIN_EXP): Likewise.
33683         (LDBL_MIN_EXP): Likewise.
33684         (FLT_MAX_EXP): Use macro-int-constant.
33685         (DBL_MAX_EXP): Likewise.
33686         (LDBL_MAX_EXP): Likewise.
33687         (FLT_MAX_10_EXP): Likewise.
33688         (DBL_MAX_10_EXP): Likewise.
33689         (LDBL_MAX_10_EXP): Likewise.
33690         (FLT_MAX): Use macro-constant.
33691         (DBL_MAX): Likewise.
33692         (LDBL_MAX): Likewise.
33693         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33694         (DBL_EPSILON): Likewise.
33695         (LDBL_EPSILON): Likewise.
33696         (FLT_MIN): Likewise.
33697         (DBL_MIN): Likewise.
33698         (LDBL_MIN): Likewise.
33699         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33700         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33701         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33702         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33703         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33704         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33705         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33706         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33707         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33708         [ISO11] (FLT_TRUE_MIN): Likewise.
33709         [ISO11] (LDBL_TRUE_MIN): Likewise.
33710         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33711         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33712         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33713         (SCHAR_MAX): Likewise.
33714         (UCHAR_MAX): Likewise.
33715         (CHAR_MIN): Likewise.
33716         (CHAR_MAX): Likewise.
33717         (MB_LEN_MAX): Use macro-int-constant.
33718         (SHRT_MIN): Use macro-int-constant.  Specify type.
33719         (SHRT_MAX): Likewise.
33720         (USHRT_MAX): Likewise.
33721         (INT_MAX): Likewise.
33722         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33723         bound negative.
33724         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33725         bound with "U".
33726         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33727         bound with "L".
33728         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33729         bound negative.  Suffix upper bound with "L".
33730         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33731         bound with "UL".
33732         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33733         Specify type.
33734         [C99-based standards] (LLONG_MAX): Likewise.
33735         [C99-based standards] (ULLONG_MAX): Likewise.
33736         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33737         == 0.
33738         [ISO11] (max_align_t): Require type.
33739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33741         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33742         from $CFLAGS, without defining away __attribute__ calls.
33743         (checknamespace): Use $CFLAGS_namespace.
33745         * conform/conformtest.pl (@keywords): Only include C99 keywords
33746         for standards based on C99 or C11.
33748         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33749         Disable tests.
33750         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33751         UNIX98]: Likewise.
33753         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33754         usability of symbols in #if.
33756         * conform/conformtest.pl: If macro or constant types start
33757         "promoted:", expect the symbol to be of the following type
33758         promoted by the integer promotions.
33760         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33761         in one place.  Also handle "macro-constant".
33763         * conform/conformtest.pl: Only accept expected macro values with
33764         "==".  Parse all "macro" lines in one place.
33765         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33767         * conform/conformtest.pl: Handle braced types on "constant" lines
33768         instead of handling "typed-constant".
33769         * conform/data/signal.h-data: Use "constant" instead of
33770         "typed-constant".
33772         * conform/conformtest.pl: Handle "optional-" at start of lines in
33773         one place rather than duplicating several cases.  Handle each
33774         format of "macro" line with initial "optional-".
33776         * conform/conformtest.pl: Only accept expected constant or
33777         optional-constant values with "==".  Parse all "constant" lines in
33778         one place.  Parse all "optional-constant" lines in one place.
33779         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33780         * conform/data/fmtmsg.h-data: Likewise.
33781         * conform/data/netinet/in.h-data: Likewise.
33782         * conform/data/tar.h-data: Likewise.
33783         * conform/data/limits.h-data: Use "==" form on "constant" and
33784         "optional-constant" lines.
33786         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33787         Use -std=c99 for XOPEN2K.
33788         (@knownproblems): Remove.
33789         (newtoken): Don't check %isknown.
33791         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33792         Do not expect macro.
33793         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33805         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33806         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33823         [XPG3] (acosh): Likewise.
33824         [XPG3] (asinh): Likewise.
33825         [XPG3] (atanh): Likewise.
33826         [XPG3] (cbrt): Likewise.
33827         [XPG3] (expm1): Likewise.
33828         [XPG3] (ilogb): Likewise.
33829         [XPG3] (log1p): Likewise.
33830         [XPG3] (logb): Likewise.
33831         [XPG3] (nextafter): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33834         [XPG3] (remainder): Likewise.
33835         [XPG3] (rint): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33843         [UNIX98 || XOPEN2K] (scalb): Expect.
33844         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33845         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33846         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33847         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33898         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33899         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33900         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33901         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33902         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33903         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33904         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33905         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33906         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33907         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33908         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33909         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33910         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33911         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33912         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33913         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33914         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33915         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33916         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33917         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33918         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33919         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33920         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33921         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33922         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33923         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33924         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33925         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33926         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33927         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33928         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33929         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33930         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33931         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33932         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33933         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33934         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33935         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33936         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33937         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33938         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33939         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33940         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33941         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33942         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33943         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33944         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33945         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33946         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33947         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33948         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33949         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33950         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33951         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33952         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33953         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33954         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33955         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33956         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33957         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33958         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33959         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33960         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33961         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33962         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33963         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33964         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33965         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33966         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33967         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33968         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33969         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33970         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33971         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33972         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33973         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33974         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33975         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33976         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33977         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33978         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33979         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33980         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33982         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33983         _XOPEN_SOURCE_EXTENDED for XPG4.
33985         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33987         * Makeconfig (localtime): Remove variable.
33988         (inst_localtime-file): Likewise.
33990 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33993         Update.
33994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33995         Update.
33996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33997         Update.
33998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33999         Update.
34000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34001         Update.
34002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34003         Update.
34004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34005         Update.
34006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34007         Update.
34008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34009         Update.
34011 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34013         [BZ #2550]
34014         [BZ #2570]
34015         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34016         comparisons to determine direction to adjust input.
34017         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34018         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34019         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34020         Likewise.
34021         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34022         Likewise.
34023         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34024         Likewise.
34025         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34026         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34027         Likewise.
34028         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34029         Likewise.
34030         * math/libm-test.inc (nexttoward_test): Add more tests.
34032 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34034         [BZ #14040]
34035         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34036         in version GLIBC_2.1, not GLIBC_2.0.
34037         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34038         Likewise.
34040 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34042         [BZ #13942]
34043         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34044         (1 - x) * (1 + x).
34045         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34046         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34047         * math/libm-test.inc (acos_test): Add more tests.
34048         (asin_test): Likewise.
34049         * sysdeps/i386/fpu/libm-test-ulps: Update.
34050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34052         [BZ #14034]
34053         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34054         of square root.
34055         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34056         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34057         * math/libm-test.inc (acos_test_tonearest): New function.
34058         (acos_test_towardzero): Likewise.
34059         (acos_test_downward): Likewise.
34060         (acos_test_upward): Likewise.
34061         (asin_test_tonearest): Likewise.
34062         (asin_test_towardzero): Likewise.
34063         (asin_test_downward): Likewise.
34064         (asin_test_upward): Likewise.
34065         (main): Call the new functions.
34066         * sysdeps/i386/fpu/libm-test-ulps: Update.
34067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34069         [BZ #13884]
34070         [BZ #13924]
34071         * math/e_exp10.c: Include <float.h>.
34072         (__ieee754_exp10): Handle underflow here rather than multiplying
34073         large negative argument by M_LN10.
34074         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34075         of __ieee754_expf.
34076         * math/e_exp10l.c: Include <float.h>.
34077         (__ieee754_exp10l): Handle underflow here rather than multiplying
34078         large negative argument by M_LN10l.
34079         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34080         spurious overflow exception on underflow.
34082 2012-04-29  Marek Polacek  <polacek@redhat.com>
34084         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34085         (__fortify_function): New macro.
34086         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34087         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34088         __extern_always_inline.
34089         * libio/bits/stdio2.h: Likewise.
34090         * libio/bits/stdio.h: Likewise.
34091         * string/string.h: Likewise.
34092         * string/bits/string3.h: Likewise.
34093         * include/stdio.h: Likewise.
34094         * stdlib/bits/stdlib.h: Likewise.
34095         * stdlib/stdlib.h: Likewise.
34096         * rt/bits/mqueue2.h: Likewise.
34097         * rt/mqueue.h: Likewise.
34098         * posix/bits/unistd.h: Likewise.
34099         * posix/unistd.h: Likewise.
34100         * io/bits/poll2.h: Likewise.
34101         * io/bits/fcntl2.h: Likewise.
34102         * io/fcntl.h: Likewise.
34103         * io/sys/poll.h: Likewise.
34104         * misc/bits/syslog.h: Likewise.
34105         * misc/bits/syslog-ldbl.h: Likewise.
34106         * misc/sys/syslog.h: Likewise.
34107         * socket/bits/socket2.h: Likewise.
34108         * socket/sys/socket.h: Likewise.
34109         * debug/tst-chk1.c: Likewise.
34110         * wcsmbs/bits/wchar2.h: Likewise.
34111         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34112         * wcsmbs/wchar.h: Likewise.
34114 2012-04-29  Andreas Jaeger  <aj@suse.de>
34116         * Makerules (tests): Remove enable-check-abi protection.
34117         (check-abi-warn): Remove.
34118         (check-abi-%): Remove check-abi-warn usage.
34120         * configure.in: Remove check-abi configure option.
34121         * configure: Regenerated.
34122         * config.make.in (enable-check-abi): Remove.
34124 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34126         [BZ #14033]
34127         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34128         double functions to double *_finite functions.
34130         [BZ #13941]
34131         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34132         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34133         LDBL_MIN_EXP.
34134         * stdio-common/Makefile (tests): Add tst-sprintf3.
34135         * stdio-common/tst-sprintf3.c: New file.
34137         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34138         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34140 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34142         * conform/conformtest.pl: Remove duplicate typed-constant
34143         handling.
34145 2012-04-28  David S. Miller  <davem@davemloft.net>
34147         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34148         (check-abi-%): Remove AWK script prerequisite and explicit
34149         abilist directory.
34150         (check-abi): Rewrite to just diff the symlist with the abilist.
34151         (config-tls, config-abi-config): Delete, no longer used.
34152         (update-abi-%): Remove AWK script and explicit abilist directory.
34153         (update-abi): Rewrite to simply compare and conditionally copy the
34154         symlist and the sysdep abilist file.  Remove update-abi-config
34155         checks.
34156         * abilist/ld.abilist: Remove.
34157         * abilist/libBrokenLocale.abilist: Remove.
34158         * abilist/libanl.abilist: Remove.
34159         * abilist/libcrypt.abilist: Remove.
34160         * abilist/libdl.abilist: Remove.
34161         * abilist/librt.abilist: Remove.
34162         * abilist/libthread_db.abilist: Remove.
34163         * abilist/libutil.abilist: Remove.
34164         * scripts/extract-abilist.awk: Remove.
34165         * scripts/merge-abilist.awk: Remove.
34166         * sysdeps/generic/libcidn.abilist: New file.
34167         * sysdeps/generic/libnss_compat.abilist: New file.
34168         * sysdeps/generic/libnss_db.abilist: New file.
34169         * sysdeps/generic/libnss_dns.abilist: New file.
34170         * sysdeps/generic/libnss_files.abilist: New file.
34171         * sysdeps/generic/libnss_hesiod.abilist: New file.
34172         * sysdeps/generic/libnss_nis.abilist: New file.
34173         * sysdeps/generic/libnss_nisplus.abilist: New file.
34174         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34175         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34176         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34177         file.
34178         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34179         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34180         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34181         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34182         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34183         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34184         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34185         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34186         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34187         file.
34188         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34189         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34190         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34191         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34192         file.
34193         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34194         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34195         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34196         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34197         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34198         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34199         file.
34200         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34201         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34202         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34203         file.
34204         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34206         New file.
34207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34208         New file.
34209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34210         New file.
34211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34212         New file.
34213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34214         New file.
34215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34216         New file.
34217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34218         New file.
34219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34220         New file.
34221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34222         New file.
34223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34224         New file.
34225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34226         New file.
34227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34228         New file.
34229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34230         New file.
34231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34232         file.
34233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34234         New file.
34235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34236         New file.
34237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34238         file.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34240         New file.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34242         New file.
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34244         file.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34246         New file.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34248         New file.
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34250         New file.
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34252         New file.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34254         New file.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34256         New file.
34257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34259         file.
34260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34261         New file.
34262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34263         file.
34264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34265         file.
34266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34267         file.
34268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34269         file.
34270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34271         file.
34272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34273         New file.
34274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34275         file.
34276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34277         file.
34278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34279         New file.
34280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34281         file.
34282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34284         file.
34285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34286         New file.
34287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34288         file.
34289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34290         file.
34291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34292         file.
34293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34294         file.
34295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34296         file.
34297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34298         New file.
34299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34300         file.
34301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34302         file.
34303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34304         New file.
34305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34306         file.
34307         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34308         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34309         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34310         file.
34311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34312         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34313         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34314         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34315         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34316         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34317         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34318         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34319         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34320         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34323         file.
34324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34325         New file.
34326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34327         file.
34328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34329         file.
34330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34331         file.
34332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34333         file.
34334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34335         file.
34336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34337         New file.
34338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34339         New file.
34340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34341         file.
34342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34343         New file.
34344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34345         file.
34346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34348         file.
34349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34350         New file.
34351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34352         file.
34353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34354         file.
34355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34356         file.
34357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34358         file.
34359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34360         file.
34361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34362         New file.
34363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34364         New file.
34365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34366         file.
34367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34368         New file.
34369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34370         file.
34372 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34374         * conform/conformtest.pl: Fix typo in handling typed-constant from
34375         allow-header.
34377 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34379         * README: Cut down references to pre-2.6 Linux kernels and
34380         Linuxthreads.  Update lists of configurations in libc and ports
34381         and sort alphabetically.  Say "or newer" with Linux kernel version
34382         requirements.
34384         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34386 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34388         [BZ #887]
34389         * math/libm-test.inc (logb_test_downward): New test to expose
34390         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34391         rounding mode.
34393 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34395         [BZ #14027]
34396         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34397         to be done.
34398         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34399         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34401 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34403         * sysdeps/unix/i386/brk.S: Remove file.
34404         * sysdeps/unix/i386/dl-brk.S: Likewise.
34405         * sysdeps/unix/i386/pipe.S: Likewise.
34406         * sysdeps/unix/i386/sigreturn.S: Likewise.
34407         * sysdeps/unix/i386/syscall.S: Likewise.
34408         * sysdeps/unix/i386/vfork.S: Likewise.
34409         * sysdeps/unix/i386/wait.S: Likewise.
34411         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34412         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34414         * configure.in (arm*-none*): Do not allow without
34415         --enable-hacker-mode.
34416         (netbsd*): Remove case setting base_os.
34417         (386bsd*): Likewise.
34418         (freebsd*): Likewise.
34419         (bsdi*): Likewise.
34420         (osf*): Likewise.
34421         (sunos*): Likewise.
34422         (ultrix*): Likewise.
34423         (newsos*): Likewise.
34424         (dynix*): Likewise.
34425         (*bsd*): Likewise.
34426         (sysv*): Likewise.
34427         (isc*): Likewise.
34428         (esix*): Likewise.
34429         (sco*): Likewise.
34430         (minix*): Likewise.
34431         (irix4*): Likewise.
34432         (irix6*): Likewise.
34433         (solaris[2-9]*): Likewise.
34434         (none): Likewise.
34435         * configure: Regenerated.
34437 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34439         [BZ #11521]
34440         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34441         overflow or cancellation in calculating denominator.
34442         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34444         down expression to avoid unexpected rounding in newer GCCs.
34445         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34447 2012-04-26  David S. Miller  <davem@davemloft.net>
34449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34450         long-double compat symbols.
34451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34465 2012-04-25  David S. Miller  <davem@davemloft.net>
34467         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34468         HWCAP_* values only after the memory barriers have been defined.
34469         (atomic_full_barrier): Define.
34470         (atomic_read_barrier): Define.
34471         (atomic_write_barrier): Define.
34473 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34475         * shlib-versions: Add libgcc_s version information.
34476         * sysdeps/generic/libgcc_s.h: Remove.
34477         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34478         libgcc_s.h.
34479         * sysdeps/gnu/unwind-resume.c: Likewise.
34480         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34482 2012-04-25  David S. Miller  <davem@davemloft.net>
34484         * sysdeps/unix/sparc/brk.S: Delete.
34485         * sysdeps/unix/sparc/dl-brk.S: Delete.
34486         * sysdeps/unix/sparc/pipe.S: Delete.
34487         * sysdeps/unix/sparc/sysdep.S: Delete.
34488         * sysdeps/unix/sparc/sysdep.h: Delete.
34489         * sysdeps/unix/sparc/vfork.S: Delete.
34490         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34491         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34492         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34493         (ret_ERRVAL, r0, r1, MOVE): Define.
34494         (JUMPTARGET): Remove.
34495         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34496         sysdeps/unix/sparc/sysdep.h
34497         (ENTRY, END): Remove.
34498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34500 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34502         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34503         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34504         -DIS_IN_build.
34506         * timezone/README: Update upstream location and email address for
34507         tzcode and tzdata.
34508         * timezone/zdump.c: Update from tzcode 2012b.
34509         * timezone/zic.c: Likewise.
34511         * configure.in (libc_cv_as_needed): Remove test.
34512         * configure: Regenerated.
34513         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34514         conditional definition.
34515         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34516         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34517         * config.make.in (have-as-needed): Remove variable.
34519 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34520             Paul Pluzhnikov  <ppluzhnikov@google.com>
34522         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34523         strings correctly.
34525 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34527         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34528         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34529         * sysdeps/sh/strlen.S: Likewise.
34531 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34533         * sysdeps/unix/fork.S: Remove file.
34534         * sysdeps/unix/i386/fork.S: Likewise.
34535         * sysdeps/unix/sparc/fork.S: Likewise.
34537         * sysdeps/unix/system.c: Remove file.
34538         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34540         * sysdeps/unix/getegid.S: Remove file.
34541         * sysdeps/unix/geteuid.S: Likewise.
34543 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34545         * scripts/check-localplt.awk: New file.
34546         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34547         of diff.
34548         * scripts/data/localplt-generic.data: Add a comment.
34550         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34551         NODE when __dir_mkfile failed.
34552         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34553         Reported by Ludovic Courtès <ludo@gnu.org>.
34555 2012-04-24  Andreas Jaeger  <aj@suse.de>
34557         * Makerules (common-clean): Also remove gen-as-const-headers
34558         files.
34560 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34562         * Makerules (native-compile): Do not change working directory for
34563         build.  Use $(OUTPUT_OPTION) in command.
34564         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34566 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34568         [BZ #13886]
34569         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34570         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34571         * math/libm-test.inc (floor_test): Add more tests.
34572         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34574 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34576         * sysdeps/unix/getdents.c: Remove file.
34577         * sysdeps/unix/sysv/getdents.c: Likewise.
34578         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34580         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34581         sysdeps/unix/mman/syscalls.list.
34582         (mmap): Likewise.
34583         (mprotect): Likewise.
34584         (msync): Likewise.
34585         (munmap): Likewise.
34586         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34587         * sysdeps/unix/mman/syscalls.list: Remove.
34588         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34590         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34591         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34592         * configure: Regenerated.
34593         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34594         $(libgcc_s_suffix).
34595         * config.make.in (libgcc_s_suffix): Remove variable.
34597 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34599         * sysdeps/unix/sysv/gethostname.c: Move to ...
34600         * sysdeps/posix/gethostname.c: ... here.
34602         * sysdeps/unix/execve.S: Remove file.
34604         * sysdeps/unix/_exit.S: Remove file.
34606 2012-04-23  Andreas Jaeger  <aj@suse.de>
34608         [BZ #13739]
34609         * manual/Makefile: Remove make dist support, there's no
34610         need for a stand-alone documentation tar ball.
34611         (TEXI2DVI): Define always, it's not in Makeconfig.
34612         (dist): Removed.
34613         (tar-it): Removed.
34614         (edition): Removed.
34615         (glibc-doc-$(edition).tar): Removed
34616         (%.Z): Removed.
34617         (%.gz): Removed.
34618         (%.uu): Removed.
34619         (ETAGS): Remove, it's in Makeconfig.
34620         (move-if-change): Remove, it's in Makeconfig.
34622 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34624         [BZ #13970]
34625         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34626         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34627         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34628         (strtod_l, strtof_l, strtold_l): Remove __wur.
34629         It is not necessarily an error to ignore strtol's return value.
34630         One can reliably look at the stored endptr to decide whether
34631         the number had valid syntax.
34633 2012-04-21  Andreas Jaeger  <aj@suse.de>
34635         [BZ #13739]
34636         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34638 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34640         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34641         * sysdeps/unix/sysv/Versions: Remove file.
34643 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34645         [BZ #13927]
34646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34648 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34650         [BZ #7064]
34651         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34652         version from __vm86.
34654 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34656         * sysdeps/unix/common/lxstat.c: Remove file.
34657         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34659         * sysdeps/unix/sysv/Makefile: Remove file.
34661         * sysdeps/unix/sysv/direct.h: Remove file.
34663         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34664         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34665         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34666         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34667         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34668         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34669         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34671         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34673         * sysdeps/unix/xmknod.c: Remove file.
34674         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34676         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34678         * sysdeps/unix/sysv/i386/time.S: Remove file.
34680         * sysdeps/unix/fxstat.c: Remove file.
34681         * sysdeps/unix/xstat.c: Likewise.
34682         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34684         * sysdeps/unix/sysv/sigaction.c: Remove file.
34686         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34687         (sysdep_headers): Remove variable.
34688         [termio.h not in sysdep_headers] (generated): Likewise.
34689         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34690         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34691         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34692         * sysdeps/unix/sysv/tcflow.c: Likewise.
34693         * sysdeps/unix/sysv/tcflush.c: Likewise.
34694         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34695         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34696         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34697         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34698         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34700         * sysdeps/unix/siglist.c: Remove file.
34702         * sysdeps/unix/getppid.S: Remove file.
34704         * sysdeps/unix/mkdir.c: Remove file.
34705         * sysdeps/unix/rmdir.c: Likewise.
34707 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34709         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34710         ERR_MAX value.
34711         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34712         errlist-compat value.
34714 2012-04-18  David S. Miller  <davem@davemloft.net>
34716         * sysdeps/generic/memcopy.h (reg_char): Delete.
34717         * debug/strcat_chk.c: Use char, not reg_char.
34718         * debug/strcpy_chk.c: Likewise.
34719         * debug/strncat_chk.c: Likewise.
34720         * debug/strncpy_chk.c: Likewise.
34721         * string/memchr.c: Likewise.
34722         * string/memrchr.c: Likewise.
34723         * string/rawmemchr.c: Likewise.
34724         * string/strcat.c: Likewise.
34725         * string/strchr.c: Likewise.
34726         * string/strchrnul.c: Likewise.
34727         * string/strcmp.c: Likewise.
34728         * string/strcpy.c: Likewise.
34729         * string/strncat.c: Likewise.
34730         * string/strncmp.c: Likewise.
34731         * string/strncpy.c: Likewise.
34733 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34735         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34736         __builtin_memcopy is called when src and dest ranges are known to not
34737         overlap.
34739 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34741         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34742         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34743         fwd_align_merge macro call.
34744         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34745         bwd_align_merge macro call.
34746         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34748 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34750         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34751         bwd_align_merge macros.
34752         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34753         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34754         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34756 2012-04-18  David S. Miller  <davem@davemloft.net>
34758         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34760 2012-04-18  Andreas Jaeger  <aj@suse.de>
34762         [BZ# 6794]
34763         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34764         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34765         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34767         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34768         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34769         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34771         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34772         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34773         Adjust for changed ldbl-128 files.
34775         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34776         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34777         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34779 2012-04-17  David S. Miller  <davem@davemloft.net>
34781         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34783 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34785         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34786         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34787         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34788         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34789         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34790         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34792 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34794         [BZ #6794]
34795         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34796         * math/libm-test.inc: Add ilogb errno and exception tests.
34797         * math/w_ilogb.c: New file: ilogb wrapper.
34798         * math/w_ilogbf.c: New file: ilogbf wrapper.
34799         * math/w_ilogbl.c: New file: ilogbl wrapper.
34800         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34801         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34802         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34803         exception being thrown with 0.0 as argument.
34804         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34805         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34806         exception being thrown with 0.0 as argument.
34807         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34808         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34809         exception being thrown with 0.0 as argument.
34810         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34811         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34812         exception being thrown with 0.0 as argument.
34813         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34814         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34815         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34816         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34817         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34818         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34819         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34820         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34821         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34823 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34825         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34826         with altivec.
34828 2012-04-16  Marek Polacek  <polacek@redhat.com>
34830         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34832 2012-04-16  Marek Polacek  <polacek@redhat.com>
34834         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34835         operands of fdivp instruction.
34837 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34839         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34840         * elf/tst-auditmod3b.c: Likewise.
34841         * elf/tst-auditmod4b.c: Likewise.
34842         * elf/tst-auditmod5b.c: Likewise.
34843         * elf/tst-auditmod6b.c: Likewise.
34844         * elf/tst-auditmod6c.c: Likewise.
34845         * elf/tst-auditmod7b.c: Likewise.
34846         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34847         * sysdeps/x86_64/preconfigure.in: Likewise.
34848         * sysdeps/x86_64/preconfigure: Regenerated.
34850 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34852         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34853         __ILP32__.
34855 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34857         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34858         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34860 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34862         [BZ #13973]
34863         * locale/iso-639.def: Fix gl language name. Spotted by
34864         Yaron Shahrabani.
34866 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34868         [BZ #2074]
34869         * libio/libio.h (__io_write_fn): Update comment.
34871 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34873         [BZ #2074]
34874         * stdio.texi (Hook Functions): The user provided writer function
34875         is not allowed to return -1.
34877 2012-04-11  David S. Miller  <davem@davemloft.net>
34879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34881 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34883         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34884         Add a leading slash to rtkaio.
34886 2012-04-11  Jim Meyering  <meyering@redhat.com>
34888         [BZ #11959]
34889         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34890         It is not necessarily an error to ignore fwrite's return
34891         value.  One can reliably use ferror to test for errors after
34892         the fact.
34894 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34896         * bits/types.h (__snseconds_t): New type.
34897         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34899         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34900         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34901         (__SNSECONDS_T_TYPE): Likewise.
34902         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34903         (__SNSECONDS_T_TYPE): Likewise.
34904         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34905         (__SNSECONDS_T_TYPE): Likewise.
34907 2012-04-10  Andreas Jaeger  <aj@suse.de>
34909         [BZ #2636]
34910         * manual/time.texi (Processor Time): Return type of times is
34911         elapsed real time since an arbitrary point in the past.
34912         (CPU Time): Move CLK_TCK from here...
34913         (Processor Time): ...to here.  Correct description.
34914         * manual/conf.texi (Constants for Sysconf): Correct description of
34915         _SC_CLK_TCK.
34917 2012-04-10  David S. Miller  <davem@davemloft.net>
34919         [BZ #13967]
34920         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34921         where the is a gap between DT_REL(A) and DT_JMPREL.
34923 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34925         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34926         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34927         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34929 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34931         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34932         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34933         (dl_main): Handle --inhibit-cache.
34934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34935         _dl_inhibit_cache.
34936         * elf/dl-load.c (_dl_map_object): Use it.
34937         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34939 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34941         [BZ #13872]
34942         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34943         (__ieee754_powl): Saturate large exponents rather than testing for
34944         overflow of y*log2(x).
34945         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34946         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34947         exceptions.
34949         [BZ #11521]
34950         * math/s_ctan.c: Include <float.h>.
34951         (__ctan): Avoid internal overflow or cancellation in calculating
34952         denominator.
34953         * math/s_ctanf.c: Likewise.
34954         * math/s_ctanl.c: Likewise.
34955         * math/s_ctanh.c: Likewise.
34956         * math/s_ctanhf.c: Likewise.
34957         * math/s_ctanhl.c: Likewise.
34958         * math/libm-test.inc (ctan_test): Add more tests.
34959         (ctanh_test): Likewise.
34960         * sysdeps/i386/fpu/libm-test-ulps: Update.
34961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34963 2012-04-09  Andreas Jaeger  <aj@suse.de>
34965         [BZ #6894]
34966         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34967         is an optional BSD extension.
34969         [BZ #10254]
34970         * manual/stdio.texi (Opening Streams): Document additional fopen
34971         parameters.
34973 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34975         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34976         %eax without telling the compiler.
34978 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34980         [BZ # 13963]
34981         * manual/install.texi: Use sourceware.org.
34983 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34985         [BZ #13873]
34986         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34987         (__ieee754_pow): Generate overflow and underflow using huge*huge
34988         and tiny*tiny rather than just returning constant infinity or zero
34989         for large exponents.
34990         * math/libm-test.inc (pow_test): Require overflow exceptions for
34991         applicable cases of large exponents.
34993         [BZ #706]
34994         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34995         (__ieee754_pow): Use iterative multiplication algorithm only for
34996         integer exponents with absolute value below 1024.  Check for odd
34997         integer exponents when using algorithm for real exponents.
34998         * math/libm-test.inc (pow_test): Add more tests.
34999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35001 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35003         [BZ #13705]
35004         * math/libm-test.inc (exp_test): Do not allow overflow exception
35005         on underflow test.
35007 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35009         [BZ #13705]
35010         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35011         instead of __kernel_standard_f.
35013 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35015         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35016         * sysdeps/x86_64/memset_chk.S: Likewise.
35018 2012-04-08  Andreas Jaeger  <aj@suse.de>
35020         [BZ #10153]
35021         * manual/startup.texi (Environment Access): Describe return value
35022         for putenv and setenv.
35024         [BZ #6895]
35025         * manual/filesys.texi (Directory Entries): Add description for
35026         DT_LNK.
35028         [BZ #6890]
35029         * manual/filesys.texi (Directory Entries): Clarify that it's file
35030         system not operating system in the description of DT_UNKNOWN.
35032         [BZ #6578]
35033         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35035 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35037         [BZ #6649]
35038         * manual/llio.texi (Opening and Closing Files): Add cross
35039         reference to explain mode argument.
35041 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35043         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35044         * sysdeps/x86_64/memset_chk.S: Likewise.
35046 2012-04-07  David S. Miller  <davem@davemloft.net>
35048         * elf/elf.h (R_SPARC_WDISP10): Define.
35049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35050         R_SPARC_SIZE32.
35051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35052         R_SPARC_SIZE64 and R_SPARC_H34.
35054 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35056         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35057         conditions and remove no longer applicable assertion.
35059 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35061         * bits/byteswap.h: Include <features.h>.
35062         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35063         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35065 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35067         * bits/byteswap.h (__bswap_16): Removed.
35068         Include <bits/byteswap-16.h> to get __bswap_16.
35069         * sysdeps/i386/bits/byteswap.h: Likewise.
35070         * sysdeps/s390/bits/byteswap.h: Likewise.
35071         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35072         * bits/byteswap-16.h: New file.
35073         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35074         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35075         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35076         * string/Makefile (headers): Add bits/byteswap-16.h.
35078 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35080         [BZ #13895]
35081         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35082         extra indirection.
35083         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35084         * nss/tst-nss-static.c: New.
35086 2012-04-06  Robert Millan  <rmh@gnu.org>
35088         [BZ #6486]
35089         * manual/llio.texi (File Position Primitive): lseek
35090         refers to WHENCE when it really means OFFSET.
35092 2012-04-06  Andreas Jaeger  <aj@suse.de>
35094         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35095         strncmp declarations.
35097         * abilist/libc.abilist: Add __poll and __ppoll.
35099 2012-04-05  David S. Miller  <davem@davemloft.net>
35101         * scripts/check-local-headers.sh: Accept a host triplet in the
35102         path matched by the exclude regexp.
35104         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35105         definition.
35106         * sysdeps/powerpc/powerpc32/dl-machine.h
35107         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35108         * sysdeps/s390/s390-32/dl-machine.h
35109         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35110         * sysdeps/sparc/sparc32/dl-machine.h
35111         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35112         * sysdeps/sparc/sparc64/dl-machine.h
35113         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35115         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35116         lazy binding.
35117         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35118         undefined symbol errors.
35120         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35121         DT_NEEDED entries.
35123 2012-04-05  Michael Matz  <matz@suse.de>
35125         [BZ #13592]
35126         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35128 2012-04-05  Andreas Jaeger  <aj@suse.de>
35130         [BZ #13908]
35131         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35132         comment.
35134 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35136         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35137         which ROUND is no valid rounding mode.
35139 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35141         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35142         read again.
35143         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35145 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35147         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35148         an exception using FPU order intentionally.
35150 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35152         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35153         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35154         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35155         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35157 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35159         [BZ #12340]
35160         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35161         EINVAL when BUFLEN is too smal.
35163 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35165         [BZ #13553]
35166         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35167         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35169 2012-04-03  Andreas Jaeger  <aj@suse.de>
35171         [BZ #13938]
35172         * manual/setjmp.texi (System V contexts): Fix sentence.
35174         [BZ #13926]
35175         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35176         New macro for this case.
35177         [!__GNUC__] (__bswap_64): New inline function for this case.
35178         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35179         * bits/byteswap.h: Likewise.
35180         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35181         ull, guard with __GLIBC_HAVE_LONG_LONG.
35183         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35184         __GLIBC_HAVE_LONG_LONG.
35186         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35187         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35189 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35191         [BZ #13691]
35192         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35193         inptr and inend, rather than using last_ch.
35195 2012-04-02  David S. Miller  <davem@davemloft.net>
35197         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35198         * stdio-common/printf-parse.h (read_int): Change return type to
35199         'int', return -1 on INT_MAX overflow.
35200         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35201         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35202         overflows INT_MAX.  Check for overflow of in-format-string precision
35203         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35204         SIZE_MAX not INT_MAX for integer overflow test.
35205         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35206         skip the construct in the format string but do not record anything.
35207         * stdio-common/bug22.c: Adjust to test both width/prevision
35208         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35209         explicitly for proper errno values.
35211 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35213         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35214         CHAR_MAX.
35215         * string/test-strcmp.c [! WIDE]: Likewise.
35216         * time/tst-mktime2.c: Likewise for INT_MAX.
35217         * string/test-string.h: #include <sys/param.h> for MIN.
35219         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35220         * sysdeps/i386/init-first.c (init): Likewise.
35221         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35222         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35223         * sysdeps/sh/init-first.c (init): Likewise.
35225 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35227         * po/ru.po: Update from translation team.
35228         * po/vi.po: Likewise.
35230 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35232         * resolv/nss_dns/dns-host.c: Merge copyright years.
35234 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35237         Optimize memcpy with prefetch if
35238         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35239         src, dst pointers have unequal 16 byte alignments.
35241 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35243         [BZ #13928]
35244         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35245         from a CNAME entry and return the minimum ttl for the query.
35246         (gaih_getanswer_slice): Likewise.
35248 2012-03-30  Jeff Law  <law@redhat.com>
35250         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35251         due to long keys.
35252         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35253         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35255         * resolv/nss_dns/dns-host.c: Update copyright year.
35257 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35259         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35260         requests to save a system call.  Fix check that all bytes are sent.
35262         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35263         comments for sendmmsg.
35265 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35267         [BZ #13691]
35268         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35269         with only 1 character between 0x0041 and 0x01b0.
35270         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35271         * wcsmbs/tst-mbsnrtowcs.c: New file.
35273 2012-03-29  David S. Miller  <davem@davemloft.net>
35275         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35276         small copies by hand.
35278 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35280         [BZ #13761]
35281         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35282         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35283         group memberships.
35285 2012-03-28  David S. Miller  <davem@davemloft.net>
35287         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35288         that branches into memcpy.
35289         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35290         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35291         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35292         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35294         bits.
35295         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35296         implementation too.
35297         * sysdeps/sparc/mempcpy.S: New file.
35299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35300         the IFUNC routine in the libc case.
35301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35303         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35304         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35305         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35306         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35307         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35308         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35309         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35310         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35312         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35313         loop to 256 bytes instead of 64 bytes and fix test signedness.
35315         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35316         * sysdeps/sparc/sparc32/Makefile: rather than here...
35317         * sysdeps/sparc/sparc64/Makefile: and here.
35319 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35321         * malloc/mallocbug.c: Avoid warnings about unused variables.
35323 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35325         [BZ #13760]
35326         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35327         in the right place. Discard and retry query if response is
35328         larger than input buffer size.
35330 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #369]
35333         [BZ #2678]
35334         [BZ #3866]
35335         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35336         x for large integer exponent.
35337         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35338         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35339         sign of result as needed afterwards.
35340         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35341         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35342         result for underflowing pow the same as for overflow.
35343         (__kernel_standard_l): Handle powl overflow and underflow here
35344         rather than calling __kernel_standard.
35345         * math/libm-test.inc (pow_test): Add more tests.
35347         [BZ #3868]
35348         [BZ #13879]
35349         [BZ #13910]
35350         [BZ #13911]
35351         [BZ #13912]
35352         [BZ #13913]
35353         [BZ #13915]
35354         [BZ #13916]
35355         [BZ #13917]
35356         [BZ #13918]
35357         [BZ #13919]
35358         [BZ #13920]
35359         [BZ #13921]
35360         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35361         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35362         (__kernel_standard_l): New function.
35363         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35364         __kernel_standard.
35365         * math/w_acosl.c (__acosl): Likewise.
35366         * math/w_asinl.c (__asinl): Likewise.
35367         * math/w_atan2l.c (__atan2l): Likewise.
35368         * math/w_atanhl.c (__atanhl): Likewise.
35369         * math/w_coshl.c (__coshl): Likewise.
35370         * math/w_exp10l.c (__exp10l): Likewise.
35371         * math/w_exp2l.c (__exp2l): Likewise.
35372         * math/w_fmodl.c (__fmodl): Likewise.
35373         * math/w_hypotl.c (__hypotl): Likewise.
35374         * math/w_j0l.c (__j0l, __y0l): Likewise.
35375         * math/w_j1l.c (__j1l, __y1l): Likewise.
35376         * math/w_jnl.c (__jnl, __ynl): Likewise.
35377         * math/w_lgammal.c (__lgammal): Likewise.
35378         * math/w_log10l.c (__log10l): Likewise.
35379         * math/w_log2l.c (__log2l): Likewise.
35380         * math/w_logl.c (__logl): Likewise.
35381         * math/w_powl.c (__powl): Likewise.
35382         * math/w_remainderl.c (__remainderl): Likewise.
35383         * math/w_scalbl.c (sysv_scalbl): Likewise.
35384         * math/w_sinhl.c (__sinhl): Likewise.
35385         * math/w_sqrtl.c (__sqrtl): Likewise.
35386         * math/w_tgammal.c (__tgammal): Likewise.
35387         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35388         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35389         * math/libm-test.inc (acos_test): Add more tests.
35390         (acosh_test): Likewise.
35391         (asin_test): Likewise.
35392         (atanh_test): Likewise.
35393         (exp_test): Likewise.
35394         (exp10_test): Likewise.
35395         (exp2_test): Likewise.
35396         (expm1_test): Likewise.
35397         (lgamma_test): Likewise.
35398         (log_test): Likewise.
35399         (log10_test): Likewise.
35400         (log1p_test): Likewise.
35401         (log2_test): Likewise.
35402         (pow_test): Do not allow some spurious overflow exceptions.
35403         (sqrt_test): Add more tests.
35404         (tgamma_test): Likewise.
35405         (y0_test): Likewise.
35406         (y1_test): Likewise.
35407         (yn_test): Likewise.
35409 2012-03-27  Anton Blanchard  <anton@samba.org>
35411         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35412         MAP_HUGETLB.
35413         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35414         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35415         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35417 2012-03-27  David S. Miller  <davem@davemloft.net>
35419         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35421         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35422         have-as-vis3 check.
35424 2012-03-27  Andreas Jaeger  <aj@suse.de>
35426         * sysdeps/x86_64/elf/configure.in: Moved to ...
35427         * sysdeps/x86_64/configure.in: ... here.
35428         * sysdeps/x86_64/elf/start.S: Moved to ...
35429         * sysdeps/x86_64/start.S: ... here.
35430         * sysdeps/x86_64/elf/configure: Delete.
35432         * sysdeps/x86_64/configure.in: Merge contents from
35433         sysdeps/i386/configure.in (without i686 check).
35435         * sysdeps/i386/elf/Versions: Merge into ...
35436         * sysdeps/i386/Versions: ... this.
35437         * sysdeps/i386/elf/Versions: Delete file.
35438         * sysdeps/i386/elf/start.S: Moved to ...
35439         * sysdeps/i386/start.S: ...here.
35440         * sysdeps/i386/elf/configure.in: Merge into...
35441         * sysdeps/i386/configure.in: ...here.
35442         * sysdeps/i386/elf/configure.in: Delete file.
35443         * sysdeps/i386/elf/configure: Delete file.
35445         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35446         * debug/backtracesyms.c: ... here.
35447         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35448         * debug/backtracesymsfd.c: ... here.
35449         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35450         * sysdeps/generic/ifunc-sel.h: ... here.
35452         * sysdeps/unix/i386/start.c: Delete file.
35453         * sysdeps/unix/sparc/start.c: Delete file.
35454         * sysdeps/unix/start.c: Delete file.
35456         * sysdeps/sh/elf/configure.in: Moved to ...
35457         * sysdeps/sh/configure.in: ... here.
35458         * sysdeps/sh/elf/start.S: Moved to ...
35459         * sysdeps/sh/start.S: ... here.
35460         * sysdeps/sh/elf/configure: Delete file.
35462         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35463         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35464         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35465         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35466         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35467         * sysdeps/powerpc/powerpc64/start.S: here.
35468         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35469         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35470         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35471         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35472         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35474         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35475         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35476         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35477         * sysdeps/powerpc/powerpc32/start.S: ... here.
35478         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35479         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35480         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35482         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35483         * sysdeps/powerpc/ifunc-sel.h: ... here.
35484         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35485         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35487         * sysdeps/sparc/elf/configure.in: Moved to ...
35488         * sysdeps/sparc/configure.in: ... here.
35489         * sysdeps/sparc/elf/configure: Delete file.
35490         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35491         * sysdeps/sparc/sparc32/start.S: ... here.
35492         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35493         * sysdeps/sparc/sparc64/start.S: ... here.
35494         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35495         * sysdeps/sparc/sparc32/Makefile: ... this.
35496         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35497         * sysdeps/sparc/sparc64/Makefile: ... this.
35499         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35500         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35501         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35502         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35503         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35504         * sysdeps/s390/s390-32/setjmp.S: ... here.
35505         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35506         * sysdeps/s390/s390-32/configure.in: ... here.
35507         * sysdeps/s390/s390-32/elf/configure: Delete file.
35508         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35509         * sysdeps/s390/s390-32/start.S: ... here.
35511         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35512         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35513         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35514         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35515         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35516         * sysdeps/s390/s390-64/setjmp.S: ... here.
35517         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35518         * sysdeps/s390/s390-64/configure.in: ... here
35519         * sysdeps/s390/s390-64/elf/configure: Delete file.
35520         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35521         * sysdeps/s390/s390-64/start.S: ... here.
35522         * sysdeps/s390/s390-64/elf/configure: Delete.
35524         * configure.in: Remove support for elf directories in sysdeps.
35526         * configure: Regenerated.
35527         * sysdeps/i386/configure: Regenerated.
35528         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35529         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35530         * sysdeps/s390/s390-32/configure: Regenerated.
35531         * sysdeps/s390/s390-64/configure: Regenerated.
35532         * sysdeps/sh/configure: Regenerated.
35533         * sysdeps/sparc/configure: Regenerated.
35534         * sysdeps/x86_64/configure: Regenerated.
35536 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35541         denormal result into account.
35543 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35545         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35546         Reported by Allan McRae <allan@archlinux.org>.
35548 2012-03-23  Jeff Law  <law@redhat.com>
35550         * nss/getnssent.c (__nss_getent): Fix typo.
35552 2012-03-23  David S. Miller  <davem@davemloft.net>
35554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35556 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35558         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35559         to pad to uint64_t for each field.
35560         (dl_tls_index): Replace unsigned long with uint64_t.
35562 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35563         Paul Pluzhnikov  <ppluzhnikov@google.com>
35565         [BZ #6528]
35566         * grp/Makefile (otherlibs): Don't set it.
35567         * inet/Makefile (otherlibs): Likewise.
35568         * login/Makefile (otherlibs): Likewise.
35569         * nscd/Makefile (otherlibs): Likewise.
35570         * posix/Makefile (otherlibs): Likewise.
35571         * pwd/Makefile (otherlibs): Likewise.
35572         * rt/Makefile (otherlibs): Likewise.
35573         * sunrpc/Makefile (otherlibs): Likewise.
35574         * nss/Makefile (otherlibs): Likewise.
35575         Add libnss_files to routines and static-only-routines.
35576         ($(objpfx)getent): Remove rule.
35577         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35578         static-only-routines.
35580 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35582         [BZ #13892]
35583         * math/s_cexp.c: Include <float.h>.
35584         (__cexp): Handle exp result overflowing not necessarily
35585         overflowing both real and imaginary parts of result.
35586         * math/s_cexpf.c: Likewise.
35587         * math/s_cexpl.c: Likewise.
35588         * math/libm-test.inc (cexp_test): Add more tests.
35589         * sysdeps/i386/fpu/libm-test-ulps: Update.
35590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35592 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35594         * include/link.h (ELFW): New macro.
35595         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35596         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35598 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35600         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35601         with uint64_t.
35603 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35605         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35606         declaration.
35607         (struct La_x32_retval): Likewise.
35609 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35611         * sysdeps/x86_64/preconfigure.in: New file.
35612         * sysdeps/x86_64/preconfigure: New generated file.
35614 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35616         [BZ #13824]
35617         * math/e_exp2l.c: Include <float.h>.
35618         (__ieee754_exp2l): Handle overflow and underflow cases
35619         separately.  Only pass fractional part of argument to
35620         __ieee754_expl.
35621         * math/libm-test.inc (exp2_test): Add more tests.
35623         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35624         negating x to take absolute value.
35625         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35626         Likewise.
35627         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35628         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35629         Likewise.
35630         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35631         computing low part if x was negated.
35632         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35634 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35636         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35637         la_x32_gnu_pltexit.
35638         (pltexit): Cast int_retval to ptrdiff_t.
35639         * elf/tst-auditmod3b.c: Likewise.
35640         * elf/tst-auditmod4b.c: Likewise.
35641         * elf/tst-auditmod5b.c: Likewise.
35642         * elf/tst-auditmod6b.c: Likewise.
35643         * elf/tst-auditmod6c.c: Likewise.
35644         * elf/tst-auditmod7b.c: Likewise.
35646         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35647         and x32_gnu_pltexit.
35649         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35650         __ELF_NATIVE_CLASS.
35651         (La_x32_regs): New macro.
35652         (La_x32_retval): Likewise.
35653         (la_x32_gnu_pltenter): New function prototype.
35654         (la_x32_gnu_pltexit): Likewise.
35656 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35658         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35659         exponent.
35661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35663         * configure.in (libc_cv_cc_nofma): Check for option to disable
35664         generation of FMA instructions.
35665         * configure: Regenerate.
35666         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35667         * sysdeps/ieee754/dbl-64/Makefile: New file.
35668         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35669         Remove brandred-fma4.
35670         (CFLAGS-brandred-fma4.c): Remove.
35671         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35672         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35673         define.
35674         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35675         define.
35677 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35679         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35680         LLONG_MAX != LONG_MAX.
35681         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35682         (_fitoa_word): Likewise.
35683         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35684         LLONG_MAX != LONG_MAX.
35685         * stdio-common/_itowa.h: Include <_itoa.h>.
35686         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35687         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35688         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35689         only if not defined.
35690         (_ITOA_WORD_TYPE): Likewise.
35691         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35692         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35694 2012-03-21  David S. Miller  <davem@davemloft.net>
35696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35698 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35700         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35701         of x86_64 when setting libc_cv_slibdir, libdir and
35702         libc_cv_localedir.
35703         * sysdeps/unix/sysv/linux/configure: Regenerated.
35705 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35707         * manual/lang.texi (Old Varargs): Remove section.
35708         (How Variadic): Update menu.
35709         (va_start): Do not mention varargs.h.
35711 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35712             Joseph Myers  <joseph@codesourcery.com>
35714         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35715         link test.
35716         * configure: Regenerated.
35718 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35720         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35721         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35722         conformtest.pl
35724 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35726         * NOTES: Remove.
35727         * Makefile (files-for-dist): Remove NOTES.
35728         (NOTES): Remove rule.
35729         * README: Don't refer to NOTES.
35730         * manual/creature.texi: Don't include macros.texi.
35731         * manual/intro.texi (creature.texi): Remove comment referring to
35732         NOTES.
35734         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35735         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35736         * configure: Regenerated.
35737         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35738         LIBC_TRY_CC_OPTION.
35739         (libc_cv_as_i686): Likewise.
35740         (libc_cv_cc_avx): Likewise.
35741         (libc_cv_cc_sse2avx): Likewise.
35742         (libc_cv_cc_fma4): Likewise.
35743         (libc_cv_cc_novzeroupper): Likewise.
35744         * sysdeps/i386/configure: Regenerated.
35746         [BZ #13883]
35747         * sysdeps/i386/fpu/s_cexp.S: Remove.
35748         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35749         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35750         * math/libm-test.inc (cexp_test): Add more tests.
35751         * sysdeps/i386/fpu/libm-test-ulps: Update.
35752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35754 2012-03-21  Allan McRae  <allan@archlinux.org>
35756         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35758 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35760         [BZ #13871]
35761         * math/w_exp2.c: Do not include <float.h>.
35762         (o_threshold, u_threshold): Remove.
35763         (__exp2): Calculate result before checking finiteness and calling
35764         __kernel_standard.
35765         * math/w_exp2f.c: Likewise.
35766         * math/w_exp2l.c: Likewise.
35767         * math/libm-test.inc (exp2_test): Require overflow exception for
35768         1e6 input.
35770         [BZ #3866]
35771         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35772         range of signed 64-bit integers before using fistpll.  Remove
35773         checks for whether integers fit in mantissa bits.
35774         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35775         the range of signed 32-bit integers before using fistpl.  Remove
35776         checks for whether integers fit in mantissa bits.
35777         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35778         (__ieee754_powl): Test for y outside the range of signed 64-bit
35779         integers before using fistpll.  Reduce 64-bit values to 63-bit
35780         ones as needed.
35781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35782         divide-by-zero is raised for zero to large negative powers.
35783         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35784         (__ieee754_powl): Test for y outside the range of signed 64-bit
35785         integers before using fistpll.  Reduce 64-bit values to 63-bit
35786         ones as needed.
35787         * math/libm-test.inc (pow_test): Add more tests.
35789 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35791         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35792         <stdio-common/_itoa.h>.
35793         * debug/segfault.c: Likewise.
35794         * elf/dl-cache.c: Likewise.
35795         * elf/dl-minimal.c: Likewise.
35796         * elf/dl-misc.c: Likewise.
35797         * elf/dl-sysdep.c: Likewise.
35798         * elf/dl-version.c: Likewise.
35799         * elf/rtld.c: Likewise.
35800         * hurd/hurdsock.c: Likewise.
35801         * hurd/lookup-retry.c: Likewise.
35802         * malloc/malloc.c: Likewise.
35803         * malloc/mtrace.c: Likewise.
35804         * nscd/nscd_getgr_r.c: Likewise.
35805         * nscd/nscd_getpw_r.c: Likewise.
35806         * nscd/nscd_getserv_r.c: Likewise.
35807         * posix/getopt_init.c: Likewise.
35808         * posix/wordexp.c: Likewise.
35809         * stdio-common/_itoa.c: Likewise.
35810         * stdio-common/printf_fphex.c: Likewise.
35811         * stdio-common/vfprintf.c: Likewise.
35812         * string/_strerror.c: Likewise.
35813         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35814         * sysdeps/i386/i686/hp-timing.h: Likewise.
35815         * sysdeps/mach/_strerror.c: Likewise.
35816         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35817         * sysdeps/mach/hurd/sethostid.c: Likewise.
35818         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35819         * sysdeps/mach/xpg-strerror.c: Likewise.
35820         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35821         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35822         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35823         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35824         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35825         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35826         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35827         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35828         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35829         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35830         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35831         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35832         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35833         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35834         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35835         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35836         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35837         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35838         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35839         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35840         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35842         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35844         * stdio-common/_itoa.h: Moved to ...
35845         * sysdeps/generic/_itoa.h: Here.
35847         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35849         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35850         instead of "_itoa.h" and "_itowa.h".
35851         * stdio-common/vfprintf.: Likewise.
35853 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35855         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35856         <bits/wordsize.h>.
35857         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35858         (__signbit): Likwise.
35859         (llrintf): Likwise.
35860         (llrint): Likwise.
35862 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35864         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35865         __WORDSIZE != 64.
35867 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35869         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35870         OVERFLOW_EXCEPTION_OK.
35871         * math/libm-test.inc ("Philosophy"): Update comment about
35872         exception testing.
35873         (OVERFLOW_EXCEPTION): Define.
35874         (OVERFLOW_EXCEPTION_OK): Likewise.
35875         (INVALID_EXCEPTION_OK): Renumber.
35876         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35877         (IGNORE_ZERO_INF_SIGN): Likewise.
35878         (test_exceptions): Handle FE_OVERFLOW.
35879         (exp10_test): Expect overflow exceptions.
35880         (exp2_test): Likewise.
35881         (expm1_test): Likewise.
35882         (nextafter_test): Likewise.
35883         (pow_test): Likewise.
35884         (scalbn_test): Likewise.
35885         (scalbln_test): Likewise.
35887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35889         * sysdeps/x86_64/bits/atomic.h
35890         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35891         64bit integer.
35892         (atomic_exchange_acq): Likewise.
35893         (__arch_exchange_and_add_body): Likewise.
35894         (__arch_add_body): Likewise.
35895         (atomic_add_negative): Likewise.
35896         (atomic_add_zero): Likewise.
35898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35900         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35901         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35905         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35906         Check __x86_64__ instead of __WORDSIZE.
35908 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35910         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35912 2012-03-19  David S. Miller  <davem@davemloft.net>
35914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35916         * sysdeps/sparc/fpu/fenv_private.h: New file.
35917         * sysdeps/sparc/fpu/math_private.h: Use it.
35918         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35919         Remove.
35920         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35921         (libc_feholdexcept_setroundl): Remove.
35922         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35923         Remove.
35924         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35925         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35927 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35929         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35930         int64_t instead of long int.
35931         (INSERT_WORDS64): Likwise.
35933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35935         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35936         _Unwind_GetCFA return to _Unwind_Ptr first.
35938 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35940         [BZ #13629]
35941         * math/s_clog.c: Include <float.h>.
35942         (__clog): Scale large or subnormal inputs.
35943         * math/s_clogf.c: Likewise.
35944         * math/s_clogl.c: Likewise.
35945         * math/s_clog10.c: Include <float.h>.
35946         (M_LOG10_2): Define.
35947         (__clog10): Scale large or subnormal inputs.
35948         * math/s_clog10f.c: Likewise.
35949         * math/s_clog10l.c: Likewise.
35950         * math/libm-test.inc (clog_test): Add more tests.
35951         (clog10_test): Likewise.
35952         * sysdeps/i386/fpu/libm-test-ulps: Update.
35953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35955         [BZ #11451]
35956         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35957         x and y.
35958         * math/libm-test.inc (atan2_test): Add another test.
35960         * Makerules (common-objdir-compile): Remove.
35961         * sysdeps/unix/Makefile (config-generated): Do not add
35962         $(unix-generated) to variable.
35963         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35964         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35965         Remove rule.
35966         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35967         Likewise.
35968         [generic bits/local_lim.h] (before-compile): Do not append to
35969         variable.
35970         [generic bits/local_lim.h] (common-generated): Likewise.
35971         [generic sys/param.h] (before-compile): Do not append to variable.
35972         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35973         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35974         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35975         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35976         include.
35977         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35978         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35979         [generic sys/param.h] ($(addprefix
35980         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35981         [generic sys/param.h] (common-generated): Do not append to
35982         variable.
35983         [generic sys/param.h] (sysdep_headers): Likewise.
35984         [generic bits/errno.h] (before-compile): Do not append to
35985         variable.
35986         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35987         rule.
35988         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35989         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35990         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35991         [generic bits/errno.h] (common-generated): Do not append to
35992         variable.
35993         [generic bits/ioctls.h] (before-compile): Do not append to
35994         variable.
35995         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35996         rule.
35997         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35998         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35999         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36000         rule.
36001         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36002         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36003         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36004         [generic bits/ioctls.h] (common-generated): Do not append to
36005         variable.
36006         [generic sys/syscall.h] (syscall.h): Remove variable.
36007         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36008         rule.
36009         [generic sys/syscall.h] (before-compile): Do not append to
36010         variable.
36011         [generic sys/syscall.h] (common-generated): Likewise.
36012         * sysdeps/unix/errnos-tmpl.c: Remove file.
36013         * sysdeps/unix/errnos.awk: Likewise.
36014         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36015         * sysdeps/unix/ioctls.awk: Likewise.
36016         * sysdeps/unix/mk-local_lim.c: Likewise.
36017         * sysdeps/unix/snarf-ioctls: Likewise.
36019 2012-03-19  Richard Henderson  <rth@twiddle.net>
36021         * sysdeps/i386/fpu/fenv_private.h: New file.
36022         * sysdeps/i386/fpu/math_private.h: Use it.
36023         (math_opt_barrier, math_force_eval): Remove.
36024         (libc_feholdexcept_setround_53bit): Remove.
36025         (libc_feupdateenv_53bit): Remove.
36026         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36027         (math_opt_barrier, math_force_eval): Remove.
36028         (libc_feholdexcept): Remove.
36029         (libc_feholdexcept_setround): Remove.
36030         (libc_fetestexcept, libc_fesetenv): Remove.
36031         (libc_feupdateenv_test): Remove.
36032         (libc_feupdateenv, libc_feholdsetround): Remove.
36033         (libc_feresetround): Remove.
36035         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36036         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36038         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36039         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36040         (libc_feupdateenv_testl): New.
36041         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36042         (libc_feupdateenv_testf): New.
36043         (libc_feupdateenv): Use libc_feupdateenv_test.
36044         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36045         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36047         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36048         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36049         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36050         (libc_feresetround_noex): New.
36051         (libc_feresetround_noexf): New.
36052         (libc_feresetround_noexl): New.
36053         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36054         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36055         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36056         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36057         SET_RESTORE_ROUND.
36058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36060         (__cos): Likewise.
36061         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36062         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36063         SET_RESTORE_ROUND_NOEX.
36064         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36065         SET_RESTORE_ROUND_NOEXF.
36066         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36067         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36068         (libc_feholdsetroundf): New.
36069         (libc_feresetround, libc_feresetroundf): New.
36071         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36072         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36073         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36075         * sysdeps/generic/math_private.h: Include <fenv.h>.
36076         (default_libc_feholdexcept): New.
36077         (default_libc_feholdexcept_setround): New.
36078         (default_libc_fesetenv, default_libc_feupdateenv): New.
36079         (libc_feholdexcept): Only define if undefined.
36080         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36081         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36082         (libc_feholdexcept_setroundl): Likewise.
36083         (libc_feholdexcept_setround_53bit): Likewise.
36084         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36085         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36086         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36087         (libc_feupdateenv_53bit): Likewise.
36088         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36089         (libc_feholdexcept): Convert from macro to inline function.
36090         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36091         (libc_fesetenv, libc_feupdateenv): Likewise.
36093         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36094         not previously defined.
36095         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36096         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36097         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36098         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36099         * sysdeps/ieee754/flt-32/math_private.h: New file.
36100         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36101         math_private.h below SET_FLOAT_WORD.
36102         (__isnan, __isinf_ns, __finite): Remove.
36103         (__isnanf, __isinf_nsf, __finitef): Remove.
36105 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36109 2012-03-17  David S. Miller  <davem@davemloft.net>
36111         [BZ #6471]
36112         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36113         for 2.16.
36115 2012-03-16  David S. Miller  <davem@davemloft.net>
36117         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36118         warnings.
36120         [BZ #6471]
36121         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36122         properly.
36123         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36124         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36125         sysdep_routines when subdir is sysvipc.
36126         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36127         __getshmlba helper.
36129         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36131 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36133         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36134         [__LP64__].
36136 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36138         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36139         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36140         (__lround): Renamed to ...
36141         (__llround): This.  Replace long int with long long int.
36142         Define lround functions as aliases of llround functions.
36143         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36145 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36147         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36148         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36149         adresses to uintptr_t.  Replace "long int" and "unsigned long
36150         int" with "greg_t" on va_arg.
36152 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36154         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36155         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36157         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36158         Move e_machine check before EI_CLASS check.  Handle x32
36159         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36160         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36161         SKIP_EM_IA_64 and include
36162         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36164         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36165         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36166         (add_system_dir): New macro.
36168         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36169         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36171 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36173         [BZ #2551]
36174         [BZ #2552]
36175         [BZ #2553]
36176         [BZ #2554]
36177         [BZ #2562]
36178         [BZ #2563]
36179         [BZ #2565]
36180         [BZ #2566]
36181         [BZ #2576]
36182         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36183         (y0): Likewise.
36184         * math/w_j0f.c (j0f): Likewise.
36185         (y0f): Likewise.
36186         * math/w_j0l.c (__j0l): Likewise.
36187         (__y0l): Likewise.
36188         * math/w_j1.c (j1): Likewise.
36189         (y1): Likewise.
36190         * math/w_j1f.c (j1f): Likewise.
36191         (y1f): Likewise.
36192         * math/w_j1l.c (__j1l): Likewise.
36193         (__y1l): Likewise.
36194         * math/w_jn.c (jn): Likewise.
36195         (yn): Likewise.
36196         * math/w_jnf.c (jnf): Likewise.
36197         (ynf): Likewise.
36198         * math/w_jnl.c (__jnl): Likewise.
36199         (__ynl): Likewise.
36200         * math/libm-test.inc (j0_test): Add more tests.
36201         (j1_test): Likewise.
36202         (jn_test): Likewise.  Add trailing semicolon to existing test.
36203         (y0_test): Likewise.
36204         (y1_test): Likewise.
36205         * sysdeps/i386/fpu/libm-test-ulps: Update.
36206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36208         [BZ #13851]
36209         [BZ #13854]
36210         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36211         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36212         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36213         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36214         (__tanl): Set errno for infinite argument.
36215         * sysdeps/i386/fpu/mptan.c: Remove.
36216         * sysdeps/i386/fpu/s_tan.S: Likewise.
36217         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36218         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36219         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36220         * math/libm-test.inc (tan_test): Add more tests and enable more
36221         tests for double and long double.
36222         * sysdeps/i386/fpu/libm-test-ulps: Update.
36223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36225 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36227         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36228         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36230 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36232         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36233         * configure.in: Use it for both main tree and add-ons.
36234         * configure: Regenerated.
36236 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36238         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36240 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36242         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36243         in comment.
36245         [BZ #13851]
36246         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36247         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36248         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36249         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36250         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36251         infinite argument.
36252         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36253         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36254         != 0 for prec == 2.
36255         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36256         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36257         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36258         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36259         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36260         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36261         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36262         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36263         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36264         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36265         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36266         * math/libm-test.inc (cos_test): Add more tests and enable more
36267         tests for long double.
36268         (sin_test): Likewise.
36269         (sincos_test): Likewise.
36270         * sysdeps/i386/fpu/libm-test-ulps: Update.
36271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36273 2012-03-16  David S. Miller  <davem@davemloft.net>
36275         * sysdeps/sparc/fpu/math_private.h: New file.
36277 2012-03-15  David S. Miller  <davem@davemloft.net>
36279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36280         file.
36281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36283         file.
36284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36289         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36290         sysdep routines.
36291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36293         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36294         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36296         * sysdeps/sparc/sparc-ifunc.h: New file.
36297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36298         sparc-ifunc.h
36299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36301         Likewise.
36302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36303         Likewise.
36304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36308         Likewise.
36309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36314         Likewise.
36315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36316         Likewise.
36317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36323         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36324         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36337         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36339         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36340         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36342 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36344         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36345         scaling.
36346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36348 2012-03-15  Andreas Jaeger  <aj@suse.de>
36350         [BZ #13852]
36351         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36352         ieee754/flt-32 implementation for sin, cos and sincos.
36353         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36354         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36355         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36356         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36357         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36358         ieee754/flt-32 implementation for tan.
36360         * math/libm-test.inc (cos_test): Enable some large input tests for
36361         float as well
36362         (sin_test): Likewise.
36363         (sincos_test): Likewise.
36364         (tan_test): Add tests for large input.
36366         * sysdeps/i386/fpu/libm-test-ulps: Update.
36368 2012-03-15  Andreas Jaeger  <aj@suse.de>
36370         [BZ #13658]
36371         * math/libm-test.inc (cos_test): Add more test cases.
36372         (sin_test): Likewise.
36373         (sincos_test): Likewise.
36375 2012-03-15  Andreas Jaeger  <aj@suse.de>
36377         [BZ #13837]
36378         * math/libm-test.inc (cos_test): Add a test case for large input
36379         value.
36380         (sin_test): Likewise.
36381         (sincos_test): Likewise.
36383 2012-03-15  Andreas Jaeger  <aj@suse.de>
36384             Joseph Myers  <joseph@codesourcery.com>
36386         [BZ #13658]
36387         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36388         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36389         * sysdeps/i386/fpu/branred.c: Likewise.
36390         * sysdeps/i386/fpu/dosincos.c: Likewise.
36391         * sysdeps/i386/fpu/mpa.c: Likewise.
36392         * sysdeps/i386/fpu/s_cos.S: Likewise.
36393         * sysdeps/i386/fpu/s_sin.S: Likewise.
36394         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36395         * sysdeps/i386/fpu/sincos32.c: Likewise.
36397         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36398         Define.
36399         (libc_feupdateenv_53bit): Define.
36400         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36401         Define.
36402         (libc_feupdateenv_53bit): Define.
36404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36405         53 bit (without extend i386 double precision).
36407         * math/libm-test.inc (sincos_test): Add tests for large input.
36408         (sin): Likewise.
36409         (cos): Likewise.
36411         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36413 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36417 2012-03-15  David S. Miller  <davem@davemloft.net>
36419         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36420         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36421         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36422         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36435         file.
36436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36438         file.
36439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36441         file.
36442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36444         file.
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36447         fmin/fmax sysdep routines.
36448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36450 2012-03-14  David S. Miller  <davem@davemloft.net>
36452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36459         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36474         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36480         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36481         routines.
36482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36483         file.
36484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36486         file.
36487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36489         file.
36490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36492         file.
36493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36495         file.
36496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36498         file.
36499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36500         file.
36501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36502         file.
36503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36504         file.
36505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36506         New file.
36507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36508         file.
36509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36510         file.
36511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36513         file.
36514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36516         file.
36517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36519         file.
36520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36522         VIS3 routines.
36524         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36525         New file.
36527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36529         * sysdeps/sparc/configure.in: New file.
36530         * sysdeps/sparc/configure: Generate.
36531         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36532         * configure: Regenerate.
36533         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36534         * config.make.in (have-as-vis3): New.
36535         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36536         available use -Av9d instead of -Av9a.
36537         * sysdeps/sparc/sparc64/Makefile: Likewise.
36538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36540         New file.
36541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36542         file.
36543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36544         New file.
36545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36546         file.
36547         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36551         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36553         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36554         fzeros/fnegs to load 0x80000000 into a float register instead of
36555         using the stack.
36556         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36558 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36561         bits/syscall.h.
36562         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36563         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36564         ($(inst_includedir)/bits/syscall.h): Remove rule.
36565         ($(objpfx)bits/syscall.d): Include instead of
36566         $(objpfx)syscall-list.d.
36567         (generated): Change syscall-list.h and syscall-list.d to
36568         bits/syscall.h and bits/syscall.d.
36570 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36572         [BZ #13846]
36573         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36575 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36577         [BZ #13841]
36578         * math/s_csqrt.c: Include <float.h>.
36579         (__csqrt): Scale large or subnormal inputs.
36580         * math/s_csqrtf.c: Likewise.
36581         * math/s_csqrtl.c: Likewise.
36582         * math/libm-test.inc (csqrt_test): Add more tests.
36583         * sysdeps/i386/fpu/libm-test-ulps: Update.
36584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36586         [BZ #13840]
36587         * math/libm-test.inc (hypot_test): Add more tests.
36589 2012-03-13  David S. Miller  <davem@davemloft.net>
36591         [BZ #13840]
36592         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36593         double-precision for the calculation instead of scaling.
36595 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36597         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36598         manipulate bits before adding and subtracting TWO52[sx].
36599         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36600         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36601         Likewise.
36602         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36604 2012-03-13  David S. Miller  <davem@davemloft.net>
36606         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36607         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36609         rtld-global-offsets.h
36610         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36612         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36613         large parameters.
36615         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36617         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36618         'err' in the ifdef scope in which it is actually used.
36620         * nss/nss_db/db-init.c: Include string.h
36622 2012-03-12  David S. Miller  <davem@davemloft.net>
36624         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36625         masking out of the most significant byte of random value used.
36626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36627         Fix coding style in previous change.
36629         * sysdeps/unix/sysv/linux/kernel-features.h
36630         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36631         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36632         expression.
36633         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36634         later.
36636 2012-03-11  David S. Miller  <davem@davemloft.net>
36638         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36639         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36640         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36641         for 'resultvar' otherwise things get truncated on 64-bit.
36643         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36644         Fix masking out of the most significant byte of random value used.
36646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36648 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36652 2012-03-09  David S. Miller  <davem@davemloft.net>
36654         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36655         variables with appropriate CPP guards.
36656         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36657         from the frame pointer, not the stack pointer.  Correct layout
36658         comments.  Fix test on resulting framesize and the management of
36659         the outregs buffer for pltexit.  Preserve floating point return
36660         values across _dl_call_pltexit call.
36661         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36662         framesize and the management of the outregs buffer for pltexit.
36663         Preserve floating point return values across _dl_call_pltexit
36664         call.
36665         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36666         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36667         (la_sparc64_gnu_pltexit): New functions.
36668         (print_exit): Fix format string for return register value.
36670 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36672         * sunrpc/Makefile (others): Add rpcgen.
36673         ($(objpfx)rpcgen): Remove special build rule and dependency on
36674         libc.
36675         * sunrpc/rpcgen.c: New file.
36677 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36679         [BZ #13673]
36680         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36681         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36682         * sysdeps/i386/crti.S: Likewise.
36683         * sysdeps/i386/crtn.S: Likewise.
36684         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36685         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36686         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36687         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36688         * sysdeps/sh/crti.S: Likewise.
36689         * sysdeps/sh/crtn.S: Likewise.
36690         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36692         [BZ #13673]
36693         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36694         with URL.
36695         * locale/programs/locfile-kw.gperf: Likewise.
36696         * locale/programs/charmap-kw.h: Regenerated.
36697         * locale/programs/locfile-kw.h: Likewise.
36699         [BZ #13673]
36700         * intl/plural.y: Replace FSF snail mail address with URL.
36701         * intl/plural.c: Regenerated.
36703 2012-03-09  Richard Henderson  <rth@twiddle.net>
36705         * include/math_private.h: Remove file.
36706         * math/math_private.h: Move file ...
36707         * sysdeps/generic/math_private.h: ... here.
36709         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36710         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36711         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36713         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36714         and <math_private.h>.
36715         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36716         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36717         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36718         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36719         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36721         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36722         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36723         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36736         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36737         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36738         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36740         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36741         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36742         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36743         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36745         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36747         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36748         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36749         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36750         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36751         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36756         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36757         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36758         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36759         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36760         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36761         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36762         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36764         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36770         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36772         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36773         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36774         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36776         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36778         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36779         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36780         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36781         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36782         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36783         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36784         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36785         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36786         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36787         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36788         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36789         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36792         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36793         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36794         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36797         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36798         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36799         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36802         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36803         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36804         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36805         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36806         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36807         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36808         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36809         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36810         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36811         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36812         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36813         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36814         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36815         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36816         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36817         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36818         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36820         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36821         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36822         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36823         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36824         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36825         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36826         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36827         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36828         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36829         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36830         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36831         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36832         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36833         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36834         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36835         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36836         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36837         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36838         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36839         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36840         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36841         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36842         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36843         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36844         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36845         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36846         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36847         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36848         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36849         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36850         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36851         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36852         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36853         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36854         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36855         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36856         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36857         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36858         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36859         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36860         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36861         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36862         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36863         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36864         * sysdeps/ieee754/k_standard.c: Likewise.
36865         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36902         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36910         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36914         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36915         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36916         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36917         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36918         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36932         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36938         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36939         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36942         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36944         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36950         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36951         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36952         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36953         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36955         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36956         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36957         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36958         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36960         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36961         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36962         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36963         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36964         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36968         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36969         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36970         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36971         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36972         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36973         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36974         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36975         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36976         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36977         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36978         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36979         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36980         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36981         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36982         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36983         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36984         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36985         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36986         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36987         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36988         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36989         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36990         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36991         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36992         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36993         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36994         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36995         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36996         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36997         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36998         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36999         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37000         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37001         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37002         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37003         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37004         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37005         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37006         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37007         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37008         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37009         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37010         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37011         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37012         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37013         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37014         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37015         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37016         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37017         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37018         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37019         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37020         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37021         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37022         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37023         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37024         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37025         * sysdeps/ieee754/s_lib_version.c: Likewise.
37026         * sysdeps/ieee754/s_matherr.c: Likewise.
37027         * sysdeps/ieee754/s_signgam.c: Likewise.
37028         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37029         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37030         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37031         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37032         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37033         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37034         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37035         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37036         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37037         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37038         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37039         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37040         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37041         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37042         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37043         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37044         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37045         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37046         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37048         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37050 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37052         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37053         * sunrpc/rpc_main.c: Likewise.
37054         * sunrpc/rpc_svcout.c: Likewise.
37056 2012-03-09  David S. Miller  <davem@davemloft.net>
37058         * include/math_private.h: New file.
37060 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37062         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37063         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37064         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37065         from <bits/socket_type.h>.
37066         (enum __socket_type): Don't define here.
37067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37069         bits/socket_type.h.
37071         [BZ #13566]
37072         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37073         checking __USE_GNU.
37075         * Makerules ($(inst_includedir)/%.h): New rule.
37076         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37077         (install-others): Remove variable setting.
37078         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37080 2012-03-08  Richard Henderson  <rth@twiddle.net>
37082         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37083         from macro to inline function; merge with the
37084         !__LIBC_INTERNAL_MATH_INLINES version.
37085         (__ieee754_sqrtf): Likewise.
37087         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37088         to inline function.
37089         (__rintf, __floor, __floorf): Likewise.
37091         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37092         macro to inline function.
37093         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37095         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37096         not <math/math_private.h>.
37098 2012-03-08  David S. Miller  <davem@davemloft.net>
37100         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37101         copyright year.
37102         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37104 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37106         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37107         normalization.
37108         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37109         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37111 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37113         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37114         be defined individually, they must be defined as a block.  Define
37115         S for printing a string instead of hidint the different by using a
37116         macro for adding the 'l'.
37117         * stdio-common/tst-fphex-wide.c: Adjust.
37119 2012-03-07  Marek Polacek  <polacek@redhat.com>
37121         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37123 2012-03-08  Marek Polacek  <polacek@redhat.com>
37125         [BZ #13806]
37126         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37127         * stdio-common/tst-fphex.c: Define a few macros to make the
37128         test reusable.  Use them.
37129         * stdio-common/tst-fphex-wide.c: New file.
37131 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37133         [BZ #6911]
37134         * manual/macros.texi (gnusystems): New macro.
37135         (nongnusystems): Likewise.
37136         (gnulinuxhurdsystems): Likewise.
37137         (gnuhurdsystems): Likewise..
37138         (gnulinuxsystems): Likewise.
37139         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37140         variants of the GNU system, not "GNU system".
37141         * manual/conf.texi: Likewise.
37142         * manual/errno.texi: Likewise.  Update example of errno macro
37143         expansion.
37144         * manual/filesys.texi: Likewise.
37145         (getumask): Document as specific to GNU/Hurd.
37146         * manual/install.texi: Likewise.  Reword some references to
37147         GNU/Linux.
37148         * manual/intro.texi: Likewise.
37149         * manual/io.texi: Likewise.
37150         (File Name Portability): Detail which constraints are inapplicable
37151         to all GNU systems and which are only inapplicable to GNU/Hurd.
37152         * manual/job.texi: Likewise.
37153         * manual/llio.texi: Likewise.
37154         (O_NOCTTY): Document as present on GNU/Linux.
37155         * manual/maint.texi: Likewise.
37156         * manual/memory.texi: Likewise.
37157         * manual/pattern.texi: Likewise.
37158         * manual/pipe.texi: Likewise.
37159         * manual/process.texi: Likewise.
37160         * manual/resource.texi: Likewise.
37161         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37162         child on GNU/Hurd.
37163         * manual/setjmp.texi: Likewise.
37164         * manual/signal.texi: Likewise.
37165         * manual/startup.texi: Likewise.
37166         * manual/stdio.texi: Likewise.
37167         * manual/terminal.texi: Likewise.
37168         (ONLCR): Document as POSIX.
37169         (OXTABS): Document availability on GNU/Linux as XTABS.
37170         (ONOEOT): Document availability separately from other bits.
37171         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37172         * manual/time.texi: Likewise.
37173         * manual/users.texi: Likewise.
37174         * INSTALL: Regenerated.
37175         * sysdeps/gnu/errlist.c: Regenerated.
37177         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37178         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37179         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37180         puts.
37181         * configure: Regenerated.
37183 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37185         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37186         default includes instead of AC_HEADER_CHECK.
37187         * sysdeps/i386/configure: Regenerated.
37189         [BZ #10716]
37190         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37191         * math/s_cacoshf.c (__cacoshf): Likewise.
37192         * math/s_cacoshl.c (__cacoshl): Likewise.
37193         * math/s_casinh.c (__casinh): Set signs of result from argument.
37194         * math/s_casinhf.c (__casinhf): Likewise.
37195         * math/s_casinhl.c (__casinhl): Likewise.
37196         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37197         (casinh_test): Add more tests.
37198         * sysdeps/i386/fpu/libm-test-ulps: Update.
37199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37201 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37203         * po/zh_TW.po: Update from translation team.
37205         * login/Makefile (distribute): Remove variable.
37206         * catgets/Makefile: Likewise.
37207         * mach/Makefile: Likewise.
37208         * malloc/Makefile: Likewise.
37209         * misc/Makefile: Likewise.
37210         * iconv/Makefile: Likewise.
37211         * nscd/Makefile: Likewise.
37212         * hurd/Makefile: Likewise.
37213         * manual/Makefile: Likewise.
37214         * locale/Makefile: Likewise.
37215         * intl/Makefile: Likewise.
37216         * conform/Makefile: Likewise.
37217         * nss/Makefile: Likewise.
37218         * time/Makefile: Likewise.
37219         * soft-fp/Makefile: Likewise.
37220         * dirent/Makefile: Likewise.
37221         * gmon/Makefile: Likewise.
37222         * po/Makefile: Likewise.
37223         * rt/Makefile: Likewise.
37224         * socket/Makefile: Likewise.
37225         * math/Makefile: Likewise.
37226         * signal/Makefile: Likewise.
37227         * debug/Makefile: Likewise.
37228         * elf/Makefile: Likewise.
37229         * timezone/Makefile: Likewise.
37230         * stdlib/Makefile: Likewise.
37231         * iconvdata/Makefile: Likewise.
37232         * sunrpc/Makefile: Likewise.
37233         * io/Makefile: Likewise.
37234         * argp/Makefile: Likewise.
37235         * inet/Makefile: Likewise.
37236         * hesiod/Makefile: Likewise.
37237         * grp/Makefile: Likewise.
37238         * csu/Makefile: Likewise.
37239         * wctype/Makefile: Likewise.
37240         * crypt/Makefile: Likewise.
37241         * libio/Makefile: Likewise.
37242         * string/Makefile: Likewise.
37243         * nis/Makefile: Likewise.
37244         * resolv/Makefile: Likewise.
37245         * stdio-common/Makefile: Likewise.
37246         * wcsmbs/Makefile: Likewise.
37247         * dlfcn/Makefile: Likewise.
37248         * posix/Makefile: Likewise.
37250         [BZ #6959]
37251         * timezone/Makefile: Don't install timezone files, just the programs
37252         and scripts.
37254 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37256         * nss/databases.def: Add missing gshadow entry.
37258         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37260 2012-03-06  Marek Polacek  <polacek@redhat.com>
37262         [BZ #13726]
37263         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37264         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37265         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37266         * stdio-common/tst-long-dbl-fphex.c: New file.
37268 2012-03-06  David S. Miller  <davem@davemloft.net>
37270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37271         (set_obp_int): New function.
37272         (get_obp_int): New function.
37273         (__get_clockfreq_via_dev_openprom): Likewise.
37274         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37275         Avoid unused variable warnings on 'val' and use builtin_expect.
37276         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37277         __builtin_expect.
37278         (INLINE_CLONE_SYSCALL): Likewise.
37280 2012-03-05  David S. Miller  <davem@davemloft.net>
37282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37284 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37288         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37289         only for |x| >= 40.
37290         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37292 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37294         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37295         Replace gettimeofday with __vdso_gettimeofday.
37297         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37298         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37299         __vdso_clock_gettime and __vdso_getcpu.
37301         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37302         time with __vdso_time.
37304 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37306         * manual/lang.texi (size_t): Note types to which size_t may be
37307         equivalent with the GNU C Library, but do not describe when
37308         differences between them are significant.
37310 2012-03-05  Andreas Jaeger  <aj@suse.de>
37312         * sysdeps/i386/fpu/libm-test-ulps: Update.
37314 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37316         [BZ #3976]
37317         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37318         (__ieee754_pow): Save and restore rounding mode and use
37319         round-to-nearest for main computations.
37320         * math/libm-test.inc (pow_test_tonearest): New function.
37321         (pow_test_towardzero): Likewise.
37322         (pow_test_downward): Likewise.
37323         (pow_test_upward): Likewise.
37324         (main): Call the new functions.
37325         * sysdeps/i386/fpu/libm-test-ulps: Update.
37326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37328         [BZ #3976]
37329         * math/libm-test.inc (cosh_test_tonearest): New function.
37330         (cosh_test_towardzero): Likewise.
37331         (cosh_test_downward): Likewise.
37332         (cosh_test_upward): Likewise.
37333         (sinh_test_tonearest): Likewise.
37334         (sinh_test_towardzero): Likewise.
37335         (sinh_test_downward): Likewise.
37336         (sinh_test_upward): Likewise.
37337         (main): Call the new functions.
37338         * sysdeps/i386/fpu/libm-test-ulps: Update.
37339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37341 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37344         default stack guard is set in last bytes.
37345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37347 2012-03-05  Kees Cook  <keescook@chromium.org>
37349         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37351         [BZ #13656]
37352         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37353         possibly allocate from heap instead of stack.
37354         * stdio-common/bug-vfprintf-nargs.c: New file.
37355         * stdio-common/Makefile (tests): Add nargs overflow test.
37357 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37361 2012-03-03  Marek Polacek  <polacek@redhat.com>
37363         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37364         * math/math_private.h: Likewise.
37365         * stdlib/tst-strtod.c: Likewise.
37366         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37367         * sysdeps/x86_64/bits/atomic.h: Likewise.
37369 2012-03-02  David S. Miller  <davem@davemloft.net>
37371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37375         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37376         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37380 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37382         [BZ #13792]
37383         * manual/examples/README: New file, says the example source files
37384         can be used under GPL>=2.
37385         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37386         line containing just "*/".
37387         * manual/examples/add.c: Add copyright header (GPL>=2).
37388         * manual/examples/argp-ex1.c: Likewise.
37389         * manual/examples/argp-ex2.c: Likewise.
37390         * manual/examples/argp-ex3.c: Likewise.
37391         * manual/examples/argp-ex4.c: Likewise.
37392         * manual/examples/atexit.c: Likewise.
37393         * manual/examples/db.c: Likewise.
37394         * manual/examples/dir.c: Likewise.
37395         * manual/examples/dir2.c: Likewise.
37396         * manual/examples/execinfo.c: Likewise.
37397         * manual/examples/filecli.c: Likewise.
37398         * manual/examples/filesrv.c: Likewise.
37399         * manual/examples/fmtmsgexpl.c: Likewise.
37400         * manual/examples/genpass.c: Likewise.
37401         * manual/examples/inetcli.c: Likewise.
37402         * manual/examples/inetsrv.c: Likewise.
37403         * manual/examples/isockad.c: Likewise.
37404         * manual/examples/longopt.c: Likewise.
37405         * manual/examples/memopen.c: Likewise.
37406         * manual/examples/memstrm.c: Likewise.
37407         * manual/examples/mkfsock.c: Likewise.
37408         * manual/examples/mkisock.c: Likewise.
37409         * manual/examples/mygetpass.c: Likewise.
37410         * manual/examples/pipe.c: Likewise.
37411         * manual/examples/popen.c: Likewise.
37412         * manual/examples/rprintf.c: Likewise.
37413         * manual/examples/search.c: Likewise.
37414         * manual/examples/select.c: Likewise.
37415         * manual/examples/setjmp.c: Likewise.
37416         * manual/examples/sigh1.c: Likewise.
37417         * manual/examples/sigusr.c: Likewise.
37418         * manual/examples/stpcpy.c: Likewise.
37419         * manual/examples/strdupa.c: Likewise.
37420         * manual/examples/strftim.c: Likewise.
37421         * manual/examples/strncat.c: Likewise.
37422         * manual/examples/subopt.c: Likewise.
37423         * manual/examples/swapcontext.c: Likewise.
37424         * manual/examples/termios.c: Likewise.
37425         * manual/examples/testopt.c: Likewise.
37426         * manual/examples/testpass.c: Likewise.
37427         * manual/examples/timeval_subtract.c: Likewise.
37429         [BZ #13792]
37430         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37431         function to ...
37432         * manual/timeval_subtract.c.texi: ... here, new file.
37434 2012-03-02  David S. Miller  <davem@davemloft.net>
37436         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37438 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37440         [BZ #3976]
37441         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37442         (__sin): Save and restore rounding mode and use round-to-nearest
37443         for all computations.
37444         (__cos): Save and restore rounding mode and use round-to-nearest
37445         for all computations.
37446         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37447         <fenv.h>.
37448         (tan): Save and restore rounding mode and use round-to-nearest for
37449         all computations.
37450         * math/libm-test.inc (cos_test_tonearest): New function.
37451         (cos_test_towardzero): Likewise.
37452         (cos_test_downward): Likewise.
37453         (cos_test_upward): Likewise.
37454         (sin_test_tonearest): Likewise.
37455         (sin_test_towardzero): Likewise.
37456         (sin_test_downward): Likewise.
37457         (sin_test_upward): Likewise.
37458         (tan_test_tonearest): Likewise.
37459         (tan_test_towardzero): Likewise.
37460         (tan_test_downward): Likewise.
37461         (tan_test_upward): Likewise.
37462         (main): Call the new functions.
37463         * sysdeps/i386/fpu/libm-test-ulps: Update.
37464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37466         [BZ #10135]
37467         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37468         small n, then large n, before computing and testing k+n.
37469         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37471         Likewise.
37472         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37473         Likewise.
37474         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37475         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37478         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37479         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37480         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37481         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37482         * math/libm-test.inc (scalbn_test): Add more tests.
37483         (scalbln_test): Likewise.
37485         * manual/filesys.texi (mode_t): Describe constraints on size and
37486         signedness, not exact equivalence to a particular type.
37487         (ino_t): Likewise.
37488         (ino64_t): Likewise.
37489         (dev_t): Likewise.
37490         (nlink_t): Likewise.
37491         (blkcnt_t): Likewise.
37492         (blkcnt64_t): Likewise.
37493         * manual/llio.texi (off_t): Likewise.
37495         [BZ #3976]
37496         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37497         (__ieee754_exp): Save and restore rounding mode and use
37498         round-to-nearest for all computations.
37499         * math/libm-test.inc (exp_test_tonearest): New function.
37500         (exp_test_towardzero): Likewise.
37501         (exp_test_downward): Likewise.
37502         (exp_test_upward): Likewise.
37503         (main): Call the new functions.
37504         * sysdeps/i386/fpu/libm-test-ulps: Update.
37505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37507 2012-03-01  Chris Demetriou  <cgd@google.com>
37509         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37510         have predictable order.
37512 2012-03-01  David S. Miller  <davem@davemloft.net>
37514         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37516         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37517         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37518         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37519         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37521         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37522         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37523         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37525         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37526         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37527         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37528         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37529         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37533         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37534         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37535         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37537         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37538         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37539         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37540         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37541         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37542         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37543         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37544         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37545         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37546         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37547         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37548         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37550         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37551         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37553         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37554         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37555         * sysdeps/sparc/elf/configure: Regenerated.
37557 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37559         * configure.in (AS, LD): Require binutils 2.20 or later.
37560         * configure: Regenerated.
37561         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37562         as required minimum version.
37563         * INSTALL: Regenerated.
37565         [BZ #2541]
37566         [BZ #4108]
37567         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37568         before squaring exponent.
37569         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37570         bottom long double and 27 bits of top long double before squaring
37571         exponent.
37572         * math/libm-test.inc (erfc_test): Add more tests.
37573         * sysdeps/i386/fpu/libm-test-ulps: Update.
37574         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37577 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37579         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37580         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37581         containing bit-fields.
37582         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37583         * soft-fp/single.h (_FP_UNION_S): Likewise.
37584         * soft-fp/double.h (_FP_UNION_D): Likewise.
37586 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37588         [BZ #13786]
37589         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37590         not include ../strcmp.S.
37591         [USE_AS_STRNCASECMP_L]: Likewise.
37592         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37593         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37594         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37595         (__strncasecmp_l_ia32): Define as alias to
37596         __strncasecmp_l_nonascii.
37598         [BZ #5794]
37599         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37600         * sysdeps/i386/fpu/libm-test-ulps: Update.
37601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37603         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37606 2012-02-29  Jeff Law  <law@redhat.com>
37608         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37609         out of bounds read.
37611 2012-02-29  Marek Polacek  <polacek@redhat.com>
37613         [BZ #13706]
37614         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37615         * elf/Makefile: Add rules to run tst-unused-dep.out.
37617 2012-02-28  David S. Miller  <davem@davemloft.net>
37619         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37620         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37622         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37623         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37624         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37626 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37628         * math/libm-test.inc (llround_test): Move one test from
37629         lround_test.  Use TEST_f_L in moved test.
37630         (lround_test): Move misplaced test to llround_test.  Add testcase
37631         from bug 2561.
37633 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37635         * sysdeps/x86_64/fpu/e_expf.S: New file.
37636         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37638 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37640         [BZ #13637]
37641         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37642         of remain_len that may cause incomplete multi-byte character and
37643         false match.
37644         * posix/bug-regex33.c: New file.
37645         * posix/Makefile (tests): Add bug-regex33.
37647 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37649         * manual/macros.texi: New file.
37650         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37651         * manual/libc.texinfo: Include macros.texi.
37652         * manual/creatute.texi: Likewise.
37653         * manual/install.texi: Likewise.
37654         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37655         @glibcadj{} in references to the GNU C Library.
37656         * manual/charset.texi: Likewise.
37657         * manual/conf.texi: Likewise.
37658         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37659         when not using those macros.
37660         * manual/creature.texi: Likewise.
37661         * manual/crypt.texi: Likewise.
37662         * manual/errno.texi: Likewise.
37663         * manual/filesys.texi: Likewise.
37664         * manual/header.texi: Likewise.
37665         * manual/install.texi: Likewise.
37666         * manual/intro.texi: Likewise.
37667         * manual/io.texi: Likewise.
37668         * manual/job.texi: Likewise.
37669         * manual/lang.texi: Likewise.
37670         * manual/libc.texiinfo: Likewise.
37671         * manual/llio.texi: Likewise.
37672         * manual/locale.texi: Likewise.
37673         * manual/maint.texi: Likewise.
37674         * manual/math.texi: Likewise.
37675         * manual/memory.texi: Likewise.
37676         * manual/message.texi: Likewise.
37677         * manual/nss.texi: Likewise.
37678         * manual/pattern.texi: Likewise.
37679         * manual/process.texi: Likewise.
37680         * manual/resource.texi: Likewise.
37681         * manual/search.texi: Likewise.
37682         * manual/setjmp.texi: Likewise.
37683         * manual/signal.texi: Likewise.
37684         * manual/socket.texi: Likewise.
37685         * manual/startup.texi: Likewise.
37686         * manual/stdio.texi: Likewise.
37687         * manual/string.texi: Likewise.
37688         * manual/sysinfo.texi: Likewise.
37689         * manual/syslog.texi: Likewise.
37690         * manual/terminal.texi: Likewise.
37691         * manual/time.texi: Likewise.
37692         * manual/users.texi: Likewise.
37693         * INSTALL: Regenerated.
37694         * NOTES: Regenerated.
37695         * sysdeps/gnu/errlist.c: Regenerated.
37697 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37699         * include/dirent.h: Include <dirstream.h> before
37700         <dirent/dirent.h>.
37702 2012-02-28  David S. Miller  <davem@davemloft.net>
37704         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37705         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37706         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37707         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37709 2012-02-27  David S. Miller  <davem@davemloft.net>
37711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37713         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37714         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37717         frame pointer instead of stack pointer relative arg slot.
37718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37719         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37720         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37722 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37724         [BZ #3992]
37725         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37727 2012-02-27  David S. Miller  <davem@davemloft.net>
37729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37733         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37734         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37735         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37736         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37738 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37740         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37741         later.  Allow versions 5-9.
37742         * configure: Regenerated.
37743         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37744         required minimum version and 4.6 as recommended version.  Do not
37745         mention bugs in GCC 2.7 and 2.8.
37746         * INSTALL: Regenerated.
37748 2012-02-27  David S. Miller  <davem@davemloft.net>
37750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37754         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37755         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37756         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37757         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37760         manipulate bits before adding and subtracting TWO112[sx].
37761         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37763 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37765         [BZ #13775]
37766         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37767         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37768         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37769         being in POSIX, because they are in 1003.1-2008.
37771         * rt/tst-aio.c: Include <fcntl.h>.
37772         * rt/tst-aio7.c: Likewise.
37773         * rt/tst-aio64.c: Likewise.
37775         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37777 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37779         * manual/install.texi (--with-headers): Describe headers as
37780         interface headers, not private headers.
37781         (Specific advice for GNU/Linux systems): Describe use of headers
37782         from "make headers_install", not private headers from older
37783         kernels.
37784         * INSTALL: Regenerated.
37785         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37786         Change to 2.6.19.
37787         * sysdeps/unix/sysv/linux/configure: Regenerated.
37789         * manual/llio.texi (fclean): Remove documentation.
37791         * manual/Makefile (libc-texi-generated): New variable.  Include
37792         version.texi.
37793         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37794         $(libc-texi-generated), not duplicated list of files.
37795         (version.texi, stamp-version): New rules.
37796         (realclean): Remove $(libc-texi-generated), not individual files
37797         from that list.  Do not remove dir-add.texinfo.
37798         * manual/libc.texinfo: Comment out uses of edition numbers and
37799         references to printed manual.  Remove last-updated dates.
37800         (EDITION): Comment out.
37801         (ISBN): Likewise.
37802         (VERSION, UPDATED): Remove.
37803         (version.texi): Include.
37805 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37807         * sysdeps/posix/spawni.c: Include <signal.h>.
37808         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37809         * sysdeps/pthread/aio_fsync.c: Likewise.
37811 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37813         * conform/Makefile (tests): Run only when not cross-compiling and
37814         when fast-check is not defined.
37816         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37817         * conform/data/limits.h-data: Fixes for POSIX2008.
37818         * conform/run-conformtest.sh: Run all tests.
37819         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37820         headers.
37821         * include/bits/dlfcn.h: Likewise.
37822         * include/langinfo.h: Likewise.
37823         * include/monetary.h: Likewise.
37824         * include/sys/poll.h: Likewise.
37826         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37827         for __USE_GNU.
37828         * posix/spawn.h: Define __need_sigset_t.
37829         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37830         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37831         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37832         to get sigevent_t only.
37833         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37834         only for __USE_GNU.
37835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37836         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37837         process_vm_writev only for __USE_GNU.
37838         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37840         * conform/Makefile: For now ignore errors from run-conformtest.
37841         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37842         POSIX to avoid namespace pollution.  Don't prepend headers.
37843         * conform/data/aio.h-data: Fixes for POSIX testing.
37844         * conform/data/fcntl.h-data: Likewise.
37845         * conform/data/glob.h-data: Likewise.
37846         * conform/data/grp.h-data: Likewise.
37847         * conform/data/pthread.h-data: Likewise.
37848         * conform/data/pwd.h-data: Likewise.
37849         * conform/data/signal.h-data: Likewise.
37850         * conform/data/spawn.h-data: Likewise.
37851         * conform/data/stdio.h-data: Likewise.
37852         * conform/data/stdlib.h-data: Likewise.
37853         * conform/data/stropts.h-data: Likewise.
37854         * conform/data/sys/mman.h-data: Likewise.
37855         * conform/data/sys/stat.h-data: Likewise.
37856         * conform/data/sys/types.h-data: Likewise.
37857         * conform/data/sys/wait.h-data: Likewise.
37858         * conform/data/time.h-data: Likewise.
37859         * conform/data/unistd.h-data: Likewise.
37860         * conform/data/utime.h-data: Likewise.
37862         * io/sys/stat.h: fchmod was always in POSIX.
37863         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37864         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37865         * rt/aio.h: Define __need_timespec before including <time.h>.
37866         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37867         struct.  Add forward declaration of pthread_attr_t and use it in
37868         sigevent.
37869         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37870         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37871         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37872         always remove CLK_TCK definition.
37874 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37876         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37878 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37880         * conform/run-conformtest.sh: New file.
37881         * conform/Makefile: Run run-conformtest for tests.
37882         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37883         support.
37885         * conform/data/uchar.h-data: New file.
37886         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37887         * conform/data/arpa/inet.h-data: Likewise.
37888         * conform/data/assert.h-data: Likewise.
37889         * conform/data/complex.h-data: Likewise.
37890         * conform/data/cpio.h-data: Likewise.
37891         * conform/data/ctype.h-data: Likewise.
37892         * conform/data/dirent.h-data: Likewise.
37893         * conform/data/dlfcn.h-data: Likewise.
37894         * conform/data/errno.h-data: Likewise.
37895         * conform/data/fcntl.h-data: Likewise.
37896         * conform/data/float.h-data: Likewise.
37897         * conform/data/fmtmsg.h-data: Likewise.
37898         * conform/data/fnmatch.h-data: Likewise.
37899         * conform/data/ftw.h-data: Likewise.
37900         * conform/data/glob.h-data: Likewise.
37901         * conform/data/grp.h-data: Likewise.
37902         * conform/data/iconv.h-data: Likewise.
37903         * conform/data/inttypes.h-data: Likewise.
37904         * conform/data/langinfo.h-data: Likewise.
37905         * conform/data/libgen.h-data: Likewise.
37906         * conform/data/limits.h-data: Likewise.
37907         * conform/data/locale.h-data: Likewise.
37908         * conform/data/math.h-data: Likewise.
37909         * conform/data/monetary.h-data: Likewise.
37910         * conform/data/mqueue.h-data: Likewise.
37911         * conform/data/ndbm.h-data: Likewise.
37912         * conform/data/net/if.h-data: Likewise.
37913         * conform/data/netdb.h-data: Likewise.
37914         * conform/data/netinet/in.h-data: Likewise.
37915         * conform/data/nl_types.h-data: Likewise.
37916         * conform/data/poll.h-data: Likewise.
37917         * conform/data/pthread.h-data: Likewise.
37918         * conform/data/pwd.h-data: Likewise.
37919         * conform/data/regex.h-data: Likewise.
37920         * conform/data/sched.h-data: Likewise.
37921         * conform/data/search.h-data: Likewise.
37922         * conform/data/semaphore.h-data: Likewise.
37923         * conform/data/setjmp.h-data: Likewise.
37924         * conform/data/signal.h-data: Likewise.
37925         * conform/data/spawn.h-data: Likewise.
37926         * conform/data/stdarg.h-data: Likewise.
37927         * conform/data/stdio.h-data: Likewise.
37928         * conform/data/stdlib.h-data: Likewise.
37929         * conform/data/string.h-data: Likewise.
37930         * conform/data/strings.h-data: Likewise.
37931         * conform/data/stropts.h-data: Likewise.
37932         * conform/data/sys/ipc.h-data: Likewise.
37933         * conform/data/sys/mman.h-data: Likewise.
37934         * conform/data/sys/msg.h-data: Likewise.
37935         * conform/data/sys/resource.h-data: Likewise.
37936         * conform/data/sys/select.h-data: Likewise.
37937         * conform/data/sys/sem.h-data: Likewise.
37938         * conform/data/sys/shm.h-data: Likewise.
37939         * conform/data/sys/socket.h-data: Likewise.
37940         * conform/data/sys/stat.h-data: Likewise.
37941         * conform/data/sys/statvfs.h-data: Likewise.
37942         * conform/data/sys/time.h-data: Likewise.
37943         * conform/data/sys/timeb.h-data: Likewise.
37944         * conform/data/sys/times.h-data: Likewise.
37945         * conform/data/sys/types.h-data: Likewise.
37946         * conform/data/sys/uio.h-data: Likewise.
37947         * conform/data/sys/un.h-data: Likewise.
37948         * conform/data/sys/utsname.h-data: Likewise.
37949         * conform/data/sys/wait.h-data: Likewise.
37950         * conform/data/syslog.h-data: Likewise.
37951         * conform/data/tar.h-data: Likewise.
37952         * conform/data/termios.h-data: Likewise.
37953         * conform/data/utime.h-data: Likewise.
37954         * conform/data/utmpx.h-data: Likewise.
37955         * conform/data/varargs.h-data: Likewise.
37956         * conform/data/wchar.h-data: Likewise.
37957         * conform/data/wctype.h-data: Likewise.
37958         * conform/data/wordexp.h-data: Likewise.
37960         * include/stropts.h: New file.
37961         * include/uchar.h: New file.
37962         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37963         * include/assert.h: Likewise.
37964         * include/ctype.h: Likewise.
37965         * include/dirent.h: Likewise.
37966         * include/dlfcn.h: Likewise.
37967         * include/fcntl.h: Likewise.
37968         * include/fnmatch.h: Likewise.
37969         * include/glob.h: Likewise.
37970         * include/grp.h: Likewise.
37971         * include/libio.h: Likewise.
37972         * include/locale.h: Likewise.
37973         * include/math.h: Likewise.
37974         * include/net/if.h: Likewise.
37975         * include/netdb.h: Likewise.
37976         * include/netinet/in.h: Likewise.
37977         * include/pthread.h: Likewise.
37978         * include/pwd.h: Likewise.
37979         * include/regex.h: Likewise.
37980         * include/sched.h: Likewise.
37981         * include/search.h: Likewise.
37982         * include/setjmp.h: Likewise.
37983         * include/signal.h: Likewise.
37984         * include/stdio.h: Likewise.
37985         * include/stdlib.h: Likewise.
37986         * include/string.h: Likewise.
37987         * include/sys/cdefs.h: Likewise.
37988         * include/sys/mman.h: Likewise.
37989         * include/sys/msg.h: Likewise.
37990         * include/sys/resource.h: Likewise.
37991         * include/sys/select.h: Likewise.
37992         * include/sys/socket.h: Likewise.
37993         * include/sys/stat.h: Likewise.
37994         * include/sys/statvfs.h: Likewise.
37995         * include/sys/time.h: Likewise.
37996         * include/sys/times.h: Likewise.
37997         * include/sys/uio.h: Likewise.
37998         * include/sys/utsname.h: Likewise.
37999         * include/sys/wait.h: Likewise.
38000         * include/termios.h: Likewise.
38001         * include/time.h: Likewise.
38002         * include/ulimit.h: Likewise.
38003         * include/unistd.h: Likewise.
38004         * include/utime.h: Likewise.
38005         * include/wchar.h: Likewise.
38006         * include/wctype.h: Likewise.
38007         * include/wordexp.h: Likewise.
38009         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38011         * time/time.h: TIME_UTC must be a macro.
38012         Make timespec_get available for ISO C11 only as well.
38014 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38016         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38017         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38019 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38021         * configure.in: Use -o not -a in test for unsupported multi-arch.
38023 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38025         * manual/texinfo.tex: Update to version 2012-01-19.16.
38027 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38029         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38031 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38033         [BZ #13738]
38034         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38035         * manual/fdl-1.3.texi: New file.
38036         * manual/fdl-1.1.texi: File removed.
38038         [BZ #13738]
38039         * manual/libc.texinfo (FDL_VERSION): New @set.
38040         Use it for mention of FDL in cover text.
38041         (Documentation License): Use it in @include file name.
38043 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38044             Roland McGrath  <roland@hack.frob.com>
38046         [BZ #5461]
38047         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38048         (not LONG_LONG_MAX and LONG_LONG_MIN.
38049         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38050         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38051         name.
38052         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38054 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38056         [BZ #2547]
38057         [BZ #11365]
38058         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38059         manipulate bits before adding and subtracting TWO23[sx].
38060         * math/libm-test.inc (nearbyint_test): Add more tests.
38062 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38064         [BZ #2548]
38065         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38066         bits before adding and subtracting TWO23[sx].
38067         * math/libm-test.inc (rint_test): Add more tests.
38068         (rint_test_tonearest): Likewise.
38069         (rint_test_towardzero): Likewise.
38070         (rint_test_downward): Likewise.
38071         (rint_test_upward: Likewise.
38073 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38075         [BZ #10110]
38076         * include/stdc-predef.h: New file.  Extracted from features.h.
38077         * include/features.h: Include stdc-predef.h.
38078         * Makefile (headers): Add stdc-predef.h.
38079         * CONFORMANCE (Compiler limitations): Update.
38081 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38083         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38085 2012-02-21  David S. Miller  <davem@davemloft.net>
38087         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38088         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38090 2012-02-20  David S. Miller  <davem@davemloft.net>
38092         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38093         using a normal save/restore sequence, rather than allocating a
38094         dummy stack frame just to store a frame pointer and restore.
38095         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38099         * manual/install.texi: Fix stray word in line-wrapped comment.
38101 2012-02-20  David S. Miller  <davem@davemloft.net>
38103         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38104         both binutils and gcc support GOTDATA.
38106         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38107         "rd %pc" in the PIC register setup sequences.
38109         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38110         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38111         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38112         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38113         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38115         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38116         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38117         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38118         (SYSCALL_ERROR_HANDLER): Likewise.
38119         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38120         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38122         (SYSCALL_ERROR_HANDLER): Likewise.
38124         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38125         (HAVE_GCC_GOTDATA): New.
38126         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38127         relocation support in both binutils and gcc.
38128         * sysdeps/sparc/elf/configure: Regenerate.
38130         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38131         * sysdeps/sparc/sparc32/elf/configure: Delete.
38132         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38133         * sysdeps/sparc/sparc64/elf/configure: Delete.
38134         * sysdeps/sparc/elf/configure.in: New file.
38135         * sysdeps/sparc/elf/configure: Generate.
38137         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38138         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38139         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38140         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38141         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38143 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38145         * manual/install.texi: Do not mention specific glibc version
38146         numbers.
38147         * manual/libc.texinfo (VERSION, UPDATED): Update.
38148         (@copying): Use @copyright{} and range of years.
38150 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38152         [BZ #13695]
38153         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38154         [crti.S not in sysdirs] (generated): Do not append.
38155         [crti.S not in sysdirs] (omit-deps): Likewise.
38156         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38157         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38158         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38159         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38160         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38161         Likewise.
38162         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38163         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38164         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38165         * csu/defs.awk: Remove file.
38166         * sysdeps/generic/initfini.c: Likewise.
38167         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38168         variable.
38169         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38170         Likewise.
38172 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38174         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38175         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38176         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38177         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38179         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38180         <bits/epoll.h>.
38181         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38182         (__EPOLL_PACKED): Define to empty if not defined by
38183         <bits/epoll.h>.
38184         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38186         bits/epoll.h.
38188 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38190         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38191         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38192         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38193         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38194         <bits/timerfd.h>.
38195         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38197         bits/timerfd.h.
38199 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38201         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38202         in C locale.
38203         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38204         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38205         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38208 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38210         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38211         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38213 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38215         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38216         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38217         defined.
38218         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38219         Likewise.
38220         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38221         entry for 2.16.
38223 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38225         * math/w_acos.c: Use non-signaling floating-point comparisons.
38226         * math/w_acosf.c: Likewise.
38227         * math/w_acosh.c: Likewise.
38228         * math/w_acoshf.c: Likewise.
38229         * math/w_acoshl.c: Likewise.
38230         * math/w_acosl.c: Likewise.
38231         * math/w_asin.c: Likewise.
38232         * math/w_asinf.c: Likewise.
38233         * math/w_asinl.c: Likewise.
38234         * math/w_atanh.c: Likewise.
38235         * math/w_atanhf.c: Likewise.
38236         * math/w_atanhl.c: Likewise.
38237         * math/w_exp2.c: Likewise.
38238         * math/w_exp2f.c: Likewise.
38239         * math/w_exp2l.c: Likewise.
38240         * math/w_j0.c: Likewise.
38241         * math/w_j0f.c: Likewise.
38242         * math/w_j0l.c: Likewise.
38243         * math/w_j1.c: Likewise.
38244         * math/w_j1f.c: Likewise.
38245         * math/w_j1l.c: Likewise.
38246         * math/w_jn.c: Likewise.
38247         * math/w_jnf.c: Likewise.
38248         * math/w_log.c: Likewise.
38249         * math/w_log10.c: Likewise.
38250         * math/w_log10f.c: Likewise.
38251         * math/w_log10l.c: Likewise.
38252         * math/w_log2.c: Likewise.
38253         * math/w_log2f.c: Likewise.
38254         * math/w_log2l.c: Likewise.
38255         * math/w_logf.c: Likewise.
38256         * math/w_logl.c: Likewise.
38257         * math/w_sqrt.c: Likewise.
38258         * math/w_sqrtf.c: Likewise.
38259         * math/w_sqrtl.c: Likewise.
38260         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38261         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38262         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38263         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38264         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38266 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38268         [BZ #9739]
38269         * manual/string.texi (strnlen): Use correct parameter name in
38270         equivalent expression.
38272 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38274         [BZ #11174]
38275         * manual/users.texi (seteuid): Consistently use neweuid for
38276         argument name.
38278 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38280         [BZ #13704]
38281         * manual/nss.texi (Services in the NSS configuration): Correct
38282         list of services in example configuration file.
38284 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38286         [BZ #11322]
38287         * manual/arith.texi: Remove statements about negative zero
38288         behaving identically to zero.
38290 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38292         [BZ #5993]
38293         * manual/install.texi: Do not document upgrading from libc5.
38295 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38297         [BZ #4596]
38298         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38300 2012-02-18  David S. Miller  <davem@davemloft.net>
38302         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38303         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38304         %o7 across the call.
38305         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38306         instead.
38307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38308         SETUP_PIC_REG_LEAF.
38309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38310         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38311         * sysdeps/sparc/crtn.S: Likewise.
38313 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38315         * aout/Makefile: Remove.
38317 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38319         [BZ #13058]
38320         * manual/examples/argp-ex1.c (main): Format definition in GNU
38321         style.
38322         * manual/examples/argp-ex2.c (main): Likewise.
38323         * manual/examples/argp-ex3.c (main): Likewise.
38324         * manual/examples/argp-ex4.c (main): Likewise.
38325         * manual/examples/longopt.c (main): Use new-style prototype
38326         definition.
38327         * manual/examples/strncat.c (main): Specify return type and use
38328         (void) for arguments.
38329         * manual/examples/subopt.c (main): Use char **argv argument.
38331 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38333         [BZ #5077]
38334         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38335         rounding modes.
38337 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38339         [BZ #6907]
38340         * manual/string.texi (strchr): Change when strchrnul is
38341         recommended.
38343 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38345         [BZ #174]
38346         * manual/locale.texi (setlocale): Document LOCPATH.
38348 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38350         [BZ #10210]
38351         * manual/process.texi (execle): Move @dots{} before last argument.
38353 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38355         [BZ #12047]
38356         * manual/charset.texi (Generic Charset Conversion): Fix typo
38357         (LC_TYPE -> LC_CTYPE).
38359 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38361         [BZ #5805]
38362         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38363         (scalbnf): Likewise.
38364         (scalbnl): Likewise.
38365         (scalbln): Likewise.
38366         (scalblnf): Likewise.
38367         (scalblnl): Likewise.
38368         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38369         (vwarnx): Likewise.
38370         (verr): Likewise.
38371         (verrx): Likewise.
38372         * manual/filesys.texi (telldir): Use braces around return type.
38373         * manual/llio.texi (mmap): Add space after comma.
38374         (mmap64): Likewise.
38375         * manual/math.texi (jn): Use @var{} on parameter names.
38376         (jnf): Likewise.
38377         (jnl): Likewise.
38378         (yn): Likewise.
38379         (ynf): Likewise.
38380         (ynl): Likewise.
38381         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38382         line.
38383         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38384         "...".
38385         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38386         (sched_get_priority_max): Likewise.
38387         * manual/signal.texi (sigvec): Add space after comma.
38388         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38389         names.
38390         (if_indextoname): Likewise.
38391         (if_freenameindex): Likewise.
38392         (sendto): Use ',' instead of '.' in prototype.
38393         * manual/startup.texi (syscall): Use @dots{} instead of literal
38394         "...".
38395         * manual/stdio.texi (__fpending): Separate initial words of
38396         paragraph from @deftypefun line.
38397         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38398         "...".
38399         (vsyslog): Use @var{} on parameter names.
38400         * manual/terminal.texi (stty): Use @var{} on parameter names.
38401         * manual/users.texi (getutmp): Use @var{} on parameter names.
38402         (getutmpx): Likewise.
38404 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38406         [BZ #6884]
38407         * manual/stdio.texi (fopen): Fix typos in description of
38408         ",ccs=STRING".
38410 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38412         [BZ #4026]
38413         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38414         get clock_id definition.
38416 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38418         [BZ #4822]
38419         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38420         (madvise): Cast every argument to void on its own.
38422 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38424         [BZ #9902]
38425         * manual/startup.texi (Exit Status): Fix typo.
38427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38429         [BZ #10140]
38430         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38431         * manual/examples/argp-ex2.c: Likewise.
38432         * manual/examples/argp-ex3.c: Likewise.
38434 2012-02-16  Richard Henderson  <rth@redhat.com>
38436         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38437         * sysdeps/s390/s390-32/initfini.c: Remove.
38438         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38439         * sysdeps/s390/s390-64/initfini.c: Remove.
38441 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38443         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38444         compiler output for sysdeps/generic/initfini.c.
38445         * sysdeps/sh/elf/initfini.c: Remove file.
38447 2012-02-16  David S. Miller  <davem@davemloft.net>
38449         [BZ #11494]
38450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38452         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38453         * sysdeps/sparc/crti.S: New file.
38454         * sysdeps/sparc/crtn.S: New file.
38455         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38456         * sysdeps/sparc/sparc64/Makefile: Likewise.
38458 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38460         [BZ #3335]
38461         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38463 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38465         [BZ #4822]
38466         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38468         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38469         (write, read, close): Likewise.
38470         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38472 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38474         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38475         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38476         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38477         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38478         <bits/signalfd.h>.
38479         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38481         bits/signalfd.h.
38483 2012-02-14  Marek Polacek  <polacek@redhat.com>
38485         * sysdeps/x86_64/crti.S: New file.
38486         * sysdeps/x86_64/crtn.S: New file.
38487         * sysdeps/x86_64/elf/initfini.c: Remove file.
38489 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38491         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38492         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38493         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38494         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38495         <bits/inotify.h>.
38496         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38498         bits/inotify.h.
38500 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38502         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38503         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38504         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38505         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38506         <bits/eventfd.h>.
38507         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38509         bits/eventfd.h.
38511 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38513         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38514         __feraiseexcept instead of feraiseexcept.
38516         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38517         nanosleep invocations.
38518         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38519         strings, and add error checking for a nanosleep invocations.
38521 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38523         Replace FSF snail mail address with URLs, as per GNU coding standards.
38524         Most of the snail mail addresses were wrong anyway, and omitting
38525         them makes the source code easier to maintain.  Almost all of the
38526         changes are to license notices and to locale LC_IDENTIFICATION
38527         addresses, except for this one:
38528         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38529         not its snail mail address.
38531 2012-02-09  Richard Henderson  <rth@twiddle.net>
38533         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38534         of kernel-features.h.
38536         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38538 2012-02-08  Marek Polacek  <polacek@redhat.com>
38540         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38541         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38542         * sysdeps/gnu/_G_config.h: Likewise.
38543         * sysdeps/generic/_G_config.h: Likewise.
38545 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38547         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38548         tests.
38549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38551         * sysdeps/powerpc/powerpc32/crti.S: New file.
38552         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38553         * sysdeps/powerpc/powerpc64/crti.S: New file.
38554         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38556         * Makeconfig (have-initfini): Don't set.
38557         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38558         * configure.in (nopic_initfini): Don't substitute.
38559         * config.h.in (HAVE_INITFINI): Don't #undef.
38560         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38561         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38563 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38565         Support crti.S and crtn.S provided directly by architectures.
38566         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38567         [crti.S in sysdirs] (omit-deps): Likewise.
38568         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38569         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38570         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38571         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38572         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38573         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38574         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38575         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38576         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38577         compiler output for sysdeps/generic/initfini.c.
38578         * sysdeps/i386/elf/Makefile: Remove file.
38579         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38581 2012-02-07  Marek Polacek  <polacek@redhat.com>
38583         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38584         * sysdeps/gnu/_G_config.h: Likewise.
38585         * sysdeps/mach/hurd/_G_config.h: Likewise.
38587 2012-02-07  Marek Polacek  <polacek@redhat.com>
38589         * math/Makefile (tests): Add tst-CMPLX2.
38590         * math/tst-CMPLX2.c: New file.
38592 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38594         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38596         * math/libm-test.inc (jn_test): Add missing L suffix.
38598 2012-02-06  Marek Polacek  <polacek@redhat.com>
38600         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38601         * sysdeps/i386/fpu/e_powf.S: Likewise.
38602         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38603         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38604         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38605         * sysdeps/i386/fpu/e_pow.S: Likewise.
38606         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38607         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38608         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38609         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38610         * sysdeps/i386/fpu/e_log2.S: Likewise.
38611         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38612         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38613         * sysdeps/i386/fpu/e_powl.S: Likewise.
38614         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38615         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38616         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38617         * sysdeps/i386/fpu/e_logl.S: Likewise.
38618         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38619         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38620         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38621         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38622         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38623         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38624         * sysdeps/i386/fpu/e_log.S: Likewise.
38625         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38626         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38627         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38628         * sysdeps/i386/fpu/e_logf.S: Likewise.
38629         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38630         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38631         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38632         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38633         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38634         * sysdeps/i386/fpu/e_log10.S: Likewise.
38635         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38636         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38637         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38638         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38639         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38640         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38641         * sysdeps/i386/asm-syntax.h: Likewise.
38642         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38643         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38644         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38645         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38646         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38647         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38648         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38649         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38650         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38651         * sysdeps/powerpc/sysdep.h: Likewise.
38652         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38653         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38655 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38657         [BZ #411]
38658         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38660 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38662         * sysdeps/i386/sysdep.h: Include <features.h>.
38663         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38664         version.
38666 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38668         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38669         Define.
38670         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38671         LOAD_PIC_REG_STR.
38673 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38675         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38676         (SETUP_PIC_REG): Use GET_PC_THUNK.
38677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38678         macro.
38680 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38682         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38683         for non-PIC compilation.
38684         (SETUP_PIC_REG): Add .p2align directive.
38685         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38686         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38687         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38688         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38689         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38690         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38691         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38693         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38694         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38695         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38696         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38697         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38699         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38700         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38701         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38702         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38703         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38704         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38705         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38706         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38707         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38708         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38709         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38710         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38711         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38712         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38713         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38714         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38715         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38716         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38717         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38718         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38719         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38720         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38721         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38722         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38723         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38724         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38725         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38727 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38729         * math/tst-CMPLX.c: Include <stdio.h>.
38731 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38733         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38734         float.
38735         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38736         * sysdeps/sparc/bits/mathdef.h: Likewise.
38738 2012-01-31  Marek Polacek  <polacek@redhat.com>
38740         * libio/libio.h: Don't define _PARAMS.
38741         * locale/programs/config.h: Don't define PARAMS.
38742         * stdlib/strtol_l.c: Likewise.
38743         (__strtol_l): Remove PARAMS from the prototype.
38745 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38747         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38748         names.  Just use the correct names.  Remove unnecessary wrapper
38749         functions.
38750         * malloc/arena.c: Likewise.
38751         * malloc/hooks.c: Likewise.
38753         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38754         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38755         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38757 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38759         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38760         into tail calls.
38761         (update_get_addr): New function.
38762         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38763         GET_ADDR_MODULE parameter.
38765 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38767         * crypt/cert.c: Remove __STDC__ conditionals.
38768         * crypt/crypt-entry.c: Likewise.
38769         * crypt/crypt_util.c: Likewise.
38770         * libio/filedoalloc.c: Likewise.
38771         * libio/fileops.c: Likewise.
38772         * libio/genops.c: Likewise.
38773         * libio/iofclose.c: Likewise.
38774         * libio/iofdopen.c: Likewise.
38775         * libio/iofopen.c: Likewise.
38776         * libio/iofopen64.c: Likewise.
38777         * libio/iogetdelim.c: Likewise.
38778         * libio/iopopen.c: Likewise.
38779         * libio/obprintf.c: Likewise.
38780         * libio/oldfileops.c: Likewise.
38781         * libio/oldiofclose.c: Likewise.
38782         * libio/oldiofdopen.c: Likewise.
38783         * libio/oldiofopen.c: Likewise.
38784         * libio/oldiopopen.c: Likewise.
38785         * libio/wfiledoalloc.c: Likewise.
38786         * libio/wgenops.c: Likewise.
38787         * locale/programs/xmalloc.c: Likewise.
38788         * misc/syslog.c: Likewise.
38789         * stdio-common/xbug.c: Likewise.
38790         * string/memchr.c: Likewise.
38791         * string/memcmp.c: Likewise.
38792         * string/memrchr.c: Likewise.
38793         * string/rawmemchr.c: Likewise.
38794         * sysdeps/posix/getcwd.c: Likewise.
38795         * time/strftime_l.c: Likewise.
38797 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38799         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38800         * config.make.in (config-cflags-sse2avx): Define.
38801         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38802         Fix typo.
38804 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38806         * scripts/config.guess: Update from upstream config git repository.
38807         * scripts/config.sub: Likewise.
38809 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38811         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38812         (EM_NUM): Update.
38813         (R_TILEPRO_*, R_TILEGX_*): New macros.
38815         * scripts/firstversions.awk: Fix bug in version range handling.
38817         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38819         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38821         * include/sys/epoll.h: New file.
38822         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38823         libc_hidden_def.
38825 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38827         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38828         Avoid unnecessary __WORDSIZE == 64 test.
38829         (fmaxf): Use VEX format if possible.
38830         (fmax): Likewise.
38831         (fminf): Likewise.
38832         (fmin): Likewise.
38834         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38835         * math/math_private.h: Remove libc_fegetround* and
38836         libc_fesetround*.
38837         * sysdeps/i386/configure.in: Check for -msse2avx.
38838         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38839         also if SSE2AVX is defined.
38840         Remove libc_fegetround* and libc_fesetround*.
38841         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38842         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38843         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38844         of HAS_YMM_USABLE.
38845         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38846         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38847         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38848         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38849         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38851         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38853 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38855         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38856         size is not set.
38857         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38859 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38861         [BZ #13618]
38862         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38863         relocation.
38864         * Makeconfig (libm): Define.
38865         * elf/Makefile: Add rules to build and run tst-relsort1.
38866         * elf/tst-relsort1.c: New file.
38867         * elf/tst-relsort1mod1.c: New file.
38868         * elf/tst-relsort1mod2.c: New file.
38870 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38872         * math/s_ldexp.c: Remove __STDC__ conditionals.
38873         * math/s_ldexpf.c: Likewise.
38874         * math/s_ldexpl.c: Likewise.
38875         * math/s_nextafter.c: Likewise.
38876         * math/s_nexttowardf.c: Likewise.
38877         * math/s_significand.c: Likewise.
38878         * math/s_significandf.c: Likewise.
38879         * math/s_significandl.c: Likewise.
38880         * math/w_jnl.c: Likewise.
38881         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38882         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38883         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38884         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38885         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38900         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38901         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38902         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38903         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38905         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38906         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38907         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38908         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38909         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38910         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38911         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38912         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38913         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38914         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38915         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38916         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38917         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38918         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38919         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38920         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38921         * sysdeps/ieee754/k_standard.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38980         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38982         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38983         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38986         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38988         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38990         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38996         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38997         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38998         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38999         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39001         * sysdeps/ieee754/s_matherr.c: Likewise.
39002         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39003         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39005         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39007 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39009         * crypt/md5.h: Remove __STDC__ conditionals.
39010         * libio/libioP.h: Likewise.
39011         * locale/programs/config.h: Likewise.
39012         * sysdeps/generic/sysdep.h: Likewise.
39013         * sysdeps/i386/asm-syntax.h: Likewise.
39014         * sysdeps/s390/asm-syntax.h: Likewise.
39015         * sysdeps/unix/sysdep.h: Likewise.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39019 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39021         * libio/libio.h: Remove __STDC__ conditionals.
39022         * malloc/obstack.h: Likewise.
39023         * math/complex.h: Likewise.
39024         * math/math.h: Likewise.
39025         * sysdeps/generic/_G_config.h: Likewise.
39026         * sysdeps/gnu/_G_config.h: Likewise.
39027         * sysdeps/mach/hurd/_G_config.h: Likewise.
39028         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39029         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39030         * sysdeps/sparc/bits/mathdef.h: Likewise.
39032 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39034         [BZ #13583]
39035         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39036         Clean up HAS_* macros.
39037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39038         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39039         possible.
39040         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39041         HAS_AVX.
39042         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39043         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39044         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39045         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39046         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39048 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39050         * elf/tst-unique3.cc (gets): Remove declaration.
39051         * elf/tst-unique3lib.cc (gets): Likewise.
39052         * elf/tst-unique3lib2.cc (gets): Likewise.
39053         * elf/tst-unique4.cc (gets): Likewise.
39055 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39057         * include/stdio.h: Add C++ protection.  Add gets declarations and
39058         definitions.
39059         * debug/tst-chk1.c: Don't declare gets here.
39060         * stdio-common/tst-gets.c: Likewise.
39062 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39064         * posix/glob: Remove directory.
39066 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39068         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39070 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39072         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39073         of the non-standard EPFNOSUPPORT.
39075 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39077         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39078         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39079         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39081 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39083         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39085 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39087         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39088         transient errors.
39089         * nscd/grpcache.c (cache_addgr): Likewise.
39090         * nscd/hstcache.c (cache_addhst): Likewise.
39091         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39092         * nscd/pwdcache.c (cache_addpw): Likewise.
39093         * nscd/servicescache.c (cache_addserv): Likewise.
39095 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39097         * malloc/malloc.c: Various cleanups.
39098         * malloc/hooks.c: Likewise.
39100         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39101         * stdlib/bug-fmtmsg1.c: New file.
39103         * stdlib/fmtmsg.c (init): Add missing unlock.
39104         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39106 2012-01-12  Marek Polacek  <polacek@redhat.com>
39108         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39109         and _GNU_SOURCE.
39111 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39113         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39114         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39115         macro to ensure uniqueness of label name.
39116         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39117         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39119 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39121         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39123         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39124         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39125         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39128 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39130         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39132         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39133         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39134         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39136         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39138         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39139         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39140         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39141         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39143         * math/bits/math-finite.h: Add ldexp support.
39145 2012-01-10  Marek Polacek  <polacek@redhat.com>
39147         * locale/programs/localedef.h (show_archive_content): Add noreturn
39148         attribute.
39150 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39152         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39154 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39156         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39158         * io/Makefile (headers): Add bits/poll2.h.
39160 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39163         typo #include statement.
39165 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39167         * include/sys/cdefs.h: Define __attribute_alloc_size.
39168         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39169         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39170         * elf/pldd.c: Likewise.
39171         * iconv/iconv_charmap.c: Likewise.
39172         * iconv/iconvconfig.c: Likewise.
39173         * iconv/strtab.c: Likewise.
39174         * locale/programs/locale.c: Likewise.
39175         * locale/programs/localedef.h: Likewise.
39176         * locale/programs/simple-hash.c: Likewise.
39177         * nscd/nscd.h: Likewise.
39178         * nss/makedb.c: Likewise.
39179         * sysdeps/generic/ldconfig.h: Likewise.
39180         * locale/programs/localedef.c: Remove xmalloc prototype.
39181         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39183 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39185         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39186         appropriate.
39188 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39190         * math/Makefile (tests): Add tst-CMPLX.
39191         * math/tst-CMPLX.c: New file.
39193         * math/complex.h (CMPLXL): Fix typo.
39195         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39196         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39197         GLIBC_2.16.
39198         * debug/tst-chk1.c: Add poll and ppoll tests.
39199         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39200         * include/sys/poll.h: Add hidden proto for ppoll.
39201         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39202         * sysdeps/mach/hurd/ppoll.c: Likewise.
39203         * io/ppoll.c: Likewise.
39204         * debug/poll_chk.c: New file.
39205         * debug/ppoll_chk.c: New file.
39206         * include/bits/poll2.h: New file.
39207         * io/bits/poll2.h: New file.
39209         [BZ #1350]
39210         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39212         * configure.in: static is always set to yes.  Remove.
39213         * config.make.in: Don't set build-static.
39214         * Makeconfig: Remove use of build-static.
39215         * dlfcn/Makefile: Likewise.
39216         * elf/Makefile: Likewise.
39217         * math/Makefile: Likewise.
39218         * misc/Makefile: Likewise.
39219         * nptl/Makefile: Likewise.
39220         * sysdeps/mach/hurd/Makefile: Likewise.
39222         * configure.in: PWD_P is not used anymore.
39223         * config.make.in: Remove PWD_P entry.
39225         * configure.in: Remove last remnants of RANLIB.
39226         No need to check for signed size_t anymore.
39227         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39228         and IA-64.
39229         Remove __builtin_expect test because we require at least gcc 3.4.
39230         * aclocal.m4: Likewise.
39232         * wcsmbs/mbrtoc16.c: Implement using towc function.
39233         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39234         * wcsmbs/wcsmbsload.c: Likewise.
39235         * iconv/gconv_simple.c: Likewise.
39236         * iconv/gconv_int.h: Likewise.
39237         * iconv/gconv_builtin.h: Likewise.
39238         * iconv/iconv_prog.c: Remove CHAR16 handling.
39240         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39242         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39244         * configure.in: Remove --with-elf and --enable-bounded options.
39245         Dont set base_machine for ia64.  More non-ELF conditions removed.
39246         Remove testing and setting of leading underscore information.
39247         * config.make.in (build-bounded): Set to no.
39248         * config.h.in: Remove NO_UNDERSCORES entry.
39249         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39250         them.
39251         * csu/start.c: Remove !NO_UNDERSCORE code.
39252         * locale/localeinfo.h: Likewise.
39253         * sysdeps/generic/machine-gmon.h: Likewise.
39254         * sysdeps/generic/sysdep.h: Likewise.
39255         * sysdeps/i386/sysdep.h: Likewise.
39256         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39257         * sysdeps/mach/sysdep.h: Likewise.
39258         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39259         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39260         * sysdeps/sh/sysdep.h: Likewise.
39261         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39262         * sysdeps/unix/i386/sysdep.S: Likewise.
39263         * sysdeps/unix/sparc/start.c: Likewise.
39264         * sysdeps/unix/sparc/sysdep.S: Likewise.
39265         * sysdeps/unix/sparc/sysdep.h: Likewise.
39266         * sysdeps/unix/start.c: Likewise.
39267         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39268         * sysdeps/x86_64/sysdep.h: Likewise.
39270 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39272         [BZ #13553]
39273         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39274         for non-gcc.
39275         * argp/argp-fmtstream.h: Use const instead __const.
39276         * argp/argp.h: Likewise.
39277         * assert/assert.h: Likewise.
39278         * bits/fenv.h: Likewise.
39279         * bits/sched.h: Likewise.
39280         * bits/sigset.h: Likewise.
39281         * bits/sigthread.h: Likewise.
39282         * catgets/nl_types.h: Likewise.
39283         * conform/data/pthread.h-data: Likewise.
39284         * crypt/crypt-private.h: Likewise.
39285         * crypt/crypt.h: Likewise.
39286         * crypt/crypt_util.c: Likewise.
39287         * ctype/ctype.h: Likewise.
39288         * debug/execinfo.h: Likewise.
39289         * debug/mbsnrtowcs_chk.c: Likewise.
39290         * debug/mbsrtowcs_chk.c: Likewise.
39291         * debug/wcsnrtombs_chk.c: Likewise.
39292         * debug/wcsrtombs_chk.c: Likewise.
39293         * debug/wcstombs_chk.c: Likewise.
39294         * dirent/dirent.h: Likewise.
39295         * dlfcn/dlfcn.h: Likewise.
39296         * elf/neededtest4.c: Likewise.
39297         * grp/grp.h: Likewise.
39298         * gshadow/gshadow.h: Likewise.
39299         * iconv/gconv.h: Likewise.
39300         * iconv/gconv_int.h: Likewise.
39301         * iconv/gconv_simple.c: Likewise.
39302         * iconv/iconv.h: Likewise.
39303         * iconv/loop.c: Likewise.
39304         * iconv/skeleton.c: Likewise.
39305         * include/aio.h: Likewise.
39306         * include/aliases.h: Likewise.
39307         * include/argz.h: Likewise.
39308         * include/arpa/inet.h: Likewise.
39309         * include/assert.h: Likewise.
39310         * include/dirent.h: Likewise.
39311         * include/dlfcn.h: Likewise.
39312         * include/execinfo.h: Likewise.
39313         * include/fcntl.h: Likewise.
39314         * include/fenv.h: Likewise.
39315         * include/glob.h: Likewise.
39316         * include/grp.h: Likewise.
39317         * include/libintl.h: Likewise.
39318         * include/mntent.h: Likewise.
39319         * include/netdb.h: Likewise.
39320         * include/pwd.h: Likewise.
39321         * include/rpc/netdb.h: Likewise.
39322         * include/sched.h: Likewise.
39323         * include/search.h: Likewise.
39324         * include/shadow.h: Likewise.
39325         * include/signal.h: Likewise.
39326         * include/stdio.h: Likewise.
39327         * include/stdlib.h: Likewise.
39328         * include/string.h: Likewise.
39329         * include/sys/socket.h: Likewise.
39330         * include/sys/stat.h: Likewise.
39331         * include/sys/statfs.h: Likewise.
39332         * include/sys/statvfs.h: Likewise.
39333         * include/sys/syslog.h: Likewise.
39334         * include/sys/time.h: Likewise.
39335         * include/sys/uio.h: Likewise.
39336         * include/time.h: Likewise.
39337         * include/unistd.h: Likewise.
39338         * include/utmp.h: Likewise.
39339         * include/wchar.h: Likewise.
39340         * include/wctype.h: Likewise.
39341         * inet/aliases.h: Likewise.
39342         * inet/arpa/inet.h: Likewise.
39343         * inet/netinet/ether.h: Likewise.
39344         * inet/netinet/in.h: Likewise.
39345         * intl/libintl.h: Likewise.
39346         * io/bits/fcntl2.h: Likewise.
39347         * io/fcntl.h: Likewise.
39348         * io/ftw.h: Likewise.
39349         * io/sys/poll.h: Likewise.
39350         * io/sys/stat.h: Likewise.
39351         * io/sys/statfs.h: Likewise.
39352         * io/sys/statvfs.h: Likewise.
39353         * io/utime.h: Likewise.
39354         * libio/bits/stdio.h: Likewise.
39355         * libio/bits/stdio2.h: Likewise.
39356         * libio/libio.h: Likewise.
39357         * libio/libioP.h: Likewise.
39358         * libio/stdio.h: Likewise.
39359         * locale/lc-ctype.c: Likewise.
39360         * locale/locale.h: Likewise.
39361         * login/utmp.h: Likewise.
39362         * malloc/arena.c: Likewise.
39363         * malloc/malloc.c: Likewise.
39364         * malloc/malloc.h: Likewise.
39365         * malloc/mcheck.c: Likewise.
39366         * malloc/mtrace.c: Likewise.
39367         * math/bits/mathcalls.h: Likewise.
39368         * math/fenv.h: Likewise.
39369         * math/math_private.h: Likewise.
39370         * misc/bits/error.h: Likewise.
39371         * misc/bits/syslog.h: Likewise.
39372         * misc/err.h: Likewise.
39373         * misc/error.h: Likewise.
39374         * misc/fstab.h: Likewise.
39375         * misc/mntent.h: Likewise.
39376         * misc/regexp.h: Likewise.
39377         * misc/search.h: Likewise.
39378         * misc/sgtty.h: Likewise.
39379         * misc/sys/mman.h: Likewise.
39380         * misc/sys/syslog.h: Likewise.
39381         * misc/sys/uio.h: Likewise.
39382         * misc/sys/xattr.h: Likewise.
39383         * misc/ttyent.h: Likewise.
39384         * nis/rpcsvc/ypclnt.h: Likewise.
39385         * nss/nss.h: Likewise.
39386         * posix/bits/unistd.h: Likewise.
39387         * posix/fnmatch.h: Likewise.
39388         * posix/glob.h: Likewise.
39389         * posix/sched.h: Likewise.
39390         * posix/spawn.h: Likewise.
39391         * posix/sys/wait.h: Likewise.
39392         * posix/unistd.h: Likewise.
39393         * posix/wordexp.h: Likewise.
39394         * pwd/pwd.h: Likewise.
39395         * resolv/netdb.h: Likewise.
39396         * resource/sys/resource.h: Likewise.
39397         * rt/aio.h: Likewise.
39398         * rt/bits/mqueue2.h: Likewise.
39399         * rt/mqueue.h: Likewise.
39400         * shadow/shadow.h: Likewise.
39401         * signal/signal.h: Likewise.
39402         * socket/send.c: Likewise.
39403         * socket/sendto.c: Likewise.
39404         * socket/sys/socket.h: Likewise.
39405         * stdio-common/printf.h: Likewise.
39406         * stdlib/bits/stdlib.h: Likewise.
39407         * stdlib/fmtmsg.h: Likewise.
39408         * stdlib/monetary.h: Likewise.
39409         * stdlib/stdlib.h: Likewise.
39410         * stdlib/ucontext.h: Likewise.
39411         * streams/stropts.h: Likewise.
39412         * string/argz.h: Likewise.
39413         * string/bits/string2.h: Likewise.
39414         * string/string.h: Likewise.
39415         * string/strings.h: Likewise.
39416         * sunrpc/rpc/auth.h: Likewise.
39417         * sunrpc/rpc/auth_des.h: Likewise.
39418         * sunrpc/rpc/clnt.h: Likewise.
39419         * sunrpc/rpc/netdb.h: Likewise.
39420         * sunrpc/rpc/pmap_clnt.h: Likewise.
39421         * sunrpc/rpc/xdr.h: Likewise.
39422         * sysdeps/generic/inttypes.h: Likewise.
39423         * sysdeps/generic/net/if.h: Likewise.
39424         * sysdeps/generic/sys/swap.h: Likewise.
39425         * sysdeps/gnu/net/if.h: Likewise.
39426         * sysdeps/gnu/utmpx.h: Likewise.
39427         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39428         * sysdeps/i386/i486/bits/string.h: Likewise.
39429         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39430         * sysdeps/s390/bits/string.h: Likewise.
39431         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39432         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39433         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39434         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39435         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39436         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39437         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39438         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39439         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39440         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39441         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39442         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39443         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39444         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39445         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39446         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39447         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39448         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39449         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39451         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39452         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39453         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39454         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39455         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39456         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39457         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39458         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39459         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39460         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39461         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39462         * sysvipc/sys/ipc.h: Likewise.
39463         * sysvipc/sys/msg.h: Likewise.
39464         * sysvipc/sys/sem.h: Likewise.
39465         * sysvipc/sys/shm.h: Likewise.
39466         * termios/termios.h: Likewise.
39467         * time/sys/time.h: Likewise.
39468         * time/time.h: Likewise.
39469         * wcsmbs/bits/wchar2.h: Likewise.
39470         * wcsmbs/uchar.h: Likewise.
39471         * wcsmbs/wchar.h: Likewise.
39472         * wctype/wctype.h: Likewise.
39474         [BZ #13551]
39475         * Makeconfig: Remove all but ELF support including AIX support.
39476         * Makerules: Likewise.
39477         * config.h.in: Likewise.
39478         * config.make.in: Likewise.
39479         * configure: Likewise.
39480         * configure.in: Likewise.
39481         * csu/Makefile: Likewise.
39482         * csu/version.c: Likewise.
39483         * debug/Makefile: Likewise.
39484         * dlfcn/Makefile: Likewise.
39485         * elf/Makefile: Likewise.
39486         * extra-lib.mk: Likewise.
39487         * iconv/Makefile: Likewise.
39488         * include/libc-symbols.h: Likewise.
39489         * include/shlib-compat.h: Likewise.
39490         * resolv/Makefile: Likewise.
39491         * resolv/res_libc.c: Likewise.
39492         * rt/Makefile: Likewise.
39493         * sysdeps/i386/asm-syntax.h: Likewise.
39494         * sysdeps/i386/sysdep.h: Likewise.
39495         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39496         * sysdeps/mach/sysdep.h: Likewise.
39497         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39498         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39499         * sysdeps/s390/asm-syntax.h: Likewise.
39500         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39501         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39502         * sysdeps/sh/sysdep.h: Likewise.
39503         * sysdeps/unix/sparc/sysdep.h: Likewise.
39504         * sysdeps/wordsize-32/divdi3.c: Likewise.
39505         * sysdeps/x86_64/sysdep.h: Likewise.
39507         * argp/Versions: Remove _argp_unlock_xxx.
39509         [BZ #13559]
39510         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39511         * abilist/libBrokenLocale.abilist: Likewise.
39512         * abilist/libanl.abilist: Likewise.
39513         * abilist/libc.abilist: Likewise.
39514         * abilist/libcrypt.abilist: Likewise.
39515         * abilist/libdl.abilist: Likewise.
39516         * abilist/libm.abilist: Likewise.
39517         * abilist/libnsl.abilist: Likewise.
39518         * abilist/libpthread.abilist: Likewise.
39519         * abilist/libresolv.abilist: Likewise.
39520         * abilist/librt.abilist: Likewise.
39521         * abilist/libthread_db.abilist: Likewise.
39522         * abilist/libutil.abilist: Likewise.
39523         * abilist/libnss_db.abilist: New file.
39525         * scripts/abilist.awk: Add support for indirect functions.
39527         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39529         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39531         * shlib-versions: Remove entries for ports architectures.
39533         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39534         files in ports.
39535         * elf/stackguard-macros.h: Remove support for IA-64.
39536         * elf/tst-auditmod1.c: Likewise.
39537         * sysdeps/generic/ldsodefs.h: Likewise.
39539         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39540         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39541         configure files.
39543         [BZ #13552]
39544         * configure.in: Remove --enable-omitfp support.
39545         * FAQ.in: Adjust.
39546         * config.make.in: Likewise.
39547         * Makeconfig: Likewise.
39548         * manual/install.texi: Likewise.
39550         In case anyone cares, the IA-64 architecture could move to ports.
39551         * sysdeps/ia64/*: Removed.
39552         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39553         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39555         [BZ #13555]
39556         * configure.in: Remove entries for unsupported architectures.
39558         [BZ #13533]
39559         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39560         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39561         routines.
39562         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39563         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39564         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39565         fall back to using wcrtomb.
39566         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39567         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39568         renaming.
39569         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39570         * wcsmbs/tst-c16c32-1.c: New file.
39572         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39573         local variable.
39575         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39577         * elf/tst-unique3.cc: Add explicit declaration of gets.
39578         * elf/tst-unique3lib.cc: Likewise.
39579         * elf/tst-unique3lib2.cc: Likewise.
39580         * elf/tst-unique4.cc: Likewise.
39582         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39584 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39586         [BZ #13566]
39587         * assert/assert.h (static_assert): Don't define for C++.
39588         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39589         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39591 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39593         * iconv/loop.c (single loop): Fix assertion in storing of
39594         remaining bytes.
39596         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39598 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39600         * posix/getconf.c: Update copyright year.
39601         * nss/getent.c: Likewise.
39602         * nss/makedb.c: Likewise.
39603         * iconv/iconvconfig.c: Likewise.
39604         * iconv/iconv_prog.c: Likewise.
39605         * elf/ldconfig.c: Likewise.
39606         * elf/pldd.c: Likewise.
39607         * elf/sotruss.ksh: Likewise.
39608         * catgets/gencat.c: Likewise.
39609         * csu/version.c: Likewise.
39610         * elf/ldd.bash.in: Likewise.
39611         * elf/sprof.c (print_version): Likewise.
39612         * locale/programs/locale.c: Likewise.
39613         * locale/programs/localedef.c: Likewise.
39614         * login/programs/pt_chown.c: Likewise.
39615         * nscd/nscd.c (print_version): Likewise.
39616         * debug/xtrace.sh: Likewise.
39617         * malloc/memusage.sh: Likewise.
39618         * malloc/mtrace.pl: Likewise.
39619         * debug/catchsegv.sh: Likewise.
39621 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39623         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39624         pure attribute.
39626 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39628         [BZ #13533]
39629         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39630         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39631         transformations.
39632         * iconv/gconv_int.h: Likewise.
39633         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39634         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39635         from libc for GLIBC_2.16.
39636         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39637         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39638         * wcsmbs/uchar.h: Really define mbstate_t.
39639         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39640         * wcsmbs/c16rtomb.c: New file.
39641         * wcsmbs/mbrtoc16.c: New file.
39642         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39643         for C/POSIX locale.
39644         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39645         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39647         * wcsmbs/wchar.h: Add missing __restrict.
39649 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39651         [BZ #13532]
39652         * time/Makefile (routines): Add timespec_get.
39653         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39654         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39655         timespec for ISO C11.
39656         * time/timespec_get.c: New file.
39657         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39658         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39660         [BZ #13531]
39661         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39662         * stdlib/stdlib.h: Declare aligned_alloc.
39663         * Versions.def: Add GLIBC_2.16 for libc.
39664         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39666         [BZ 13527]
39667         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39668         ISO C11.
39670         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39671         code.
39673         [BZ #13528]
39674         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39676         [BZ #13529]
39677         * assert/assert.h (static_assert): Define.
39679         * version.h: Update for 2.16 development version.
39681         [BZ #13526]
39682         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39683         _ISOC11_SOURCE.
39685         * version.h (RELEASE): Bump for 2.15 release.
39686         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39688         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39689         Patch by Marek Polacek <mpolacek@redhat.com>.
39691         * bits/byteswap.h: Protect long long constants with __extension__.
39692         * sysdeps/i386/bits/byteswap.h: Likewise.
39693         * sysdeps/ia64/bits/byteswap.h: Likewise.
39694         * sysdeps/s390/bits/byteswap.h: Likewise.
39695         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39697 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39699         [BZ #13540]
39700         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39701         destination buffer.
39702         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39704 2011-12-23  Marek Polacek  <polacek@redhat.com>
39706         * elf/dl-addr.c (determine_info): Add inline keyword.
39707         * elf/tst-auditmod4b.c (check_avx): Likewise.
39708         * elf/tst-auditmod6b.c (check_avx): Likewise.
39709         * elf/tst-auditmod6c.c (check_avx): Likewise.
39710         * elf/tst-auditmod7b.c (check_avx): Likewise.
39712 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39714         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39715         !__SSE_MATH__.
39717 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39719         [BZ #13540]
39720         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39721         processing for last bytes.
39723 2011-08-06  Bruno Haible  <bruno@clisp.org>
39725         [BZ #13061]
39726         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39727         U+0385, not to U+1FEE.
39729         [BZ #13062]
39730         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39731         entry for U+00A5 U+0301.
39733 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39735         [BZ #13166]
39736         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39737         buffer for the output is too small.
39739         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39740         optimization.
39742         [BZ #13185]
39743         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39744         SSE flags if possible.
39746 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39748         [BZ #13540]
39749         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39750         processing for last bytes.
39752 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39754         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39755         (syscall-list-default-options, syscall-list-default-condition)
39756         (syscall-list-includes): Define.
39757         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39758         list of ABIs and options and #if conditions for each ABI.  Do not
39759         handle common syscalls between ABIs specially.
39760         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39761         Remove.
39762         (syscall-list-variants, syscall-list-32bit-options)
39763         (syscall-list-32bit-condition, syscall-list-64bit-options)
39764         (syscall-list-64bit-condition): Define.
39765         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39766         (syscall-list-variants, syscall-list-32bit-options)
39767         (syscall-list-32bit-condition, syscall-list-64bit-options)
39768         (syscall-list-64bit-condition): Define.
39769         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39770         Remove.
39771         (syscall-list-variants, syscall-list-32bit-options)
39772         (syscall-list-32bit-condition, syscall-list-64bit-options)
39773         (syscall-list-64bit-condition): Define.
39774         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39775         Remove.
39776         (syscall-list-variants, syscall-list-32bit-options)
39777         (syscall-list-32bit-condition, syscall-list-64bit-options)
39778         (syscall-list-64bit-condition): Define.
39780 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39782         * locale/iso-639.def: Add brx entry.
39784         [BZ #13328]
39785         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39786         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39788         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39789         __feraiseexcept_renamed.
39791 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39793         [BZ #13538]
39794         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39795         EPOLLET with unsigned values.
39796         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39799         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39800         to large cancellation.
39801         * math/s_cacoshf.c: Likewise.
39802         * math/s_cacoshl.c: Likewise.
39804 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39806         [BZ #13305]
39807         [BZ #12786]
39808         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39809         * math/s_cacoshf.c: Likewise.
39810         * math/s_cacoshl.c: Likewise.
39812 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39814         [BZ #13439]
39815         * iconv/gconv.h: Define __GCONV_SWAP.
39816         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39817         * iconvdata/utf-16.c: Likewise.
39818         * iconvdata/utf-32.c: Likewise.
39820 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39822         [BZ #13524]
39823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39824         numerator after shifting it by one limb.
39826 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39828         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39829         under [__USE_EXTERN_INLINES].
39831 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39833         [BZ #13446]
39834         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39836 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39838         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39839         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39840         optimized code.
39841         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39842         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39843         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39844         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39845         for strncasecmp/strncasecmp_l compilation.
39846         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39847         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39849 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39851         [BZ #13484]
39852         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39853         of __asm__.
39855 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39857         [BZ #13506]
39858         * time/tzfile.c (__tzfile_read): Check values from file header.
39860 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39862         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39863         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39864         * powerpc/powerpc32/dl-start.S: Likewise.
39865         * powerpc/powerpc32/elf/start.S: Likewise.
39866         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39867         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39868         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39869         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39870         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39871         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39872         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39873         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39874         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39875         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39876         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39877         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39878         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39879         * powerpc/powerpc32/memset.S: Likewise.
39880         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39881         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39882         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39883         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39884         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39885         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39886         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39887         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39888         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39889         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39890         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39891         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39892         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39894 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39896         * math/libm-test.inc: Added more nearbyint tests.
39897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39898         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39900         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39902 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39904         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39905         FD_CLOEXEC.
39907 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39909         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39910         Add wcscpy-ssse3 wcscpy-c.
39911         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39912         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39913         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39914         * sysdeps/x86_64/wcschr.S: New file.
39915         * sysdeps/x86_64/wcsrchr.S: New file.
39916         * string/test-strcmp.c: Remove checking of wcscmp function for
39917         wrong alignments.
39918         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39919         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39920         wcsrchr-sse2 wcsrchr-c.
39921         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39922         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39923         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39924         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39925         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39926         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39927         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39928         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39929         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39930         * wcsmbc/wcschr.c (WCSCHR): New macro.
39932 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39934         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39935         * wcsmbs/test-wcsrchr.c: New file.
39936         * string/test-strrchr.c: Add wcsrchr support.
39937         (WIDE): New macro.
39938         * wcsmbs/test-wcscpy.c: New file.
39939         * string/test-strcpy.c: Add wcscpy support.
39940         (WIDE): New macro.
39942 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39944         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39945         the inner loop.
39947 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39949         [BZ #13472]
39950         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39952 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39954         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39955         Minor optimizations.
39957         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39958         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39959         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39961 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39963         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39964         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39965         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39966         for gcc to avoid warnings.
39967         * inet/Makefile (tests): Add tst-checks.
39968         * inet/tst-checks.c: New file.
39970         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39971         warning.
39973         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39974         __wmemcmp_sse2.
39976         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39977         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39979         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39981 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39983         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39984         problem.
39986         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39988 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39990         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39991         conditional on GCC version.
39992         (__arch_compare_and_exchange_val_8_acq)
39993         (__arch_compare_and_exchange_val_16_acq)
39994         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39995         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39996         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39998 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40000         * sysdeps/sh/backtrace.c: New file.
40002 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40004         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40005         parenthesis.
40007 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40009         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40010         falling back to utime.
40012 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40014         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40015         expectations for float.
40017 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40019         * locale/weight.h (findidx): Add parameter len.
40020         * locale/weightwc.h (findidx): Likewise.
40021         * posix/fnmatch_loop.c (FCT): Adjust caller.
40022         * posix/regcomp.c (build_equiv_class): Likewise.
40023         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40024         * posix/regexec.c (check_node_accept_bytes): Likewise.
40025         * string/strcoll_l.c (STRCOLL): Likewise.
40026         * string/strxfrm_l.c (STRXFRM): Likewise.
40028 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40030         * Makefile.in: Remove CVSOPT handling.
40031         * configure.in: Remove use of AC_REVISION.
40032         * iconvdata/Makefile (distribute): No need to filter out CVS.
40033         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40034         handling.
40036 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40039         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40040         [USE_AS_STRNCASECMP_L]: Likewise.
40041         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40042         NO_TLS_DIRECT_SEG_REFS.
40043         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40044         Fix argument offsets for non-PIC.
40045         [USE_AS_STRNCASECMP_L]: Likewise.
40046         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40047         NO_TLS_DIRECT_SEG_REFS.
40049 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40051         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40052         O_CLOEXEC.
40053         * locale/loadlocale.c (_nl_load_locale): Likewise.
40055 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40057         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40058         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40059         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40060         (SYSCALL_GETTIME): Set errno on error.
40062         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40063         count references to noai6ai_cached.
40065 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40067         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40069         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40070         FD_CLOEXEC for /proc/self/maps.
40072         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40073         FD_CLOEXEC for /proc/meminfo.
40075         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40076         gai.conf.
40078         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40079         FD_CLOEXEC for given file.
40081         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40083         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40084         FD_CLOEXEC for /etc/hosts.
40085         (_gethtent): Likewise.
40087         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40089         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40090         cancellation and set FD_CLOEXEC for /etc/netgroup.
40092         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40093         reading /etc/publickey.
40095         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40096         allow cancellation when reading /etc/group.
40098         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40099         cancellation.
40100         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40102         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40103         when using data file.
40105         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40107         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40108         (write_nis_obj): Use "c" and "e" in fopen.
40110         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40112         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40114         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40116         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40118         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40119         locale.alias.
40121         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40123         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40125         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40127         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40128         file parsing and set FD_CLOEXEC.
40130 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40132         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40134 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40136         * malloc/arena.c (arena_get2): Don't call reused_arena when
40137         _int_new_arena failed.
40139 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40141         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40142         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40144         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40145         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40146         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40147         to compile strcasecmp and strncasecmp.
40148         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40149         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40153 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40155         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40156         locale-defines.sym to gen-as-const-headers.
40157         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40158         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40160         to compile strcasecmp and strncasecmp.
40161         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40162         strcasecmp_l and strncasecmp_l.
40163         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40164         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40165         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40166         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40167         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40168         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40169         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40170         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40171         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40172         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40173         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40175 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40177         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40178         result of SYSDEP_GETTIME_CPU to retval.
40179         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40180         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40182         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40183         variable.
40185         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40186         mantissa words.
40187         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40189         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40190         from unused variable.
40192         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40193         DWARF definitions.
40194         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40195         for assembling.
40197         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40198         over namespaces.
40200         * sunrpc/rpc_prot.c (rejected): Fix case value.
40202         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40203         unsigned long long int to avoid warnings in shift.
40205         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40206         of use of trans.
40207         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40208         variable tmp.
40210         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40211         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40212         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40214         * nis/nis_table.c (nis_list): Use variable of correct type for
40215         result of __follow_path call.
40217 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40219         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40220         of math functions ceil, trunc, floor, round, and sqrt, when
40221         avaliable on the platform.
40222         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40223         name clash.
40224         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40225         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40226         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40228 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40230         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40231         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40233 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40235         * include/unistd.h: Fix __readlink return type.
40236         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40238 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40240         * stdlib/ucontext.h: Undo last change for makecontext.
40242 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40244         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40246         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40247         * setjmp/setjmp.h: Mark functions as non-leaf.
40248         * setjmp/bits/setjmp2.h: Likewise.
40249         * stdlib/ucontext.h: Likewise.
40251 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40253         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40254         (reused_arena): Don't check arena limit.
40255         (arena_get2): Atomically check arena limit.
40257 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40259         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40260         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40263         instructions.
40265 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40267         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40268         handler when locking.
40270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40271         Fix size of allocated buffer.
40273 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40275         [BZ #10103]
40276         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40277         declarations for long double functions.
40278         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40280         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40282 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40284         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40285         installed.
40287         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40288         is disabled.
40290 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40292         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40294 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40296         * include/alloca.h (stackinfo_alloca_round): Define.
40297         (extend_alloca): Use it.
40298         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40299         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40300         here.
40302         * scripts/check-local-headers.sh: Ignore libaudit.h.
40304         * nscd/Makefile (extra-objs): Make recursively expanded.
40306 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40308         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40309         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40311         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40312         * posix/tst-rfc3484-2.c: Likewise.
40313         * posix/tst-rfc3484-3.c: Likewise.
40315         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40316         process_vm_writev.
40317         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40318         process_vm_writev.
40319         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40320         process_vm_writev from libc using GLIBC_2.15 version.
40322         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40324 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40326         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40327         stack usage.
40329 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40331         [BZ #13367]
40332         * nss/getent.c (initgroups_keys): Show error message in case no group
40333         names are given.
40335         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40336         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40337         __bump_nl_timestamp.
40338         * nscd/connections (nscd_init): When host database is served open
40339         netlink socket and request notification about configuration changes.
40340         (main_loop_poll): Track netlink file descriptor and bump timestamp
40341         in case data becomes available.
40342         (main_loop_epoll): Likewise.
40343         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40344         (database_pers_head): Add extra_data fileds.
40345         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40346         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40347         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40348         Adjust caller.
40349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40350         in6ai data, call __free_in6ai.
40351         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40352         Add -DHAVE_NETLINK.
40353         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40354         interface information.  Reuse previous data if netlink timestamp
40355         is not changed.
40356         (__bump_nl_timestamp): New function.
40357         (__free_in6ai): New function.
40359 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40361         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40362         close_not_cancel_no_status here.
40363         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40365 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40367         [BZ #13276]
40368         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40369         return value.
40371         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40372         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40373         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40375 2011-07-03  Andreas Jaeger  <aj@suse.de>
40377         [BZ #10709]
40378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40379         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40380         * math/libm-test.inc (sin_test): Add test case.
40382 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40384         [BZ #13337]
40385         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40386         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40388         * elf/chroot_canon.c (chroot_canon): Cleanups.
40390         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40392         [BZ #13335]
40393         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40394         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40396         * string/test-strchr.c: Make usable for strchrnul testing.
40397         * string/test-strchrnul.c: New file.
40398         * string/Makefile (strop-tests): Add strchrnul.
40400         * po/it.po: Update from translation team.
40401         * po/es.po: Likewise.
40403 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40406         the three constants needed as parameters.  Drop the others.
40407         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40408         __m128i_strloadu_tolower.
40409         Create and initialize variable zero and use it in all the places
40410         where _mm_setzero_si128 was used.
40412         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40413         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40414         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40415         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40416         anymore.
40417         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40418         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40419         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40420         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40421         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40422         __mpranred, __mptan.
40423         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40424         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40425         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40426         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40427         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40428         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40429         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40430         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40431         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40433 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40435         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40436         redefine if SHARED.
40437         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40440         wide char related routines to wcsmbs subdir.
40442 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40444         [BZ #13344]
40445         * misc/sys/cdefs.h (__THROWNL): Define.
40446         * posix/unistd.h: Use __THREADNL instead of __THREAD
40447         for memory synchronization functions.
40449 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40451         [BZ #13349]
40452         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40453         doesn't exist.
40454         * manual/stdio.texi (Obstack Streams): Node removed.
40456 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40458         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40459         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40460         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40462         * math/math_private.h (math_force_eval): Allow non-addressable
40463         arguments.
40464         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40466 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40468         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40469         file is not needed.
40471         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40473         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40474         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40475         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40476         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40477         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40478         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40479         Add AVX variants.
40480         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40481         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40482         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40483         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40484         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40485         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40486         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40487         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40488         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40489         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40490         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40491         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40492         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40493         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40494         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40495         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40496         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40497         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40498         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40500         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40501         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40503         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40504         place.  Use VEX encoding when compiling for AVX.
40506 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40508         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40509         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40511         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40513 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40515         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40516         useless if() expression.
40517         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40526         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40527         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40528         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40529         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40530         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40531         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40532         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40533         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40534         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40535         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40537         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40539 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40541         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40542         condition.
40543         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40545 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40547         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40548         .text section.  Avoid duplicate constants.
40549         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40559         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40561         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40563         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40564         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40566         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40568         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40570         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40572         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40573         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40574         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40575         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40576         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40577         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40578         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40579         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40580         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40581         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40582         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40583         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40584         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40585         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40586         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40587         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40588         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40589         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40590         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40591         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40592         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40593         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40595 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40597         * sysdeps/x86_64/dla.h: Move to ...
40598         * sysdeps/x86_64/fpu/dla.h: ...here.
40599         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40600         situations.  Use __builtin_fma only for gcc 4.6 and up.
40602         * config.make.in: Add have-mfma4 entry.
40603         * configure.in: Substitute libc_cv_cc_fma4.
40604         * math/Makefile (dbl-only-routines): Add sincostab.
40605         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40606         Use __sincostab not sincos.
40607         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40608         name is a macro.
40609         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40610         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40611         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40612         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40613         using __copysign.
40614         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40615         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40616         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40617         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40618         and __inv.
40619         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40620         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40621         __copysign.
40622         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40623         define aliases when function name is a macro.
40624         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40625         sysdeps/ieee754/dbl-64/sincos.tbl.
40626         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40627         fma4-enabled routines.
40628         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40629         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40630         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40631         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40632         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40633         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40634         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40635         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40636         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40637         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40638         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40639         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40640         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40641         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40642         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40643         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40644         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40645         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40646         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40647         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40648         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40649         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40651         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40652         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40653         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40654         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40655         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40656         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40657         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40659         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40660         rename.
40661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40662         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40670 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40672         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40674 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40678         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40679         prediction.
40680         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40682         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40683         Remove unused variable magic_bits.
40684         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40686         * string/strnlen.c: Define and use STRNLEN macro.
40687         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40688         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40689         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40690         * wcsmbs/wcslen.c: Define and use WCSLEN.
40691         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40692         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40693         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40694         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40695         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40696         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40697         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40699 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40702         strnlen-sse2-no-bsf.
40703         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40705         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40706         Add strnlen support.
40707         (USE_AS_STRNLEN): New macro.
40708         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40709         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40710         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40711         * sysdeps/x86_64/wcslen.S: New file.
40713 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40716         XMM-moves are used for copying on small sizes.
40718 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40720         * wcsmbs/Makefile (strop-tests): Add wcschr.
40721         * wcsmbs/test-wcschr.c: New file.
40722         * string/test-strchr.c: Update.
40723         Add wcschr support.
40724         (WIDE): New macro.
40726 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40728         * wcsmbs/Makefile (strop-tests): Add wcslen.
40729         * wcsmbs/test-wcslen.c: New file.
40730         * string/test-strlen.c: Update.
40731         Add wcslen support.
40732         (WIDE): New macro.
40734 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40736         * po/it.po: Update from translation team.
40738 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40740         * sysdeps/x86_64/wcscmp.S: Update.
40741         Fix wrong comparison semantics.
40742         wcscmp shall use signed comparison not unsigned.
40743         Don't use substraction to avoid overflow bug.
40744         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40745         * wcsmbc/wcscmp.c: Likewise.
40746         * string/test-strcmp.c: Likewise.
40747         Add new tests to check cases with negative values.
40749 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40751         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40752         * sysdeps/x86_64/dla.h: ...here.  New file.
40753         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40763 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40766         __ynl_finite aliases.
40768 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40772         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40773         define DLA_FMA.
40774         [DLA_FMA] (EMULV): Use DLA_FMA.
40775         [DLA_FMA] (MUL12): Use EMULV.
40776         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40777         that are not needed.
40778         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40779         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40781         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40782         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40783         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40784         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40786 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40788         * math/s_nan.c: Undef __nan.
40789         * math/s_nanf.c: Undef __nanf.
40790         * math/s_nanl.c: Undef __nanl.
40791         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40792         "math_private.h".
40794 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40796         * math/s_catan.c: Add branch predictions.
40797         * math/s_catanf.c: Likewise.
40798         * math/s_catanh.c: Likewise.
40799         * math/s_catanhf.c: Likewise.
40800         * math/s_catanhl.c: Likewise.
40801         * math/s_catanl.c: Likewise.
40802         * math/s_cexp.c: Likewise.
40803         * math/s_cexpf.c: Likewise.
40804         * math/s_cexpl.c: Likewise.
40805         * math/s_clog.c: Likewise.
40806         * math/s_clog10.c: Likewise.
40807         * math/s_clog10f.c: Likewise.
40808         * math/s_clog10l.c: Likewise.
40809         * math/s_clogf.c: Likewise.
40810         * math/s_clogl.c: Likewise.
40811         * math/s_csqrt.c: Likewise.
40812         * math/s_csqrtf.c: Likewise.
40813         * math/s_csqrtl.c: Likewise.
40814         * math/s_ctanf.c: Likewise.
40815         * math/s_ctanh.c: Likewise.
40816         * math/s_ctanhf.c: Likewise.
40817         * math/s_ctanhl.c: Likewise.
40818         * math/s_ctanl.c: Likewise.
40820         * math/math_private.h: Define __nan, __nanf, __nanl.
40821         * math/s_cacosh.c: Include <math_private.h>.
40822         * math/s_cacoshl.c: Likewise.
40823         * math/s_casinh.c: Likewise.
40824         * math/s_casinhf.c: Likewise.
40825         * math/s_casinhl.c: Likewise.
40826         * math/s_ccos.c: Rely entire on ccosh.
40827         * math/s_ccosf.c: Rely entire on ccoshf.
40828         * math/s_ccosl.c: Rely entirely on ccoshl.
40829         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40830         Remove tests for FE_INVALID.
40831         * math/s_ccoshf.c: Likewise.
40832         * math/s_ccoshl.c: Likewise.
40833         * math/s_csin.c: Likewise.
40834         * math/s_csinf.c: Likewise.
40835         * math/s_csinh.c Likewise.
40836         * math/s_csinhf.c: Likewise.
40837         * math/s_csinhl.c: Likewise.
40838         * math/s_csinl.c: Likewise.
40839         * math/s_ctan.c: Likewise.
40840         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40841         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40842         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40844 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40847         compilation problems.
40849         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40850         __builtin_expect.
40852 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40854         * sysdeps/i386/configure.in: Test for -mfma4 option.
40855         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40856         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40857         COMMON_CPUID_INDEX_80000001.
40858         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40859         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40860         use it if FMA3 is not supported.
40861         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40863         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40864         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40866 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40868         [BZ #12892]
40869         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40870         it would create a cycle with a link time dependency.
40872 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40874         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40875         instruction.
40876         * string/Makefile (strop-tests): Add rawmemchr.
40877         * string/test-rawmemchr.c: New file.
40879         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40880         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40881         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40882         when compiling str{,n}casecmp and when AVX is available.  Hook up
40883         new optimized code in initializers.
40885 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40887         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40888         __feraiseexcept instead of feraiseexcept.
40890 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40892         * math/math_private.h: Define defaults for libc_fetestexcept and
40893         libc_feupdateenv.
40894         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40895         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40896         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40897         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40898         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40899         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40900         libc_fetestexcept and libc_feupdateenv.
40902         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40903         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40904         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40905         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40906         libc_feholdexcept_setround.
40908         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40909         Add s_nearbyint-c and s_nearbyintf-c.
40910         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40911         nearbyintf inlines.
40912         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40913         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40914         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40915         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40917         * math/math_private.h: Define defaults for libc_fegetround,
40918         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40919         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40920         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40921         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40922         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40923         standard functions.
40924         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40925         Remove comments and hacks for old compiler versions.
40926         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40927         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40928         libc_feholdexceptl.
40930 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40932         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40933         (__feraiseexcept_renamed): Add __NTH.
40934         (feraiseexcept): Add __NTH.  Rename local variables to fix
40935         namespace violations.
40937 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40939         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40941         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40943         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40944         recently added interfaces.
40945         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40947         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40948         about macro parameter expansion.
40950         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40951         __NO_MATH_INLINES is defined.  Cleanups.
40953         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40954         and __floorf is target has SSE4.1.
40955         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40956         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40957         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40958         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40960         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40961         name.
40962         (floorf): Likewise.
40964         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40966 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40968         * misc/sys/cdefs.h: Fix last change.
40970         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40971         database lookup.
40973 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40975         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40977         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40978         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40983         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40984         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40985         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40986         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40987         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40988         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40989         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40990         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40991         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40992         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40993         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40994         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40995         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40996         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40997         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40998         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41000         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41001         ceil, ceilf, floor, floorf.
41003         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41004         Perform IRELATIVE relocations last.
41006         * elf/do-rel.h: Add another parameter nrelative, replacing the
41007         local variable with the same name.  Change name of the function
41008         to end in Rel or Rela (uppercase).
41009         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41010         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41011         elf_dynamic_do_##reloc function.
41013 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41015         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41016         is sufficient, at least on modern CPUs.
41018         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41020         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41021         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41023         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41024         __expl_finite.
41025         * math/bits/math-finite.h: Add entries for exp.
41026         * math/e_expl.c: Add __*_finite alias.
41027         * sysdeps/i386/fpu/e_exp.S: Likewise.
41028         * sysdeps/i386/fpu/e_expf.S: Likewise.
41029         * sysdeps/i386/fpu/e_expl.c: Likewise.
41030         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41031         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41032         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41035         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41038         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41039         is sufficient, at least on modern CPUs.
41041         * ctype/ctype-info.c (__ctype_init): Define.
41042         * include/ctype.h (__ctype_init): Declare.
41043         (__ctype_b_loc): The variable is always initialized.
41044         (__ctype_toupper_loc): Likewise.
41045         (__ctype_tolower_loc): Likewise.
41046         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41047         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41049 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41051         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41053         * configure.in: Also look in $cxxmachine/include for C++ system
41054         headers.
41056 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41058         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41059         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41060         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41061         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41062         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41063         (USE_AS_WMEMCMP): New macro.
41064         Fixing indents.
41065         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41066         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41067         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41068         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41070         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41071         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41072         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41073         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41074         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41075         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41076         (USE_AS_WMEMCMP): New macro.
41077         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41078         * sysdeps/string/test-memcmp.c: Update.
41079         Fix simple_wmemcmp.
41080         Add new tests.
41081         * wcsmbs/wmemcmp.c: Update.
41082         (WMEMCMP): New macro.
41083         Fix overflow bug.
41085 2011-10-12  Andreas Jaeger  <aj@suse.de>
41087         [BZ #13268]
41088         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41090 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41092         * libio/iofwide.c (do_length): Avoid warning.
41094         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41096 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41098         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41100         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41101         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41102         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41103         * sysdeps/i386/i686/fpu/e_log.S: New file.
41104         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41105         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41107         * ctype/ctype.h: Add support for inlined isXXX functions when
41108         compiling C++ code.
41110 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41112         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41114         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41116 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41118         [BZ #13291]
41119         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41121 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41123         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41124         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41125         feraiseexcept.
41127         * sysdeps/x86_64/memrchr.S: Check for zero size.
41129         * string/stratcliff.c: Add memrchr tests.
41131 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41134         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41135         rawmemchr-sse2 rawmemchr-sse2-bsf.
41136         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41137         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41138         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41139         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41140         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41141         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41142         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41143         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41144         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41145         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41146         * string/memrchr.c (MEMRCHR): New macro.
41148 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41150         Add integration with gcc's -ffinite-math-only and optimize wrapper
41151         functions in libm.
41152         * Versions.def: Define GLIBC_2.15 version for libm.
41153         * math/Makefile (headers): Add bits/math-finite.h.
41154         * math/bits/math-finite.h: New file.
41155         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41156         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41157         * math/e_acoshl.c: Add __*_finite alias.
41158         * math/e_acosl.c: Likewise.
41159         * math/e_asinl.c: Likewise.
41160         * math/e_atan2l.c: Likewise.
41161         * math/e_atanhl.c: Likewise.
41162         * math/e_coshl.c: Likewise.
41163         * math/e_exp10.c: Likewise.
41164         * math/e_exp10f.c: Likewise.
41165         * math/e_exp10l.c: Likewise.
41166         * math/e_exp2l.c: Likewise.
41167         * math/e_fmodl.c: Likewise.
41168         * math/e_gammal_r.c: Likewise.
41169         * math/e_hypotl.c: Likewise.
41170         * math/e_j0l.c: Likewise.
41171         * math/e_j1l.c: Likewise.
41172         * math/e_jnl.c: Likewise.
41173         * math/e_lgammal_r.c: Likewise.
41174         * math/e_log10l.c: Likewise.
41175         * math/e_log2l.c: Likewise.
41176         * math/e_logl.c: Likewise.
41177         * math/e_powl.c: Likewise.
41178         * math/e_sinhl.c: Likewise.
41179         * math/e_sqrtl.c: Likewise.
41180         * math/e_scalb.c: Completely rewritten and optimized.
41181         * math/e_scalbf.c: Likewise.
41182         * math/e_scalbl.c: Likewise.
41183         * math/w_acos.c: Likewise.
41184         * math/w_acosf.c: Likewise.
41185         * math/w_acosl.c: Likewise.
41186         * math/w_acosh.c: Likewise.
41187         * math/w_acoshf.c: Likewise.
41188         * math/w_acoshl.c: Likewise.
41189         * math/w_asin.c: Likewise.
41190         * math/w_asinf.c: Likewise.
41191         * math/w_asinl.c: Likewise.
41192         * math/w_atan2.c: Likewise.
41193         * math/w_atan2f.c: Likewise.
41194         * math/w_atan2l.c: Likewise.
41195         * math/w_atanh.c: Likewise.
41196         * math/w_atanhf.c: Likewise.
41197         * math/w_atanhl.c: Likewise.
41198         * math/w_exp10.c: Likewise.
41199         * math/w_exp10f.c: Likewise.
41200         * math/w_exp10l.c: Likewise.
41201         * math/w_fmod.c: Likewise.
41202         * math/w_fmodf.c: Likewise.
41203         * math/w_fmodl.c: Likewise.
41204         * math/w_j0.c: Likewise.
41205         * math/w_j0f.c: Likewise.
41206         * math/w_j0l.c: Likewise.
41207         * math/w_j1.c: Likewise.
41208         * math/w_j1f.c: Likewise.
41209         * math/w_j1l.c: Likewise.
41210         * math/w_jn.c: Likewise.
41211         * math/w_jnf.c: Likewise.
41212         * math/w_log.c: Likewise.
41213         * math/w_logf.c: Likewise.
41214         * math/w_logl.c: Likewise.
41215         * math/w_log10.c: Likewise.
41216         * math/w_log10f.c: Likewise.
41217         * math/w_log10l.c: Likewise.
41218         * math/w_log2.c: Likewise.
41219         * math/w_log2f.c: Likewise.
41220         * math/w_log2l.c: Likewise.
41221         * math/w_pow.c: Likewise.
41222         * math/w_powf.c: Likewise.
41223         * math/w_powl.c: Likewise.
41224         * math/w_remainder.c: Likewise.
41225         * math/w_remainderf.c: Likewise.
41226         * math/w_remainderl.c: Likewise.
41227         * math/w_scalb.c: Likewise.
41228         * math/w_scalbf.c: Likewise.
41229         * math/w_scalbl.c: Likewise.
41230         * math/w_sqrt.c: Likewise.
41231         * math/w_sqrtf.c: Likewise.
41232         * math/w_sqrtl.c: Likewise.
41233         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41234         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41235         used.
41236         * math/math_private.h: Declare __kernel_standard_f.
41237         * math/w_cosh.c: Remove cruft and optimize a bit.
41238         * math/w_coshf.c: Likewise.
41239         * math/w_coshl.c: Likewise.
41240         * math/w_exp2.c: Likewise.
41241         * math/w_exp2f.c: Likewise.
41242         * math/w_exp2l.c: Likewise.
41243         * math/w_hypot.c: Likewise.
41244         * math/w_hypotf.c: Likewise.
41245         * math/w_hypotl.c: Likewise.
41246         * math/w_lgamma.c: Likewise.
41247         * math/w_lgamma_r.c: Likewise.
41248         * math/w_lgammaf.c: Likewise.
41249         * math/w_lgammaf_r.c: Likewise.
41250         * math/w_lgammal.c: Likewise.
41251         * math/w_lgammal_r.c: Likewise.
41252         * math/w_sinh.c: Likewise.
41253         * math/w_sinhf.c: Likewise.
41254         * math/w_sinhl.c: Likewise.
41255         * math/w_tgamma.c: Likewise.
41256         * math/w_tgammaf.c: Likewise.
41257         * math/w_tgammal.c: Likewise.
41258         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41259         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41260         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41261         Minor optimizations.  Pretty printing.  Remove cruft.
41262         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41263         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41264         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41265         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41266         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41267         * sysdeps/i386/fpu/e_asin.S: Likewise.
41268         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41269         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41270         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41271         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41272         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41273         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41274         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41275         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41276         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41277         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41278         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41279         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41280         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41281         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41282         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41283         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41284         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41285         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41286         * sysdeps/i386/fpu/e_log.S: Likewise.
41287         * sysdeps/i386/fpu/e_log10.S: Likewise.
41288         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41289         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41290         * sysdeps/i386/fpu/e_log2.S: Likewise.
41291         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41292         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41293         * sysdeps/i386/fpu/e_logf.S: Likewise.
41294         * sysdeps/i386/fpu/e_logl.S: Likewise.
41295         * sysdeps/i386/fpu/e_pow.S: Likewise.
41296         * sysdeps/i386/fpu/e_powf.S: Likewise.
41297         * sysdeps/i386/fpu/e_powl.S: Likewise.
41298         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41299         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41300         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41301         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41302         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41303         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41304         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41305         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41306         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41307         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41308         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41309         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41310         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41311         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41312         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41313         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41314         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41315         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41316         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41317         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41318         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41319         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41320         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41321         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41323         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41324         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41325         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41327         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41328         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41329         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41330         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41331         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41332         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41333         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41334         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41335         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41336         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41337         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41338         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41339         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41340         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41341         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41342         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41343         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41344         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41345         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41346         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41347         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41348         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41349         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41350         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41351         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41352         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41353         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41354         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41355         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41356         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41357         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41358         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41359         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41360         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41362         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41363         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41364         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41365         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41366         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41367         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41368         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41369         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41370         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41371         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41372         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41373         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41375         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41376         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41377         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41378         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41379         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41381         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41382         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41383         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41384         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41385         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41386         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41387         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41388         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41389         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41390         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41391         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41393         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41394         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41395         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41396         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41397         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41398         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41399         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41400         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41401         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41402         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41403         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41404         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41405         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41406         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41407         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41408         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41409         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41410         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41411         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41412         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41413         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41414         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41415         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41416         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41417         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41418         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41419         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41420         (__isnanf): Likewise.
41421         (__isinf_ns): Likewise.
41422         (__isinf_nsf): Likewise.
41423         (__finite): Likewise.
41424         (__finitef): Likewise.
41425         (__ieee754_sqrt): Define as macro.
41426         (__ieee754_sqrtf): Define as macro.
41427         (__ieee754_sqrtl): Define as macro.
41428         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41429         inlined copy.
41430         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41431         __FINITE_MATH_ONLY__ consistent.
41432         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41434 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41436         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41437         of rawmemchr.
41439         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41441 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41443         * po/ja.po: Update from translation team.
41445 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41447         * locale/programs/locarchive.c (prepare_address_space): New function.
41448         (create_archive, enlarge_archive, open_archive): Use it.
41450         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41451         inside [SHARED], where it is used.
41453         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41455         * nss/getent.c (netgroup_keys): Remove unused variable.
41456         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41458 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41460         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41461         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41462         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41463         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41464         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41465         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41466         * math/Makefile (libm-calls): Add s_isinf_ns.
41467         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41468         * math/multc3.c: Likewise.
41469         * math/s_casin.c: Likewise.
41470         * math/s_casinf.c: Likewise.
41471         * math/s_casinl.c: Likewise.
41472         * math/s_ccos.c: Likewise.
41473         * math/s_ccosf.c: Likewise.
41474         * math/s_ccosl.c: Likewise.
41475         * math/s_ctan.c: Likewise.
41476         * math/s_ctanf.c: Likewise.
41477         * math/s_ctanh.c: Likewise.
41478         * math/s_ctanhf.c: Likewise.
41479         * math/s_ctanhl.c: Likewise.
41480         * math/s_ctanl.c: Likewise.
41481         * math/w_fmod.c: Likewise.
41482         * math/w_fmodf.c: Likewise.
41483         * math/w_fmodl.c: Likewise.
41484         * math/w_remainder.c: Likewise.
41485         * math/w_remainderf.c: Likewise.
41486         * math/w_remainderl.c: Likewise.
41487         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41488         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41489         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41491         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41492         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41493         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41494         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41496         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41497         of the number.
41498         * stdio-common/printf_fphex.c: Likewise.
41499         * stdio-common/printf_size.c: Likewise.
41501         * math/e_exp10.c: Include math_private.h using <...> not "...".
41502         * math/e_exp10f.c: Likewise.
41503         * math/e_exp10l.c: Likewise.
41504         * math/e_exp2l.c: Likewise.
41505         * math/e_j0l.c: Likewise.
41506         * math/e_j1l.c: Likewise.
41507         * math/e_jnl.c: Likewise.
41508         * math/e_lgammal_r.c: Likewise.
41509         * math/e_rem_pio2l.c: Likewise.
41510         * math/e_scalb.c: Likewise.
41511         * math/e_scalbf.c: Likewise.
41512         * math/e_scalbl.c: Likewise.
41513         * math/k_cosl.c: Likewise.
41514         * math/k_sinl.c: Likewise.
41515         * math/k_tanl.c: Likewise.
41516         * math/s_cacoshf.c: Likewise.
41517         * math/s_catan.c: Likewise.
41518         * math/s_catanf.c: Likewise.
41519         * math/s_catanh.c: Likewise.
41520         * math/s_catanhf.c: Likewise.
41521         * math/s_catanhl.c: Likewise.
41522         * math/s_catanl.c: Likewise.
41523         * math/s_ccosh.c: Likewise.
41524         * math/s_ccoshf.c: Likewise.
41525         * math/s_ccoshl.c: Likewise.
41526         * math/s_cexp.c: Likewise.
41527         * math/s_cexpf.c: Likewise.
41528         * math/s_cexpl.c: Likewise.
41529         * math/s_clog.c: Likewise.
41530         * math/s_clog10.c: Likewise.
41531         * math/s_clog10f.c: Likewise.
41532         * math/s_clog10l.c: Likewise.
41533         * math/s_clogf.c: Likewise.
41534         * math/s_clogl.c: Likewise.
41535         * math/s_csin.c: Likewise.
41536         * math/s_csinf.c: Likewise.
41537         * math/s_csinh.c: Likewise.
41538         * math/s_csinhf.c: Likewise.
41539         * math/s_csinhl.c: Likewise.
41540         * math/s_csinl.c: Likewise.
41541         * math/s_csqrt.c: Likewise.
41542         * math/s_csqrtf.c: Likewise.
41543         * math/s_csqrtl.c: Likewise.
41544         * math/s_ctan.c: Likewise.
41545         * math/s_ctanf.c: Likewise.
41546         * math/s_ctanh.c: Likewise.
41547         * math/s_ctanhf.c: Likewise.
41548         * math/s_ctanhl.c: Likewise.
41549         * math/s_ctanl.c: Likewise.
41550         * math/s_ldexp.c: Likewise.
41551         * math/s_ldexpf.c: Likewise.
41552         * math/s_ldexpl.c: Likewise.
41553         * math/s_significand.c: Likewise.
41554         * math/s_significandf.c: Likewise.
41555         * math/s_significandl.c: Likewise.
41556         * math/w_acos.c: Likewise.
41557         * math/w_acosf.c: Likewise.
41558         * math/w_acosh.c: Likewise.
41559         * math/w_acoshf.c: Likewise.
41560         * math/w_acoshl.c: Likewise.
41561         * math/w_acosl.c: Likewise.
41562         * math/w_asin.c: Likewise.
41563         * math/w_asinf.c: Likewise.
41564         * math/w_asinl.c: Likewise.
41565         * math/w_atan2.c: Likewise.
41566         * math/w_atan2f.c: Likewise.
41567         * math/w_atan2l.c: Likewise.
41568         * math/w_atanh.c: Likewise.
41569         * math/w_atanhf.c: Likewise.
41570         * math/w_atanhl.c: Likewise.
41571         * math/w_cosh.c: Likewise.
41572         * math/w_coshf.c: Likewise.
41573         * math/w_coshl.c: Likewise.
41574         * math/w_dremf.c: Likewise.
41575         * math/w_exp10.c: Likewise.
41576         * math/w_exp10f.c: Likewise.
41577         * math/w_exp10l.c: Likewise.
41578         * math/w_exp2.c: Likewise.
41579         * math/w_exp2f.c: Likewise.
41580         * math/w_fmod.c: Likewise.
41581         * math/w_fmodf.c: Likewise.
41582         * math/w_fmodl.c: Likewise.
41583         * math/w_hypot.c: Likewise.
41584         * math/w_hypotf.c: Likewise.
41585         * math/w_hypotl.c: Likewise.
41586         * math/w_j0.c: Likewise.
41587         * math/w_j0f.c: Likewise.
41588         * math/w_j0l.c: Likewise.
41589         * math/w_j1.c: Likewise.
41590         * math/w_j1f.c: Likewise.
41591         * math/w_j1l.c: Likewise.
41592         * math/w_jn.c: Likewise.
41593         * math/w_jnf.c: Likewise.
41594         * math/w_jnl.c: Likewise.
41595         * math/w_lgamma.c: Likewise.
41596         * math/w_lgamma_r.c: Likewise.
41597         * math/w_lgammaf.c: Likewise.
41598         * math/w_lgammaf_r.c: Likewise.
41599         * math/w_lgammal.c: Likewise.
41600         * math/w_lgammal_r.c: Likewise.
41601         * math/w_log.c: Likewise.
41602         * math/w_log10.c: Likewise.
41603         * math/w_log10f.c: Likewise.
41604         * math/w_log10l.c: Likewise.
41605         * math/w_log2.c: Likewise.
41606         * math/w_log2f.c: Likewise.
41607         * math/w_log2l.c: Likewise.
41608         * math/w_logf.c: Likewise.
41609         * math/w_logl.c: Likewise.
41610         * math/w_pow.c: Likewise.
41611         * math/w_powf.c: Likewise.
41612         * math/w_powl.c: Likewise.
41613         * math/w_remainder.c: Likewise.
41614         * math/w_remainderf.c: Likewise.
41615         * math/w_remainderl.c: Likewise.
41616         * math/w_scalb.c: Likewise.
41617         * math/w_scalbf.c: Likewise.
41618         * math/w_scalbl.c: Likewise.
41619         * math/w_sinh.c: Likewise.
41620         * math/w_sinhf.c: Likewise.
41621         * math/w_sinhl.c: Likewise.
41622         * math/w_sqrt.c: Likewise.
41623         * math/w_sqrtf.c: Likewise.
41624         * math/w_sqrtl.c: Likewise.
41625         * math/w_tgamma.c: Likewise.
41626         * math/w_tgammaf.c: Likewise.
41627         * math/w_tgammal.c: Likewise.
41629         * po/ja.po: Update from translation team.
41631 2011-09-29  Andreas Jaeger  <aj@suse.de>
41633         [BZ #13179]
41634         * sunrpc/netname.c (netname2host): Fix logic.
41636         [BZ #6779]
41637         [BZ #6783]
41638         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41639         correctly.
41640         * math/w_remainder.c (__remainder): Likewise.
41641         * math/w_remainderf.c (__remainderf): Likewise.
41642         * math/libm-test.inc (remainder_test): Add test cases.
41644 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41646         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41647         sdiv_qrnnd.
41649 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41651         * string/test-memcmp.c: Avoid unncessary #defines.
41652         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41654 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41656         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41657         Use new sse2 version for core i3 - i7 as it's faster
41658         than sse42 version.
41659         (bit_Prefer_PMINUB_for_stringop): New.
41660         * sysdeps/x86_64/rawmemchr.S: Update.
41661         Replace with faster SSE2 version.
41662         * sysdeps/x86_64/memrchr.S: New file.
41663         * sysdeps/x86_64/memchr.S: Update.
41664         Replace with faster SSE2 version.
41666 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41668         * elf/dl-load.c (lose): Add cast to avoid warning.
41670 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41672         * po/ca.po: Update from translation team.
41674         * inet/getnetgrent_r.c: Hook up nscd.
41675         * nscd/Makefile (routines): Add nscd_netgroup.
41676         (nscd-modules): Add netgroupcache.
41677         (CFLAGS-netgroupcache.c): Define.
41678         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41679         (cache_search): Add const to second parameter.
41680         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41681         INNETGR.
41682         (dbs): Add netgrdb entry.
41683         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41684         (verify_persistent_db): Handle netgrdb.
41685         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41686         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41687         GETFDNETGR.
41688         (netgroup_response_header): Define.
41689         (innetgroup_response_header): Define.
41690         (datahead): Add netgroup_response_header and innetgroup_response_header
41691         elements.
41692         * nscd/nscd.conf: Add entries for netgroup cache.
41693         * nscd/nscd.h (dbtype): Add netgrdb.
41694         (_PATH_NSCD_NETGROUP_DB): Define.
41695         (netgroup_iov_disabled): Declare.
41696         (xmalloc, xcalloc, xrealloc): Move declarations here.
41697         (cache_search): Adjust prototype.
41698         Add netgroup-related prototypes.
41699         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41700         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41701         (__nscd_innetgr): Declare.
41702         * nscd/selinux.c (perms): Use access_vector_t as element type and
41703         add netgroup-related initializers.
41704         * nscd/netgroupcache.c: New file.
41705         * nscd/nscd_netgroup.c: New file.
41706         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41707         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41708         For four parameters use innetgr.
41709         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41710         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41711         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41712         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41714         * nscd/connections.c (register_traced_file): Don't register file
41715         for disabled databases.
41717 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41719         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41721         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41722         from tree and freeing node.
41724 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41726         * nss/nsswitch.c (__nss_database_lookup): Handle
41727         nss_parse_service_list out of memory case.
41729 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41731         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41732         out of memory case.
41734 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41736         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41737         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41738         pass it down.
41739         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41740         elf_machine_rela, elf_machine_lazy_rel.
41741         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41742         (ELF_DYNAMIC_DO_REL): Likewise.
41743         (ELF_DYNAMIC_DO_RELA): Likewise.
41744         (ELF_DYNAMIC_RELOCATE): Likewise.
41745         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41746         to ELF_DYNAMIC_DO_REL.
41747         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41748         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41749         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41750         elf_machine_rela.
41751         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41752         skip_ifunc, don't call ifunc function if non-zero.
41753         (elf_machine_rela): Likewise.
41754         (elf_machine_lazy_rel): Likewise.
41755         (elf_machine_lazy_rela): Likewise.
41756         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41757         (elf_machine_lazy_rel): Likewise.
41758         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41759         Likewise.
41760         (elf_machine_lazy_rel): Likewise.
41761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41762         Likewise.
41763         (elf_machine_lazy_rel): Likewise.
41764         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41765         (elf_machine_lazy_rel): Likewise.
41766         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41767         (elf_machine_lazy_rel): Likewise.
41768         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41769         (elf_machine_lazy_rel): Likewise.
41770         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41771         (elf_machine_lazy_rel): Likewise.
41772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41773         (elf_machine_lazy_rel): Likewise.
41774         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41775         (elf_machine_lazy_rel): Likewise.
41777 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41779         * nss/nss_files/files-init.c (_nss_files_init): Use static
41780         initialization for all the *_traced_file variables.
41782 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41784         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41786 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41788         [BZ #13226]
41789         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41791 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41793         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41794         Reread the line before reparsing it.
41796 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41798         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41800 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41801             Maxim Kuvyrkov  <maxim@codesourcery.com>
41802             Joseph Myers  <joseph@codesourcery.com>
41804         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41805         if needed for __stack_chk_guard.
41807 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41809         * sysdeps/posix/spawni.c (script_execute): Always define it.
41810         It will be optimized away if unused.
41811         (maybe_script_execute): New function.
41812         (__spawni): Call it.
41814         * Makerules: Don't include tls.make.
41815         (config-tls): Always set to thread.
41816         * tls.make.c: File removed.
41818 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41820         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41821         * config.make.in (CPPFLAGS-config): New substituted variable.
41823 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41825         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41827         [BZ #13192]
41828         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41829         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41831 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41833         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41834         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41835         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41836         (CALL_FAIL): Likewise.
41837         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41838         (CALL_FAIL): Macro removed.
41839         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41841 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41843         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41844         for __FINITE_MATH_ONLY__ == 1.
41846 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41848         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41849         __ieee754_sqrt instead of sqrt.
41850         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41851         __ieee754_sqrtf instead of sqrtf.
41852         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41853         __floorf instead of floorf.
41854         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41855         __floorf, __truncf instead of floorf, truncf.
41857 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41859         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41861         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41862         __extern_always_inline.
41863         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41864         32-bit.
41866 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41868         * elf/rtld.c (dl_main): Also relocate in dependency order when
41869         doing symbol dependency testing.
41871 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41873         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41874         Always define `refsym'.
41876 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41878         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41879         (__FD_ELT): Renamed from __FDELT.
41880         * misc/bits/select2.h (__FD_ELT): Likewise.
41881         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41882         __FD_MASK instead of __FDELT, __FDMASK.
41883         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41884         Likewise.
41885         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41886         Likewise.
41888         * elf/Makefile (gen-ldd): Fix pattern.
41890         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41891         (init_tls): Likewise.
41893 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41895         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41897 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41899         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41900         `struct cmsghdr *' instead of `void *'.
41901         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41902         Likewise.
41904 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41906         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41907         if non-absolute.
41908         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41909         ldd_rewrite_script.
41911 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41913         * configure.in: Remove --with-tls option.
41914         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41915         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41916         out in case it is missing.
41917         * sysdeps/ia64/elf/configure.in: Likewise.
41918         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41919         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41920         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41921         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41922         * sysdeps/sh/elf/configure.in: Likewise.
41923         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41924         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41925         * sysdeps/x86_64/elf/configure.in: Likewise.
41926         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41927         * sysdeps/mach/hurd/tls.h: Likewise.
41929         [BZ #13067]
41930         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41932         [BZ #13090]
41933         * configure.in: Fix use of AC_INIT.
41935         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41937 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41939         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41940         __set_errno.
41941         * malloc/hooks.c: Likewise.
41943         [BZ #11929]
41944         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41945         variables statically.
41946         (narenas): Initialize.
41947         (list_lock): Initialize.
41948         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41949         initializtion of main_arena and list_lock.  Small cleanups.
41950         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41951         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41952         Add initializers to main_arena and mp_.
41953         (malloc_state): Remove pagesize member.  Change all users to use
41954         GLRO(dl_pagesize).
41956         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41957         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41958         is always initialized.
41960         * malloc/malloc.c: Removed unused configurations and dead code.
41961         * malloc/arena.c: Likewise.
41962         * malloc/hooks.c: Likewise.
41963         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41965         * include/tls.h: Removed.  USE___THREAD must always be defined.
41966         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41967         * elf/dl-libc.c: Likewise.
41968         * elf/dl-tsd.c: Likewise.
41969         * include/errno.h: Likewise.
41970         * include/netdb.h: Likewise.
41971         * include/resolv.h: Likewise.
41972         * inet/herrno-loc.c: Likewise.
41973         * inet/herrno.c: Likewise.
41974         * malloc/arena.c: Likewise.
41975         * malloc/hooks.c: Likewise.
41976         * malloc/malloc.c: Likewise.
41977         * resolv/res-state.c: Likewise.
41978         * resolv/res_libc.c: Likewise.
41979         * sysdeps/i386/dl-machine.h: Likewise.
41980         * sysdeps/ia64/dl-machine.h: Likewise.
41981         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41982         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41983         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41984         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41985         * sysdeps/sh/dl-machine.h: Likewise.
41986         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41987         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41988         * sysdeps/unix/i386/sysdep.S: Likewise.
41989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41990         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41993         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41995         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41999         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42000         * sysdeps/x86_64/dl-machine.h: Likewise.
42001         * tls.make.c: Likewise.
42003         * configure.in: Remove --with-__thread option.  Make tests for
42004         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42005         tls_model attribute fail if no support is available.  Remove
42006         USE_IN_LIBIO.
42007         * Makeconfig: Adjust for dropped configure option.  All features are
42008         now mandatory.
42009         * Makerules: Likewise.
42010         * Versions.def: Likewise.
42011         * argp/argp-fmtstream.c: Likewise.
42012         * argp/argp-fmtstream.h: Likewise.
42013         * argp/argp-help.c: Likewise.
42014         * assert/assert.c: Likewise.
42015         * config.h.in: Likewise.
42016         * config.make.in: Likewise.
42017         * configure: Likewise.
42018         * configure.in: Likewise.
42019         * csu/Versions: Likewise.
42020         * csu/init.c: Likewise.
42021         * elf/tst-audit2.c: Likewise.
42022         * elf/tst-tls10.c: Likewise.
42023         * elf/tst-tls10.h: Likewise.
42024         * elf/tst-tls11.c: Likewise.
42025         * elf/tst-tls12.c: Likewise.
42026         * elf/tst-tls14.c: Likewise.
42027         * elf/tst-tlsmod11.c: Likewise.
42028         * elf/tst-tlsmod12.c: Likewise.
42029         * elf/tst-tlsmod13.c: Likewise.
42030         * elf/tst-tlsmod13a.c: Likewise.
42031         * elf/tst-tlsmod14a.c: Likewise.
42032         * elf/tst-tlsmod15b.c: Likewise.
42033         * elf/tst-tlsmod16a.c: Likewise.
42034         * elf/tst-tlsmod16b.c: Likewise.
42035         * elf/tst-tlsmod7.c: Likewise.
42036         * elf/tst-tlsmod8.c: Likewise.
42037         * elf/tst-tlsmod9.c: Likewise.
42038         * gmon/gmon.c: Likewise.
42039         * grp/fgetgrent_r.c: Likewise.
42040         * grp/putgrent.c: Likewise.
42041         * hurd/fopenport.c: Likewise.
42042         * include/libc-symbols.h: Likewise.
42043         * include/tls.h: Likewise.
42044         * intl/gettextP.h: Likewise.
42045         * intl/loadinfo.h: Likewise.
42046         * locale/global-locale.c: Likewise.
42047         * locale/localeinfo.h: Likewise.
42048         * mach/devstream.c: Likewise.
42049         * malloc/arena.c: Likewise.
42050         * malloc/set-freeres.c: Likewise.
42051         * misc/err.c: Likewise.
42052         * misc/getttyent.c: Likewise.
42053         * misc/mntent_r.c: Likewise.
42054         * posix/getopt.c: Likewise.
42055         * posix/wordexp.c: Likewise.
42056         * pwd/fgetpwent_r.c: Likewise.
42057         * resolv/Versions: Likewise.
42058         * resolv/res_hconf.c: Likewise.
42059         * shadow/fgetspent_r.c: Likewise.
42060         * shadow/putspent.c: Likewise.
42061         * stdio-common/printf_fphex.c: Likewise.
42062         * stdio-common/tmpfile.c: Likewise.
42063         * stdlib/abort.c: Likewise.
42064         * stdlib/fmtmsg.c: Likewise.
42065         * sunrpc/auth_unix.c: Likewise.
42066         * sunrpc/clnt_perr.c: Likewise.
42067         * sunrpc/clnt_tcp.c: Likewise.
42068         * sunrpc/clnt_udp.c: Likewise.
42069         * sunrpc/clnt_unix.c: Likewise.
42070         * sunrpc/openchild.c: Likewise.
42071         * sunrpc/svc_simple.c: Likewise.
42072         * sunrpc/svc_tcp.c: Likewise.
42073         * sunrpc/svc_udp.c: Likewise.
42074         * sunrpc/svc_unix.c: Likewise.
42075         * sunrpc/xdr.c: Likewise.
42076         * sunrpc/xdr_array.c: Likewise.
42077         * sunrpc/xdr_rec.c: Likewise.
42078         * sunrpc/xdr_ref.c: Likewise.
42079         * sunrpc/xdr_stdio.c: Likewise.
42081 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42083         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42085 2011-07-03  Andreas Jaeger  <aj@suse.de>
42087         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42088         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42089         regenerate with gen-libm-tests.pl.
42091 2010-05-12  Petr Baudis  <pasky@suse.cz>
42093         [BZ #11589]
42094         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42095         around j0() zero points by switching to j1().
42096         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42097         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42101 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42103         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42104         instead of 0.
42105         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42106         instead of 0.
42107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42108         Patch in part by Pavel Roskin <proski@gnu.org>.
42110         [BZ #13138]
42111         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42112         realloc.
42113         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42114         Free memory block if necessary.
42116         [BZ #12847]
42117         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42118         be NULL.  Don't lock in this case.
42120 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42122         * elf/elf.h (ELFOSABI_GNU): New macro.
42123         (ELFOSABI_LINUX): Define to that.
42125 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42127         * string/strncat.c (strncat): Undef the symbol in case it has been
42128         defined in bits/string.h.
42130 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42132         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42134         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42135         link map.
42137 2011-08-17  Andreas Jaeger  <aj@suse.de>
42139         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42141 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42142             Ian Lance Taylor  <iant@google.com>
42144         * math/libm-test.inc (lround_test): New testcase.
42145         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42147 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42149         * Makefile: Remove support for automatic cvs check-ins.
42150         * Makerules: Likewise.
42151         * config.make.in: Likewise.
42152         * configure.in: Likewise.
42153         * intl/Makefile: Likewise.
42154         * locale/Makefile: Likewise.
42155         * po/Makefile: Likewise.
42156         * posix/Makefile: Likewise.
42157         * sysdeps/gnu/Makefile: Likewise.
42158         * sysdeps/mach/hurd/Makefile: Likewise.
42159         * sysdeps/sparc/sparc32/Makefile: Likewise.
42161         [BZ #13118]
42162         * posix/Makefile (bug-regex32-ENV): Define.
42163         Patch by John Stanley <jpsinthemix@verizon.net>.
42165         * misc/Makefile (headers): Add bits/select2.h.
42166         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42167         * misc/bits/select2.h: New file.
42168         * include/bits/select2.h: New file.
42169         * debug/Makefile (routines): Add fdelt_chk.
42170         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42171         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42172         FD_ISSET.
42173         * debug/fdelt_chk.c: New file.
42175         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42176         * wcsmbs/test-wmemcmp.c: Likewise.
42177         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42178         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42180 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42182         * string/Makefile (strop-tests): Add memcmp.
42183         * string/test-wmemcmp.c: New file.
42184         * string/test-memcmp.c: Add wmemcmp support.
42186 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42188         [BZ #13153]
42189         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42190         2011-07-19 change.
42192         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42193         garbage value in a __mach_port_mod_refs call in the cases of the
42194         task-self and thread-self ports.
42196 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42198         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42200 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42202         * elf/dl-load.c (lose): Check for non-null L.
42204 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42206         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42208         * elf/dl-libc.c (dlerror_run): Pass back error code from
42209         dl_catch_error.
42211         [BZ #13123]
42212         * elf/dl-load.c (lose): Free l_origin if it is valid.
42214         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42215         names.
42216         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42217         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42218         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42220         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42221         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42223 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42225         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42226         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42227         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42228         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42229         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42230         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42231         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42232         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42233         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42234         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42236 2011-08-15  Alan Modra  <amodra@gmail.com>
42238         [BZ #13092]
42239         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42240         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42241         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42242         ppc_mcount to static-only-routines.
42243         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42244         __mcount_internal.
42245         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42246         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42248 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42250         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42251         for finite and infinity parameters.
42253 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42255         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42256         and add nop instructions for throughput optimization.
42257         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42259 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42261         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42262         aligned copy for power7 with vector-scalar instructions.
42263         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42265 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42268         AVX check.
42270 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42272         [BZ #13144]
42273         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42274         last change.
42276 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42278         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42279         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42280         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42281         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42282         clock_gettime.
42284 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42287         Forgot to demangle the pointer.
42289         * sysdeps/i386/sysdep.h: Define atom_text_section.
42290         * sysdeps/x86_64/sysdep.h: Likewise.
42291         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42292         section with atom_text_section.
42293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42294         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42295         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42296         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42297         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42299         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42300         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42301         already be defined.  Change to take two parameters and don't assign
42302         result to variable.  Adjust all users.
42303         Define INTERNAL_GETTIME if not already defined.
42304         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42305         call.
42306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42307         HAVE_CLOCK_GETTIME_VSYSCALL.
42308         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42311         gettimeofday vsyscall, just use time.
42313 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42315         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42316         <errno.h>.
42318 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42320         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42321         syscall on x86-64.
42322         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42323         syscall.
42324         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42325         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42326         syscall if possible.
42328 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42330         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42331         e_ident.  Don't pass to find_mapsXX.
42332         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42334 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42337         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42338         * sysdeps/x86_64/multiarch/strchr.S: Update.
42339         Check bit_slow_BSF bit.
42340         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42341         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42342         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42344 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42346         [BZ #13134]
42347         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42348         before glibc 2.15.
42349         (tryshell): Define.
42350         (__spawni): Change last parameter to be flag.  Test
42351         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42352         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42353         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42354         * posix/spawni.c: Likewise.
42355         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42356         * posix/spawnp.c: Likewise.  Change normal version to use
42357         SPAWN_XFLAGS_USE_PATH.
42358         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42359         SPAWN_XFLAGS_TRY_SHELL.
42361         [BZ #13150]
42362         * posix/glob.h: Remove gcc 1.x support.
42364         [BZ #13068]
42365         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42367 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42370         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42371         strrchr-sse2-bsf
42372         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42373         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42374         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42375         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42376         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42377         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42379 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42381         * sysdeps/x86_64/wcscmp.S: New file.
42383         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42384         wcscmp-c wcscmp-sse2
42385         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42386         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42387         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42388         * wcsmbs/wcscmp.c: Allow renaming.
42390 2011-09-05  David S. Miller  <davem@davemloft.net>
42392         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42393         stack slot, rather than the struct return pointer slot.
42394         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42395         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42397         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42399 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42401         * po/ja.po: Update from translation team.
42403         [BZ #13144]
42404         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42405         kernel in 64-bit binaries.
42407 2011-09-01  David S. Miller  <davem@davemloft.net>
42409         * elf/elf.h (HWCAP_SPARC_*): Move to..
42410         * sysdeps/sparc/sysdep.h: this new file and add new values.
42411         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42412         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42413         _DL_HWCAP_COUNT to 24.
42414         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42415         entries.
42416         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42417         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42418         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42420         instead of magic constants.
42421         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42423 2011-08-31  David S. Miller  <davem@davemloft.net>
42425         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42427         Reimplement to do errno handling inline.
42428         (SYSCALL_ERROR_HANDLER): New macro.
42429         (__SYSCALL_STRING): Do not do errno handling in asm.
42430         (__CLONE_SYSCALL_STRING): Delete.
42431         (__INTERNAL_SYSCALL_STRING): Delete.
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42433         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42434         (PSEUDO): Reimplement to do errno handling inline.
42435         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42436         (SYSCALL_ERROR_HANDLER): New macro.
42437         (__SYSCALL_STRING): Do not do errno handling in asm.
42438         (__CLONE_SYSCALL_STRING): Delete.
42439         (__INTERNAL_SYSCALL_STRING): Delete.
42440         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42441         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42442         i386.
42443         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42444         (inline_syscall*): Add 'err' argument.
42445         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42446         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42447         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42448         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42450         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42451         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42453 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42455         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42457 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42459         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42460         directive.
42462 2011-08-24  David S. Miller  <davem@davemloft.net>
42464         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42466 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42468         * elf/Makefile: Add rules to build and run unload8 test.
42469         * elf/unload8.c: New file.
42470         * elf/unload8mod1.c: New file.
42471         * elf/unload8mod1x.c: New file.
42472         * elf/unload8mod2.c: New file.
42473         * elf/unload8mod3.c: New file.
42475         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42476         it wasn't used.
42478 2011-08-23  David S. Miller  <davem@davemloft.net>
42480         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42481         subtract stack bias.
42482         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42483         %sp not %fp in calculations.
42484         (_JMPBUF_UNWINDS_ADJ): Likewise.
42486         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42487         (aio_suspend): Call it to force an exception region around the
42488         AIO_MISC_WAIT() invocation.
42490 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42492         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42493         backslash.
42495 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42497         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42498         protection macro.
42499         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42500         and <dl-machine.h>.
42501         (Elf64_FuncDesc): Remove.
42503 2011-08-22  David S. Miller  <davem@davemloft.net>
42505         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42506         sigaltstack check, add missing cfi directives.
42507         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42508         missing cfi directives, and sigaltstack handling.
42510 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42512         [BZ #11724]
42513         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42514         object is seen twice.
42515         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42517         * elf/Makefile (distribute): Add tst-initorder2.c.
42518         (tests): Add tst-initorder2.
42519         (modules-names): Add tst-initorder2a tst-initorder2b
42520         tst-initorder2c tst-initorder2d.  Add rules to build them.
42521         ($(objpfx)tst-initorder2.out): New rule.
42522         * elf/tst-initorder2.c: New file.
42523         * elf/tst-initorder2.exp: New file.
42525 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42527         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42529         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42530         dependencies back to end of function.
42532         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42533         $(elfobjdir)/ld.so.
42535 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42538         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42539         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42540         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42541         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42542         of __vdso_gettimeofday.
42543         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42544         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42545         attribute_hidden.
42546         (_libc_vdso_platform_setup): Remove initialization of
42547         __vdso_gettimeofday and __vdso_time.
42549 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42551         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42552         and fgetc_unlocked.
42553         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42554         getc_unlocked.
42556         * elf/dl-open.c (add_to_global): Report additions to the global scope
42557         for LD_DEBUG=scopes.
42558         (dl_open_worker): Also print scope of newly loaded dependencies.
42559         (_dl_show_scope): Indicate if there is no scope.
42561         [BZ #13114]
42562         * stdio-common/Makefile (tests): Add bug24.
42563         * stdio-common/bug24.c: New file.
42565 2011-08-19  Andreas Jaeger  <aj@suse.de>
42567         [BZ #13114]
42568         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42569         non-existant file when using close-on-exec mode.
42571 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42574         the very first instruction.
42576         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42577         the CFI state in the end.
42578         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42579         inclusion of dl-trampoline.h.
42580         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42582 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42584         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42585         expectations for long double.
42587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42588         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42590 2011-08-14  David S. Miller  <davem@davemloft.net>
42592         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42593         artificual limit depends upon the system page size.
42595 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42597         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42598         * resolv/Makefile: Define CFLAGS-libresolv.
42600 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42602         * nss/makedb.c (compute_tables): Make variables used in nested
42603         function static.
42605 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42607         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42608         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42609         if buffer was too small.
42611         * elf/pldd.c (main): Attach to all threads in the process.
42612         Rewrite /proc handling to use *at functions.
42614 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42616         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42617         specifies first scope to show.
42618         (dl_open_worker): Update callers.  Move printing scope of new
42619         object to before the relocation.
42620         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42621         * sysdeps/generic/ldsodefs.h: Update declaration.
42623         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42624         string for the scope number.
42626 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42628         * nscd/servicescache.c (cache_addserv): Make sure written is always
42629         initialized.
42631 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42633         * sysdeps/i386/i486/bits/atomic.h
42634         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42635         statement expression, so as to suppress "set but not used" warning.
42636         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42638         * string/strncat.c (STRNCAT): Use prototype definition.
42640         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42641         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42642         -Iprograms here.
42643         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42644         (localedef-modules): Add localedef.
42645         (locale-modules): Add locale.
42647         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42648         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42649         to avoid a warning.
42651 2011-08-14  David S. Miller  <davem@davemloft.net>
42653         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42654         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42656 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42658         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42659         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42660         * elf/rtld.c (dl_main): Set l_name of vDSO.
42661         Call _dl_show_scope when DL_DEBUG_SCOPES.
42662         (process_dl_debug): Recognize scopes flag and also set it for all.
42663         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42664         Declare _dl_show_scope.
42666         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42667         (do_dlopen): Pass caller_dlopen to dl_open.
42668         (__libc_dlopen_mode): Initialize caller_dlopen.
42670         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42671         of libc.  Make tolower call locale-independent.  Optimize a bit by
42672         using isdigit instead of isalnum.
42673         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42675 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42677         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42678         was a dependency or dynamically loaded.
42680 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42682         * intl/l10nflist.c: Allow architecture-specific pop function.
42683         * sysdeps/x86_64/l10nflist.c: New file.
42685         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42686         classification.
42688 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42690         * include/dirent.h: Add libc_hidden_proto for scandirat and
42691         scandirat64.  Don't declare __scandirat64.
42692         * dirent/scandirat.c: Add libc_hidden_def.
42693         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42694         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42696 2011-08-10  David S. Miller  <davem@davemloft.net>
42698         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42699         enum.
42700         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42701         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42702         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42704 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42706         * Versions.def [libc]: Add GLIBC_2.15.
42707         * dirent/Makefile (routines): Add scandirat and scandirat64.
42708         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42709         GLIBC_2.15.
42710         * dirent/dirent.h: Declare scandirat and scandirat64.
42711         * dirent/scandirat.c: New file.
42712         * dirent/scandirat64.c: New file.
42713         * sysdeps/wordsize-64/scandirat.c: New file.
42714         * sysdeps/wordsize-64/scandirat64.c: New file.
42715         * dirent/opendir.c: Define opendirat.
42716         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42717         using scandirat.
42718         * dirent/scandir64.c: Adjust for scandir.c change.
42719         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42720         __scandirat64, and __scandir_cancel_handler.
42721         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42722         additional parameter and use openat instead of open (outside of ld.so).
42723         Add new __opendir as wrapper around __opendirat.
42724         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42725         here without requiring old scandirat implementation.
42727 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42729         * dirent/scandir.c (cancel_handler): Renamed to
42730         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42731         defined.  Adjust users.
42732         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42733         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42735 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42737         * string/test-string.h (IMPL): Use __STRING to expand name and then
42738         stringify it.
42740         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42741         of cleanups.
42743 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42745         * string/Makefile: Update.
42746         (strop-tests): Append strncat.
42747         * string/test-wcscmp.c: New file.
42748         New comprehensive test for wcscmp.
42749         * string/test-strcmp.c: Update.
42750         (WIDE): New define.
42752 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42754         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42755         line.
42757 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42760         encoding to ACE if AI_IDN.
42762 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42764         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42765         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42767 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42769         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42770         Fix overflow bug in strncat.
42771         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42773         * string/test-strncat.c: Update.
42774         Add new tests for checking overflow bugs.
42776 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42779         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42780         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42781         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42782         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42783         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42784         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42785         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42786         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42788         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42789         (USE_AS_STRCAT): Define.
42790         Add strcat and strncat support.
42791         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42793 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42795         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42796         __n bigger than INT_MAX+1.
42797         (__strncmp_g): Likewise.
42799 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42801         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42802         * libio/stido.h: Likewise.
42804         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42805         (AF_NFC): Define.
42806         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42807         (AF_NFC): Define.
42809         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42810         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42811         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42812         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42815         [BZ #13021]
42816         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42817         installed.
42819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42820         typo.
42821         (_dl_x86_64_save_sse): Likewise.
42823 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42825         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42826         OSXSAVE.
42827         (_dl_x86_64_save_sse): Likewise.
42829         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42831         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42833 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42836         change.
42837         (_dl_x86_64_save_sse): Use correct AVX check.
42839 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42841         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42842         bug in strncpy/strncat.
42843         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42845 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42847         * string/tester.c (test_strcat): Add tests for different alignments
42848         of source and destination.
42849         (test_strncat): Likewise.
42851 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42853         [BZ #12852]
42854         * posix/glob.c (glob): Check passed in values before using them in
42855         expressions to avoid some overflows.
42856         (glob_in_dir): Likewise.
42858         [BZ #13007]
42859         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42860         check for AVX enablement so that we don't crash with old kernels and
42861         new hardware.
42862         * elf/tst-audit4.c: Add same checks here.
42863         * elf/tst-audit6.c: Likewise.
42865         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42867 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42869         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42871 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42873         * po/cs.po: Update from translation team.
42874         * po/bg.po: Likewise.
42876 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42878         * misc/sys/cdefs.h: Add support for const attribute.
42879         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42880         to gnu_dev_{major,minor,makedev} functions.
42882 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42884         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42886 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42888         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42889         strlen results.
42891 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42894         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42895         register in order to avoid conflicts with the soft frame pointer
42896         being held in r11 when necessary.
42897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42898         (INTERNAL_VSYSCALL_NCS): Likewise.
42900 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42902         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42903         * elf/dl-fini.c (_dl_fini): Adjust caller.
42904         * elf/dl-close.c (_dl_close_worker): Likewise.
42905         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42907 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42909         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42910         "aux_cache->nlibs < 0".
42912         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42913         in the reload-count case.
42915 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42918         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42919         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42920         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42921         * sysdeps/x86_64/multiarch/strcat.S: New file.
42922         * sysdeps/x86_64/multiarch/strncat.S: New file.
42923         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42924         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42925         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42926         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42928         (USE_AS_STRCAT): Define.
42929         Add strcat and strncat support.
42930         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42932         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42933         * string/strncat.c: Update.
42934         (USE_AS_STRNCAT): Define.
42935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42936         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42937         and i7.
42938         * sysdeps/x86_64/multiarch/init-arch.h
42939         (bit_Prefer_PMINUB_for_stringop): New.
42940         (index_Prefer_PMINUB_for_stringop): Likewise.
42941         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42942         bit_Prefer_PMINUB_for_stringop.
42944 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42946         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42947         buffer64.
42948         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42949         of casting of buffer.
42950         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42951         buffer32 and buffer64.
42952         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42953         writes instead of casting of buffer.
42954         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42955         buffer32.
42956         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42957         casting of buffer.
42959 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42961         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42963 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42965         * nscd/nscd.c (termination_handler): Don't do anything for a database
42966         if it has not yet been initialized.
42968 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42970         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42972 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42974         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42976 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42978         * po/nl.po: Update from translation team.
42979         * po/sv.po: Likewise.
42981 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42983         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42984         now disallowed by GCC.
42986         * configure.in (use-default-link): Default to yes if a test -shared
42987         link meets our qualifications.
42988         * configure: Regenerated.
42990         * config.make.in (output-format): New variable.
42991         * configure.in: Check for ld --print-output-format support.
42992         * configure: Regenerated.
42993         * Makerules ($(common-objpfx)format.lds)
42994         [$(output-format) != unknown]: Just use $(output-format),
42995         instead of the linker-script munging.
42997 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42999         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43000         of $(common-objpfx)shlib.lds.
43001         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43003         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43004         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43006         * configure.in (-z relro check): Adjust test code to add a large
43007         writable data section after it.
43008         * configure: Regenerated.
43010 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43012         * configure.in (-z relro check): Fix test code to make the variable
43013         truly const.
43014         * configure: Regenerated.
43016 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43018         * nscd/nscd.h (struct traced_file): Define.
43019         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43020         elements.  Add traced_files.
43021         (inotify_fd): Declare.
43022         (register_traced_file): Declare.
43023         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43024         (inotify_fd): Export.
43025         (resolv_conf_descr): Remove.
43026         (nscd_init): Move inotify descriptor creation to main.
43027         Don't register files for notification here.
43028         (register_traced_file): New function.
43029         (invalidate_cache): Don't use reset_res to determine whether to call
43030         res_init, go through the list of registered files.
43031         (main_loop_poll): The inotify descriptors are now stored in the
43032         structures for the traced files.
43033         (main_loop_epoll): Likewise
43034         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43035         to __nss_disable_nscd.
43036         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43037         for a database anymore.  Check the records for all the registered
43038         files instead.
43039         * nss/Makefile (libnss_files-routines): Add files-init.
43040         (libnss_db-routines): Add db-init.
43041         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43042         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43043         * nss/nss_db/db-init.c: New file.
43044         * nss/nss_files/files-init.c: New file.
43045         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43046         __nss_lookup_function.
43047         (__nss_lookup_function): Call nss_load_library.
43048         (nss_load_all_libraries): New function.
43049         (__nss_disable_nscd): Take parameter with callback function for files
43050         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43051         used for the cached services.
43052         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43053         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43054         options for features to all the files in nscd.
43056         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43058 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43060         * csu/elf-init.c (__libc_csu_init): Comment typo.
43062 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43064         * po/pl.po: Update from translation team.
43065         * po/ja.po: Likewise.
43066         * po/ru.po: Likewise.
43067         * po/ko.po: Likewise.
43068         * po/fr.po: Likewise.
43070 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43072         * configure.in (.ctors/.dtors header and trailer check):
43073         Use an empirical test on a built program.
43074         * configure: Regenerated.
43076         * configure.in (-z relro check): Use an empirical test on a built DSO.
43077         Detect, but do not require, on ia64.
43078         * configure: Regenerated.
43080         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43081         Update tests that use readelf to use $READELF instead.
43082         * configure: Regenerated.
43084 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43086         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43087         if the result is not used.
43089 2011-07-05  Andreas Jaeger  <aj@suse.de>
43091         [BZ#9696]
43092         * stdlib/tst-strtod.c: Add testcase.
43094 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43096         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43097         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43098         The latter has a higher limit.  Take additional parameter to pass to
43099         the new function.
43100         (__pathconf): Pass file to __statfs_link_max.
43101         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43102         __statfs_link_max.
43103         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43104         __statfs_link_max.
43106         [BZ #12868]
43107         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43108         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43109         Handle Lustre.
43110         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43111         (__statfs_filesize_max): Likewise.
43112         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43114 2011-07-05  Andreas Jaeger  <aj@suse.de>
43116         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43118 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43120         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43121         `status' variable.
43122         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43123         Likewise.
43125 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43127         * Makefile (strop-tests): Add strncat.
43128         * string/test-strncat.c: New file.
43130 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43132         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43134 2011-06-21  Andreas Jaeger  <aj@suse.de>
43136         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43137         Copy rule from iconvdata/Makefile.
43139 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43141         [BZ #12922]
43142         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43143         but no long options are defined, just return 'W'.
43145 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43147         [BZ #9696]
43148         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43150 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43152         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43153         netgroups to read.
43154         (innetgr): Likewise.
43156 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43158         * config.make.in (install_root): Default to $(DESTDIR).
43160 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43162         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43164 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43166         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43168         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43169         containing directory rather than embedding absolute directory names.
43171         * scripts/check-local-headers.sh: Rewritten using awk.
43172         Match by word, not by line.  Print error messages for matches.
43173         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43175         * Makerules [shlib-lds-flags empty]:
43176         ($(common-objpfx)libc_pic.opts): New target.
43177         ($(common-objpfx)libc_pic.os.clean): New target.
43178         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43180         * config.make.in (OBJCOPY): New variable.
43181         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43182         * configure: Regenerated.
43184         * config.make.in (use-default-link): New variable.
43185         * configure.in (use_default_link): Grok --with-default-link to set it.
43186         * configure: Regenerated.
43187         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43188         (shlib-lds, shlib-lds-flags): Define to empty.
43190         * Makerules (shlib-lds): New variable.
43191         (shlib-lds-flags): New variable.
43192         (build-shlib, build-moduile, build-module-asneeded): Use it.
43193         ($(common-objpfx)libc.so): Use $(shlib-lds).
43194         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43195         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43197         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43198         DT_FLAGS/DT_FLAGS_1 with zero flags.
43200         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43201         linker script munging.
43203 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43205         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43206         as 128-bit value.
43207         * crypt/sha512.c (sha512_process_block): Perform total addition using
43208         128-bit if possible.
43209         (__sha512_finish_ctx): Likewise.
43210         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43211         as 64-bit value.
43212         * crypt/sha256.c (SWAP64): Define.
43213         (sha256_process_block): Perform total addition using 64-bit if
43214         possible.
43215         (__sha256_finish_ctx): Likewise.
43217 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43219         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43220         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43221         * nscd/hstcache.c (cache_addhst): Likewise.
43222         * nscd/grpcache.c (cache_addgr): Likewise.
43223         * nscd/aicache.c (addhstaiX): Likewise
43224         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43226 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43228         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43229         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43230         * nscd/hstcache.c (cache_addhst): Likewise.
43231         * nscd/grpcache.c (cache_addgr): Likewise.
43232         * nscd/aicache.c (addhstaiX): Likewise
43234 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43236         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43237         domain only when needed.
43239 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43242         is always restored.
43244 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43246         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43247         are re-adding the entry.
43248         * nscd/servicescache.c (cache_addserv): Likewise.
43250 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43252         * sysdeps/generic/dl-irel.h: fix protection against multiple
43253         inclusions.
43254         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43256 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43258         [BZ #12935]
43259         * malloc/memusage.sh: Fix quoting in message.
43260         * debug/xtrace.sh: Likewise.
43262         * configure.in: Remove support for --experimental-malloc option, make
43263         it the default.
43264         * config.make.in: Likewise.
43265         * malloc/Makefile: Likewise.
43267 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43269         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43270         two-byte characters.
43272 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43274         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43275         AC_CACHE_CHECK invocation.
43276         * configure: Regenerated.
43278         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43280 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43282         [BZ #12350]
43283         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43284         bit from old_res_options.
43286         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43288         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43289         value type for setfct.
43291 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43294         __gettimeofday instead of gettimeofday.
43296 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43298         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43300 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43302         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43304         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43305         info.
43307 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43310         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43311         strcpy-sse2-unaligned strncpy-sse2-unaligned
43312         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43313         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43314         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43315         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43316         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43317         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43318         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43319         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43320         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43321         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43322         (STRCPY): Support SSE2 and SSSE3 versions.
43324 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43326         [BZ #12874]
43327         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43328         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43329         kernels which artificially limit size of requests.
43331 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43334         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43335         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43336         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43337         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43338         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43339         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43340         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43341         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43342         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43343         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43344         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43345         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43346         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43347         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43349         Enable unaligned load optimization for Intel Core i3, i5 and i7
43350         processors.
43351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43352         Define.
43353         (index_Fast_Unaligned_Load): Define.
43354         (HAS_FAST_UNALIGNED_LOAD): Define.
43356 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43358         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43360 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43362         [BZ #12907]
43363         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43364         until it is clear that the information is realy needed.
43365         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43367 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43371 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43373         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43374         /sys/devices/system/cpu/online if it is usable.
43376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43377         reading the information from the /proc filesystem to once a second.
43379 2011-06-21  Andreas Jaeger  <aj@suse.de>
43381         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43382         NULL after inclusion of kernel headers.
43384 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43386         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43387         calls to internal_setent.
43389         [BZ #12885]
43390         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43391         addresses using gethostbyname4_r ignore IPv4 addresses.
43393         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43394         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43396         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43398 2011-06-20  David S. Miller  <davem@davemloft.net>
43400         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43401         inclusions.
43402         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43404         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43405         (elf_irel): Use it.
43406         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43407         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43408         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43409         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43410         * sysdeps/x86_64/dl-irel.h: Likewise.
43412         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43413         * elf/dl-sym.c: Likewise.
43415 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43417         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43418         need to dereference resplen2.
43420 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43422         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43424 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43426         * Makeconfig: Define vardbdir and inst_vardbdir.
43427         * nss/Makefile: Add rules to install db-Makefile.
43429         * nss/nss_db/db-XXX.c: Cleanup.
43431         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43432         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43433         GLIBC_PRIVATE.
43434         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43435         * nss/makedb.c: Implement -g option to specify that value strings
43436         are generated and should not be added to table iterated over for
43437         get*ent calls.
43438         * nss/nss_db/db-initgroups.c: New file.
43440         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43441         interface.
43443         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43444         (internal_getgrouplist): Adjust to name change.
43445         Update use_initgroups_entry if this is not the first call.
43446         * nss/databases.def: Add initgroups entry.
43448         * nss/makedb.c (compute_tables): Check result of multiple hash table
43449         sizes to minimize maximum chain length.
43451 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43453         * Versions.def: Add entry for libnss_db.
43454         * shlib-versions: Likewise.
43455         * nss/Makefile: Add rules to build libnss_db.
43456         * nss/Versions: Add libnss_db information.  Organize libnss_files
43457         entries better.
43458         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43459         makedb progra.  Some minor improvements to generate smaller files.
43460         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43461         here from...
43462         * nss/makedb.c: ...here.
43463         Improve database format to be smaller and require less memory at
43464         runtime.
43465         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43466         db anymore.
43467         * nss/nss_db/db-netgrp.c: Likewise.
43468         * nss/nss_db/db-open.c: Likewise.
43469         * nss/nss_files/flies-XXX.x: Adjust comments.
43470         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43471         * nss/nss_files/files-grp.c: Likewise.
43472         * nss/nss_files/files-hosts.c: Likewise.
43473         * nss/nss_files/files-network.c: Likewise.
43474         * nss/nss_files/files-proto.c: Likewise.
43475         * nss/nss_files/files-pwd.c: Likewise.
43476         * nss/nss_files/files-rpc.c: Likewise.
43477         * nss/nss_files/files-service.c: Likewise.
43478         * nss/nss_files/files-sgrp.c: Likewise.
43479         * nss/nss_files/files-spwd.c: Likewise.
43480         * nss/nss_db/db-alias.c: Removed.
43481         * nss/nss_db/dummy-db.h: Removed.
43483 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43485         * nss/makedb.c: Rewritten to not use database library.
43486         * nss/Makefile: Update to build new makedb program.
43488 2011-06-14  Andreas Jaeger  <aj@suse.de>
43490         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43491         memset declaration.
43493 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43496         tmpbuf.
43498 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43500         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43501         * elf/Makefile ($(objpfx)ld.so): Likewise.
43503         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43504         Don't list ld.so twice in dependencies.
43506         * posix/bug-regex31.c: Include <stdlib.h>.
43508         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43510         * nis/nss_compat/compat-spwd.c
43511         (getspent_next_nss_netgr): Remove unused variable.
43512         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43514         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43515         nonmembers" output to use the right array.
43517         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43519         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43521         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43522         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43523         * catgets/gencat.c (read_input_file): Likewise.
43524         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43526         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43527         variable definition inside #if's controlling its use.
43529         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43531         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43533         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43535         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43536         unreachable code.
43538         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43540         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43541         * configure: Regenerated.
43543         * Makerules: Revert last change.
43544         * elf/Makefile: Likewise.
43546 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43548         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43549         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43550         (reloc-link): Likewise.
43552 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43554         * elf/Makefile: Add rules to build pldd.
43555         * elf/pldd.c: New file.
43556         * elf/pldd-xx.c: New file.
43558 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43560         * version.h: Update for 2.15 development version.
43562 2011-06-07  David S. Miller  <davem@davemloft.net>
43564         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43565         ifuncs.
43566         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43567         elf_machine_lazy_rel): Likewise.
43568         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43569         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43570         elf_machine_lazy_rel): Likewise.
43571         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43572         dl_hwcap via passed in argument.
43573         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43574         Likewise.
43576 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43578         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43580 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43582         [BZ #12849]
43583         * manual/fdl-1.1.texi: New file, verbatim from:
43584         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43585         * manual/lgpl-2.1.texi: New file, verbatim from:
43586         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43587         * manual/Makefile (licenses): New variable, list those new file names.
43588         (texis): Use it.
43589         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43591         * manual/fdl.texi: File removed.
43592         * manual/lesser.texi: File removed.
43593         * manual/libc.texinfo (Copying, Documentation License):
43594         Use new @include file names, put @appendix directive before @include.
43596 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43598         [BZ #12841]
43599         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43600         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43601         (mq_open): Add __NTH.
43603 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43606         Assume Intel Core i3/i5/i7 processor if AVX is available.
43608 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43611         typo.
43613 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43615         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43616         memory.  Use alloca_account.  Fix memory leak when retrying.
43618 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43620         * version.h (RELEASE): Bump for 2.14 release.
43621         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43623         * config.make.in (RANLIB): Remove entry.
43625 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43627         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43628         (libc.pot): Work around missing support for .ksh extension in xgettext.
43630         [BZ #12684]
43631         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43632         if both request failed.
43633         (send_dg): In case of server errors clear resplen or *resplen2.
43635         [BZ #12454]
43636         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43637         when there are multiple maps.
43638         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43639         (_dl_fini): Remove test here.
43641         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43643 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43645         [BZ #12350]
43646         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43647         bit from old_res_options.
43648         (gaih_inet): Likewise.
43650         [BZ #11099]
43651         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43652         as signed.
43654         * resolv/res_init.c (res_setoptions): Make the code more compact.
43656         [BZ #11558]
43657         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43658         set RES_USEVC.
43660         [BZ #11634]
43661         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43663         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43665         [BZ #11781]
43666         * malloc/malloc.h: Declare malloc hook variables as volatile.
43668         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43669         in last patch.
43671         [BZ #11799]
43672         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43673         raise in the comment.
43674         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43675         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43676         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43678 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43680         [BZ #12811]
43681         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43682         grow the buffers more if it already has to be sufficient.
43683         (build_wcs_upper_buffer): Likewise.
43684         * posix/regexec.c (check_matching): Likewise.
43685         (clean_state_log_if_needed): Likewise.
43686         (extend_buffers): Don't enlarge buffers beyond size of the input
43687         buffer.
43688         Patches mostly by Emil Wojak <emil@wojak.eu>.
43689         * posix/bug-regex32.c: New file.
43690         * posix/Makefile (tests): Add bug-regex32.
43692         * locale/findlocale.c (_nl_find_locale): Return right away if
43693         _nl_explode_name failed.
43694         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43696         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43698         * debug/xtrace.sh: Unify messages.
43699         * malloc/memusage.sh: Likewise.
43701         [BZ #12813]
43702         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43703         time symbol from vDSO.  Substitute with vsyscall if not available.
43704         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43705         __vdso_time.
43707         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43708         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43709         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43710         Add sendmmsg and internal_sendmmsg.
43711         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43712         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43713         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43715         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43716         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43717         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43719 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43721         [BZ #12813]
43722         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43723         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43724         available.
43725         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43726         __vdso_getcpu.
43728         [BZ #12814]
43729         * iconvdata/Makefile (tests): Add bug-iconv9.
43730         * iconvdata/bug-iconv9.c: New file.
43732 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43734         [BZ #12814]
43735         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43737 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43739         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43740         (struct user_regs_struct): Change intcs field back to cs.
43742 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43744         * po/ja.po: Update from translation team.
43746 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43748         [BZ #12795]
43749         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43750         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43752 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43754         * stdlib/longlong.h: Update from GCC.
43756 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43758         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43759         parameter name.
43760         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43761         Add parameter name.
43762         (__sysconf): Pass it down.
43764 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43766         [BZ #12671]
43767         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43768         some situations.
43769         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43770         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43771         add in in __libc_use_alloca calls.  Adjust callers.
43772         (glob): Use malloc in some situations.
43774         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43775         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43776         pltexit.
43778 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43780         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43781         and CLOCK_BOOTTIME_ALARM.
43783         [BZ #12782]
43784         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43785         is returned.
43787         * string/_strerror.c (__strerror_r): Print negative errors as signed
43788         numbers.
43790         [BZ #12777]
43791         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43792         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43793         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43795         * configure.in: Fix typo in redirection and correct removal of test
43796         files in two cases.
43798         [BZ #12788]
43799         * locale/setlocale.c (new_composite_name): Fix test to check for
43800         identical name of all categories.
43802         [BZ #12792]
43803         * libio/filedoalloc.c (local_isatty): New function.
43804         (_IO_file_doallocate): Use local_isatty.
43805         * stdio-common/perror.c (perror): In case a new stream is used
43806         forward the stream error.
43807         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43808         error flag.
43810 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43812         [BZ #11869]
43813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43814         alloca.
43815         * include/alloca.h (extend_alloca_account): Define.
43817         [BZ #11857]
43818         * posix/regex.h: Fix comments with documentation of user-accessible
43819         fields after compilation and describe correct free'ing of pattern
43820         after re_compile_pattern.
43821         Patch by Reuben Thomas <rrt@sc3d.org>.
43823 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43825         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43826         and -mno-altivec to prevent the compiler from using Altivec and/or
43827         VSX instructions when the corresponding registers are not available.
43829 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43831         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43833 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43835         * libio/freopen.c (freopen): Use __dup2, not dup2.
43836         * libio/freopen64.c (freopen64): Likewise.
43838 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43840         [BZ #12775]
43841         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43842         * math/Makefile (tests): Add test-powl.
43843         (CFLAGS-test-powl.c): Define.
43844         * math/test-powl.c: New file.
43846 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43848         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43850 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43852         [BZ #11837]
43853         * iconvdata/gb18030.c: Update to GB18020-2005.
43855 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43857         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43858         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43859         Patch by Aharon Robbins <arnold@skeeve.com>.
43861         [BZ #11892]
43862         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43863         on the stack.
43865         [BZ #11895]
43866         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43867         through underflows.
43869         [BZ #12766]
43870         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43871         point to strings before performing equality test for error_one_per_line
43872         mode.
43874         [BZ #11697]
43875         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43877         [BZ #11820]
43878         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43879         (struct user_fpregs_struct): Avoid __uint*_t types.
43881         [BZ #6420]
43882         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43883         symbol info.  Use it instead of calling _dl_addr locally.
43884         (lock_and_info): New function.
43885         (tr_freehook): Call lock_and_info and pass symbol info as additional
43886         parameter to tr_where.
43887         (tr_mallochook): Likewise.
43888         (tr_reallochook): Likewise.
43889         (tr_memalignhook): Likewise.
43891         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43892         used and couldn't be at all thread-safe.
43894 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43896         * libio/freopen.c (freopen): Don't close old file descriptor
43897         before the new one is opened.  Instead dup the new file descriptor
43898         to the old one after the new stream is created.
43899         * libio/freopen64.c (freopen64): Likewise.
43900         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43901         * libio/fileops.c (_IO_new_file_close_it): Handle new
43902         _IO_FLAGS2_NOCLOSE flag.
43903         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43904         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43905         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43906         _IO_FLAGS2_NOCLOSE flag.
43907         * include/unistd.h: Add hidden_proto for dup3.
43908         Define __have_dup3.
43909         * io/dup3.c: Define hidden symbol.
43910         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43912         [BZ #7101]
43913         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43914         when an incomplete long option is used.
43915         * posix/tst-getopt_long1.c: New file.
43916         * posix/Makefile (tests): Add tst-getopt_long1.
43918         [BZ #10138]
43919         * scripts/config.guess: Update from autoconf-2.68.
43920         * scripts/config.sub: Likewise.
43922         [BZ #10157]
43923         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43924         tests into ...
43925         (has_cpuclock): ...this.  New function.
43926         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43927         macro here based on has_cpuclock code.
43929         [BZ #10149]
43930         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43931         First byte (not low byte) is now always NUL.
43932         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43934         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43935         Use non-cancelable interfaces.
43937         [BZ #9809]
43938         * locale/iso-639.def: Add entry for Sorani.
43940         [BZ #11901]
43941         * include/stdlib.h: Move include protection to the right place.
43942         Define abort_msg_s.  Declare __abort_msg with it.
43943         * stdlib/abort.c (__abort_msg): Adjust type.
43944         * assert/assert.c (__assert_fail_base): New function.  Majority
43945         of code from __assert_fail.  Allocate memory for __abort_msg with
43946         mmap.
43947         (__assert_fail): Now call __assert_fail_base.
43948         * assert/assert-perr.c: Remove bulk of implementation.  Use
43949         __assert_fail_base.
43950         * include/assert.hL Declare __assert_fail_base.
43951         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43952         mmap.
43953         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43955 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43957         [BZ #11952]
43958         [BZ #12453]
43959         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43960         until all modules are registered in the DTV.
43961         * elf/Makefile: Add rules to build and run tst-tls19.
43962         * elf/tst-tls19.c: New file.
43963         * elf/tst-tls19mod1.c: New file.
43964         * elf/tst-tls19mod2.c: New file.
43965         * elf/tst-tls19mod3.c: New file.
43966         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43968         [BZ #12083]
43969         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43970         correctly.
43972         [BZ #12601]
43973         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43974         two-byte sequence errors.
43975         * iconvdata/Makefile (tests): Add bug-iconv8.
43976         * iconvdata/bug-iconv8.c: New file.
43978         [BZ #12626]
43979         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43980         buf2 definition.
43982         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43984         [BZ #12432]
43985         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43986         (dummy_getcfa): New function.
43987         (init): Get _Unwind_GetCFA address, use dummy if not found.
43988         (backtrace_helper): In recursion check, also check whether CFA changes.
43989         (__backtrace): Completely initialize arg.
43991         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43992         storing incomplete byte sequence in state object.  Avoid testing for
43993         guaranteed too small input if we know there is enough data available.
43995 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43997         * Makeconfig (+link-pie): Indent.
43998         * Rules (binaries-pie): Define if $(have-fpie) and
43999         $(build-shared).
44000         (binaries-shared): Also filter out $(binaries-pie).
44001         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44002         * nscd/Makefile (others-pie): Add nscd.
44003         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44004         ($(objpfx)nscd): Remove command override.
44005         * login/Makefile (others-pie): Add pt_chown.
44006         ($(objpfx)pt_chown): Remove command override.
44007         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44008         remove command overrides.
44010 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44012         * libio/tst_putwc.c: Fix error messages.
44014         [BZ #12724]
44015         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44016         currently writing and seek to current position when not.
44017         * libio/Makefile (tests): Add bug-fclose1.
44018         * libio/bug-fclose1.c: New file.
44020 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44022         [BZ #12511]
44023         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44024         don't set DF_1_NODELETE here.
44025         (do_lookup_x): When entering new entry test for copy relocation
44026         and if necessary set DF_1_NODELETE flag.
44027         * elf/tst-unique4.cc: New file.
44028         * elf/tst-unique4.h: New file.
44029         * elf/tst-unique4lib.cc: New file.
44030         * elf/Makefile: Add rules to build and run tst-unique4.
44031         Patch by Piotr Bury <pbury@goahead.com>.
44033 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44035         [BZ #12052]
44036         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44038         [BZ #12625]
44039         * misc/mntent_r.c (addmntent): Flush the stream after the output
44041         [BZ #12393]
44042         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44043         (is_trusted_path_normalize): Skip initial colon.  Append slash
44044         to empty buffer.  Duplicate is_trusted_path code but allow
44045         constructed patch to be prefix.
44046         (is_dst): Allow $ORIGIN followed by /.
44047         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44048         Correct testing of result of is_trusted_path_normalize
44049         (decompose_rpath): Fix warning.
44051 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44053         [BZ #11257]
44054         * grp/initgroups.c (internal_getgrouplist): When we found the service
44055         list through the initgroups entry in nsswitch.conf do not always
44056         continue on a successful lookup.  Don't always use the
44057         __nss_group_database value if it is set.
44058         * nss/nsswitch.conf (initgroups): Change action for successful db
44059         lookup to continue for compatibility.
44061 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44063         [BZ #11532]
44064         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44065         and CP774 modules.
44066         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44067         and CP774 modules.
44068         * iconvdata/tst-tables.sh: Likewise.
44069         * iconvdata/cp770.c: New file.
44070         * iconvdata/cp771.c: New file.
44071         * iconvdata/cp772.c: New file.
44072         * iconvdata/cp773.c: New file.
44073         * iconvdata/cp774.c: New file.
44074         * iconvdata/testdata/CP770: New file.
44075         * iconvdata/testdata/CP770..UTF8: New file.
44076         * iconvdata/testdata/CP771: New file.
44077         * iconvdata/testdata/CP771..UTF8: New file.
44078         * iconvdata/testdata/CP772: New file.
44079         * iconvdata/testdata/CP772..UTF8: New file.
44080         * iconvdata/testdata/CP773: New file.
44081         * iconvdata/testdata/CP773..UTF8: New file.
44082         * iconvdata/testdata/CP774: New file.
44083         * iconvdata/testdata/CP774..UTF8: New file.
44085         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44086         END CHARMAP line.
44087         * iconvdata/gen-8bit-gap.sh: Likewise.
44088         * iconvdata/gen-8bit.sh: Likewise.
44090         * locale/iso-639.def: Add ary entry.
44092         [BZ #11258]
44093         * locale/C-translit.h.in: Add U20A1 transliteration.
44095         [BZ #12178]
44096         * locale/iso-639.def: Add wae entry.
44097         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44099         [BZ #12545]
44100         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44101         for n.
44103         [BZ #12711]
44104         * locale/C-translit.h.in: Add entry for U20B9.
44105         Patch by pravin.d.s@gmail.com.
44107 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44109         [BZ #12713]
44110         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44111         ENAMETOOLONG use generic getcwd.
44112         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44113         in rtld.  Use *stat64.
44114         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44115         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44116         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44117         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44118         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44119         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44120         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44121         __fstatat64 macros.
44122         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44123         * dirent/rewinddir.c: Add libc_hidden_def.
44124         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44125         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44127         * include/dirent.h (__alloc_dir): Add flags parameter.
44128         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44129         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44130         __alloc_dir.
44131         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44132         from fdopendir if O_CLOEXEC is already set.
44134 2011-03-15  Alan Modra  <amodra@gmail.com>
44136         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44137         l_tls_firstbyte_offset non-zero.  Save padding offset in
44138         l_tls_firstbyte_offset for later use.
44139         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44140         freeing static tls block.
44142 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44144         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44145         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44146         being defined by the kernel headers.
44148 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44150         [BZ #12734]
44151         * resolv/resolv.h: Define RES_NOTLDQUERY.
44152         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44153         no-tld-query and set RES_NOTLDQUERY.
44154         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44155         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44156         modern BIND to search name as TLD unless forbidden.
44158 2011-05-07  Petr Baudis  <pasky@suse.cz>
44159             Ulrich Drepper  <drepper@gmail.com>
44161         [BZ #12393]
44162         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44163         (is_trusted_path): ...to here.
44164         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44165         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44166         using is_trusted_path_normalize() in setuid scripts.
44168 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44170         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44171         __BEGIN/__END_DECLS.
44173 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44175         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44176         NSS_STATUS_NOTFOUND if no record was found.
44178 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44180         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44181         (headers-not-in-tirpc): Remove rpc/netdb.h
44182         * resolv/netdb.h: Revert last change.
44184 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44186         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44187         circular dependency between libgcc.a and libc.a.
44189 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44191         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44192         * nis/Makefile: Don't install rpcsvc/*.
44193         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44194         instead of <rpc/types.h>.
44195         (MAXHOSTNAMELEN): Define.
44197 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44199         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44201 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44203         [BZ #12714]
44204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44205         gethostbyname4_r when IPv6 results are possible.
44207 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44209         [BZ #12723]
44210         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44211         _PC_PIPE_BUF handling.
44213 2011-04-30  Bruno Haible  <bruno@clisp.org>
44215         [BZ #12717]
44216         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44217         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44218         to 'int'.
44219         * inet/getnameinfo.c (getnameinfo): Likewise.
44221 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44223         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44224         to groups setting in database lookup.
44225         * nss/nsswitch.conf: Add initgroups entry.
44227 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44229         [BZ #12685]
44230         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44231         mode string.
44232         Patch by Eric Blake <eblake@redhat.com>.
44234 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44236         * sunrpc/Makefile (need-export-routines): Add svc_run.
44237         (routines): Remove svc_run.
44238         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44239         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44240         * sunrpc/svc_run.c (svc_run): Likewise.
44241         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44243 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44245         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44246         problem in reallocation in last patch.
44248 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44250         * sunrpc/Makefile: Move inclusion of Rules.
44252 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44254         * nss/nss_files/files-initgroups.c: New file.
44255         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44256         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44257         _nss_files_initgroups_dyn.
44259 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44261         * elf/elf.h (R_ARM_IRELATIVE): Define.
44263 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44265         * po/ru.po: Update from translation team.
44267 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44269         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44270         dependencies.
44272 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44274         [BZ #12653]
44275         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44276         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44277         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44281 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44283         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44284         differing bytes.
44285         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44287         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44289 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44291         [BZ #12420]
44292         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44293         storing it.
44294         * stdlib/bug-getcontext.c: New file.
44295         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44297 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44299         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44300         instructions into .machine "z9-109".
44301         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44302         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44304 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44306         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44307         between environment variables and auxiliary vector.
44309 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44311         * Makefile: Add rules to build linkobj/libc.so.
44312         * include/libc-symbols.h: Define libc_hidden_nolink.
44313         * include/rpc/auth.h: Mark functions which are to be hidden.
44314         * include/rpc/auth_des.h: Likewise.
44315         * include/rpc/auth_unix.h: Likewise.
44316         * include/rpc/clnt.h: Likewise.
44317         * include/rpc/des_crypt.h: Likewise.
44318         * include/rpc/key_prot.h: Likewise.
44319         * include/rpc/pmap_clnt.h: Likewise.
44320         * include/rpc/pmap_prot.h: Likewise.
44321         * include/rpc/pmap_rmt.h: Likewise.
44322         * include/rpc/rpc_msg.h: Likewise.
44323         * include/rpc/svc.h: Likewise.
44324         * include/rpc/svc_auth.h: Likewise.
44325         * include/rpc/xdr.h: Likewise.
44326         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44327         * nss/Makefile: Likewise.
44328         * sunrpc/Makefile: Don't install headers.  Build library with normal
44329         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44330         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44331         for the compat linking library.  Remove use of INTDEF/INTUSE.
44332         * sunrpc/auth_none.c: Likewise.
44333         * sunrpc/auth_unix.c: Likewise.
44334         * sunrpc/authdes_prot.c: Likewise.
44335         * sunrpc/authuxprot.c: Likewise.
44336         * sunrpc/clnt_gen.c: Likewise.
44337         * sunrpc/clnt_perr.c: Likewise.
44338         * sunrpc/clnt_raw.c: Likewise.
44339         * sunrpc/clnt_simp.c: Likewise.
44340         * sunrpc/clnt_tcp.c: Likewise.
44341         * sunrpc/clnt_udp.c: Likewise.
44342         * sunrpc/clnt_unix.c: Likewise.
44343         * sunrpc/des_crypt.c: Likewise.
44344         * sunrpc/des_soft.c: Likewise.
44345         * sunrpc/get_myaddr.c: Likewise.
44346         * sunrpc/key_call.c: Likewise.
44347         * sunrpc/key_prot.c: Likewise.
44348         * sunrpc/netname.c: Likewise.
44349         * sunrpc/pm_getmaps.c: Likewise.
44350         * sunrpc/pm_getport.c: Likewise.
44351         * sunrpc/pmap_clnt.c: Likewise.
44352         * sunrpc/pmap_prot.c: Likewise.
44353         * sunrpc/pmap_prot2.c: Likewise.
44354         * sunrpc/pmap_rmt.c: Likewise.
44355         * sunrpc/publickey.c: Likewise.
44356         * sunrpc/rpc_cmsg.c: Likewise.
44357         * sunrpc/rpc_common.c: Likewise.
44358         * sunrpc/rpc_dtable.c: Likewise.
44359         * sunrpc/rpc_prot.c: Likewise.
44360         * sunrpc/rpc_thread.c: Likewise.
44361         * sunrpc/rtime.c: Likewise.
44362         * sunrpc/svc.c: Likewise.
44363         * sunrpc/svc_auth.c: Likewise.
44364         * sunrpc/svc_authux.c: Likewise.
44365         * sunrpc/svc_raw.c: Likewise.
44366         * sunrpc/svc_run.c: Likewise.
44367         * sunrpc/svc_simple.c: Likewise.
44368         * sunrpc/svc_tcp.c: Likewise.
44369         * sunrpc/svc_udp.c: Likewise.
44370         * sunrpc/svc_unix.c: Likewise.
44371         * sunrpc/svcauth_des.c: Likewise.
44372         * sunrpc/xcrypt.c: Likewise.
44373         * sunrpc/xdr.c: Likewise.
44374         * sunrpc/xdr_array.c: Likewise.
44375         * sunrpc/xdr_float.c: Likewise.
44376         * sunrpc/xdr_intXX_t.c: Likewise.
44377         * sunrpc/xdr_mem.c: Likewise.
44378         * sunrpc/xdr_rec.c: Likewise.
44379         * sunrpc/xdr_ref.c: Likewise.
44380         * sunrpc/xdr_sizeof.c: Likewise.
44381         * sunrpc/xdr_stdio.c: Likewise.
44383 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44385         [BZ #12650]
44386         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44387         * sysdeps/ia64/dl-tls.h: Likewise.
44388         * sysdeps/powerpc/dl-tls.h: Likewise.
44389         * sysdeps/s390/dl-tls.h: Likewise.
44390         * sysdeps/sh/dl-tls.h: Likewise.
44391         * sysdeps/sparc/dl-tls.h: Likewise.
44392         * sysdeps/x86_64/dl-tls.h: Likewise.
44393         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44395 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44397         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44398         rpath element also skip the following colon.
44399         (expand_dynamic_string_token): Add is_path parameter and pass
44400         down to DL_DST_REQUIRED and _dl_dst_substitute.
44401         (decompose_rpath): Call expand_dynamic_string_token with
44402         non-zero is_path.  Ignore empty rpaths.
44403         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44404         with zero is_path.
44406 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44409         Make cancelable.
44411 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44413         [BZ #12655]
44414         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44415         Patch by Filipe David Manana <fdmanana@apache.org>.
44417 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44419         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44420         Maintain aligned stack.
44421         (CHECK_RSP): Remove unused macro.
44423 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44425         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44426         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44428 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44430         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44432         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44434 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44436         [BZ #12518]
44437         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44438         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44439         * sysdeps/x86_64/memmove.c: New file.
44440         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44441         (memcpy): Renamed to ...
44442         (__new_memcpy): This.
44443         (memcpy): Provide GLIBC_2_14 memcpy.
44444         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44445         (memcpy): Provide GLIBC_2_2_5 memcpy.
44447 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44449         [BZ #12631]
44450         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44452 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44454         * misc/syncfs.c: New file.
44455         * misc/Makefile (routines): Add syncfs.
44456         * posix/unistd.h: Declare syncfs.
44457         * sysdeps/unix/syscalls.list: Add syncfs.
44459 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44461         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44462         open_by_handle_at.
44463         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44464         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44465         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44466         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44468         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44471 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44473         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44475         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44477         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44479         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44481         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44482         sync_file_range.c with -fexceptions.
44483         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44484         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44485         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44486         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44487         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44488         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44490         sync_file_range as cancellation point
44491         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44492         now a wrapper around __call_sync_file_range with cancellation handling.
44493         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44494         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44495         function name to __call_sync_file_range.
44496         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44497         Add call_sync_file_range.
44499 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44502         bits/timex.h.
44504 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44506         * iconv/iconv.h: Fix typo in comment.
44507         * io/fcntl.h: Likewise.
44508         * libio/stdio.h: Likewise.
44509         * posix/spawn.h: Likewise.
44510         * posix/unistd.h: Likewise.
44511         * stdlib/stdlib.h: Likewise.
44512         * time/time.h: Likewise.
44513         * wcsmbs/wchar.h: Likewise.
44515         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44516         open_by_handle): Add.
44517         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44518         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44519         Augment a few comments.
44520         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44525         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44526         open_by_handle.
44528         * io/fcntl.h (AT_EMPTY_PATH): Define.
44530 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44532         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44533         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44534         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44535         to...
44536         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44537         * Versions.def: Add GLIBC_2.14.
44538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44539         Export.
44541 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44543         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44544         round counter.
44545         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44547 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44549         [BZ #12597]
44550         * string/test-strncmp.c (do_page_test): New function.
44551         (check2): Likewise.
44552         (test_main): Call check2.
44553         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44555 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44557         [BZ #12587]
44558         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44559         Handle cache information in CPU leaf 4.
44560         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44562 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44564         [BZ #12583]
44565         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44566         character representation.
44567         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44569 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44571         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44572         END(__isnan) to END(__isnanf) to match function entry point/label
44573         EALIGN(__isnanf,...).
44575 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44577         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44579 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44581         [BZ #12510]
44582         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44583         copy from the symbol referenced in the relocation to initialize the
44584         used variable.
44585         Patch by Piotr Bury <pbury@goahead.com>.
44586         * elf/Makefile: Add rules to build and tst-unique3.
44587         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44588         * elf/tst-unique3.cc: New file.
44589         * elf/tst-unique3.h: New file.
44590         * elf/tst-unique3lib.cc: New file.
44591         * elf/tst-unique3lib2.cc: New file.
44593         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44595 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44597         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44598         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44599         to _start.
44601 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44603         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44604         to-be-loaded object along a path to loader is ld.so.
44606 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44607             Ulrich Drepper  <drepper@gmail.com>
44609         * sysdeps/x86_64/memset.S: After aligning destination, code
44610         branches to different locations depending on the value of
44611         misalignment, when multiarch is enabled. Fix this.
44613 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44615         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44616         Set _x86_64_preferred_memory_instruction for AMD processsors.
44617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44618         Set bit_Prefer_SSE_for_memop for AMD processors.
44620 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44622         * libio/fmemopen.c (fmemopen): Optimize a bit.
44624 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44626         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44628 2011-03-03  Roland McGrath  <roland@redhat.com>
44630         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44632 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44634         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44635         __bzero_ultra1 instead of __memset_ultra1.
44637 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44638             Ulrich Drepper  <drepper@gmail.com>
44640         [BZ #12509]
44641         * include/link.h (struct link_map): Add l_orig_initfini.
44642         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44643         returning unsuccessfully.
44644         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44645         close of a file loaded at startup, restore the original l_initfini
44646         list.
44647         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44648         list, store the pointer.
44649         * elf/Makefile ($(objpfx)noload-mem): New rule.
44650         (noload-ENV): Define.
44651         (tests): Add $(objpfx)noload-mem.
44652         * elf/noload.c: Include <memcheck.h>.
44653         (main): Call mtrace.  Close all opened handles.
44655 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44657         [BZ #12454]
44658         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44659         dependencies are missing.
44661 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44663         Fix __if_freereq crash: Unlike the generic version which uses free,
44664         Hurd needs munmap.
44665         * sysdeps/mach/hurd/ifreq.h: New file.
44667 2011-01-27  Petr Baudis  <pasky@suse.cz>
44668             Ulrich Drepper  <drepper@gmail.com>
44670         [BZ 12445]#
44671         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44672         to extend_alloca().
44673         * stdio-common/bug23.c: New file.
44674         * stdio-common/Makefile (tests): Add bug23.
44676 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44677             Ulrich Drepper  <drepper@gmail.com>
44679         [BZ #12489]
44680         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44681         before performing relro protection.  At old place add assertion
44682         to make sure nothing changed.
44684 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44685             Glauber de Oliveira Costa  <glommer@gmail.com>
44687         * elf/elf.h: Add new ARM TLS relocs.
44689 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44692         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44693         cast from r3.
44694         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44695         'tests' variable.
44696         * sysdeps/wordsize-64/tst-writev.c: New file.
44698 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44700         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44701         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44702         insns in _dl_start to prevent a TOC reference before relocs are
44703         resolved.
44705 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44707         [BZ #12469]
44708         * Makeconfig: Remove RANLIB definition.
44709         * Makerules: Don't use RANLIB.
44710         * aclocal.m4: Remove ranlib test.
44711         * configure.in: No need to check for ranlib.
44712         * elf/rtld-Rules: Don't use RANLIB.
44714 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44716         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44717         protection macro.
44718         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44719         inclusion protection macro.
44721         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44722         SIGRTMIN and SIGRTMAX and print information in that case only when
44723         SIGRTMIN is defined.
44725 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44727         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44728         arginfo fn returning -1.
44730         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44731         and thousands string is zero terminated.
44733 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44736         sysdeps/unix/sysv/linux/bits/socket.h.
44738 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44740         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44741         (__CPU_COUNT): Remove old macros.
44742         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44743         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44744         (__CPU_ALLOC, __CPU_FREE): Add macros.
44745         (__sched_cpualloc, __sched_cpufree): Add declarations.
44747 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44749         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44750         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44751         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44752         (readdhstai): Return value of addhstaiX call.
44753         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44754         (addgrbyX): Return value returned by cache_addgr.
44755         (readdgrbyname): Return value returned by addgrbyX.
44756         (readdgrbygid): Likewise.
44757         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44758         (addpwbyX): Return value returned by cache_addpw.
44759         (readdpwbyname): Return value returned by addhstbyX.
44760         (readdpwbyuid): Likewise.
44761         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44762         (addservbyX): Return value returned by cache_addserv.
44763         (readdservbyname): Return value returned by addservbyX:
44764         (readdservbyport): Likewise.
44765         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44766         (addhstbyX): Return value returned by cache_addhst.
44767         (readdhstbyname): Return value returned by addhstbyX.
44768         (readdhstbyaddr): Likewise.
44769         (readdhstbynamev6): Likewise.
44770         (readdhstbyaddrv6): Likewise.
44771         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44772         (readdinitgroups): Return value returned by addinitgroupsX.
44773         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44774         (prune_cache): Keep track of timeout value of re-added entries.
44775         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44776         * nscd/nscd.h: Adjust prototypes of readd* functions.
44778 2011-02-04  Roland McGrath  <roland@redhat.com>
44780         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44781         (nis_stats): Likewise.
44782         * nis/nis_modify.c (nis_modify): Likewise.
44783         * nis/nis_remove.c (nis_remove): Likewise.
44784         * nis/nis_add.c (nis_add): Likewise.
44786         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44788         * posix/fnmatch_loop.c: Add some consts.
44790         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44792 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44794         [BZ #12460]
44795         * config.make.in (config-cflags-novzeroupper): Define.
44796         * configure.in: Substitute libc_cv_cc_novzeroupper.
44797         * elf/Makefile (AVX-CFLAGS): Define.
44798         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44799         (CFLAGS-tst-auditmod4a.c): Likewise.
44800         (CFLAGS-tst-auditmod4b.c): Likewise.
44801         (CFLAGS-tst-auditmod6b.c): Likewise.
44802         (CFLAGS-tst-auditmod6c.c): Likewise.
44803         (CFLAGS-tst-auditmod7b.c): Likewise.
44804         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44806 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44808         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44809         function to the callback.
44810         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44812 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44814         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44815         of errno.
44817 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44819         [BZ #11724]
44820         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44821         of constructors.
44822         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44823         of destructors.
44824         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44826         [BZ #11724]
44827         * elf/Makefile: Add rules to build and run new test.
44828         * elf/tst-initorder.c: New file.
44829         * elf/tst-initorder.exp: New file.
44830         * elf/tst-initordera1.c: New file.
44831         * elf/tst-initordera2.c: New file.
44832         * elf/tst-initordera3.c: New file.
44833         * elf/tst-initordera4.c: New file.
44834         * elf/tst-initorderb1.c: New file.
44835         * elf/tst-initorderb2.c: New file.
44836         * elf/tst-order-a1.c: New file.
44837         * elf/tst-order-a2.c: New file.
44838         * elf/tst-order-a3.c: New file.
44839         * elf/tst-order-a4.c: New file.
44840         * elf/tst-order-b1.c: New file.
44841         * elf/tst-order-b2.c: New file.
44842         * elf/tst-order-main.c: New file.
44843         New test case by George Gensure <werkt0@gmail.com>.
44845 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44848         decoding ACE if AI_CANONIDN.
44850 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44852         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44854 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44856         * version.h (RELEASE): Bump for 2.13 release.
44857         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44859         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44861         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44862         MADV_NOHUGEPAGE.
44863         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44864         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44865         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44866         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44867         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44868         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44870         * posix/getconf.c: Update copyright year.
44871         * catgets/gencat.c: Likewise.
44872         * csu/version.c: Likewise.
44873         * debug/catchsegv.sh: Likewise.
44874         * debug/xtrace.sh: Likewise.
44875         * elf/ldconfig.c: Likewise.
44876         * elf/ldd.bash.in: Likewise.
44877         * elf/sprof.c (print_version): Likewise.
44878         * iconv/iconv_prog.c: Likewise.
44879         * iconv/iconvconfig.c: Likewise.
44880         * locale/programs/locale.c: Likewise.
44881         * locale/programs/localedef.c: Likewise.
44882         * malloc/memusage.sh: Likewise.
44883         * malloc/mtrace.pl: Likewise.
44884         * nscd/nscd.c (print_version): Likewise.
44885         * nss/getent.c: Likewise.
44887         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44888         PF_CAIF, and PF_ALG.
44889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44891 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44893         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44894         (modules-names): Use them.
44895         (ifunc-test-modules, ifunc-pie-tests): Define.
44896         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44897         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44898         (test-extras): Likewise.
44899         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44900         $(compile-command.c).
44901         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44902         (all-built-dso): Define.
44903         (check-textrel.out, check-execstack.out): Depend on it.
44905         * configure.in: Don't override --enable-multi-arch.
44907 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44909         [BZ #6812]
44910         * nscd/hstcache.c (tryagain): Define.
44911         (cache_addhst): Return tryagain not notfound for temporary errors.
44912         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44913         failed.
44915 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44917         [BZ #10563]
44918         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44919         to make the syscall.
44920         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44922         [BZ #12378]
44923         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44924         and fall back to matching as normal character if the string ends before
44925         the matching ']' is found.  This is what POSIX requires.
44926         * posix/testfnm.c: Adjust test result.
44927         * posix/globtest.sh: Adjust test result.  Add new test.
44928         * posix/tst-fnmatch.input: Likewise.
44929         * posix/tst-fnmatch2.c: Add new test.
44931 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44933         * elf/Makefile (check-execstack): Revert last change.  Depend on
44934         check-execstack.h.
44935         (check-execstack.h): New target.
44936         (generated): Add check-execstack.h.
44937         * elf/check-execstack.c: Include "check-execstack.h".
44938         (main): Revert last change.
44939         (handle_file): Return zero if GNU_STACK is absent and
44940         DEFAULT_STACK_PERMS doesn't include PF_X.
44942 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44944         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44945         in child fails because the descriptor is already closed.
44946         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44947         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44948         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44950         [BZ #12397]
44951         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44952         syscall.
44954         [BZ #10484]
44955         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44956         temporary buffer used to handle multi lookups locally.
44957         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44959 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44961         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44962         loader is ld.so.
44964 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44966         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44967         alignment for SSE2.
44969 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44971         [BZ #12394]
44972         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44973         characters.  When rounding increased number of integer digits recompute
44974         number of groups.
44975         * stdio-common/tst-grouping.c: New file.
44976         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44978 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44980         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44981         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44983         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44984         void.
44985         * bits/select.h: Likewise.
44987 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44989         * po/ja.po: Update from translation team.
44991 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44993         [BZ #11155]
44994         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44995         implementation just like for lxstat, fxstatat, et al.
44997 2010-12-27  Jim Meyering  <meyering@redhat.com>
44999         [BZ #12348]
45000         * posix/regexec.c (build_trtable): Return failure indication upon
45001         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45003 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45005         [BZ #12201]
45006         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45007         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45008         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45009         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45011         [BZ #12207]
45012         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45014         [BZ #12204]
45015         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45016         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45018 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45020         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45021         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45022         script has SORT_BY_INIT_PRIORITY.
45023         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45024         NO_CTORS_DTORS_SECTIONS is defined.
45025         * elf/soinit.c: Likewise.
45026         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45027         NO_CTORS_DTORS_SECTIONS is defined.
45028         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45029         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45030         * sysdeps/sh/init-first.c: Likewise.
45031         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45033 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45035         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45036         always use the slow path.
45038 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45040         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45041         similar rule which adds the sysdep directories to the header search in
45042         order to pick up the correct platform stackinfo.h.
45043         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45044         perform test if it is, otherwise return successfully without testing.
45045         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45046         DEFAULT_STACK_PERMS define in stackinfo.h.
45047         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45048         defined in stackinfo.h.
45049         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45050         DEFAULT_STACK_PERMS defined in stackinfo.h.
45051         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45052         * sysdeps/ia64/stackinfo.h: Likewise.
45053         * sysdeps/s390/stackinfo.h: Likewise.
45054         * sysdeps/sh/stackinfo.h: Likewise.
45055         * sysdeps/sparc/stackinfo.h: Likewise.
45056         * sysdeps/x86_64/stackinfo.h: Likewise.
45057         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45058         PF_X for powerpc64.  Retain PF_X for powerpc32.
45060 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45062         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45063         accurately.
45064         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45065         GETDENTS_64BIT_ALIGNED.
45067 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45069         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45071 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45073         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45074         _GNU_SOURCE.
45076         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45077         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45078         Remove __restrict.
45079         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45080         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45082 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45084         [BZ #11655]
45085         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45086         are initialized.
45088 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45090         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45092 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45094         * po/it.po: Update from translation team.
45096 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45099         unused codes.
45101 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45103         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45105 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45107         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45108         specially.
45109         (gaih_getanswer_slice): Likewise.
45111 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45115 2010-05-31  Petr Baudis  <pasky@suse.cz>
45117         [BZ #11149]
45118         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45119         silently even in the chroot mode.
45121 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45123         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45124         last patch a bit.  Pretty printing
45126 2010-05-31  Petr Baudis <pasky@suse.cz>
45128         [BZ #10085]
45129         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45130         initialization of skip_initgroups_dyn.
45132 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45134         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45135         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45137 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45139         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45141 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45143         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45144         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45145         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45146         ($(objpfx)tst-fnmatch-mem): New rule.
45147         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45148         * posix/tst-fnmatch.c (main): Call mtrace.
45150 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45153         Support Intel processor model 6 and model 0x2c.
45155 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45157         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45158           signed comparison.
45160 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45162         [BZ #12205]
45163         * string/test-strncasecmp.c (check_result): New function.
45164         (do_one_test): Use it.
45165         (check1): New function.
45166         (test_main): Use it.
45167         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45168         Support strcasecmp and strncasecmp.
45170 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45172         [BZ #12194]
45173         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45174         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45176 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45178         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45179         IFUNC support.
45180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45181         memset-x86-64.
45182         * sysdeps/x86_64/multiarch/bzero.S: New file.
45183         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45184         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45185         * sysdeps/x86_64/multiarch/memset.S: New file.
45186         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45188         Set bit_Prefer_SSE_for_memop for Intel processors.
45189         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45190         Define.
45191         (index_Prefer_SSE_for_memop): Define.
45192         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45194 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45196         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45197         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45199 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45201         [BZ #12191]
45202         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45203         (__x86_64_raw_data_cache_size_half): Likewise.
45204         (__x86_64_raw_shared_cache_size): Likewise.
45205         (__x86_64_raw_shared_cache_size_half): Likewise.
45207         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45208         (__x86_64_raw_data_cache_size_half): Likewise.
45209         (__x86_64_raw_shared_cache_size): Likewise.
45210         (__x86_64_raw_shared_cache_size_half): Likewise.
45211         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45212         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45213         and __x86_64_raw_shared_cache_size_half.  Round
45214         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45215         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45216         to multiple of 256 bytes.
45218 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45220         [BZ #12167]
45221         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45222         of inacessible symlinks.  Verify result of symlink before returning it.
45223         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45224         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45226 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45228         * math/math.h (isinf): Fix typo in comment.
45230 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45232         * po/da.po: Update from translation team.
45234 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45236         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45237         is added to the list.
45239 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45240             Ulrich Drepper  <drepper@gmail.com>
45242         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45243         the global list here.  Move code to...
45244         (_dl_add_to_namespace_list): ...here.  New function.
45245         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45246         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45247         * elf/dl-load.c (lose): Don't remove the element from the list.
45248         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45249         (_dl_map_object): Likewise.
45251 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45253         [BZ #12159]
45254         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45255         into all bytes of SSE register.
45256         Patch by Richard Li <richardpku@gmail.com>.
45258 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45260         [BZ #12140]
45261         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45262         perturbing.
45264 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45266         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45267         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45268         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45269         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45271         submachine.
45272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45274 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45276         * include/dlfcn.h (__RTLD_SECURE): Define.
45277         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45278         mode & __RTLD_SECURE instead.
45279         (open_path): Rename preloaded parameter to secure.
45280         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45281         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45282         * elf/dl-deps.c (openaux): Likewise.
45283         * elf/rtld.c (struct map_args): Remove is_preloaded.
45284         (map_doit): Don't use it.
45285         (dl_main): Likewise.
45286         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45287         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45289 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45291         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45292         (sysd-rules-targets): Remove duplicates.
45293         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45294         rtld-%.$o dependency.
45296 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45298         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45299         _dl_map_object do it.
45301 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45303         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45304         fast fma builtins, define the macros in the C99 standard.
45305         (FP_FAST_FMAF): Likewise.
45306         (FP_FAST_FMAL): Likewise.
45307         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45309         * bits/mathdef.h: Update copyright year.
45310         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45312 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45314         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45315         builtins, define the macros in the C99 standard.
45316         (FP_FAST_FMAF): Likewise.
45317         (FP_FAST_FMAL): Likewise.
45318         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45319         multiply/add.
45320         (FP_FAST_FMAF): Likewise.
45322 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45324         [BZ #3268]
45325         * math/libm-test.inc (fma_test): Some new testcases.
45326         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45327         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45328         y and infinite z.  Do multiplication by C already in long double.
45329         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45331         y and infinite z.  Do bitwise or of inexact bit into u.d.
45332         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45333         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45334         * sysdeps/i386/fpu/s_fma.S: Removed.
45335         * sysdeps/i386/fpu/s_fmal.S: Removed.
45337 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45339         [BZ #3268]
45340         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45342         computation is not scheduled after fetestexcept.  Fix value
45343         of minimum denormal long double.
45345 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45347         [BZ #3268]
45348         * math/libm-test.inc (fma_test): Add some more tests.
45349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45350         correctly.
45352 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45354         * scripts/data/localplt-s390-linux-gnu.data: New file.
45355         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45357 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45359         [BZ #3268]
45360         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45361         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45362         instead of dbl-64.
45363         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45364         inlines.
45365         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45367         if one of x and y is very large and the other is subnormal.
45368         * sysdeps/s390/fpu/s_fmaf.c: New file.
45369         * sysdeps/s390/fpu/s_fma.c: New file.
45370         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45371         * sysdeps/powerpc/fpu/s_fma.S: New file.
45372         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45373         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45374         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45376 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45378         [BZ #3268]
45379         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45380         fma tests.
45381         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45382         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45383         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45384         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45385         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45386         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45387         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45389 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45391         [BZ #12078]
45392         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45393         * posix/bug-regex31.input: Add test case.
45395 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45397         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45398         * posix/bug-regex31.input: New file.
45400         [BZ #12078]
45401         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45402         (parse_sub_exp): Fix last change, use postorder.
45404         * posix/bug-regex31.c: New file.
45405         * posix/Makefile: Add rules to build and run bug-regex31.
45407         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45409         [BZ #12078]
45410         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45412         [BZ #12108]
45413         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45414         to have entries in sys_siglist.
45416         [BZ #12093]
45417         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45418         be NULL.
45420 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45422         [BZ #3268]
45423         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45424         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45425         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45426         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45427         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45428         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45429         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45430         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45431         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45432         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45433         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45434         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45435         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45436         * math/ftestexcept.c (fetestexcept): Likewise.
45437         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45438         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45439         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45440         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45441         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45442         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45443         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45445 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45447         [BZ #12107]
45448         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45449         newline.
45451 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45453         * string/bug-strstr1.c: New file.
45454         * string/Makefile: Add rules to build and run bug-strstr1.
45456 2010-10-05  Eric Blake  <eblake@redhat.com>
45458         [BZ #12092]
45459         * string/str-two-way.h (two_way_long_needle): Always clear memory
45460         when skipping input due to the shift table.
45462 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45464         [BZ #12005]
45465         * malloc/mcheck.c: Handle large requests.
45467         [BZ #12077]
45468         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45469         for strncmp and strncasecmp.
45470         * string/stratcliff.c: Add tests for strcmp and strncmp.
45471         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45473 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45475         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45476         __set_fpscr.
45478 2010-09-30  Andreas Jaeger  <aj@suse.de>
45480         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45481         (CGROUP_SUPER_MAGIC): Define.
45482         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45483         Handle btrfs and cgroup file systems.
45484         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45485         Likewise.
45487 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45489         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45490         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45492 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45494         [BZ #12067]
45495         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45496         trying to locate the ELF header.
45498 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45500         [BZ #11611]
45501         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45502         Mask out sign-bit copies when constructing f_fsid.
45504 2010-09-24  Petr Baudis <pasky@suse.cz>
45506         * debug/stack_chk_fail_local.c: Add missing licence exception.
45507         * debug/warning-nop.c: Likewise.
45509 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45511         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45512         implementing getdents64 using getdents syscall, set d_type if
45513         __ASSUME_GETDENTS32_D_TYPE.
45515 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45517         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45518         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45520 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45522         [BZ #12037]
45523         * posix/unistd.h: Undo change of feature selection for ftruncate from
45524         2010-01-11.
45526 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45528         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45529         detection.
45531 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45533         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45534         fanotify_mark.
45535         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45537 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45539         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45540         variables after CHECK_SP call.
45541         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45543 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45544             Ulrich Drepper  <drepper@redhat.com>
45546         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45547         re-relocationg ld.so.
45548         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45549         _dl_init_paths call.
45550         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45551         here anymore.
45553 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45555         * resolv/res_init.c (__res_vinit): Count the default server we added.
45557 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45558             Ulrich Drepper  <drepper@redhat.com>
45560         [BZ #11968]
45561         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45562         (____longjmp_chk): Use %ebx for saving value across system call.
45563         Add unwind info.
45565 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45567         * manual/Makefile: Don't mix pattern rules with normal rules.
45569 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45571         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45572         operation.
45573         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45574         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45575         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45576         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45578         Likewise.
45580 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45582         [BZ #11979]
45583         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45584         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45586 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45588         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45589         * sysdeps/x86_64/addmul_1.S: Likewise.
45590         * sysdeps/x86_64/lshift.S: Likewise.
45591         * sysdeps/x86_64/mul_1.S: Likewise.
45592         * sysdeps/x86_64/rshift.S: Likewise.
45593         * sysdeps/x86_64/sub_n.S: Likewise.
45594         * sysdeps/x86_64/submul_1.S: Likewise.
45596 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45598         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45599         Define __sched_param instead of SCHED_* and sched_param when
45600         <bits/sched.h> is included with __need_schedparam defined.
45601         * bits/sched.h [__need_schedparam]
45602         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45603         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45604         (__defined_schedparam): Define to 1.
45605         (__sched_param): New structure, identical to sched_param.
45606         (__need_schedparam): Undefine.
45608 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45611         (epoll_create1): Declare.
45613         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45615 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45617         [BZ #7066]
45618         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45619         shifting retval into place.
45621 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45623         * nis/rpcsvc/nis.h: Update copyright notice.
45624         * nis/rpcsvc/nis.x: Likewise.
45625         * nis/rpcsvc/nis_callback.h: Likewise.
45626         * nis/rpcsvc/nis_callback.x: Likewise.
45627         * nis/rpcsvc/nis_object.x: Likewise.
45628         * nis/rpcsvc/nis_tags.h: Likewise.
45629         * nis/rpcsvc/yp.h: Likewise.
45630         * nis/rpcsvc/yp.x: Likewise.
45631         * nis/rpcsvc/ypupd.h: Likewise.
45632         * nis/yp_xdr.c: Likewise.
45633         * nis/ypupdate_xdr.c: Likewise.
45635         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45636         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45637         (pmap_getport): Use __libc_rpc_getport.
45638         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45639         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45640         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45642 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45645         fanotify_mark.
45647 2010-08-27  Roland McGrath  <roland@redhat.com>
45649         * sysdeps/i386/i686/multiarch/Makefile
45650         (CFLAGS-varshift.c): New variable.
45652 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45654         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45655         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45659         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45661 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45663         * sysdeps/x86_64/strlen.S: Unroll the loop.
45664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45665         strlen-sse2 strlen-sse2-bsf.
45666         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45667         __strlen_no_bsf if bit_Slow_BSF is set.
45668         (__strlen_sse42): Removed.
45669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45670         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45672 2010-08-25  Roland McGrath  <roland@redhat.com>
45674         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45675         * sysdeps/x86_64/multiarch/varshift.c: New file.
45676         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45677         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45678         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45679         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45681 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45684         strlen-sse2 strlen-sse2-bsf.
45685         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45686         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45687         (__strlen_sse2): Removed.
45688         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45689         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45691         bit_Slow_BSF for Atom.
45692         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45693         (index_Slow_BSF): Define.
45694         (HAS_SLOW_BSF): Define.
45696 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45698         [BZ #10851]
45699         * resolv/res_init.c (__res_vinit): When no server address at all
45700         is given default to loopback.
45702 2010-08-24  Roland McGrath  <roland@redhat.com>
45704         * configure.in: Remove config-name.h generation.
45705         * configure: Regenerated.
45706         * config-name.in: File removed.
45707         * scripts/config-uname.sh: New file.
45708         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45709         ($(objdir)config-name.h): New target.
45711         * sunrpc/rpc_parse.h: Avoid nested comment.
45713 2010-08-24  Richard Henderson  <rth@redhat.com>
45714             Ulrich Drepper  <drepper@redhat.com>
45715             H.J. Lu  <hongjiu.lu@intel.com>
45717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45719         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45720         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45721         _mm_alignr_epi8 with _mm_loadu_si128.
45722         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45723         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45724         (__m128i_shift_right): Removed.
45725         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45726         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45727         * sysdeps/x86_64/multiarch/varshift.h: New file.
45728         * sysdeps/x86_64/multiarch/varshift.S: New file.
45730 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45732         * configure.in: Move assembler checks to before sysdep dir checking.
45734 2010-08-20  Petr Baudis  <pasky@suse.cz>
45736         * LICENSES: Sync the sunrpc license.
45738 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45740         * sunrpc/auth_des.c: Update copyright notice once again.
45741         * sunrpc/auth_none.c: Likewise.
45742         * sunrpc/auth_unix.c: Likewise.
45743         * sunrpc/authdes_prot.c: Likewise.
45744         * sunrpc/authuxprot.c: Likewise.
45745         * sunrpc/bindrsvprt.c: Likewise.
45746         * sunrpc/clnt_gen.c: Likewise.
45747         * sunrpc/clnt_perr.c: Likewise.
45748         * sunrpc/clnt_raw.c: Likewise.
45749         * sunrpc/clnt_simp.c: Likewise.
45750         * sunrpc/clnt_tcp.c: Likewise.
45751         * sunrpc/clnt_udp.c: Likewise.
45752         * sunrpc/clnt_unix.c: Likewise.
45753         * sunrpc/des_crypt.c: Likewise.
45754         * sunrpc/des_soft.c: Likewise.
45755         * sunrpc/get_myaddr.c: Likewise.
45756         * sunrpc/getrpcport.c: Likewise.
45757         * sunrpc/key_call.c: Likewise.
45758         * sunrpc/key_prot.c: Likewise.
45759         * sunrpc/openchild.c: Likewise.
45760         * sunrpc/pm_getmaps.c: Likewise.
45761         * sunrpc/pm_getport.c: Likewise.
45762         * sunrpc/pmap_clnt.c: Likewise.
45763         * sunrpc/pmap_prot.c: Likewise.
45764         * sunrpc/pmap_prot2.c: Likewise.
45765         * sunrpc/pmap_rmt.c: Likewise.
45766         * sunrpc/rpc/auth.h: Likewise.
45767         * sunrpc/rpc/auth_unix.h: Likewise.
45768         * sunrpc/rpc/clnt.h: Likewise.
45769         * sunrpc/rpc/des_crypt.h: Likewise.
45770         * sunrpc/rpc/key_prot.h: Likewise.
45771         * sunrpc/rpc/netdb.h: Likewise.
45772         * sunrpc/rpc/pmap_clnt.h: Likewise.
45773         * sunrpc/rpc/pmap_prot.h: Likewise.
45774         * sunrpc/rpc/pmap_rmt.h: Likewise.
45775         * sunrpc/rpc/rpc.h: Likewise.
45776         * sunrpc/rpc/rpc_des.h: Likewise.
45777         * sunrpc/rpc/rpc_msg.h: Likewise.
45778         * sunrpc/rpc/svc.h: Likewise.
45779         * sunrpc/rpc/svc_auth.h: Likewise.
45780         * sunrpc/rpc/types.h: Likewise.
45781         * sunrpc/rpc/xdr.h: Likewise.
45782         * sunrpc/rpc_clntout.c: Likewise.
45783         * sunrpc/rpc_cmsg.c: Likewise.
45784         * sunrpc/rpc_common.c: Likewise.
45785         * sunrpc/rpc_cout.c: Likewise.
45786         * sunrpc/rpc_dtable.c: Likewise.
45787         * sunrpc/rpc_hout.c: Likewise.
45788         * sunrpc/rpc_main.c: Likewise.
45789         * sunrpc/rpc_parse.c: Likewise.
45790         * sunrpc/rpc_parse.h: Likewise.
45791         * sunrpc/rpc_prot.c: Likewise.
45792         * sunrpc/rpc_sample.c: Likewise.
45793         * sunrpc/rpc_scan.c: Likewise.
45794         * sunrpc/rpc_scan.h: Likewise.
45795         * sunrpc/rpc_svcout.c: Likewise.
45796         * sunrpc/rpc_tblout.c: Likewise.
45797         * sunrpc/rpc_util.c: Likewise.
45798         * sunrpc/rpc_util.h: Likewise.
45799         * sunrpc/rpcinfo.c: Likewise.
45800         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45801         * sunrpc/rpcsvc/key_prot.x: Likewise.
45802         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45803         * sunrpc/rpcsvc/mount.x: Likewise.
45804         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45805         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45806         * sunrpc/rpcsvc/rex.x: Likewise.
45807         * sunrpc/rpcsvc/rstat.x: Likewise.
45808         * sunrpc/rpcsvc/rusers.x: Likewise.
45809         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45810         * sunrpc/rpcsvc/spray.x: Likewise.
45811         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45812         * sunrpc/rtime.c: Likewise.
45813         * sunrpc/svc.c: Likewise.
45814         * sunrpc/svc_auth.c: Likewise.
45815         * sunrpc/svc_authux.c: Likewise.
45816         * sunrpc/svc_raw.c: Likewise.
45817         * sunrpc/svc_run.c: Likewise.
45818         * sunrpc/svc_simple.c: Likewise.
45819         * sunrpc/svc_tcp.c: Likewise.
45820         * sunrpc/svc_udp.c: Likewise.
45821         * sunrpc/svc_unix.c: Likewise.
45822         * sunrpc/svcauth_des.c: Likewise.
45823         * sunrpc/xcrypt.c: Likewise.
45824         * sunrpc/xdr.c: Likewise.
45825         * sunrpc/xdr_array.c: Likewise.
45826         * sunrpc/xdr_float.c: Likewise.
45827         * sunrpc/xdr_mem.c: Likewise.
45828         * sunrpc/xdr_rec.c: Likewise.
45829         * sunrpc/xdr_ref.c: Likewise.
45830         * sunrpc/xdr_sizeof.c: Likewise.
45831         * sunrpc/xdr_stdio.c: Likewise.
45833         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45834         handling.
45836 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45838         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45840 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45842         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45843         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45844         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45845         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45846         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45847         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45848         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45849         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45851         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45852         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45853         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45854         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45855         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45857 2010-07-26  Anton Blanchard  <anton@samba.org>
45859         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45860         * malloc/arena.c (heap_trim): Likewise.
45862 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45864         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45865         here.  Not...
45866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45867         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45869 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45871         * sysdeps/i386/elf/Makefile: New file.
45873 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45875         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45876         from fanotify_init.
45877         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45878         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45880 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45882         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45883         of strncasecmp_l.
45884         * sysdeps/multiarch/strcmp.S: Likewise.
45886 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45888         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45889         strncase_l-nonascii.
45890         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45891         Add strncase_l-ssse3.
45892         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45893         * sysdeps/x86_64/strcmp.S: Likewise.
45894         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45895         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45896         * sysdeps/x86_64/strncase.S: New file.
45897         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45898         * sysdeps/x86_64/strncase_l.S: New file.
45899         * string/Makefile (strop-tests): Add strncasecmp.
45900         * string/test-strncasecmp.c: New file.
45902         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45903         warning.
45905         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45906         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45908 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45910         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45912 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45914         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45915         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45916         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45918 2010-05-01  Alan Modra  <amodra@gmail.com>
45920         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45921         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45922         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45923         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45924         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45925         tidying.  Don't tail-call __sigjmp_save for static lib.
45926         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45927         save location.
45928         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45929         (CALL_MCOUNT): Add eh info, and nop after bl.
45930         (TAIL_CALL_SYSCALL_ERROR): New macro.
45931         (PSEUDO_RET): Use it.
45932         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45933         Correct save location of integer regs and cr.
45934         (_dl_profile_resolve): Correct cr save location.  Delete nops
45935         after bl when SHARED.  Reduce cfi size a little by better
45936         placement of cfi directives.
45937         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45938         make a stack frame.  Instead use parm save area as a temp.
45939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45940         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45942         Don't make a stack frame for parent, use parm save area.
45943         Increase child stack frame to 112 bytes.  Don't save unused reg,
45944         and adjust reg usage.  Set up cfi on error recovery and
45945         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45947         (__makecontext): Add dummy nop after jump to exit.
45948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45949         Use correct parm save area and cr save, reduce stack frame.
45950         Correct cfi for possible PSEUDO_RET frame setup.
45951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45952         Branch to local label emitted by PSEUDO_RET rather than
45953         __syscall_error.
45955 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45957         [BZ #11904]
45958         * locale/programs/locale.c (print_assignment): New function.
45959         (show_locale_vars): Use it.
45961 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45963         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45964         field.
45965         (struct statfs64): Likewise.
45966         (_STATFS_F_FLAGS): Define.
45967         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45969         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45970         (ST_VALID): Define locally.
45971         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45972         __statvfs_getflags, use the provided value.
45973         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45974         __ASSUME_STATFS_F_FLAGS.
45976         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45978         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45979         Add sys/fanotify.h.
45980         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45981         fanotify_mask for GLIBC_2.13.
45982         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45983         fanotify_init and fanotify_mark.
45984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45985         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45987         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45988         Add prlimit.
45989         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45990         prlimit64 for GLIBC_2.13.
45991         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45992         prlimit64.
45993         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45994         syscall.
45995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45996         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45997         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45999         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46000         add prlimit alias.
46001         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46003         [BZ #11903]
46004         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46005         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46007         * nss/Makefile: Add rules to build and run tst-nss-test1.
46008         * shlib-versions: Add entry for libnss_test1.
46009         * nss/nss_test1.c: New file.
46010         * nss/tst-nss-test1.c: New file.
46012         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46013         (__nss_configure_lookup): Set appropriate entry in
46014         __nss_configure_lookup to true.
46015         * nss/nsswitch.h: Define enum with indeces of databases in
46016         databases and __nss_database_custom arrays.  Declare
46017         __nss_database_custom.
46018         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46019         to avoid using nscd when custom rules are installed.
46020         * nss/getXXbyYY_r.c: Likewise.
46021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46023         * nss/nss_files/files-parse.c: Whitespace fixes.
46025 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46027         [BZ #11883]
46028         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46029         * posix/fnmatch_loop.c: Likewise.
46031 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46033         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46034         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46035         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46036         * Versions.def [GLIBC_2.13]: Add.
46038 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46040         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46041         Also fail if tpwd after pwuid call is NULL.
46043 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46045         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46046         when converting to ms.
46048 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46050         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46051         EOPNOTSUPP errors with ENOTTY.
46052         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46053         EOPNOTSUPP errors with ENOTTY.
46055 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46057         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46058         Add strcasecmp_l-ssse3.
46059         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46060         strcasecmp.
46061         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46062         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46063         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46065 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46067         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46069         * string/Makefile (strop-tests): Add strcasecmp.
46070         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46071         strcasecmp_l-nonascii.
46072         (gen-as-const-headers): Add locale-defines.sym.
46073         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46074         * sysdeps/x86_64/strcasecmp.S: New file.
46075         * sysdeps/x86_64/strcasecmp_l.S: New file.
46076         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46077         * sysdeps/x86_64/locale-defines.sym: New file.
46078         * string/test-strcasecmp.c: New file.
46080         * string/test-strcasestr.c: Test both ends of the range of characters.
46081         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46083 2010-07-29  Roland McGrath  <roland@redhat.com>
46085         [BZ #11856]
46086         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46088 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46090         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46091         for ld.so.
46093 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46095         * manual/memory.texi (Malloc Tunable Parameters): Document
46096         M_PERTURB.
46098 2010-07-26  Roland McGrath  <roland@redhat.com>
46100         [BZ #11840]
46101         * configure.in (-fgnu89-inline check): Set and substitute
46102         gnu89_inline, not libc_cv_gnu89_inline.
46103         * configure: Regenerated.
46104         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46106 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46108         * string/test-strnlen.c: New file.
46109         * string/Makefile (strop-tests): Add strnlen.
46110         * string/tester.c (test_strnlen): Add a few more test cases.
46111         * string/tst-strlen.c: Better error reporting.
46113         * sysdeps/x86_64/strnlen.S: New file.
46115 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46117         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46118         lower-latency instructions.
46120 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46122         * string/test-strcasestr.c: New file.
46123         * string/test-strstr.c: New file.
46124         * string/Makefile (strop-tests): Add strstr and strcasestr.
46125         * string/str-two-way.h: Don't undefine MAX.
46126         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46128 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46131         strcasestr-nonascii.
46132         (CFLAGS-strcasestr-nonascii.c): Define.
46133         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46134         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46135         Remove unused attribute.
46137 2010-07-20  Roland McGrath  <roland@redhat.com>
46139         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46140         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46141         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46142         like LD_HWCAP_MASK can disable hwcaps.
46144 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46146         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46148 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46150         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46151         call in strcasestr.
46152         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46153         __strcasestr_sse42_nonascii.
46154         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46155         strcasestr-nonascii.c.
46156         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46158 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46160         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46161         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46162         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46163         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46165 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46167         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46168         fcntl.
46170 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46172         [BZ #11577]
46173         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46174         dl_signal_cerror.
46176 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46178         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46179         _PC_PIPE_BUF using F_GETPIPE_SZ.
46181 2010-07-05  Roland McGrath  <roland@redhat.com>
46183         * manual/arith.texi (Rounding Functions): Fix rint description
46184         implicit in round description.
46186 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46188         * elf/Makefile: Fix linking for a few tests to make recent linker
46189         happy.
46191 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46193         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46194         $(common-objpfx)libc_nonshared.a.
46196 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46198         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46199         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46200         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46201         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46202         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46203         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46204         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46205         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46220         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46221         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46222         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46223         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46224         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46225         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46226         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46227         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46228         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46229         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46230         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46231         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46247 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46249         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46250         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46251         * string/memmove.c (memmove): Renamed to ...
46252         (MEMMOVE): ...this.  Default to memmove.
46253         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46254         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46255         (END_CHK): Define.
46256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46257         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46258         mempcpy-ssse3-back memmove-ssse3-back.
46259         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46261         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46262         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46263         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46264         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46265         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46266         * sysdeps/x86_64/multiarch/memmove.c: New file.
46267         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46268         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46269         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46270         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46271         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46272         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46273         Define.
46274         (index_Fast_Copy_Backward): Define.
46275         (HAS_ARCH_FEATURE): Define.
46276         (HAS_FAST_REP_STRING): Define.
46277         (HAS_FAST_COPY_BACKWARD): Define.
46279 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46281         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46282         Restore proper fallback handling.
46284 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46286         [BZ #11701]
46287         * posix/group_member.c (__group_member): Correct checking loop.
46289         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46290         OOM in getpwuid_r correctly.  Return error number when the caller
46291         should return, otherwise -1.
46292         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46293         call returning > 0 value.
46294         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46296 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46298         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46299         libc_nonshared.a from targets in modules-names.
46301 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46303         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46304         requires it.
46306 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46308         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46309         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46311         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46313 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46315         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46317 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46319         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46320         and F_GETPIPE_SZ.
46321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46325         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46328 2010-06-14  Roland McGrath  <roland@redhat.com>
46330         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46332 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46334         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46335         __REDIRECT followed by __THROW.
46336         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46337         * posix/getopt.h (getopt): Likewise.
46339 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46341         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46342         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46343         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46344         in AT_FLAGS.
46345         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46346         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46348 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46350         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46352 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46354         [BZ #11640]
46355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46356         Properly check family and model.
46358 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46360         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46362 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46364         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46366 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46368         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46369         symbol reference.
46371 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46373         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46374         symbol reference.
46376 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46378         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46379         and internal_recvmmsg.
46380         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46381         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46382         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46383         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46385         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46386         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46387         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46389 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46391         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46393 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46395         POWER7 optimizations.
46396         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46397         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46399 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46401         * version.h: Update for 2.13 development version.
46403 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46405         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46406         exceptions.  Return 0.
46408 2010-05-07  Roland McGrath  <roland@redhat.com>
46410         * elf/ldconfig.c (main): Add a const.
46412 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46414         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46415         (args_options): Add no-idn option.
46416         (ahosts_keys_int): Add idn_flags to ai_flags.
46417         (parse_option): Handle 'i' option to clear idn_flags.
46419         * malloc/malloc.c (_int_free): Possible race in the most recently
46420         added check.  Only act on the data if no current modification
46421         happened.
46423 See ChangeLog.17 for earlier changes.