malloc/malloc.c: Avoid calling sbrk unnecessarily with zero
[glibc.git] / ChangeLog
blobea0c48f85026f7d3e8a6fa0d43768b1ae16aac95
1 2014-06-19  Will Newton  <will.newton@linaro.org>
3         * malloc/malloc.c (systrim): If extra is zero then return
4         early.
6 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
12         * sysdeps/aarch64/strchr.S: New file.
14 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16         [BZ #17022]
17         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18         from arguments -2 or below.
19         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22 2014-06-18  Andreas Schwab  <schwab@suse.de>
24         [BZ #17062]
25         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26         of a bracket expr not to run off the end of the string.
27         * posix/Makefile (tests): Add tst-fnmatch3.
28         * posix/tst-fnmatch3.c: New file.
30 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34         [$(cross-compiling) = no]: Likewise.
35         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36         [$(cross-compiling) = no]: Likewise.
38 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40         [BZ #17031]
41         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42         double, adjusted for any remainder from the high double.
43         * math/libm-test.inc (nearbyint): Add tests.
44         (rint): Likewise.
46 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48         * nptl/sysdeps/powerpc/Makefile: Moved ...
49         * sysdeps/powerpc/nptl/Makefile: ... here.
50         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
51         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
52         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
53         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
54         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
55         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
56         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
57         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
58         * nptl/sysdeps/powerpc/tls.h: Moved ...
59         * sysdeps/powerpc/nptl/tls.h: ... here.
61 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
63         [BZ #16681]
64         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
65         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
66         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
67         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
68         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
69         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
70         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
71         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
72         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
74 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
76         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
78 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
80         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
81         defined operator.
83         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
84         $TIMEOUTFACTOR.
86 2014-06-16  Florian Weimer  <fweimer@redhat.com>
88         [BZ #17058]
89         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
90         non-executed part of the test.
92 2014-06-16  Andreas Schwab  <schwab@suse.de>
94         * string/bits/string2.h (strdup, strndup): Update feature guard.
96 2014-06-14  David S. Miller  <davem@davemloft.net>
98         * sysdeps/sparc/fpu/libm-test-ulps: Update.
100 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
102         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
103         that was previously under [RESET_PID].
104         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
106         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
107         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
108         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
109         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
110         (__libc_vfork): New strong alias.
111         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
113 2014-06-14 Andi Kleen  <ak@linux.intel.com>
115         * sysdeps/generic/elide.h: New file.
117 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
119         * Makefile (installed-headers): Adjust path of pthread.h header.
121 2014-06-13  Roland McGrath  <roland@hack.frob.com>
123         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
124         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
125         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
126         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
128         * nptl/sysdeps/s390/Makefile: Moved ...
129         * sysdeps/s390/nptl/Makefile: ... here.
130         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
131         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
132         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
133         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
134         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
135         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
136         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
137         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
138         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
139         * sysdeps/s390/nptl/pthreaddef.h: ... here.
140         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
141         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
142         * nptl/sysdeps/s390/tls.h: Moved ...
143         * sysdeps/s390/nptl/tls.h: ... here.
145         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
146         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
148 2014-06-13  David S. Miller  <davem@davemloft.net>
150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
153         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
157         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
158         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
159         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
160         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
161         Remove RESET_PID cpp guards.
162         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
163         Remove RESET_PID cpp guards.
164         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
166 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
168         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
169         __sp to uintptr_t.
171 2014-06-13  Andi Kleen  <ak@linux.intel.com>
173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
174         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
176         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
179         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
180         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
182         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
185         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
186         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
187         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
188         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
189         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
191         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
192         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
194         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
195         (pthread_rwlock_rdlock): Add elision.
196         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
197         (pthread_rwlock_wrlock): Add elision.
198         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
199         (pthread_rwlock_trywrlock): Add elision.
200         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
201         (pthread_rwlock_tryrdlock): Add elision.
202         * nptl/pthread_rwlock_unlock.c: Include elide.h.
203         (pthread_rwlock_tryrdlock): Add elision unlock.
204         * nptl/sysdeps/pthread/pthread.h:
205         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
206         (PTHREAD_RWLOCK_INITIALIZER,
207         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
208         Handle new elision field.
209         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
210         * sysdeps/arm/nptl/bits/pthreadtypes.h
211         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
212         * sysdeps/sh/nptl/bits/pthreadtypes.h
213         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
214         * sysdeps/tile/nptl/bits/pthreadtypes.h
215         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
216         * sysdeps/a/nptl/bits/pthreadtypes.h
217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
218         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
220         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
222         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
224         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
226         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
228         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
229         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
230         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
231         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
232         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
233         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
234         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
235         (elision_init): Set try_xbegin to zero when no RTM.
236         * sysdeps/x86/nptl/bits/pthreadtypes.h
237         (pthread_rwlock_t): Change __pad1 to __rwelision.
238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
240 2014-06-13  Andi Kleen  <ak@linux.intel.com>
242         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
243         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
244         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
245         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
247 2014-06-13  Meador Inge  <meadori@codesourcery.com>
249         [BZ #16996]
250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
251         that the cached result has been set before returning it.
253 2014-06-12  Roland McGrath  <roland@hack.frob.com>
255         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
256         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
257         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
258         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
259         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
260         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
262         * nptl/sysdeps/sparc/Makefile: Moved ...
263         * sysdeps/sparc/nptl/Makefile: ... here.
264         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
265         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
266         * nptl/sysdeps/sparc/tls.h: Moved ...
267         * sysdeps/sparc/nptl/tls.h: ... here.
268         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
269         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
270         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
271         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
272         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
273         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
274         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
275         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
276         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
277         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
278         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
279         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
280         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
281         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
282         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
283         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
284         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
285         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
286         Update #include.
287         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
289         Update #include.
290         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
291         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
292         Update #include.
293         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
294         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
295         Update #include.
297         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
299         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
300         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
302         * sysdeps/pthread/posix-timer.h: Include <list.h>.
303         (struct list_links): Type removed.
304         (struct thread_node, struct timer_node): Replace struct list_links
305         with struct list_head.
306         (list_unlink_ip): Likewise.
307         * sysdeps/pthread/timer_routines.c
308         (timer_free_list, thread_free_list, thread_active_list): Likewise.
309         (list_append, list_insbefore): Likewise.
310         (list_init): Function removed.
311         (thread_init, init_module): Use INIT_LIST_HEAD instead.
312         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
313         * sysdeps/pthread/Makefile: ... here, new file.
315         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
316         * sysdeps/nptl/Implies: ... here.
317         * sysdeps/unix/sysv/linux/Implies: Add nptl.
318         * nptl/sysdeps/pthread/list.h: Moved ...
319         * include/list.h: ... here.
320         * nptl/sysdeps/pthread/createthread.c: Moved ...
321         * nptl/createthread.c: ... here.
322         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
323         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
324         * nptl/pt-longjmp.c: ... here.
325         * nptl/sysdeps/pthread/Makefile: Moved ...
326         * sysdeps/nptl/Makefile: ... here.
327         * nptl/sysdeps/pthread/Subdirs: Moved ...
328         * sysdeps/nptl/Subdirs: ... here.
329         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
330         * sysdeps/nptl/aio_misc.h: ... here.
331         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
332         * sysdeps/nptl/bits/libc-lock.h: ... here.
333         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
334         * sysdeps/nptl/bits/libc-lockP.h: ... here.
335         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
336         * sysdeps/nptl/bits/stdio-lock.h: ... here.
337         * nptl/sysdeps/pthread/configure: Moved ...
338         * sysdeps/nptl/configure: ... here.
339         * nptl/sysdeps/pthread/configure.ac: Moved ...
340         * sysdeps/nptl/configure.ac: ... here.
341         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
342         * sysdeps/nptl/gai_misc.h: ... here.
343         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
344         * sysdeps/nptl/librt-cancellation.c: ... here.
345         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
346         * sysdeps/nptl/malloc-machine.h: ... here.
347         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
348         * sysdeps/nptl/pthread-functions.h: ... here.
349         * nptl/sysdeps/pthread/pthread.h: Moved ...
350         * sysdeps/nptl/pthread.h: ... here.
351         * nptl/sysdeps/pthread/setxid.h: Moved ...
352         * sysdeps/nptl/setxid.h: ... here.
353         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
354         * sysdeps/nptl/sigfillset.c: ... here.
355         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
356         * sysdeps/nptl/tcb-offsets.h: ... here.
357         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
358         * sysdeps/nptl/tst-mqueue8x.c: ... here.
359         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
360         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
361         * nptl/sysdeps/pthread/allocalim.h: Moved ...
362         * sysdeps/pthread/allocalim.h: ... here.
363         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
364         * sysdeps/pthread/bits/sigthread.h: ... here.
365         * nptl/sysdeps/pthread/flockfile.c: Moved ...
366         * sysdeps/pthread/flockfile.c: ... here.
367         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
368         * sysdeps/pthread/ftrylockfile.c: ... here.
369         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
370         * sysdeps/pthread/funlockfile.c: ... here.
371         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
372         * sysdeps/pthread/posix-timer.h: ... here.
373         * nptl/sysdeps/pthread/timer_create.c: Moved ...
374         * sysdeps/pthread/timer_create.c: ... here.
375         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
376         * sysdeps/pthread/timer_delete.c: ... here.
377         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
378         * sysdeps/pthread/timer_getoverr.c: ... here.
379         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
380         * sysdeps/pthread/timer_gettime.c: ... here.
381         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
382         * sysdeps/pthread/timer_routines.c: ... here.
383         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
384         * sysdeps/pthread/timer_settime.c: ... here.
385         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
386         * sysdeps/pthread/tst-timer.c: ... here.
387         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
388         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
390         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
391         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
393         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
394         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
395         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
396         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
397         Update #include target.
398         * nptl/sysdeps/i386/i686/Makefile: Moved ...
399         * sysdeps/i386/i686/nptl/Makefile: ... here.
400         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
401         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
402         Update #include target.
403         * nptl/sysdeps/i386/i686/tls.h: Moved ...
404         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
405         * nptl/sysdeps/i386/Makefile: Moved ...
406         * sysdeps/i386/nptl/Makefile: ... here.
407         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
408         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
409         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
410         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
411         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
412         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
413         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
414         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
415         * sysdeps/i386/nptl/pthreaddef.h: ... here.
416         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
417         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
418         * nptl/sysdeps/i386/tls.h: Moved ...
419         * sysdeps/i386/nptl/tls.h: ... here.
421         * sysdeps/sh/Makefile [$(subdir) = csu]
422         (gen-as-const-headers): Add tcb-offsets.sym.
423         * nptl/sysdeps/sh/Makefile: File removed.
424         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
425         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
426         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
427         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
428         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
429         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
430         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
431         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
432         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
433         * sysdeps/sh/nptl/pthreaddef.h: ... here.
434         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
435         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
436         * nptl/sysdeps/sh/tls.h: Moved ...
437         * sysdeps/sh/nptl/tls.h: ... here.
438         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
439         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
440         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
441         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
442         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
443         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
444         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
445         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
446         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
447         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
448         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
449         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
450         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
451         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
452         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
453         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
454         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
455         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
456         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
457         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
458         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
459         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
460         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
461         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
462         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
463         Moved ...
464         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
466         Moved ...
467         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
468         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
470         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
471         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
472         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
473         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
474         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
475         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
476         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
477         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
478         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
479         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
480         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
481         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
482         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
483         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
484         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
485         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
487 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
489         * posix/spawn_faction_addopen.c: Include string.h.
491 2014-06-11  Roland McGrath  <roland@hack.frob.com>
493         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
494         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
495         * nptl/sysdeps/x86_64/Makefile: Moved ...
496         * sysdeps/x86_64/nptl/Makefile: ... here.
497         * nptl/sysdeps/x86_64/configure: Moved ...
498         * sysdeps/x86_64/nptl/configure: ... here.
499         * nptl/sysdeps/x86_64/configure.ac: Moved ...
500         * sysdeps/x86_64/nptl/configure.ac: ... here.
501         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
502         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
503         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
504         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
505         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
506         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
507         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
508         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
509         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
510         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
511         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
512         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
513         * nptl/sysdeps/x86_64/tls.h: Moved ...
514         * sysdeps/x86_64/nptl/tls.h: ... here.
515         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
516         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
517         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
518         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
520         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
522 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
526 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
528         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
529         type.
530         [POSIX] (off_t): Likewise.
531         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
532         [POSIX] (S_ISBLK): Require macro.
533         [POSIX] (S_ISCHR): Likewise.
534         [POSIX] (S_ISDIR): Likewise.
535         [POSIX] (S_ISFIFO): Likewise.
536         [POSIX] (S_ISREG): Likewise.
537         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
538         optional-macro.
539         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
540         type.
541         [POSIX] (time_t): Likewise.
542         [POSIX] (timer_t): Likewise.
544 2014-06-11  Florian Weimer  <fweimer@redhat.com>
546         [BZ #17048]
547         * posix/spawn_int.h (struct __spawn_action): Make the path string
548         non-const to support deallocation.
549         * posix/spawn_faction_addopen.c
550         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
551         * posix/spawn_faction_destroy.c
552         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
553         path in all spawn_do_open actions.
554         * posix/tst-spawn.c (do_test): Exercise the copy operation in
555         posix_spawn_file_actions_addopen.
557 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
559         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
560         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
561         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
562         conditional code always true.
563         (__libc_vfork): New alias.
565 2014-06-11  Roland McGrath  <roland@hack.frob.com>
567         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
568         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
570         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
572         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
573         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
575         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
576         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
578         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
579         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
581 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
583         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
584         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
585         multiarch strcmp for PPC64.
586         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
587         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
589         multiarch optimizations.
590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
591         (__libc_ifunc_impl_list): Likewise.
593 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
595         * benchtests/scripts/validate_benchout.py: New script.
596         * benchtests/Makefile (bench-func): Call it.
597         * benchtests/scripts/benchout.schema.json: New file.
599 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
601         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
602         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
603         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
604         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
605         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
606         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
607         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
608         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
609         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
610         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
611         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
612         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
613         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
614         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
615         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
616         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
618         Moved ...
619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
620         ... here.
621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
622         Moved ...
623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
625         Moved ...
626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
627         ... here.
628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
629         Moved ...
630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
631         ... here.
632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
633         Moved ...
634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
636         Moved ...
637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
638         ... here.
639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
640         Moved ...
641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
642         ... here.
643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
644         Moved ...
645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
647         Moved ...
648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
649         ... here.
650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
651         Moved ...
652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
653         ... here.
654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
655         Moved ...
656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
657         ... here.
658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
659         Moved ...
660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
662         Moved ...
663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
664         ... here.
665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
666         Moved ...
667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
668         ... here.
669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
670         Moved ...
671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
672         ... here.
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
674         Moved ...
675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
677         Moved ...
678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
679         ... here.
680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
681         Moved ...
682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
683         ... here.
684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
685         Moved ...
686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
688         Moved ...
689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
690         ... here.
691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
692         Moved ...
693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
695         Moved ...
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
698         Moved ...
699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
700         ... here.
701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
702         Moved ...
703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
704         ... here.
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
706         Moved ...
707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
708         ... here.
709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
710         Moved ...
711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
713         Moved ...
714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
715         ... here.
716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
717         Moved ...
718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
719         ... here.
720         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
721         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
723         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
724         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
725         Moved ...
726         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
727         ... here.
728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
729         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
731         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
732         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
733         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
734         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
735         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
736         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
737         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
739         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
740         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
741         Moved ...
742         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
744         Moved ...
745         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
747         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
748         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
749         Moved ...
750         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
752         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
753         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
754         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
755         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
756         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
758 2014-06-10  Wilco  <wdijkstr@arm.com>
760         * math/test-fenv-return.c: New file.
761         * math/Makefile: Add new test test-fenv-return.
763 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
765         [BZ #17042]
766         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
767         when x - 1 is zero.
768         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
769         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
770         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
771         0.0L for an argument of 1.0L.
772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
773         Likewise.
774         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
775         value when x - 1 is zero.
776         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
777         * sysdeps/i386/fpu/libm-test-ulps: Update.
778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
780 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
782         [BZ #15119]
783         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
785 2014-06-09  Roland McGrath  <roland@hack.frob.com>
787         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
788         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
790 2014-06-09  Roland McGrath  <roland@hack.frob.com>
792         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
793         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
795         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
796         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
798         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
799         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
801         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
802         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
804         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
805         if not already defined.
806         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
807         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
808         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
809         (TLS_INIT_TP): Use it.
810         (TLS_DEFINE_INIT_TP): New macro.
811         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
813 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
815         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
816         constant.
817         [POSIX] (IXANY): Likewise.
818         [POSIX] (OLCUC): Likewise.
819         [POSIX || POSIX2008] (CBAUD): Do not allow.
820         [POSIX || POSIX2008] (DEFECHO): Likewise.
821         [POSIX || POSIX2008] (ECHOCTL): Likewise.
822         [POSIX || POSIX2008] (ECHOKE): Likewise.
823         [POSIX || POSIX2008] (ECHOPRT): Likewise.
824         [POSIX || POSIX2008] (EXTA): Likewise.
825         [POSIX || POSIX2008] (EXTB): Likewise.
826         [POSIX || POSIX2008] (FLUSHO): Likewise.
827         [POSIX || POSIX2008] (LOBLK): Likewise.
828         [POSIX || POSIX2008] (PENDIN): Likewise.
829         [POSIX || POSIX2008] (SWTCH): Likewise.
830         [POSIX || POSIX2008] (VDISCARD): Likewise.
831         [POSIX || POSIX2008] (VDSUSP): Likewise.
832         [POSIX || POSIX2008] (VLNEXT): Likewise.
833         [POSIX || POSIX2008] (VREPRINT): Likewise.
834         [POSIX || POSIX2008] (VSTATUS): Likewise.
835         [POSIX || POSIX2008] (VWERASE): Likewise.
836         (B*): Change to B[0123456789]*.
837         * conform/data/time.h-data [POSIX || UNIX98]
838         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
839         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
840         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
841         [POSIX] (tm_*): Do not allow.
843 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
845         * Makefile (install): Don't set LANGUAGE.
846         * Makefile.in (install): Likewise.
847         * assert/Makefile (test-assert-ENV): Remove variable.
848         (test-assert-perr-ENV): Likewise.
849         * elf/Makefile (neededtest4-ENV): Likewise.
850         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
851         [$(cross-compiling) = no]: Don't set LANGUAGE.
852         * io/ftwtest-sh (LANG): Remove variable.
853         * libio/Makefile (tst-widetext-ENV): Likewise.
854         * manual/install.texi (Running make install): Don't refer to
855         environment settings for make install.
856         * INSTALL: Regenerated.
857         * nptl/tst-tls6.sh: Don't set LANG.
858         * posix/globtest.sh (LANG): Remove variable.
859         * string/Makefile (tester-ENV): Likewise.
860         (inl-tester-ENV): Likewise.
861         (noinl-tester-ENV): Likewise.
862         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
863         [$(cross-compiling) = no]: Don't set LANGUAGE.
864         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
865         without explicit environment settings.
867 2014-06-06  Roland McGrath  <roland@hack.frob.com>
869         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
870         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
871         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
872         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
874 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
876         * crypt/crypt-private.h [DOS]: Add some includes taken from the
877         other files in the crypt directory.
878         * crypt/crypt.c: Remove duplicate includes.
879         * crypt/crypt-entry.c: Likewise.
880         * crypt/crypt_util.c: Likewise.
882 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
884         * Makeconfig (run-program-env): New variable.
885         (run-program-prefix-before-env): Likewise.
886         (run-program-prefix-after-env): Likewise.
887         (run-program-prefix): Define in terms of new variables.
888         (built-program-cmd-before-env): New variable.
889         (built-program-cmd-after-env): Likewise.
890         (built-program-cmd): Define in terms of new variables.
891         (test-program-prefix-before-env): New variable.
892         (test-program-prefix-after-env): Likewise.
893         (test-program-prefix): Define in terms of new variables.
894         (test-program-cmd-before-env): New variable.
895         (test-program-cmd-after-env): Likewise.
896         (test-program-cmd): Define in terms of new variables.
897         * Rules (make-test-out): Use $(run-program-env).
898         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
899         (help): Do not mention environment variables.  Mention
900         --timeoutfactor option.
901         (timeoutfactor): New variable.
902         (blacklist_exports): Remove function.
903         (exports): Remove variable.
904         (command): Do not include ${exports}.
905         * manual/install.texi (Configuring and compiling): Do not mention
906         test wrappers preserving environment variables.  Mention that last
907         assignment to a variable must take precedence.
908         * INSTALL: Regenerated.
909         * benchtests/Makefile (run-bench): Use $(run-program-env).
910         * catgets/Makefile ($(objpfx)test1.cat): Use
911         $(built-program-cmd-before-env), $(run-program-env) and
912         $(built-program-cmd-after-env).
913         ($(objpfx)test2.cat): Do not specify environment variables
914         explicitly.
915         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
916         $(run-program-env) and $(built-program-cmd-after-env).
917         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
918         $(run-program-env) and $(test-program-cmd-after-env).
919         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
920         explicitly.
921         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
922         run_program_env and test_program_cmd_after_env arguments.
923         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
924         * elf/tst-pathopt.sh: Use run_program_env argument.
925         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
926         $(test-wrapper-env) and $(run-program-env).
927         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
928         run_program_env arguments.
929         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
930         * intl/Makefile ($(objpfx)tst-gettext.out): Use
931         $(test-program-prefix-before-env), $(run-program-env) and
932         $(test-program-prefix-after-env).
933         ($(objpfx)tst-gettext2.out): Likewise.
934         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
935         run_program_env and test_program_prefix_after_env arguments.
936         * intl/tst-gettext2.sh: Likewise.
937         * intl/tst-gettext4.sh: Do not set environment variables
938         explicitly.
939         * intl/tst-gettext6.sh: Likewise.
940         * intl/tst-translit.sh: Likewise.
941         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
942         $(test-program-prefix-before-env), $(run-program-env) and
943         $(test-program-prefix-after-env).
944         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
945         run_program_env and test_program_prefix_after_env arguments.
946         * math/Makefile (run-regen-ulps): Use $(run-program-env).
947         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
948         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
949         explicitly with each use of ${test_wrapper_env}.
950         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
951         $(test-program-prefix-before-env), $(run-program-env) and
952         $(test-program-prefix-after-env).
953         * posix/tst-getconf.sh: Do not set environment variables
954         explicitly.
955         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
956         run_program_env and test_program_prefix_after_env arguments.
957         * stdio-common/tst-printf.sh: Do not set environment variables
958         explicitly.
959         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
960         $(test-program-prefix-before-env), $(run-program-env) and
961         $(test-program-prefix-after-env).
962         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
963         run_program_env and test_program_prefix_after_env arguments.
964         Split $test calls into $test_pre and $test.
965         * timezone/Makefile (build-testdata): Use
966         $(built-program-cmd-before-env), $(run-program-env) and
967         $(built-program-cmd-after-env).
969 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
971         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
972         strlen for non SHARED builds.
974 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
976         * nptl/allocatestack.c (check_list): Inlined function...
977         (__reclaim_stacks): ... here.
979 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
981         [BZ #15698]
982         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
983         memory overrun.
985 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
987         * Rules (make-test-out): Include
988         LOCPATH=$(common-objpfx)localedata in default environment.
989         * debug/Makefile (tst-chk1-ENV): Remove variable.
990         (tst-chk2-ENV): Likewise.
991         (tst-chk3-ENV): Likewise.
992         (tst-chk4-ENV): Likewise.
993         (tst-chk5-ENV): Likewise.
994         (tst-chk6-ENV): Likewise.
995         (tst-lfschk1-ENV): Likewise.
996         (tst-lfschk2-ENV): Likewise.
997         (tst-lfschk3-ENV): Likewise.
998         (tst-lfschk4-ENV): Likewise.
999         (tst-lfschk5-ENV): Likewise.
1000         (tst-lfschk6-ENV): Likewise.
1001         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1002         (tst-iconv7-ENV): Likewise.
1003         * intl/Makefile (LOCPATH-ENV): Likewise.
1004         (tst-codeset-ENV): Likewise.
1005         (tst-gettext3-ENV): Likewise.
1006         (tst-gettext5-ENV): Likewise.
1007         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1008         (tst-fopenloc-ENV): Likewise.
1009         (tst-fgetws-ENV): Remove variable.
1010         (tst-ungetwc1-ENV): Likewise.
1011         (tst-ungetwc2-ENV): Likewise.
1012         (bug-ungetwc2-ENV): Likewise.
1013         (tst-swscanf-ENV): Likewise.
1014         (bug-ftell-ENV): Likewise.
1015         (tst-fgetwc-ENV): Likewise.
1016         (tst-fseek-ENV): Likewise.
1017         (tst-ftell-partial-wide-ENV): Likewise.
1018         (tst-ftell-active-handler-ENV): Likewise.
1019         (tst-ftell-append-ENV): Likewise.
1020         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1021         (tst-regexloc-ENV): Likewise.
1022         (bug-regex1-ENV): Likewise.
1023         (tst-regex-ENV): Likewise.
1024         (tst-regex2-ENV): Likewise.
1025         (bug-regex5-ENV): Likewise.
1026         (bug-regex6-ENV): Likewise.
1027         (bug-regex17-ENV): Likewise.
1028         (bug-regex18-ENV): Likewise.
1029         (bug-regex19-ENV): Likewise.
1030         (bug-regex20-ENV): Likewise.
1031         (bug-regex22-ENV): Likewise.
1032         (bug-regex23-ENV): Likewise.
1033         (bug-regex25-ENV): Likewise.
1034         (bug-regex26-ENV): Likewise.
1035         (bug-regex30-ENV): Likewise.
1036         (bug-regex32-ENV): Likewise.
1037         (bug-regex33-ENV): Likewise.
1038         (bug-regex34-ENV): Likewise.
1039         (bug-regex35-ENV): Likewise.
1040         (tst-rxspencer-ENV): Likewise.
1041         (tst-rxspencer-no-utf8-ENV): Likewise.
1042         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1043         (tst-sscanf-ENV): Likewise.
1044         (tst-swprintf-ENV): Likewise.
1045         (tst-swscanf-ENV): Likewise.
1046         (test-vfprintf-ENV): Likewise.
1047         (scanf13-ENV): Likewise.
1048         (bug14-ENV): Likewise.
1049         (tst-grouping-ENV): Likewise.
1050         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1051         (tst-strtod3-ENV): Likewise.
1052         (tst-strtod4-ENV): Likewise.
1053         (tst-strtod5-ENV): Likewise.
1054         (testmb2-ENV): Likewise./
1055         * string/Makefile (tst-strxfrm-ENV): Likewise.
1056         (tst-strxfrm2-ENV): Likewise.
1057         (bug-strcoll1-ENV): Likewise.
1058         (test-strcasecmp-ENV): Likewise.
1059         (test-strncasecmp-ENV): Likewise.
1060         * time/Makefile (tst-strptime-ENV): Likewise.
1061         (tst-ftime_l-ENV): Likewise.
1062         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1063         (tst-mbrtowc-ENV): Likewise.
1064         (tst-wcrtomb-ENV): Likewise.
1065         (tst-mbrtowc2-ENV): Likewise.
1066         (tst-c16c32-1-ENV): Likewise.
1067         (tst-mbsnrtowcs-ENV): Likewise.
1069 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1071         * manual/resource.texi (How to get information about the memory
1072         subsystem?): Fix typo.
1073         Reported by Peon de la Parra Ivan <peon@keba.com>
1075 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1077         [BZ #16882]
1078         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1079         (pthread_spin_lock): Branch out of spin loop to proper location.
1080         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1081         (pthread_spin_lock): Likewise.
1083         * nptl/tst-spin4.c: New test.
1084         * nptl/Makefile (tests): Add tst-spin4.
1086 2014-06-03  Andreas Schwab  <schwab@suse.de>
1088         [BZ #15946]
1089         * resolv/res_send.c (send_dg): Reload file descriptor after
1090         calling reopen.
1092 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1094         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1096 2014-06-03  Richard Henderson  <rth@redhat.com>
1098         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1099         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1100         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1101         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1102         in the SAVE_PID block.
1103         (__libc_vfork): New alias.
1104         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1106         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1107         child in registers, not on the stack.  Remove RESET_PID conditionals.
1108         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1110 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1112         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1114 2014-06-03  Wilco  <wdijkstr@arm.com>
1116         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1117         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1118         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1119         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1120         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1121         Likewise.
1123 2014-06-03  Wilco  <wdijkstr@arm.com>
1125         * sysdeps/aarch64/fpu/math_private.h
1126         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1127         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1128         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1129         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1130         Fix declarations.
1132 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1134         * crypt/crypt-private.h: Include ufc-crypt.h.
1135         (__b64_from_24bit): Declare extern.
1136         * crypt/crypt_util.c(__b64_from_24bit): New function.
1137         (b64t): New static const variable.
1138         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1139         (b64t): Remove variable.
1140         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1141         * crypt/sha256-crypt.c: Include crypt-private.h.
1142         (b64t): Remove variable.
1143         (__sha256_crypt_r): Remove b64_from_24bit and replace
1144         with __b64_from_24bit.
1145         * crypt/sha512-crypt.c: Likewise.
1147 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1149         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1150         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1151         Label the code __libc_vfork rather than __vfork.
1152         [!NOT_IN_libc] (vfork): Define as weak alias.
1153         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1154         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1155         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1157 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1159         * malloc/malloc.c (malloc_info): Fix format specifier for
1160         n_mmaps.
1162 2014-06-02  Wilco  <wdijkstr@arm.com>
1164         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1165         FPCR write.
1167 2014-06-02  Wilco  <wdijkstr@arm.com>
1169         [BZ #17009]
1170         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1171         Rewrite to reduce FPCR/FPSR accesses.
1173 2014-06-01  David S. Miller  <davem@davemloft.net>
1175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1177 2014-05-31  David S. Miller  <davem@davemloft.net>
1179         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1180         to occur in round to nearest mode when |x| >= 2.0
1182 2014-05-30  Richard Henderson  <rth@twiddle.net>
1184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1185         (PSEUDO_RET_NOERRNO): Remove.
1186         (ret): Don't redefine.
1187         (ret_NOERRNO): Define in terms of ret.
1188         (ret_ERRVAL): Likewise.
1190         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1191         use of PSEUDO_RET; perform the error check directly.
1193 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1195         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1196         with __int128_t.
1198 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1200         * malloc/malloc (malloc_info): Fix formatting.
1202 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1203             Roland McGrath  <roland@hack.frob.com>
1205         * malloc/malloc (malloc_info): Also print mmapped statistics.
1207 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1209         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1210         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1212 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1214         * malloc/malloc.c (malloc_info): Inline mi_arena.
1216 2014-05-29  Richard Henderson  <rth@twiddle.net>
1218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1219         Remove comma before expanding ASM_ARGS_##nr.
1220         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1221         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1222         of ASM_ARGS_##nr.
1223         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1224         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1225         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1226         (ASM_ARGS_1): Add leading comma.
1228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1229         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1230         to __errno_location.
1231         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1232         Remove the expected plt for __errno_location.
1234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1235         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1236         call to __read_tp.
1238         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1239         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1240         it and break it down.
1241         (DOCARGS_0, DOCARGS_1): Do nothing.
1242         (DOCARGS_2): Update to store into the new stack frame.
1243         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1244         (UNDOCARGS_1): Update to restore from the new stack frame.
1245         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1246         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1249         (SINGLE_THREAD_P): New parameter for result regno.
1250         (PSEUDO): Update to match; use cbz instead of beq.
1252         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1253         Use ENTRY to define the _nocancel entry point.  Share the syscall
1254         and syscall error check paths with the cancel path.
1255         (PSEUDO_END): New.
1257         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1258         whitespace; tabs before and after asm mnemonics.
1260 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1262         [BZ #15132]
1263         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1264         Call fstat64 or stat64 internally, depending on arguments passed.
1265         Replace stat buffer argument with file descriptor argument.
1266         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1267         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1268         Pass fd to __internal_statvfs instead of calling fstat64.
1269         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1270         Pass fd to __internal_statvfs64 instead of calling fstat64.
1271         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1272         Pass -1 to __internal_statvfs instead of calling stat64.
1273         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1274         Pass -1 to __internal_statvfs64 instead of calling stat64.
1276 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1278         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1279         that was previously under [RESET_PID].
1280         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1282         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1283         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1285 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1287         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1289         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1290         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1292 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1294         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1296 2014-05-27  Andreas Schwab  <schwab@suse.de>
1298         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1299         TLS_INIT_TP macro.
1300         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1301         * elf/rtld.c (init_tls, dl_main): Likewise.
1302         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1303         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1304         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1305         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1306         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1307         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1308         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1309         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1310         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1311         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1312         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1313         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1314         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1315         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1316         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1317         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1318         * sysdeps/generic/tls.h: Update description.
1320 2014-05-27  Will Newton  <will.newton@linaro.org>
1322         [BZ #16990]
1323         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1324         and restore r2 rather than just restoring.
1326 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1328         [BZ #16724]
1329         * libio/tst-ftell-append.c: New test case.
1330         * libio/Makefile (tests): Add test case.
1331         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1332         append mode.
1333         * libio/wfileops.c (do_ftell_wide): Likewise.
1335 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1339         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1340         ...
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1343         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1344         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1345         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1346         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1347         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1348         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1350         Moved ...
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1353         Moved ...
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1355         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1356         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1357         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1358         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1359         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1360         ...
1361         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1363         Moved ...
1364         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1365         here.
1366         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1367         ...
1368         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1369         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1370         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1373         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1375         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1378         merge into ...
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1381         ...
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1384         ...
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1387         Moved ...
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1389         here.
1390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1391         Moved ...
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1394         Moved ...
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1398         conditional [RESET_PID].
1399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1400         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1401         removed.
1402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1403         removed.
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1406         <tcb-offsets.h>.
1407         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1408         (__libc_vfork): New strong alias.
1409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1410         removed.
1411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1412         Removed.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1415         <tcb-offsets.h>.
1416         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1417         (__libc_vfork): New strong alias.
1418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1419         removed.
1420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1421         removed.
1423 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1425         * malloc/malloc.c (mi_arena): New function.
1426         (malloc_info): Remove nested function mi_arena. Call non-nosted
1427         function mi_arena.
1429 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1431         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1432         by insrwi.
1433         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1434         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1435         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1436         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1437         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1438         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1439         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1441 2014-05-26  Andreas Schwab  <schwab@suse.de>
1443         [BZ #16984]
1444         * locale/programs/repertoire.c (repertoire_read): Add slash
1445         between I18NPATH element and file name.
1446         * locale/programs/locfile.c (locfile_read): Likewise.
1448 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1450         * nptl/pthread_mutexattr_settype.c
1451         (__pthread_mutexattr_settype):
1452         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1454 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1456         * nptl/tst-mutex5 (do_test):
1457         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1459 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1461         * benchtests/README: Document 'init' directive.
1462         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1463         BENCH_INIT.
1464         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1465         (parse_file): Recognize 'init' directive.
1467 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1469         [BZ #16796]
1470         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1471         alignment of struct pthread.
1473 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475         [BZ #16878]
1476         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1477         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1478         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1479         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1481 2014-05-25  Richard Henderson  <rth@twiddle.net>
1483         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1484         (SINGLE_THREAD_P_PIC): Remove.
1485         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1486         (SINGLE_THREAD_P_PIC): Remove.
1488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1489         branch to syscall error ...
1490         (PSEUDO): ... here.
1491         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1492         from __local_syscall_error to .Lsyscall_error.
1493         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1494         (SYSCALL_ERROR): Update label name.
1496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1497         Do not use DOARGS/UNDOARGS.
1498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1499         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1500         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1501         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1502         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1505         block comment.
1507         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1508         define if !NOT_IN_libc.
1509         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1510         define with non-default symbol versions.
1512 2014-05-23  Richard Henderson  <rth@twiddle.net>
1514         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1515         (vfork, __vfork): Define via compat_symbol.
1517         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1518         [!HAVE_IFUNC] (vfork_compat): Remove.
1519         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1521 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1523         [BZ #16978]
1524         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1525         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1526         variable.
1528 2014-05-23  Richard Henderson  <rth@twiddle.net>
1530         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1531         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1532         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1533         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1535         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1536         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1537         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1538         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1539         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1540         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1541         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1542         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1543         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1544         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1545         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1546         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1547         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1548         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1549         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1550         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1551         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1552         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1554         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1556         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1557         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1558         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1559         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1560         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1561         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1562         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1563         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1564         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1566         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1567         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1568         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1569         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1570         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1571         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1572         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1574         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1575         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1576         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1577         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1578         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1579         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1580         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1581         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1582         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1584         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1585         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1586         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1587         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1588         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1589         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1590         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1592         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1593         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1594         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1595         before exiting on error.
1596         (__libc_vfork): New strong alias.
1597         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1598         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1600         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1601         that was previously under [RESET_PID].
1602         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1604         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1606 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1608         [BZ #16977]
1609         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1610         value when x - 1 is zero.
1611         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1612         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1613         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1614         0.0L for an argument of 1.0L.
1615         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1616         Likewise.
1617         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1618         value when x - 1 is zero.
1619         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1620         * sysdeps/i386/fpu/libm-test-ulps: Update.
1621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1623 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1625         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1626         alphasort and versionsort.
1628 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1630         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1631         macro.
1632         [copysignf]: Likewise.
1634 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1636         * crypt/md5-crypt.c: Fix formatting.
1638 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1640         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1641         (b64_from_24bit): New function.
1643 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1646         libc_hidden_builtin_def to ifunc.
1647         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1648         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1650 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1652         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1653         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1655 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1657         * nscd/Depend (linuxthreads): Remove.
1658         (nptl): Add.
1659         * resolv/Depend (linuxthreads): Remove.
1660         * rt/Depend (linuxthreads): Remove.
1662         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1663         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1664         $(common-objpfx)elf/.
1665         (link-libc-before-gnulib): Likewise.
1666         (elfobjdir): Remove variable.
1667         * Makefile (install): Use $(elf-objpfx) instead of
1668         $(common-objpfx)elf/.
1669         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1670         $(elfobjdir)/.
1671         (link-libc-deps): Likewise.
1672         ($(common-objpfx)libc.so): Likewise.
1673         ($(common-objpfx)linkobj/libc.so): Likewise.
1674         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1675         instead of $(common-objpfx)elf/.
1676         (symbolic-link-list): Likewise.
1677         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1678         [$(cross-compiling) = no]: Likewise.
1679         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1680         $(elfobjdir)/.
1681         (static-gnulib-arch): Likewise.
1682         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1683         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1684         $(common-objpfx)elf/.
1686 2014-05-21  Richard Henderson  <rth@redhat.com>
1688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1689         (SINGLE_THREAD_P): Use the correct width load.  Fold
1690         into the ldr offset.
1692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1693         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1695 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1697         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1698         (libgcc_s_resume): Use __attribute_used__.
1699         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1700         Likewise.
1702 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1704         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1705         optimization when used with float constants.
1707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1709 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1711         [BZ #16915]
1712         * locale/nl_langinfo_l.c: Make direct reference to every
1713         _nl_current_CATEGORY symbol.
1714         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1715         (tests-static): Add tst-langinfo-static.
1716         (tests-special): Add tst-langinfo-static.out.
1717         ($(objpfx)tst-langinfo.out): Redirect output.
1718         ($(objpfx)tst-langinfo-static.out): New.
1719         * localedata/tst-langinfo.sh: Send output to stdout.
1720         * localedata/tst-langinfo-static.c: New file.
1722         [BZ #16965]
1723         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1724         when the shift amount is modulo the limb size.
1726 2014-05-20  Richard Henderson  <rth@redhat.com>
1728         [BZ #16967]
1729         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1730         Change type of sa_flags from unsigned int to int.
1732         [BZ #16966]
1733         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1735         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1737 2014-05-20  Will Newton  <will.newton@linaro.org>
1739         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1740         Test the return value of the system call in the nocancel case.
1742 2014-05-20  Will Newton  <will.newton@linaro.org>
1743             Yvan Roux  <yvan.roux@linaro.org>
1745         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1746         #include of asm/ptrace.h.
1747         (PTRACE_GET_THREAD_AREA): Remove #undef.
1748         (PTRACE_GETHBPREGS): Likewise.
1749         (PTRACE_SETHBPREGS): Likewise.
1750         (struct user_regs_struct): New structure.
1751         (struct user_fpsimd_struct): New structure.
1752         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1753         #include of asm/ptrace.h and second #include of sys/user.h.
1754         (PTRACE_GET_THREAD_AREA): Remove #undef.
1755         (PTRACE_GETHBPREGS): Likewise.
1756         (PTRACE_SETHBPREGS): Likewise.
1757         (ELF_NGREG): Use new struct user_regs_struct.
1758         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1760 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1762         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1763         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1765 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1767         [BZ #16958]
1768         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1769         membar to avoid block loads/stores to overlap previous stores.
1771 2014-05-17  Richard Henderson  <rth@redhat.com>
1773         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1774         Create the __##syscall_name##_nocancel entry point.
1775         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1776         Remove; let the sysdep-cancel.h code create it.
1778 2014-05-17  David S. Miller  <davem@davemloft.net>
1780         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1781         Protect with __USE_GNU.
1782         (TIOCSET_TEMPT): Likewise.
1783         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1784         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1785         these are already provided in bits/ioctl-types.h
1787 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1789         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1790         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1792         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1793         Use wait4 regardless of [__NR_waitpid].
1795 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1797         PR libgcc/60166
1798         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1799         (_FP_NANSIGN_Q): Set the quiet bit.
1801 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1803         * benchtests/Makefile
1804         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1805         not $(common-objpfx)math/libm.so.
1806         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1807         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1808         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1809         $(common-objpfx)dlfcn/libdl.so.
1810         ($(objpfx)tst-audit8): Depend on $(libm), not
1811         $(common-objpfx)math/libm.so.
1812         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1813         not $(common-objpfx)dlfcn/libdl.so.
1814         * math/Makefile
1815         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1816         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1817         [$(build-shared) = yes].
1818         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1819         $(common-objpfx)nptl/libpthread.so.
1820         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1821         $(common-objpfx)math/libm.so$(libm.so-version) or
1822         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1823         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1824         $(common-objpfx)dlfcn/libdl.so.
1825         * setjmp/Makefile (link-libm): Remove variable.
1826         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1827         * stdio-common/Makefile (link-libm): Remove variable.
1828         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1829         * stdlib/Makefile (link-libm): Remove variable.
1830         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1831         ($(objpfx)tst-strtod-round): Likewise.
1832         ($(objpfx)tst-tininess): Likewise.
1833         ($(objpfx)tst-strtod-underflow): Likewise.
1834         ($(objpfx)tst-strtod6): Likewise.
1835         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1836         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1837         $(common-objpfx)dlfcn/libdl.so.
1839 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1841         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1842         BSD terminal modes definitions.
1844 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1846         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1847         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1849         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1850         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1851         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1852         Don't do #include_next.
1853         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1854         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1855         Don't do #include_next.
1856         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1857         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1858         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1859         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1861 2014-05-16  Allan McRae  <allan@archlinux.org>
1863         * po/sv.po: Update Swedish translation from translation project.
1865         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1866         in sed expression.
1868 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1870         [BZ #16917]
1871         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1872         errno if the TIOCGPTN ioctl fails with an error different than
1873         EINVAL.
1874         * login/tst-ptsname.c: New file.
1875         * login/Makefile (tests): Add tst-ptsname.
1877         [BZ #16943]
1878         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1879         and prlimit64.
1881 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1883         [BZ #16849]
1884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1885         herrno to return EAI_AGAIN.
1887 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1889         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1890         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1891         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1892         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1893         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1896         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1897         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1898         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1899         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1900         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1901         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1904         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1905         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1908         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1918         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1920         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1924         Moved ...
1925         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1927         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1931         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1933         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1935         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1943         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1945         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1947         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1949         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1951         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1953         Moved ...
1954         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1974         Moved ...
1975         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1977         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1980         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1981         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1982         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1983         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1985         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1986         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1987         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1988         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1989         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1990         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1991         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1992         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1993         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1994         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1995         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1997         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1999         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2000         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2001         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2002         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2003         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2004         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2005         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2006         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2007         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2008         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2009         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2011         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2012         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2014         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2015         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2016         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2017         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2018         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2020         Moved ...
2021         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2022         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2023         Moved ...
2024         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2025         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2026         Moved ...
2027         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2028         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2029         Moved ...
2030         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2031         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2032         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2034         Moved ...
2035         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2036         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2037         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2039         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2041         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2042         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2043         Moved ...
2044         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2045         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2046         Moved ...
2047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2048         ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2050         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2051         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2052         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2053         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2054         Moved ...
2055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2056         ... here.
2057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2058         Moved ...
2059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2061         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2063         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2065         Moved ...
2066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2067         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2068         Moved ...
2069         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2070         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2071         Moved ...
2072         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2073         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2074         Moved ...
2075         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2076         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2077         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2081         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2082         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2085         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2086         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2087         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2088         Moved ...
2089         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2090         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2091         Moved ...
2092         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2093         ... here.
2094         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2095         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2096         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2097         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2099         Moved ...
2100         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2101         ... here.
2102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2103         Moved ...
2104         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2105         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2106         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2107         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2108         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2109         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2110         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2111         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2112         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2116         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2117         Moved ...
2118         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2119         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2120         Moved ...
2121         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2123         Moved ...
2124         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2125         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2126         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2127         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2128         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2129         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2132         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2133         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2134         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2136         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2137         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2138         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2139         Moved ...
2140         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2141         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2142         Moved ...
2143         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2144         ... here.
2145         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2146         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2147         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2148         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2150         Moved ...
2151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2152         ... here.
2153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2154         Moved ...
2155         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2156         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2157         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2158         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2159         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2160         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2161         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2162         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2163         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2164         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2165         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2167         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2168         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2170         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2171         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2173         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2174         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2175         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2176         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2177         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2178         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2179         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2180         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2181         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2182         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2183         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2184         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2186         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2187         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2188         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2189         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2190         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2191         Moved ...
2192         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2194         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2196         Moved ...
2197         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2198         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2199         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2200         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2201         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2205         Moved ...
2206         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2208         Moved ...
2209         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2213         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2214         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2215         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2216         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2217         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2218         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2219         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2220         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2221         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2223         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2224         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2225         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2227         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2228         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2229         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2230         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2231         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2233         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2234         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2235         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2236         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2237         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2238         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2239         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2240         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2241         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2242         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2247         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2248         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2249         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2250         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2251         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2252         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2253         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2254         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2255         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2256         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2257         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2258         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2259         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2260         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2262         Update #include.
2263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2264         Likewise.
2265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2266         Likewise.
2267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2268         Likewise.
2269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2270         Likewise.
2271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2272         Likewise.
2273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2274         Likewise.
2275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2276         Likewise.
2277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2278         Likewise.
2279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2280         Likewise.
2281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2283         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2286         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2288         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2289         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2290         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2291         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2292         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2293         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2294         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2295         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2297         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2298         that was previously under [RESET_PID].
2299         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2300         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2301         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2303         * sysdeps/i386/nptl/Implies: New file.
2304         * sysdeps/x86_64/nptl/Implies: New file.
2305         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2306         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2307         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2308         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2310         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2311         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2312         (__libc_vfork): New strong alias.
2313         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2314         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2316         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2317         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2318         (__libc_vfork): New strong alias.
2319         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2320         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2322         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2323         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2324         (__libc_vfork): New strong alias.
2325         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2326         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2327         * nptl/pt-vfork.c: New file.
2328         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2329         (libpthread: GLIBC_2.20): New version set (empty).
2331 2014-05-14  Will Newton  <will.newton@linaro.org>
2333         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2334         rather than #if.
2336 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2338         [BZ #16564]
2339         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2340         arguments with exponent 65 or above.
2341         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2342         arguments 0x1p113L or above.
2343         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2344         to arguments 0x1p107L or above.
2345         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2346         positive arguments with exponent 65 or above.
2347         * math/auto-libm-test-in: Add more tests of log1p.
2348         * math/auto-libm-test-out: Regenerated.
2350         [BZ #16928]
2351         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2352         non-finite arguments is +0.
2353         * math/s_cacosf.c (__cacosf): Likewise.
2354         * math/s_cacosl.c (__cacosl): Likewise.
2355         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2356         * sysdeps/i386/fpu/libm-test-ulps: Update.
2357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2359         [BZ #16927]
2360         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2361         value.
2362         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2363         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2364         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2365         for explicit high bit of mantissa when testing for argument equal
2366         to 1.
2367         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2368         * sysdeps/i386/fpu/libm-test-ulps: Update.
2369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2371         [BZ #16516]
2372         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2373         (__erf): Scale by 16 instead of 8 in potentially underflowing
2374         case.  Ensure exception if result actually underflows.
2375         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2376         (__erff): Scale by 16 instead of 8 in potentially underflowing
2377         case.  Ensure exception if result actually underflows.
2378         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2379         (efx8): Remove variable.
2380         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2381         case.  Ensure exception if result actually underflows.
2382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2383         (efx8): Remove variable.
2384         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2385         case.  Ensure exception if result actually underflows.
2386         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2387         (efx8): Remove variable.
2388         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2389         case.  Ensure exception if result actually underflows.
2390         * math/auto-libm-test-in: Add more tests of erf.
2391         * math/auto-libm-test-out: Regenerated.
2393 2014-05-14  Andreas Schwab  <schwab@suse.de>
2395         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2396         Remove code conditionalized on USE___THREAD.
2398         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2399         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2400         not definedness.
2402 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2405         Define unconditionally.
2406         (__ASSUME_O_CLOEXEC): Likewise.
2407         (__ASSUME_SOCK_CLOEXEC): Likewise.
2408         (__ASSUME_IN_NONBLOCK): Likewise.
2409         (__ASSUME_PIPE2): Likewise.
2410         (__ASSUME_EVENTFD2): Likewise.
2411         (__ASSUME_SIGNALFD4): Likewise.
2412         (__ASSUME_DUP3): Likewise.
2413         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2414         (__ASSUME_DUP3): Do not define.
2415         (__ASSUME_EVENTFD2): Likewise.
2416         (__ASSUME_IN_NONBLOCK): Likewise.
2417         (__ASSUME_O_CLOEXEC): Likewise.
2418         (__ASSUME_PIPE2): Likewise.
2419         (__ASSUME_SIGNALFD4): Likewise.
2420         (__ASSUME_SOCK_CLOEXEC): Likewise.
2421         (__ASSUME_UTIMES): Undefine.
2422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2423         (__ASSUME_UTIMES): Do not define.
2424         (__ASSUME_O_CLOEXEC): Likewise.
2425         (__ASSUME_SOCK_CLOEXEC): Likewise.
2426         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2427         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2428         0x020621].
2429         (__ASSUME_PIPE2): Likewise.
2430         (__ASSUME_EVENTFD2): Likewise.
2431         (__ASSUME_SIGNALFD4): Likewise.
2432         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2433         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2434         Do not define.
2435         (__ASSUME_EVENTFD2): Likewise.
2436         (__ASSUME_SIGNALFD4): Likewise.
2437         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2438         (__ASSUME_32BITUIDS): Likewise.
2439         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2440         (__ASSUME_IPC64): Likewise.
2441         (__ASSUME_ST_INO_64_BIT): Likewise.
2442         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2443         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2444         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2445         (__ASSUME_UTIMES): Do not define.
2446         (__ASSUME_PSELECT): Likewise.
2447         (__ASSUME_PPOLL): Likewise.
2448         (__ASSUME_O_CLOEXEC): Likewise.
2449         (__ASSUME_SOCK_CLOEXEC): Likewise.
2450         (__ASSUME_IN_NONBLOCK): Likewise.
2451         (__ASSUME_PIPE2): Likewise.
2452         (__ASSUME_EVENTFD2): Likewise.
2453         (__ASSUME_SIGNALFD4): Likewise.
2454         (__ASSUME_DUP3): Likewise.
2455         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2456         (__ASSUME_UTIMES): Likewise.
2457         (__ASSUME_O_CLOEXEC): Likewise.
2458         (__ASSUME_SOCK_CLOEXEC): Likewise.
2459         (__ASSUME_IN_NONBLOCK): Likewise.
2460         (__ASSUME_PIPE2): Likewise.
2461         (__ASSUME_EVENTFD2): Likewise.
2462         (__ASSUME_SIGNALFD4): Likewise.
2463         (__ASSUME_DUP3): Likewise.
2464         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2465         (__ASSUME_UTIMES): Likewise.
2466         (__ASSUME_O_CLOEXEC): Likewise.
2467         (__ASSUME_SOCK_CLOEXEC): Likewise.
2468         (__ASSUME_IN_NONBLOCK): Likewise.
2469         (__ASSUME_PIPE2): Likewise.
2470         (__ASSUME_EVENTFD2): Likewise.
2471         (__ASSUME_SIGNALFD4): Likewise.
2472         (__ASSUME_DUP3): Likewise.
2473         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2474         Likewise.
2475         (__ASSUME_UTIMES): Likewise.
2476         (__ASSUME_EVENTFD2): Likewise.
2477         (__ASSUME_SIGNALFD4): Likewise.
2478         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2479         (__ASSUME_O_CLOEXEC): Likewise.
2480         (__ASSUME_SOCK_CLOEXEC): Likewise.
2481         (__ASSUME_IN_NONBLOCK): Likewise.
2482         (__ASSUME_PIPE2): Likewise.
2483         (__ASSUME_EVENTFD2): Likewise.
2484         (__ASSUME_SIGNALFD4): Likewise.
2485         (__ASSUME_DUP3): Likewise.
2486         (__ASSUME_UTIMES): Undefine.
2488         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2489         feclearexcept.  Remove symbol versioning code.
2490         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2491         symbol versioning code.
2492         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2493         symbol versioning code.
2494         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2495         feupdateenv.  Remove symbol versioning code.
2496         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2497         fegetexceptflag.  Remove symbol versioning code.
2498         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2499         fesetexceptflag.  Remove symbol versioning code.
2500         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2501         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2502         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2503         (__posix_fadvise64_l32): Remove prototype.
2504         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2505         code.
2507 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2509         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2510         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2511         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2512         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2514 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2516         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2517         current working directory
2519 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2521         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2522         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2523         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2524         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2525         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2526         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2527         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2530         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2531         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2532         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2533         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2534         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2535         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2536         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2537         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2538         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2539         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2540         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2541         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2542         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2543         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2544         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2545         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2546         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2547         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2548         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2549         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2550         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2551         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2552         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2553         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2554         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2555         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2556         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2557         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2558         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2559         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2560         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2561         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2562         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2564         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2565         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2567         * sysdeps/unix/sysv/linux/arm/Makefile
2568         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2569         Add rt-aeabi_unwind_cpp_pr1.
2570         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2571         Add nptl-aeabi_unwind_cpp_pr1.
2572         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2573         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2574         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2575         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2576         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2577         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2579         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2580         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2581         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2582         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2584         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2585         Deconditionalize the code that was previously under [RESET_PID].
2586         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2588         * sysdeps/generic/exit-thread.h: New file.
2589         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2590         * include/unistd.h (__exit_thread): Remove declaration.
2591         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2592         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2593         * csu/libc-start.c: Include <exit-thread.h>.
2594         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2595         * nptl/pthread_create.c: Include <exit-thread.h>.
2596         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2597         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2598         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2599         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2600         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2601         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2602         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2603         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2604         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2605         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2606         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2607         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2608         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2609         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2610         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2611         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2612         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2614 2014-05-13  Andreas Schwab  <schwab@suse.de>
2616         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2618 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2620         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2621         (__ASSUME_UTIMES): Do not condition on kernel version.
2622         (__ASSUME_PSELECT): Define unconditionally.
2623         (__ASSUME_PPOLL): Likewise.
2624         (__ASSUME_ATFCTS): Likewise.
2625         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2626         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2627         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2628         (__ASSUME_UTIMENSAT): Define unconditionally.
2629         (__ASSUME_PRIVATE_FUTEX): Likewise.
2630         (__ASSUME_FALLOCATE): Likewise.
2631         (__ASSUME_O_CLOEXEC): Likewise.
2632         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2633         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2634         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2635         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2636         (__ASSUME_IN_NONBLOCK): Likewise.
2637         (__ASSUME_PIPE2): Likewise.
2638         (__ASSUME_EVENTFD2): Likewise.
2639         (__ASSUME_SIGNALFD4): Likewise.
2640         (__ASSUME_DUP3): Likewise.
2641         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2642         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2643         (__ASSUME_AT_RANDOM): Likewise.
2644         (__ASSUME_PREADV): Likewise.
2645         (__ASSUME_PWRITEV): Likewise.
2646         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2647         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2648         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2649         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2650         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2651         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2652         (__ASSUME_O_CLOEXEC): Define unconditionally.
2653         (__ASSUME_PSELECT): Do not undefine conditionally.
2654         (__ASSUME_PPOLL): Likewise.
2655         (__ASSUME_ATFCTS): Likewise.
2656         (__ASSUME_SET_ROBUST_LIST): Likewise.
2657         (__ASSUME_UTIMENSAT): Likewise.
2658         (__ASSUME_FDATASYNC): Define unconditionally.
2659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2660         (__ASSUME_SIGFRAME_V2): Likewise.
2661         )__ASSUME_EVENTFD2): Likewise.
2662         (__ASSUME_SIGNALFD4): Likewise.
2663         (__ASSUME_PSELECT): Do not undefine conditionally.
2664         (__ASSUME_PPOLL): Likewise.
2665         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2666         (__ASSUME_PSELECT): Define unconditionally.
2667         (__ASSUME_PPOLL): Likewise.
2668         (__ASSUME_O_CLOEXEC): Likewise.
2669         (__ASSUME_SOCK_CLOEXEC): Likewise.
2670         (__ASSUME_IN_NONBLOCK): Likewise.
2671         (__ASSUME_PIPE2): Likewise.
2672         (__ASSUME_EVENTFD2): Likewise.
2673         (__ASSUME_SIGNALFD4): Likewise.
2674         (__ASSUME_DUP3): Likewise.
2675         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2676         (__ASSUME_O_CLOEXEC): Likewise.
2677         (__ASSUME_SOCK_CLOEXEC): Likewise.
2678         (__ASSUME_IN_NONBLOCK): Likewise.
2679         (__ASSUME_PIPE2): Likewise.
2680         (__ASSUME_EVENTFD2): Likewise.
2681         (__ASSUME_SIGNALFD4): Likewise.
2682         (__ASSUME_DUP3): Likewise.
2683         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2684         (__ASSUME_EVENTFD2): Likewise.
2685         (__ASSUME_SIGNALFD4): Likewise.
2686         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2688 2014-05-12  Andreas Schwab  <schwab@suse.de>
2690         [BZ #16932]
2691         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2692         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2693         than maximum RPC packet size.
2694         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2695         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2696         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2697         (_nss_nis_getservbyport_r): Likewise.
2699 2014-05-12  Will Newton  <will.newton@linaro.org>
2701         * malloc/Makefile (tests): Add tst-mallopt.
2702         * malloc/tst-mallopt.c: New file.
2704 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2706         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2707         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2709 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2712         (tst-tlsmod6.so): Likewise.
2714 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2716         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2718 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2720         [BZ #16064]
2721         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2722         and <dl-procinfo.h>.
2723         (__fegetenv): Save SSE state in envp->__eip if supported.
2724         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2725         envp->__eip if supported.
2726         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2727         and <dl-procinfo.h>.
2728         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2729         __data_offset and __data_selector in environment to 0.  Set SSE
2730         state if supported.
2731         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2732         test-fenv-sse.
2733         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2734         -mfpmath=sse.
2735         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2737 2014-05-09  Will Newton  <will.newton@linaro.org>
2739         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2740         and libc_relro_required for ARM.
2741         * sysdeps/arm/preconfigure: Regenerate.
2743 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2744             Stefan Liebler  <stli@linux.vnet.ibm.com>
2746         * config.make.in (enable-lock-elision): New Makefile variable.
2747         * configure.ac: Likewise.
2748         * configure: Regenerate.
2749         * sysdeps/s390/configure.ac:
2750         Add check for gcc transactions support.
2751         * sysdeps/s390/configure: Regenerate.
2752         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2753         Build elision files if enabled.
2754         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2755         Add lock elision support for s390.
2756         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2757         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2758         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2759         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2760         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2761         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2763         Likewise.
2764         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2765         Likewise.
2766         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2767         Likewise.
2768         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2769         Likewise.
2770         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2771         (__lll_timedlock_elision, __lll_lock_elision)
2772         (__lll_unlock_elision, __lll_trylock_elision)
2773         (lll_timedlock_elision, lll_lock_elision)
2774         (lll_unlock_elision, lll_trylock_elision): Add.
2775         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2776         (pthread_mutex_t): Add lock elision support for s390.
2778 2014-05-14  Wilco  <wdijkstr@arm.com>
2780         * sysdeps/arm/fclrexcpt.c: Cleanup.
2781         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2782         * sysdeps/arm/feenablxcpt.c: Cleanup.
2783         * sysdeps/arm/fegetenv.c: Cleanup.
2784         * sysdeps/arm/fegetexcept.c: Cleanup.
2785         * sysdeps/arm/fegetround.c: Cleanup.
2786         * sysdeps/arm/feholdexcpt.c: Cleanup.
2787         * sysdeps/arm/fesetenv.c: Cleanup.
2788         * sysdeps/arm/fesetround.c: Cleanup.
2789         * sysdeps/arm/feupdateenv.c: Cleanup.
2790         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2791         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2792         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2793         * sysdeps/arm/ftestexcept.c: Cleanup.
2794         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2795         * sysdeps/arm/setfpucw.c: Cleanup.
2797 2014-05-09  Will Newton  <will.newton@linaro.org>
2799         * sysdeps/arm/armv7/strcmp.S: New file.
2800         * NEWS: Mention addition of ARMv7 optimized strcmp.
2802 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2804         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2805         look for %.ac rather than %.in.
2807         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2808         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2809         * sysdeps/mach/hurd/configure: Regenerated.
2810         * sysdeps/unix/sysv/linux/configure: Regenerated.
2812         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2814 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2816         [BZ# 16922]
2817         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2818         (LONG_SUB): Ditto.
2819         (PTR_SUB): Ditto.
2821 2014-05-07  Andreas Schwab  <schwab@suse.de>
2823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2824         when skipping over non-matching result from nscd.
2826 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2828         [BZ #16876]
2829         * nptl/sockperf.c (client): Check socket return value.
2831         [BZ #16877]
2832         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2833         nscd security class.
2835 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2837         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2838         * sysdeps/arm/unwind.h: ... here.
2840 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2842         [BZ# 16916]
2843         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2844         Define.
2846 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2848         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2849         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2850         multiarch strncpy for PPC64.
2851         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2852         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2854         multiarch optimizations.
2855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2856         (__libc_ifunc_impl_list): Likewise.
2857         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2858         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2859         multiarch stpncpy for PPC64.
2860         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2861         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2863 2014-05-06  Andreas Schwab  <schwab@suse.de>
2865         [BZ #16912]
2866         * gmon/mcount.c (_MCOUNT_DECL): Use
2867         atomic_compare_and_exchange_bool_acq instead of
2868         catomic_compare_and_exchange_bool_acq.
2870 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2872         * elf/Makefile (others, install-bin): Remove pldd.
2873         (pldd-modules): Variable removed.
2874         ($(objpfx)pldd): Target removed.
2875         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2876         (others, install-bin): Append pldd here.
2877         ($(objpfx)pldd): New target.
2879         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2880         to 0, so the first #if test emitted later doesn't see it undefined.
2881         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2882         * sysdeps/gnu/errlist.c: Regenerated.
2884 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2886         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2887         [libc_hidden_builtin_def]: Define to empty value.
2888         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2889         [libc_hidden_builtin_def]: Likewise.
2890         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2891         [libc_hidden_builtin_def]: Likewise.
2892         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2893         [libc_hidden_builtin_def]: Likewise.
2894         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2895         __redirect_memcpy and define ifunc as default hidden symbol.
2896         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2897         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2899 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2901         * locale/iso-4217.def: Reintroduce XDR currency.
2903 2014-05-04  Allan McRae  <allan@archlinux.org>
2905         * po/eo.po: Update Esperanto translation from translation project.
2907 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2909         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2910         and FEATURE_INDEX_MAX to 1.
2911         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2913 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2915         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2916         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2917         * iconvdata/big5.c (ONE_DIRECTION): Define.
2918         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2919         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2920         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2921         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2922         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2923         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2924         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2925         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2926         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2927         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2928         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2929         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2930         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2931         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2932         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2933         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2934         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2935         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2936         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2937         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2938         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2939         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2940         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2941         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2942         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2943         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2944         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2945         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2946         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2947         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2948         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2949         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2950         * iconvdata/johab.c (ONE_DIRECTION): Define.
2951         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2952         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2953         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2954         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2955         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2956         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2957         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2958         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2959         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2960         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2962 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2964         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2965         (_IO_JUMPS_OFFSET): Define to 0.
2967         * nptl/sysdeps/pthread/bits/libc-lock.h
2968         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2969         (__libc_lock_define_initialized_recursive): Always define using
2970         initializer.  Modern compilers treat uninitialized (implicit zero) and
2971         explicit zero initializers the same (i.e. put the datum in bss).
2973 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2975         * nscd/nscd-client.h: Include <string.h>.
2977 2014-05-01  David S. Miller  <davem@davemloft.net>
2979         [BZ #16885]
2980         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2981         multiple zero bytes exist at the end of a string.
2982         Reported by Aurelien Jarno <aurelien@aurel32.net>
2984         * string/test-strcmp.c (check): Add explicit test for situations where
2985         there are multiple zero bytes after the first.
2987 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2989         [BZ #16890]
2990         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2991         when compiling wprintf.
2992         * stdio-common/tstdiomisc.c (t3): New function.
2993         (main): Call it.
2995 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2997         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2998         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2999         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3000         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3002 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3004         * stdlib/longlong.h: Updated from GCC.
3006 2014-05-01  Will Newton  <will.newton@linaro.org>
3007             Bernard Ogden  <bernie.ogden@linaro.org>
3009         * NEWS: Update fixed bug list.
3011         [BZ #15119]
3012         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3014 2014-04-30  David S. Miller  <davem@davemloft.net>
3016         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3017         (libc_feholdexcept_setround_sparc_ctx): New function.
3018         (libc_fesetenv_sparc_ctx): Likewise.
3019         (libc_feupdateenv_sparc_ctx): Likewise.
3020         (libc_feholdsetround_sparc_ctx): Likewise.
3021         (libc_feholdexcept_setround_ctx): Define.
3022         (libc_feholdexcept_setroundf_ctx): Likewise.
3023         (libc_feholdexcept_setroundl_ctx): Likewise.
3024         (libc_fesetenv_ctx): Likewise.
3025         (libc_fesetenvf_ctx): Likewise.
3026         (libc_fesetenvl_ctx): Likewise.
3027         (libc_feupdateenv_ctx): Likewise.
3028         (libc_feupdateenvf_ctx): Likewise.
3029         (libc_feupdateenvl_ctx): Likewise.
3030         (libc_feresetround_ctx): Likewise.
3031         (libc_feresetroundf_ctx): Likewise.
3032         (libc_feresetroundl_ctx): Likewise.
3033         (libc_feholdsetround_ctx): Likewise.
3034         (libc_feholdsetroundf_ctx): Likewise.
3035         (libc_feholdsetroundl_ctx): Likewise.
3037         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3038         with __USE_GNU instead of XOPEN cpp guards.
3040         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3041         0.
3043         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3044         with XOPEN cpp guards.
3046 2014-04-30  Julian Brown  <julian@codesourcery.com>
3048         [BZ #16888]
3049         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3050         handling.
3052 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3054         [BZ #9894]
3055         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3056         Change to 2.6.32.
3057         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3058         * sysdeps/unix/sysv/linux/configure: Regenerated.
3059         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3060         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3061         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3062         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3063         * README: Update reference to required Linux kernel version.
3064         * manual/install.texi (Linux): Update reference to required Linux
3065         kernel headers version.
3066         * INSTALL: Regenerated.
3068         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3069         header inclusion.
3070         [POSIX] (limits.h): Likewise.
3071         [POSIX] (math.h): Likewise.
3072         [POSIX] (sys/wait.h): Likewise.
3073         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3074         function.
3075         [POSIX] (stddef.h): Do not allow header inclusion.
3077 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3079         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3081 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3083         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3084         Return immediately after lll_futex_wake.
3086 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3088         [BZ #16791]
3089         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3090         structure.
3091         (datahead_init_pos): Call datahead_init_common early.
3092         (datahead_init_neg): Likewise.
3094         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3095         datahead_init_neg): New functions.
3096         * nscd/aicache.c (addhstaiX): Use them.
3097         * nscd/grpcache.c (cache_addgr): Likewise.
3098         * nscd/hstcache.c (cache_addhst): Likewise.
3099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3100         * nscd/netgroupcache.c (do_notfound): Likewise.
3101         (addgetnetgrentX): Likewise.
3102         (addinnetgrX): Likewise.
3103         * nscd/pwdcache.c (cache_addpw): Likewise.
3104         * nscd/servicescache.c (cache_addserv): Likewise.
3106 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3107             Atsushi Onoe  <atsushi@onoe.org>
3109         [BZ #14308]
3110         [BZ #12994]
3111         [BZ #13651]
3112         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3113         one response is valid.
3114         * resolv/res_send.c (send_dg): Check for validity of other
3115         response if the current response is a referral.
3117 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3119         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3121 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3123         [BZ #16823]
3124         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3125         Always divide by positive zero when computing -Inf result.
3126         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3127         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3129 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3131         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3132         FPSCR if value do not change.
3133         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3134         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3135         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3136         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3137         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3138         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3139         function.
3141 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3143         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3144         * sysdeps/unix/sysv/linux/hppa: Move directory from
3145         ports/systeps/unix/sysv/linux/hppa.
3146         * README: Update listing for hppa-*-linux-gnu.
3148 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3150         [BZ #16754]
3151         * manual/stdio.texi (Hook functions): Fix types of stream hook
3152         functions.
3153         [BZ #16854]
3154         * socket/sys/socket.h: Fix typo in comment.
3156 2014-04-28  Wilco  <wdijkstr@arm.com>
3158         * sysdeps/arm/fenv_private.h: New file.
3159         * sysdeps/arm/math_private.h: New file.
3160         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3162 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3164         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3165         with __int128_t.
3166         (La_x86_64_retval): Likewise.
3168 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3170         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3171         fpsr if value didn't change.
3172         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3173         to fpcr if value didn't change.
3174         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3175         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3176         fpsr or fpcr if value didn't change.
3177         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3178         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3179         fpcr if value didn't change.
3180         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3181         to fpsr if value didn't change.
3183 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3185         * nptl/tst-sem3.c: Use test-skeleton.c
3186         (main): Rename to do_test.  Use return instead of
3187         exit.
3188         * nptl/tst-sem4.c: Use test-skeleton.c
3189         (main): Rename to do_test.
3191 2014-04-22  David S. Miller  <davem@davemloft.net>
3193         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3194         (struct sigaction): New struct member __glibc_reserved0, change
3195         type of sa_flags to int.
3197 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3199         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3200         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3202 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3204         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3205         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3207 2014-04-22  Will Newton  <will.newton@linaro.org>
3208             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3210         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3211         (__longjmp): Add longjmp and longjmp_target SystemTap
3212         probes.
3213         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3214         (__sigsetjmp): Add setjmp SystemTap probe.
3216 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3218         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3219         match manual order.
3221 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3223         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3225         * sysdeps/powerpc/fpu/fenv_private.h
3226         (libc_feholdexcept_setroundl_ctx): Define to
3227         libc_feholdexcept_setround_ppc_ctx.
3228         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3229         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3230         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3231         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3233 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3235         * sysdeps/aarch64/math-tests.h: New file.
3237 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3239         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3240         New.
3241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3242         Check and set bit_AVX2_Usable.
3243         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3244         macro.
3245         (bit_AVX2): Likewise.
3246         (index_AVX2_Usable): Likewise.
3247         (CPUID_AVX2): Likewise.
3248         (HAS_AVX2): Likewise.
3250 2014-04-17  Will Newton  <will.newton@linaro.org>
3252         * manual/setjmp.texi (System V contexts): Add note that
3253         calling setcontext on a context created by a call to a
3254         signal handler is undefined.  Update text to note that
3255         setcontext from a signal handler is possible but not
3256         recommended.
3258         [BZ #16629]
3259         * stdlib/tst-setcontext.c: Include signal.h.
3260         (main): Check that the signal stack before and
3261         after swapcontext is the same.
3263         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3264         Re-implement to restore registers in user code and avoid
3265         rt_sigreturn system call.
3267 2014-04-17  Wilco  <wdijkstr@arm.com>
3269         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3270         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3271         * math/test-fenv.c: Skip exception trap tests on targets which only
3272         support non-stop mode.
3274 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3275             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3277         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3278         (libc_feholdsetround_aarch64_ctx)
3279         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3280         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3281         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3282         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3283         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3284         (libc_feresetround_noexl_ctx): Define.
3286 2014-04-16  Richard Henderson  <rth@redhat.com>
3288         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3290         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3291         unwind tables.
3293         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3294         const from the non-libc, non-ldso copy.
3296         * sysdeps/alpha/libm-test-ulps: Regenerate.
3298 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3299             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3301         * sysdeps/aarch64/fpu/math_private.h: New file.
3303 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3305         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3307 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3309         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3310         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3311         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3312         Intel MPX bound registers before _dl_profile_fixup.
3313         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3314         registers after _dl_profile_fixup.  Save and restore bound
3315         registers bnd0/bnd1 when calling _dl_call_pltexit.
3316         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3317         (LR_BND_OFFSET): Likewise.
3318         (LRV_BND0_OFFSET): Likewise.
3319         (LRV_BND1_OFFSET): Likewise.
3321 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3323         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3324         to...
3325         * sysdeps/mach/hurd/i386/tls.h: ... here.
3326         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3327         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3328         fields.
3330 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3332         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3334 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3336         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3338 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3340         [BZ #14770]
3341         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3342         * sysdeps/s390/configure: Regenerate.
3344         [BZ #16824]
3345         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3346         Set round-to-nearest internally to reduce error accumulation.
3348 2014-04-16  Alan Modra  <amodra@gmail.com>
3350         [BZ #16740]
3351         [BZ #16619]
3352         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3353         * math/libm-test.inc (frexp_test_data): Add tests.
3354         * NEWS: Update fixed bug list.
3356 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3358         * benchtests/Makefile: Depend on libraries in build directory.
3359         (bench-math): Separate out math tests.
3360         (bench-pthread): Separate out pthread tests.
3361         (bench): Include math and pthread tests.
3363 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3365         [BZ #16831]
3366         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3367         _dl_debug_initialize.
3369         * configure.ac: Remove SELinux header check.
3370         * configure: Regenerate.
3371         * nscd/selinux.c (perms): Array of const char* to permission names.
3372         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3373         default policy. Call string_to_security_class and string_to_av_perm to
3374         translate strings. Enforce default policy and call avs_has_perm with
3375         results of translated strings.
3377 2014-04-13  David S. Miller  <davem@davemloft.net>
3379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3381 2014-04-12  Allan McRae  <allan@archlinux.org>
3383         [BZ #16838]
3384         * manual/string.texi (Collation Functions): Fix qsort argument
3385         order in example.
3386         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3388 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3390         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3391         Make the test a no-op if there are no exceptions defined.
3393 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3395         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3396         enable-hardcoded-path-in-tests
3398 2014-04-11  Will Newton  <will.newton@linaro.org>
3400         * benchtests/Makefile (extra-objs): Add json-lib.o.
3401         (bench-func): Tidy up JSON output.
3402         * benchtests/bench-skeleton.c: Include json-lib.h.
3403         (main): Use JSON library functions to do output of
3404         benchmark results.
3405         * benchtests/bench-timing-type.c (main): Output the
3406         timing type simply, leaving formatting to the user.
3407         * benchtests/json-lib.c: New file.
3408         * benchtests/json-lib.h: Likewise.
3410 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3412         [BZ #15215]
3413         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3414         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3415         memory barriers.  Add comments.
3416         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3417         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3418         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3419         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3420         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3421         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3423 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3425         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3426         * sysdeps/s390/s390-64/configure.ac: ... this ...
3427         * sysdeps/s390/configure.ac: ... to here.
3428         * sysdeps/s390/s390-32/configure: Delete file.
3429         * sysdeps/s390/s390-64/configure: Delete file.
3430         * sysdeps/s390/configure: Regenerate.
3432 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3434         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3436 2014-04-11  Will Newton  <will.newton@linaro.org>
3438         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3439         to zero if it is not defined elsewhere.  (mtrim): Test
3440         the value of MALLOC_DEBUG with #if rather than #ifdef.
3442 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3444         * benchtests/pthread_once-inputs: New file.
3445         * benchtests/pthread_once-source.c: New file.
3446         * benchtests/README: Update documentation.
3448 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3449             H.J. Lu  <hongjiu.lu@intel.com>
3451         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3452         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3453         * sysdeps/x86_64/configure: Regenerated.
3454         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3455         macro.
3456         (REGISTER_SAVE_RAX): Likewise.
3457         (REGISTER_SAVE_RCX): Likewise.
3458         (REGISTER_SAVE_RDX): Likewise.
3459         (REGISTER_SAVE_RSI): Likewise.
3460         (REGISTER_SAVE_RDI): Likewise.
3461         (REGISTER_SAVE_R8): Likewise.
3462         (REGISTER_SAVE_R9): Likewise.
3463         (REGISTER_SAVE_BND0): Likewise.
3464         (REGISTER_SAVE_BND1): Likewise.
3465         (REGISTER_SAVE_BND2): Likewise.
3466         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3467         bound registers when calling _dl_fixup.
3469 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3471         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3472         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3473         of its definition.
3474         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3475         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3476         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3477         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3478         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3479         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3480         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3482 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3484         [BZ #15514]
3485         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3486         pathconf(_PC_NAME_MAX).
3488 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3490         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3491         Remove macro usage.
3492         (__PTHREAD_SPINS): Move definition to ...
3493         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3494         (__PTHREAD_SPINS): ... here.
3495         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3496         (__PTHREAD_SPIN): Likewise.
3497         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3498         (__PTHREAD_SPIN): Likewise.
3499         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3500         (__PTHREAD_SPIN): Likewise.
3501         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3502         (__PTHREAD_SPIN): Likewise.
3503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3504         (__PTHREAD_SPIN): Likewise.
3505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3506         (__PTHREAD_SPIN): Likewise.
3507         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3508         (__PTHREAD_SPIN): Likewise.
3509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3510         (__PTHREAD_SPIN): Likewise.
3511         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3512         (__PTHREAD_SPIN): Likewise.
3513         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3514         (__PTHREAD_SPIN): Likewise.
3515         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3516         (__PTHREAD_SPIN): Likewise.
3517         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3518         (__PTHREAD_SPIN): Likewise.
3520         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3521         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3522         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3523         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3524         imply folder.
3525         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3526         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3527         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3528         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3529         correct imply path.
3530         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3531         strlen symbol for non multi-arch builds.
3532         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3533         missing hidden_def and weak_alias.
3535 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3537         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3539 2014-04-07  Will Newton  <will.newton@linaro.org>
3541         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3542         and contents.  [!_LIBC] Remove #ifndef and contents.
3543         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3544         * string/memccpy.c (__memccpy): Use ANSI prototype.
3545         * string/memfrob.c (memfrob): Likewise.
3546         * string/strcoll.c (STRCOLL): Likewise.
3547         * string/strlen.c (strlen): Likewise.
3548         * string/strtok.c (STRTOK): Likewise.
3549         * string/strcat.c: Remove unused #include of memcopy.h.
3550         (strcat): Use ANSI prototype.
3551         * string/strchr.c: Remove unused #include of memcopy.h.
3552         (strchr): Use ANSI prototype.
3553         * string/strcmp.c: Remove unused #include of memcopy.h.
3554         (strcmp): Use ANSI prototype.
3555         * string/strcpy.c: Remove unused #include of memcopy.h.
3556         (strcpy): Use ANSI prototype.
3558 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3560         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3561         * config.make.in (config-extra-cppflags): Set it from
3562         libc_extra_cppflags.
3563         * configure.ac (libc_extra_cflags): Make it accumulate over
3564         configure fragments.
3565         (libc_extra_cppflags): New flag.
3566         * configure. Regenerate.
3567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3568         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3569         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3572         [BZ #16815]
3573         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3574         result for FE_DOWNWARD rounding mode.
3575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3576         Likewise.
3577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3579 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3581         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3582         in function argument name.
3584 2014-04-03  David Svoboda  <svoboda@cert.org>
3586         [BZ #5666]
3587         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3588         explicitly.
3590 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3592         * elf/dl-unmap-segments.h: New file.
3593         * sysdeps/generic/ldsodefs.h
3594         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3595         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3596         * elf/dl-fptr.c: Likewise.
3597         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3598         * sysdeps/aarch64/tlsdesc.c: Likewise.
3599         * sysdeps/arm/tlsdesc.c: Likewise.
3600         * sysdeps/i386/tlsdesc.c: Likewise.
3601         * sysdeps/tile/dl-runtime.c: Likewise.
3602         * sysdeps/x86_64/tlsdesc.c: Likewise.
3603         * elf/dl-load.h: New file.
3604         * elf/dl-load.c: Include it.
3605         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3606         Macros moved to dl-load.h.
3607         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3608         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3609         Use _dl_unmap_segments in place of __munmap.
3610         Break out segment-mapping loop into ...
3611         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3613 2014-04-03  Will Newton  <will.newton@linaro.org>
3615         * elf/dl-lookup.c (do_lookup_x): Remove comment
3616         referring to nested function and move variable
3617         declarations down to before first use.
3619 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3621         [BZ #16799]
3622         [BZ #16800]
3623         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3624         with 0 numerator.
3625         * math/s_catanf.c (__catanf): Likewise.
3626         * math/s_catanh.c (__catanh): Likewise.
3627         * math/s_catanhf.c (__catanhf): Likewise.
3628         * math/s_catanhl.c (__catanhl): Likewise.
3629         * math/s_catanl.c (__catanl): Likewise.
3630         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3631         by positive zero when computing -Inf result.
3632         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3633         (catanh_test): Likewise.
3634         * sysdeps/i386/fpu/libm-test-ulps: Update.
3635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3637         [BZ #16789]
3638         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3639         instead of using underflowing value in computing result.
3640         * math/s_clog10.c (__clog10): Likewise.
3641         * math/s_clog10f.c (__clog10f): Likewise.
3642         * math/s_clog10l.c (__clog10l): Likewise.
3643         * math/s_clogf.c (__clogf): Likewise.
3644         * math/s_clogl.c (__clogl): Likewise.
3645         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3646         (clog10_test): Likewise.
3647         * sysdeps/i386/fpu/libm-test-ulps: Update.
3648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3650 2014-04-02  Alan Modra  <amodra@gmail.com>
3652         [BZ #16739]
3653         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3654         output when value is near a power of two.  Use int64_t for lx and
3655         remove casts.  Use decimal rather than hex exponent constants.
3656         Don't use long double multiplication when double will suffice.
3657         * math/libm-test.inc (nextafter_test_data): Add tests.
3658         * NEWS: Add 16739 and 16786 to bug list.
3660         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3662         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3664 2014-04-01  Will Newton  <will.newton@linaro.org>
3666         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3667         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3669 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3671         [BZ #13347]
3672         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3673         * nptl/tst-setuid2.c: New file.
3674         * nptl/Makefile (xtests): Add tst-setuid2.
3676 2014-04-01  Alan Modra  <amodra@gmail.com>
3678         [BZ #16786]
3679         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3681 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3683         [BZ #6803]
3684         [BZ #6804]
3685         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3686         set errno as appropriate.
3687         * math/w_scalbf.c (__scalbf): Likewise.
3688         * math/w_scalbl.c (__scalbl): Likewise.
3689         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3690         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3691         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3692         Add more NaN tests.
3694         [BZ #16349]
3695         * math/w_atan2.c: Include <errno.h>.
3696         (__atan2): Set errno for result underflowing to zero.
3697         * math/w_atan2f.c: Include <errno.h>.
3698         (__atan2f): Set errno for result underflowing to zero.
3699         * math/w_atan2l.c: Include <errno.h>.
3700         (__atan2l): Set errno for result underflowing to zero.
3701         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3702         tests.
3703         * math/auto-libm-test-out: Regenerated.
3705 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3707         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3708         Encode instruction correctly in little endian.
3709         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3710         Likewise.
3711         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3712         Likewise.
3713         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3714         Likewise.
3715         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3716         Likewise.
3718 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3720         [BZ #9894]
3721         * sysdeps/unix/sysv/linux/kernel-features.h
3722         [__sparc__ && !__arch64__ && !__sparc_v9__]
3723         (__ASSUME_SET_ROBUST_LIST): Do not define.
3724         [__sparc__ && !__arch64__ && !__sparc_v9__]
3725         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3726         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3727         Likewise.
3728         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3729         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3730         (__ASSUME_REQUEUE_PI): Likewise.
3731         (__ASSUME_SET_ROBUST_LIST): Likewise.
3732         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3733         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3734         Undefine.
3735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3736         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3737         Likewise.
3738         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3739         Likewise.
3740         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3741         Likewise.
3742         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3743         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3744         Undefine.
3745         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3746         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3747         Likewise.
3749         [BZ #16648]
3750         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3751         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3752         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3754 2014-03-31  Will Newton  <will.newton@linaro.org>
3756         * benchtests/Makefile (bench): Add ffs and ffsll to list
3757         of tests.
3758         * benchtests/ffs-inputs: New file.
3759         * benchtests/ffsll-inputs: Likewise.
3761 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3763         [BZ #16770]
3764         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3765         too large before casting to int.
3766         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3767         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3768         * math/libm-test.inc (scalb_test_data): Add more tests.
3770 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3772         * benchtests/Makefile (DETAILED_OPT): New make option.
3773         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3774         set.
3775         * benchtests/bench-skeleton.c: Include stdbool.h.
3776         (main): Store and print timings per input.
3777         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3778         member to each argument value.
3779         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3780         (_print_arg_data): Initialize per-input timing to 0.
3782         * benchtests/Makefile (timing-type): New binary.
3783         (bench-clean): Also remove bench-timing-type.
3784         (bench): New target for timing-type.
3785         (bench-func): Print output in JSON format.
3786         * benchtests/bench-skeleton.c (main): Print output in JSON
3787         format.
3788         * benchtests/bench-timing-type.c: New file.
3789         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3790         (TIMING_PRINT_STATS): Remove.
3791         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3792         name separately.
3794         * benchtests/bench-modf.c: Remove.
3795         * benchtests/modf-inputs: New inputs file.
3797 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3799         [BZ #16362]
3800         * math/s_clog10.c (M_PI_LOG10E): New macro.
3801         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3802         imaginary parts are 0.
3803         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3804         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3805         imaginary parts are 0.
3806         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3807         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3808         imaginary parts are 0.
3809         * math/libm-test.inc (clog10_test_data): Update expected results
3810         for when real and imaginary parts are 0.
3812 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3814         * elf/dl-load.c: Finish conversion of __builtin_expect into
3815         __glibc_{un}likely.
3817 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3819         [BZ #16348]
3820         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3821         1+x for argument with exponent below -67.
3822         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3823         Likewise.
3824         * math/auto-libm-test-in: Add more tests of exp.
3825         * math/auto-libm-test-out: Regenerated.
3827 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3829         [BZ #16759]
3830         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3831         (nscd_getnetgrent): Use it.
3833         [BZ #16760]
3834         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3835         of stpcpy.
3837 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3839         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3840         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3841         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3842         (lll_robust_unlock): Remove out of line section. Use cfi
3843         intrinsics.
3844         (LLL_STUB_UNWIND_INFO*): Remove.
3845         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3846         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3847         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3848         (lll_robust_unlock): Remove out of line section. Use cfi
3849         intrinsics.
3850         (LLL_STUB_UNWIND_INFO*): Remove.
3852 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3854         [BZ #16758]
3855         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3856         blank values.
3858 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3860         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3862 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3864         [BZ #16198]
3865         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3866         fnstenv.
3867         * math/test-fenv-preserve.c: New file.
3868         * math/Makefile (tests): Add test-fenv-preserve.
3870 2014-03-26  Will Newton <will.newton@linaro.org>
3872         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3874 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3876         * scripts/versionlist.awk: Partition the version sets and emit all
3877         GLIBC_* (sorted) before all others (sorted).
3879 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3881         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3882         GLIBC_2.2.5 version.
3884 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3886         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3887         calls.
3889         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3890         previous change.
3892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3894 2014-03-25  Andreas Schwab  <schwab@suse.de>
3896         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3897         label to be used after in6ailist is initialized.
3899 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3901         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3902         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3904 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3906         [BZ #16357]
3907         [BZ #16599]
3908         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3909         min_plus_half.
3910         (fp_formats): Update initializers.
3911         (init_fp_formats): Initialize new field.
3912         (output_for_one_input_case): Allow underflow for results up to
3913         min_plus_half.
3914         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3915         * math/auto-libm-test-in: Don't mark some underflows from asin and
3916         atanh as spurious.
3917         * math/auto-libm-test-out: Regenerated.
3918         * sysdeps/i386/fpu/libm-test-ulps: Update.
3919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3921 2014-03-25  Andreas Schwab  <schwab@suse.de>
3923         * libio/Makefile (tst-ftell-partial-wide-ENV)
3924         (tst-ftell-active-handler-ENV): Define.
3926 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3928         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3930 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3932         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3934 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3936         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3937         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3938         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3940 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3942         [BZ #16634]
3943         * elf/dl-load.c (open_verify): Add mode parameter.
3944         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3945         (open_path): Change from boolean 'secure' to complete flag 'mode'
3946         (_dl_map_object): Adjust.
3947         * elf/Makefile (tests): Add tst-dlopen-aout.
3948         * elf/tst-dlopen-aout.c: New test.
3950 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3952         [BZ #16714]
3953         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3954         (struct stat): Rename member pad0 to __glibc_reserved0.
3956         [BZ #16712]
3957         * sysdeps/s390/s390-32/bits/wordsize.h
3958         (__WORDSIZE32_SIZE_ULONG): New define.
3959         * sysdeps/s390/s390-64/bits/wordsize.h
3960         (__WORDSIZE32_SIZE_ULONG): Likewise.
3961         * sysdeps/generic/stdint.h (SIZE_MAX):
3962         Define as UL if __WORDSIZE32_SIZE_ULONG.
3964         [BZ #16713]
3965         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3966         (__glibc_reserved0): New variable.
3967         (sa_flags): Change type to int.
3969         * posix/Makefile (before-compile): Use += before-compile instead
3970         of a :=.
3972         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3973         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3975 2014-03-20  Andreas Schwab  <schwab@suse.de>
3977         [BZ #16743]
3978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3979         non-matching result from nscd.
3981 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3983         * scripts/bench.py: Moved to ...
3984         * benchtests/scripts/bench.py: ... here.
3985         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3987 2014-03-24  Andreas Schwab  <schwab@suse.de>
3989         [BZ #16002]
3990         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3991         alloca_account and account alloca use for struct in6ailist.
3993 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3995         [BZ #16284]
3996         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3997         rounding mode to recompute results that overflow to infinity or
3998         underflow to zero.
3999         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4000         bug 16284.
4001         * math/auto-libm-test-out: Regenerated.
4002         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4003         (ccosh_test): Likewise.
4004         (csin_test_data): Use plus_oflow.
4005         (csin_test): Use ALL_RM_TEST.
4006         (csinh_test_data): Use plus_oflow.
4007         (csinh_test): Use ALL_RM_TEST.
4008         * sysdeps/i386/fpu/libm-test-ulps: Update.
4009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4011 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4013         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4014         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4015         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4017         [BZ #16731]
4018         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4019         when x - 1 is zero.
4020         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4021         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4022         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4023         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4024         argument is 1.
4025         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4026         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4027         zero.
4028         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4029         * sysdeps/i386/fpu/libm-test-ulps: Update.
4030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4032 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4034         * scripts/bench.pl: Remove file.
4035         * scripts/bench.py: New benchmark script.
4036         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4037         * benchtests/README: Mention python dependency.
4038         * scripts/pylintrc: New file.
4039         * scripts/pylint: New file.
4041         * bits/mathdef.h: Use #ifdef instead of #if.
4042         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4043         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4044         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4045         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4046         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4047         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4049 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4050             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4052         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4054         and strpbrk-ppc64 objects.
4055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4056         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4057         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4058         multiarch strpbrk for POWER7.
4059         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4060         multiarch strpbrk for PPC64.
4061         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4062         ifunc selector.
4063         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4064         strpbrk for POWER7.
4066 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4068         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4069         (atan_test): Likewise.
4070         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4071         (atanh_test): Use ALL_RM_TEST.
4072         (atan2_test_data): Likewise.
4073         (cabs_test): Likewise.
4074         (cacosh_test): Likewise.
4075         (carg_test): Likewise.
4076         (casin_test): Likewise.
4077         (casinh_test): Likewise.
4078         (cbrt_test): Likewise.
4079         (csqrt_test): Likewise.
4080         (erf_test): Likewise.
4081         (erfc_test): Likewise.
4082         (pow10_test): Likewise.
4083         (exp2_test): Likewise.
4084         (hypot_test): Likewise.
4085         (j0_test): Likewise.
4086         (j1_test): Likewise.
4087         (lgamma_test): Likewise.
4088         (gamma_test): Likewise.
4089         (sincos_test): Likewise.
4090         (tanh_test): Likewise.
4091         (y0_test): Likewise.
4092         (y1_test): Likewise.
4093         * sysdeps/i386/fpu/libm-test-ulps: Update.
4094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4096 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4098         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4100         and strcspn-ppc64 objects.
4101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4102         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4103         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4104         multiarch strcspn for POWER7.
4105         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4106         multiarch strcspn for PPC64.
4107         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4108         ifunc selector.
4109         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4110         strcspn for POWER7.
4112 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4114         * math/gen-libm-test.pl (generate_testfile): Expect only function
4115         name as argument to AUTO_TESTS_* and pass results for all rounding
4116         modes to parse_args.
4117         (parse_auto_input): Separate inputs of automatic tests from
4118         outputs before storing in %auto_tests.
4119         * math/libm-test.inc (acos_test_data): Update call to
4120         AUTO_TESTS_f_f.
4121         (acos_test): Use ALL_RM_TEST.
4122         (acos_tonearest_test_data): Remove.
4123         (acos_test_tonearest): Likewise.
4124         (acos_towardzero_test_data): Likewise.
4125         (acos_test_towardzero): Likewise.
4126         (acos_downward_test_data): Likewise.
4127         (acos_test_downward): Likewise.
4128         (acos_upward_test_data): Likewise.
4129         (acos_test_upward): Likewise.
4130         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4131         (asin_test_data): Likewise.
4132         (asin_test): Use ALL_RM_TEST.
4133         (asin_tonearest_test_data): Remove.
4134         (asin_test_tonearest): Likewise.
4135         (asin_towardzero_test_data): Likewise.
4136         (asin_test_towardzero): Likewise.
4137         (asin_downward_test_data): Likewise.
4138         (asin_test_downward): Likewise.
4139         (asin_upward_test_data): Likewise.
4140         (asin_test_upward): Likewise.
4141         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4142         (atan_test_data): Likewise.
4143         (atanh_test_data): Likewise.
4144         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4145         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4146         (carg_test_data): Likewise.
4147         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4148         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4149         (ccosh_test_data): Likewise.
4150         (cexp_test_data): Likewise.
4151         (clog_test_data): Likewise.
4152         (clog10_test_data): Likewise.
4153         (cos_test_data): Update call to AUTO_TESTS_f_f.
4154         (cos_test): Use ALL_RM_TEST.
4155         (cos_tonearest_test_data): Remove.
4156         (cos_test_tonearest): Likewise.
4157         (cos_towardzero_test_data): Likewise.
4158         (cos_test_towardzero): Likewise.
4159         (cos_downward_test_data): Likewise.
4160         (cos_test_downward): Likewise.
4161         (cos_upward_test_data): Likewise.
4162         (cos_test_upward): Likewise.
4163         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4164         (cosh_test): Use ALL_RM_TEST.
4165         (cosh_tonearest_test_data): Remove.
4166         (cosh_test_tonearest): Likewise.
4167         (cosh_towardzero_test_data): Likewise.
4168         (cosh_test_towardzero): Likewise.
4169         (cosh_downward_test_data): Likewise.
4170         (cosh_test_downward): Likewise.
4171         (cosh_upward_test_data): Likewise.
4172         (cosh_test_upward): Likewise.
4173         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4174         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4175         (ctan_test_data): Likewise.
4176         (ctan_test): Use ALL_RM_TEST.
4177         (ctan_tonearest_test_data): Remove.
4178         (ctan_test_tonearest): Likewise.
4179         (ctan_towardzero_test_data): Likewise.
4180         (ctan_test_towardzero): Likewise.
4181         (ctan_downward_test_data): Likewise.
4182         (ctan_test_downward): Likewise.
4183         (ctan_upward_test_data): Likewise.
4184         (ctan_test_upward): Likewise.
4185         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4186         (ctanh_test): Use ALL_RM_TEST.
4187         (ctanh_tonearest_test_data): Remove.
4188         (ctanh_test_tonearest): Likewise.
4189         (ctanh_towardzero_test_data): Likewise.
4190         (ctanh_test_towardzero): Likewise.
4191         (ctanh_downward_test_data): Likewise.
4192         (ctanh_test_downward): Likewise.
4193         (ctanh_upward_test_data): Likewise.
4194         (ctanh_test_upward): Likewise.
4195         (erf_test_data): Update call to AUTO_TESTS_f_f.
4196         (erfc_test_data): Likewise.
4197         (exp_test_data): Likewise.
4198         (exp_test): Use ALL_RM_TEST.
4199         (exp_tonearest_test_data): Remove.
4200         (exp_test_tonearest): Likewise.
4201         (exp_towardzero_test_data): Likewise.
4202         (exp_test_towardzero): Likewise.
4203         (exp_downward_test_data): Likewise.
4204         (exp_test_downward): Likewise.
4205         (exp_upward_test_data): Likewise.
4206         (exp_test_upward): Likewise.
4207         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4208         (exp10_test): Use ALL_RM_TEST.
4209         (exp10_tonearest_test_data): Remove.
4210         (exp10_test_tonearest): Likewise.
4211         (exp10_towardzero_test_data): Likewise.
4212         (exp10_test_towardzero): Likewise.
4213         (exp10_downward_test_data): Likewise.
4214         (exp10_test_downward): Likewise.
4215         (exp10_upward_test_data): Likewise.
4216         (exp10_test_upward): Likewise.
4217         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4218         (expm1_test_data): Likewise.
4219         (expm1_test): Use ALL_RM_TEST.
4220         (expm1_tonearest_test_data): Remove.
4221         (expm1_test_tonearest): Likewise.
4222         (expm1_towardzero_test_data): Likewise.
4223         (expm1_test_towardzero): Likewise.
4224         (expm1_downward_test_data): Likewise.
4225         (expm1_test_downward): Likewise.
4226         (expm1_upward_test_data): Likewise.
4227         (expm1_test_upward): Likewise.
4228         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4229         (fma_test): Use ALL_RM_TEST.
4230         (fma_towardzero_test_data): Remove.
4231         (fma_test_towardzero): Likewise.
4232         (fma_downward_test_data): Likewise.
4233         (fma_test_downward): Likewise.
4234         (fma_upward_test_data): Likewise.
4235         (fma_test_upward): Likewise.
4236         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4237         (j0_test_data): Update call to AUTO_TESTS_f_f.
4238         (j1_test_data): Likewise.
4239         (jn_test_data): Update call to AUTO_TESTS_if_f.
4240         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4241         (log_test_data): Update call to AUTO_TESTS_f_f.
4242         (log10_test_data): Likewise.
4243         (log1p_test_data): Likewise.
4244         (log2_test_data): Likewise.
4245         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4246         (pow_tonearest_test_data): Likewise.
4247         (sin_test_data): Update call to AUTO_TESTS_f_f.
4248         (sin_test): Use ALL_RM_TEST.
4249         (sin_tonearest_test_data): Remove.
4250         (sin_test_tonearest): Likewise.
4251         (sin_towardzero_test_data): Likewise.
4252         (sin_test_towardzero): Likewise.
4253         (sin_downward_test_data): Likewise.
4254         (sin_test_downward): Likewise.
4255         (sin_upward_test_data): Likewise.
4256         (sin_test_upward): Likewise.
4257         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4258         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4259         (sinh_test): Use ALL_RM_TEST.
4260         (sinh_tonearest_test_data): Remove.
4261         (sinh_test_tonearest): Likewise.
4262         (sinh_towardzero_test_data): Likewise.
4263         (sinh_test_towardzero): Likewise.
4264         (sinh_downward_test_data): Likewise.
4265         (sinh_test_downward): Likewise.
4266         (sinh_upward_test_data): Likewise.
4267         (sinh_test_upward): Likewise.
4268         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4269         (sqrt_test): Use ALL_RM_TEST.
4270         (sqrt_tonearest_test_data): Remove.
4271         (sqrt_test_tonearest): Likewise.
4272         (sqrt_towardzero_test_data): Likewise.
4273         (sqrt_test_towardzero): Likewise.
4274         (sqrt_downward_test_data): Likewise.
4275         (sqrt_test_downward): Likewise.
4276         (sqrt_upward_test_data): Likewise.
4277         (sqrt_test_upward): Likewise.
4278         (tan_test_data): Update call to AUTO_TESTS_f_f.
4279         (tan_test): Use ALL_RM_TEST.
4280         (tan_tonearest_test_data): Remove.
4281         (tan_test_tonearest): Likewise.
4282         (tan_towardzero_test_data): Likewise.
4283         (tan_test_towardzero): Likewise.
4284         (tan_downward_test_data): Likewise.
4285         (tan_test_downward): Likewise.
4286         (tan_upward_test_data): Likewise.
4287         (tan_test_upward): Likewise.
4288         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4289         (tgamma_test_data): Likewise.
4290         (y0_test_data): Likewise.
4291         (y1_test_data): Likewise.
4292         (yn_test_data): Update call to AUTO_TESTS_if_f.
4293         (main): Do not call removed functions.
4295 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4297         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4298         (ldexp_test_data): Remove.
4299         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4300         scalbn_test_data.
4301         (scalb_test): Use ALL_RM_TEST.
4303 2014-03-19  Andreas Schwab  <schwab@suse.de>
4305         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4307 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4309         [BZ #16649]
4310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4312         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4314         (__ASSUME_PREADV): Undefine.
4315         (__ASSUME_PWRITEV): Likewise.
4317 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4319         * bits/mman-linux.h: Add comment about non-Linux use.
4320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4321         bits/mman-linux.h resting place.
4323         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4324         * bits/mman-linux.h: ... here.
4326 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4328         * conform/conformtest.pl: Add standard definition when calling C
4329         preprocessor on data files.
4330         (checknamespace): Remove unused variable.
4332 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4334         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4335         minus_oflow, plus_uflow and minus_uflow in expected results.
4336         * math/libm-test.inc (scalbn_test_data): Add more tests of
4337         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4338         minus_uflow.
4339         (scalbn_test): Use ALL_RM_TEST.
4340         (scalbln_test_data): Add more tests of negative arguments.  Use
4341         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4342         (scalbln_test): Use ALL_RM_TEST.
4344 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4346         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4348 2014-03-18  Will Newton  <will.newton@linaro.org>
4350         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4351         inaccurate comment.
4353 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4355         * Makerules [!subdir] (check-abi): Exit with error status if a
4356         test failed.
4358 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4360         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4361         for rint.  Include results for all rounding modes.
4362         (nearbyint_test): Use ALL_RM_TEST.
4363         (rint_test_data): Include all tests used for nearbyint.
4365 2014-03-17  Will Newton  <will.newton@linaro.org>
4367         * nptl/sysdeps/pthread/pthread.h: Revert previous
4368         change.
4370         * sysdeps/generic/ldsodefs.h: Revert previous
4371         change.
4373         * libio/genops.c: Revert previous change.
4374         * libio/libioP.h: Likewise.
4375         * stdio-common/vfprintf.c: Likewise.
4377         * sysdeps/generic/math_private.h: Revert previous
4378         change.
4380         * sysdeps/generic/math_private.h: Check whether
4381         HAVE_RM_CTX is defined with #ifdef rather
4382         than #if.
4384         * argp/argp-fmtstream.h: Check whether
4385         __STRICT_ANSI__ is defined with #ifdef rather
4386         than #if.
4387         * argp/argp.h: Likewise.
4389         * libio/genops.c: Check whether
4390         _IO_JUMPS_OFFSET is defined with #ifdef rather
4391         than #if.
4392         * libio/libioP.h: Likewise.
4393         * stdio-common/vfprintf.c: Likewise.
4395         * sysdeps/generic/ldsodefs.h: Check whether
4396         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4397         than #if.
4399         * nptl/sysdeps/pthread/pthread.h: Check
4400         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4401         its value.
4403 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4405         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4406         setting O_APPEND.
4407         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4408         test case.
4410         [BZ #16680]
4411         * libio/fileops.c (_IO_file_open): Seek to end of file but
4412         don't cache the offset.
4413         (get_file_offset): Remove function.
4414         (do_ftell): Use cached offset when available.
4415         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4416         don't cache the offset.
4417         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4418         case.
4419         (do_one_test): Call it.
4420         (do_ftell_test): Fix up expected old offset for a+ mode.
4421         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4422         available.
4424         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4425         up test status with function return status.
4426         (do_write_test): Likewise.
4427         (do_append_test): Likewise.
4429         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4430         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4431         Remove.
4433 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4435         * math/gen-libm-test.pl (parse_args): Handle results specified for
4436         each rounding mode separately.
4437         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4438         tests and results from lrint_tonearest_test_data,
4439         lrint_towardzero_test_data, lrint_downward_test_data and
4440         lrint_upward_test_data.
4441         (lrint_test): Use ALL_RM_TEST.
4442         (lrint_tonearest_test_data): Remove.
4443         (lrint_test_tonearest): Likewise.
4444         (lrint_towardzero_test_data): Likewise.
4445         (lrint_test_towardzero): Likewise.
4446         (lrint_downward_test_data): Likewise.
4447         (lrint_test_downward): Likewise.
4448         (lrint_upward_test_data): Likewise.
4449         (lrint_test_upward): Likewise.
4450         (llrint_test_data): Merge in per-rounding-mode tests and results
4451         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4452         llrint_downward_test_data and llrint_upward_test_data.
4453         (llrint_test): Use ALL_RM_TEST.
4454         (llrint_tonearest_test_data): Remove.
4455         (llrint_test_tonearest): Likewise.
4456         (llrint_towardzero_test_data): Likewise.
4457         (llrint_test_towardzero): Likewise.
4458         (llrint_downward_test_data): Likewise.
4459         (llrint_test_downward): Likewise.
4460         (llrint_upward_test_data): Likewise.
4461         (llrint_test_upward): Likewise.
4462         (rint_test_data): Merge in per-rounding-mode tests and results
4463         from rint_tonearest_test_data, rint_towardzero_test_data,
4464         rint_downward_test_data and rint_upward_test_data.  Add
4465         per-rounding-mode results for tests not in those arrays.
4466         (rint_test): Use ALL_RM_TEST.
4467         (rint_tonearest_test_data): Remove.
4468         (rint_test_tonearest): Likewise.
4469         (rint_towardzero_test_data): Likewise.
4470         (rint_test_towardzero): Likewise.
4471         (rint_downward_test_data): Likewise.
4472         (rint_test_downward): Likewise.
4473         (rint_upward_test_data): Likewise.
4474         (rint_test_upward): Likewise.
4475         (main): Don't call removed functions.
4477 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4479         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4480         "Compiled on ..." crapola.  It is anti-useful.
4482 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4484         * scripts/evaluate-test.sh: Handle fourth argument to determine
4485         whether test run should stop on failure.
4486         * Makeconfig (stop-on-test-failure): New variable.
4487         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4488         $(stop-on-test-failure).
4489         * Makefile (tests): Give a summary of results from testing and
4490         exit with failure status if they include an ERROR or FAIL.
4491         (xtests): Likewise.
4492         * manual/install.texi (Configuring and compiling): Mention
4493         stop-on-test-failure=y.
4494         * INSTALL: Regenerated.
4496 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4498         * scripts/versionlist.awk: New file.
4499         * Makerules [$(build-shared) = yes]
4500         (postclean-generated): Add Versions.def, not Versions.def.v and
4501         Versions.def.v.i.
4502         ($(common-objpfx)Versions.def.v.i): Target removed.
4503         ($(common-objpfx)Versions.def): New target.
4504         ($(common-objpfx)Versions.all): Depend on that rather that
4505         $(common-objpfx)Versions.def.v.
4506         * Versions.def: File removed.
4508         * Makeconfig (+gccwarn): Add -Wundef.
4509         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4510         a dl-sysdep.h breaking its contract.
4511         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4512         * include/stackinfo.h: New file.
4513         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4514         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4515         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4516         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4517         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4518         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4519         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4520         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4521         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4522         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4523         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4524         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4525         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4526         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4527         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4529 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4531         [BZ #16707]
4532         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4533         implementation.
4534         * math/libm-test.inc (round_test_data): Add more tests.
4536         [BZ #16706]
4537         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4538         implementation.
4539         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4541         [BZ #16701]
4542         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4543         implementation.
4544         * math/libm-test.inc (ceil_test_data): Add more tests.
4546         * math/libm-test.inc (trunc_test_data): Add more tests related to
4547         BZ#16414.
4549 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4551         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4552         with #if rather than #ifdef.
4553         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4555 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4557         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4558         first.  Disable AVX-512 GCC support if assembler doesn't support
4559         it.
4560         * sysdeps/x86_64/configure: Regenerated.
4562 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4564         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4565         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4566         (__old_pthread_attr_setstack): Likewise.
4567         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4568         [!_STACK_GROWS_DOWN]: Likewise.
4570 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4572         * config.make.in (have-bash2): Delete.
4573         * configure.ac (libc_cv_have_bash2): Delete.
4574         * configure: Regenerate.
4575         * elf/Makefile (common-ldd-rewrite): Rename to ...
4576         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4577         (sh-ldd-rewrite): Delete.
4578         (bash-ldd-rewrite): Delete.
4579         (have-bash2): Delete checks.
4580         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4581         ldd-rewrite.
4583         * config.make.in (have-ksh): Delete.
4584         (KSH): Delete.
4585         * configure.ac (libc_cv_have_ksh): Delete.
4586         * configure: Regenerate.
4588         * elf/Makefile: Delete $(have-ksh) check.
4589         ($(objpfx)sotruss): Change KSH to BASH.
4590         * elf/sotruss.ksh: Rename to ...
4591         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4592         function style to match POSIX.  Drop ksh vim mode setting.
4594         * manual/time.texi (Specifying the Time Zone with TZ): Change
4595         Tuesday to Thursday.
4597         * debug/tst-longjmp_chk2.c: Update header comment.
4598         (stackoverflow_handler): Add comment.  Call assert on pass value.
4600 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4602         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4603         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4604         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4605         (La_x86_64_vector): Add zmm.
4606         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4607         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4608         ($(objpfx)tst-audit10): New target.
4609         ($(objpfx)tst-audit10.out): Likewise.
4610         (tst-audit10-ENV): New.
4611         (AVX512-CFLAGS): Likewise.
4612         (CFLAGS-tst-audit10.c): Likewise.
4613         (CFLAGS-tst-auditmod10a.c): Likewise.
4614         (CFLAGS-tst-auditmod10b.c): Likewise.
4615         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4616         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4617         * sysdeps/x86_64/configure: Regenerated.
4618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4619         AVX-512 zmm register support.
4620         (_dl_x86_64_save_sse): Likewise.
4621         (_dl_x86_64_restore_sse): Likewise.
4622         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4623         size vector registers.
4624         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4625         (ZMM_SIZE): Likewise.
4626         * sysdeps/x86_64/tst-audit10.c: New file.
4627         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4628         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4630 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4632         * configure.ac (HAVE_EHDR_START): New check.
4633         * configure: Regenerated.
4634         * config.h.in (HAVE_EHDR_START): New #undef.
4635         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4636         assuming the lowest-addressed segment maps the start of the file.
4638 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4640         * INSTALL: Regenerated.
4642 2014-03-13  Will Newton  <will.newton@linaro.org>
4644         * manual/setjmp.texi (System V contexts): Improve
4645         clarity and grammar of documentation.
4647 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4649         [BZ #16381]
4650         * elf/Makefile (tests): Add tst-pie2.
4651         (tests-pie): Add tst-pie2.
4652         * elf/tst-pie2.c: New file.
4653         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4654         for ET_EXEC.
4655         * elf/rtld.c (map_doit): Load executable as lt_executable.
4656         (dl_main): Likewise.
4658 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #16642]
4661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4662         (__ASSUME_PSELECT): Undefine.
4664 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4666         [BZ #16689]
4667         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4668         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4669         static build.
4670         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4671         selector for static builds.
4673 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4675         [BZ #16695]
4676         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4677         key in the buffer.
4679 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4681         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4682         IFUNC selector for static builds.
4684 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4686         * sysdeps/mips/math_private.h [__mips_hard_float]
4687         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4688         libc_feresetround_mips_ctx.
4689         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4690         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4691         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4693         [BZ #16677]
4694         * math/s_nextafter.c (__nextafter): Do not return value from
4695         overflowing computation.
4696         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4697         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4698         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4699         Likewise.
4700         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4701         Likewise.
4702         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4703         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4705 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4707         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4708         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4709         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4710         the new mov targetting sp.
4712 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4714         [BZ #16683]
4715         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4716         Define it for static builds as well.
4717         (NO_BZERO_IMPL): Likewise.
4719 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4721         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4722         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4723         multiarch strspn for PPC64.
4724         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4725         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4727         (__libc_ifunc_impl_list): Likewise.
4728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4729         multiarch optimizations
4730         * string/strspn.c (strspn): Using macro to redefine symbol name.
4732 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4733             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4735         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4736         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4737         multiarch strncat for PPC64.
4738         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4739         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4741         (__libc_ifunc_impl_list): Likewise.
4742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4743         multiarch optimizations
4745 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4747         [BZ #16639]
4748         * nscd/nscd.service: Make service type forking.
4750 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4752         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4753         sign in non default rounding modes.
4754         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4756 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4758         * math/libm-test.inc (ALL_RM_TEST): New macro.
4759         (ceil_test): Use ALL_RM_TEST.
4760         (cimag_test): Likewise.
4761         (conj_test): Likewise.
4762         (copysign_test): Likewise.
4763         (cproj_test): Likewise.
4764         (creal_test): Likewise.
4765         (fabs_test): Likewise.
4766         (floor_test): Likewise.
4767         (fmax_test): Likewise.
4768         (fmin_test): Likewise.
4769         (fmod_test): Likewise.
4770         (fpclassify_test): Likewise.
4771         (frexp_test): Likewise.
4772         (ilogb_test): Likewise.
4773         (isfinite_test): Likewise.
4774         (finite_test): Likewise.
4775         (isgreater_test): Likewise.
4776         (isgreaterequal_test): Likewise.
4777         (isinf_test): Likewise.
4778         (isless_test): Likewise.
4779         (islessequal_test): Likewise.
4780         (islessgreater_test): Likewise.
4781         (isnan_test): Likewise.
4782         (isnormal_test): Likewise.
4783         (issignaling_test): Likewise.
4784         (isunordered_test): Likewise.
4785         (logb_test): Likewise.
4786         (logb_downward_test_data): Remove.
4787         (logb_test_downward): Likewise.
4788         (lround_test): Use ALL_RM_TEST.
4789         (llround_test): Likewise.
4790         (modf_test): Likewise.
4791         (nexttoward_test): Likewise.
4792         (remainder_test): Likewise.
4793         (drem_test): Likewise.
4794         (remainder_tonearest_test_data): Likewise.
4795         (remainder_test_tonearest): Likewise.
4796         (drem_test_tonearest): Likewise.
4797         (remainder_towardzero_test_data): Likewise.
4798         (remainder_test_towardzero): Likewise.
4799         (drem_test_towardzero): Likewise.
4800         (remainder_downward_test_data): Likewise.
4801         (remainder_test_downward): Likewise.
4802         (drem_test_downward): Likewise.
4803         (remainder_upward_test_data): Likewise.
4804         (remainder_test_upward): Likewise.
4805         (drem_test_upward): Likewise.
4806         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4807         (round_test): Use ALL_RM_TEST.
4808         (signbit_test): Likewise.
4809         (trunc_test): Likewise.
4810         (significand_test): Likewise.
4811         (main): Don't call removed functions.
4813 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4815         [BZ #16674]
4816         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4817         || __USE_XOPEN2K8].
4818         (ILL_ILLOPN): Likewise.
4819         (ILL_ILLADR): Likewise.
4820         (ILL_ILLTRP): Likewise.
4821         (ILL_PRVOPC): Likewise.
4822         (ILL_PRVREG): Likewise.
4823         (ILL_COPROC): Likewise.
4824         (ILL_BADSTK): Likewise.
4825         (FPE_INTDIV): Likewise.
4826         (FPE_INTOVF): Likewise.
4827         (FPE_FLTDIV): Likewise.
4828         (FPE_FLTOVF): Likewise.
4829         (FPE_FLTUND): Likewise.
4830         (FPE_FLTRES): Likewise.
4831         (FPE_FLTINV): Likewise.
4832         (FPE_FLTSUB): Likewise.
4833         (SEGV_MAPERR): Likewise.
4834         (SEGV_ACCERR): Likewise.
4835         (BUS_ADRALN): Likewise.
4836         (BUS_ADRERR): Likewise.
4837         (BUS_OBJERR): Likewise.
4838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4839         (TRAP_TRACE): Likewise.
4840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4841         __USE_XOPEN2K8].
4842         (CLD_KILLED): Likewise.
4843         (CLD_DUMPED): Likewise.
4844         (CLD_TRAPPED): Likewise.
4845         (CLD_STOPPED): Likewise.
4846         (CLD_CONTINUED): Likewise.
4847         (POLL_IN): Likewise.
4848         (POLL_OUT): Likewise.
4849         (POLL_MSG): Likewise.
4850         (POLL_ERR): Likewise.
4851         (POLL_PRI): Likewise.
4852         (POLL_HUP): Likewise.
4853         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4854         Likewise.
4855         (ILL_ILLOPN): Likewise.
4856         (ILL_ILLADR): Likewise.
4857         (ILL_ILLTRP): Likewise.
4858         (ILL_PRVOPC): Likewise.
4859         (ILL_PRVREG): Likewise.
4860         (ILL_COPROC): Likewise.
4861         (ILL_BADSTK): Likewise.
4862         (FPE_INTDIV): Likewise.
4863         (FPE_INTOVF): Likewise.
4864         (FPE_FLTDIV): Likewise.
4865         (FPE_FLTOVF): Likewise.
4866         (FPE_FLTUND): Likewise.
4867         (FPE_FLTRES): Likewise.
4868         (FPE_FLTINV): Likewise.
4869         (FPE_FLTSUB): Likewise.
4870         (SEGV_MAPERR): Likewise.
4871         (SEGV_ACCERR): Likewise.
4872         (BUS_ADRALN): Likewise.
4873         (BUS_ADRERR): Likewise.
4874         (BUS_OBJERR): Likewise.
4875         (BUS_MCEERR_AR): Likewise.
4876         (BUS_MCEERR_AO): Likewise.
4877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4878         (TRAP_TRACE): Likewise.
4879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4880         __USE_XOPEN2K8].
4881         (CLD_KILLED): Likewise.
4882         (CLD_DUMPED): Likewise.
4883         (CLD_TRAPPED): Likewise.
4884         (CLD_STOPPED): Likewise.
4885         (CLD_CONTINUED): Likewise.
4886         (POLL_IN): Likewise.
4887         (POLL_OUT): Likewise.
4888         (POLL_MSG): Likewise.
4889         (POLL_ERR): Likewise.
4890         (POLL_PRI): Likewise.
4891         (POLL_HUP): Likewise.
4892         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4893         (ILL_ILLOPN): Likewise.
4894         (ILL_ILLADR): Likewise.
4895         (ILL_ILLTRP): Likewise.
4896         (ILL_PRVOPC): Likewise.
4897         (ILL_PRVREG): Likewise.
4898         (ILL_COPROC): Likewise.
4899         (ILL_BADSTK): Likewise.
4900         (FPE_INTDIV): Likewise.
4901         (FPE_INTOVF): Likewise.
4902         (FPE_FLTDIV): Likewise.
4903         (FPE_FLTOVF): Likewise.
4904         (FPE_FLTUND): Likewise.
4905         (FPE_FLTRES): Likewise.
4906         (FPE_FLTINV): Likewise.
4907         (FPE_FLTSUB): Likewise.
4908         (SEGV_MAPERR): Likewise.
4909         (SEGV_ACCERR): Likewise.
4910         (BUS_ADRALN): Likewise.
4911         (BUS_ADRERR): Likewise.
4912         (BUS_OBJERR): Likewise.
4913         (BUS_MCEERR_AR): Likewise.
4914         (BUS_MCEERR_AO): Likewise.
4915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4916         (TRAP_TRACE): Likewise.
4917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4918         __USE_XOPEN2K8].
4919         (CLD_KILLED): Likewise.
4920         (CLD_DUMPED): Likewise.
4921         (CLD_TRAPPED): Likewise.
4922         (CLD_STOPPED): Likewise.
4923         (CLD_CONTINUED): Likewise.
4924         (POLL_IN): Likewise.
4925         (POLL_OUT): Likewise.
4926         (POLL_MSG): Likewise.
4927         (POLL_ERR): Likewise.
4928         (POLL_PRI): Likewise.
4929         (POLL_HUP): Likewise.
4930         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4931         Likewise.
4932         (ILL_ILLOPN): Likewise.
4933         (ILL_ILLADR): Likewise.
4934         (ILL_ILLTRP): Likewise.
4935         (ILL_PRVOPC): Likewise.
4936         (ILL_PRVREG): Likewise.
4937         (ILL_COPROC): Likewise.
4938         (ILL_BADSTK): Likewise.
4939         (ILL_BADIADDR): Likewise.
4940         (ILL_BREAK): Likewise.
4941         (FPE_INTDIV): Likewise.
4942         (FPE_INTOVF): Likewise.
4943         (FPE_FLTDIV): Likewise.
4944         (FPE_FLTOVF): Likewise.
4945         (FPE_FLTUND): Likewise.
4946         (FPE_FLTRES): Likewise.
4947         (FPE_FLTINV): Likewise.
4948         (FPE_FLTSUB): Likewise.
4949         (FPE_DECOVF): Likewise.
4950         (FPE_DECDIV): Likewise.
4951         (FPE_DECERR): Likewise.
4952         (FPE_INVASC): Likewise.
4953         (FPE_INVDEC): Likewise.
4954         (SEGV_MAPERR): Likewise.
4955         (SEGV_ACCERR): Likewise.
4956         (SEGV_PSTKOVF): Likewise.
4957         (BUS_ADRALN): Likewise.
4958         (BUS_ADRERR): Likewise.
4959         (BUS_OBJERR): Likewise.
4960         (BUS_MCEERR_AR): Likewise.
4961         (BUS_MCEERR_AO): Likewise.
4962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4963         (TRAP_TRACE): Likewise.
4964         (TRAP_BRANCH): Likewise.
4965         (TRAP_HWBKPT): Likewise.
4966         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4967         __USE_XOPEN2K8].
4968         (CLD_KILLED): Likewise.
4969         (CLD_DUMPED): Likewise.
4970         (CLD_TRAPPED): Likewise.
4971         (CLD_STOPPED): Likewise.
4972         (CLD_CONTINUED): Likewise.
4973         (POLL_IN): Likewise.
4974         (POLL_OUT): Likewise.
4975         (POLL_MSG): Likewise.
4976         (POLL_ERR): Likewise.
4977         (POLL_PRI): Likewise.
4978         (POLL_HUP): Likewise.
4979         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4980         (ILL_ILLOPN): Likewise.
4981         (ILL_ILLADR): Likewise.
4982         (ILL_ILLTRP): Likewise.
4983         (ILL_PRVOPC): Likewise.
4984         (ILL_PRVREG): Likewise.
4985         (ILL_COPROC): Likewise.
4986         (ILL_BADSTK): Likewise.
4987         (FPE_INTDIV): Likewise.
4988         (FPE_INTOVF): Likewise.
4989         (FPE_FLTDIV): Likewise.
4990         (FPE_FLTOVF): Likewise.
4991         (FPE_FLTUND): Likewise.
4992         (FPE_FLTRES): Likewise.
4993         (FPE_FLTINV): Likewise.
4994         (FPE_FLTSUB): Likewise.
4995         (SEGV_MAPERR): Likewise.
4996         (SEGV_ACCERR): Likewise.
4997         (BUS_ADRALN): Likewise.
4998         (BUS_ADRERR): Likewise.
4999         (BUS_OBJERR): Likewise.
5000         (BUS_MCEERR_AR): Likewise.
5001         (BUS_MCEERR_AO): Likewise.
5002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5003         (TRAP_TRACE): Likewise.
5004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5005         __USE_XOPEN2K8].
5006         (CLD_KILLED): Likewise.
5007         (CLD_DUMPED): Likewise.
5008         (CLD_TRAPPED): Likewise.
5009         (CLD_STOPPED): Likewise.
5010         (CLD_CONTINUED): Likewise.
5011         (POLL_IN): Likewise.
5012         (POLL_OUT): Likewise.
5013         (POLL_MSG): Likewise.
5014         (POLL_ERR): Likewise.
5015         (POLL_PRI): Likewise.
5016         (POLL_HUP): Likewise.
5017         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5018         (ILL_ILLOPN): Likewise.
5019         (ILL_ILLADR): Likewise.
5020         (ILL_ILLTRP): Likewise.
5021         (ILL_PRVOPC): Likewise.
5022         (ILL_PRVREG): Likewise.
5023         (ILL_COPROC): Likewise.
5024         (ILL_BADSTK): Likewise.
5025         (FPE_INTDIV): Likewise.
5026         (FPE_INTOVF): Likewise.
5027         (FPE_FLTDIV): Likewise.
5028         (FPE_FLTOVF): Likewise.
5029         (FPE_FLTUND): Likewise.
5030         (FPE_FLTRES): Likewise.
5031         (FPE_FLTINV): Likewise.
5032         (FPE_FLTSUB): Likewise.
5033         (SEGV_MAPERR): Likewise.
5034         (SEGV_ACCERR): Likewise.
5035         (BUS_ADRALN): Likewise.
5036         (BUS_ADRERR): Likewise.
5037         (BUS_OBJERR): Likewise.
5038         (BUS_MCEERR_AR): Likewise.
5039         (BUS_MCEERR_AO): Likewise.
5040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5041         (TRAP_TRACE): Likewise.
5042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5043         __USE_XOPEN2K8].
5044         (CLD_KILLED): Likewise.
5045         (CLD_DUMPED): Likewise.
5046         (CLD_TRAPPED): Likewise.
5047         (CLD_STOPPED): Likewise.
5048         (CLD_CONTINUED): Likewise.
5049         (POLL_IN): Likewise.
5050         (POLL_OUT): Likewise.
5051         (POLL_MSG): Likewise.
5052         (POLL_ERR): Likewise.
5053         (POLL_PRI): Likewise.
5054         (POLL_HUP): Likewise.
5055         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5056         (ILL_ILLOPN): Likewise.
5057         (ILL_ILLADR): Likewise.
5058         (ILL_ILLTRP): Likewise.
5059         (ILL_PRVOPC): Likewise.
5060         (ILL_PRVREG): Likewise.
5061         (ILL_COPROC): Likewise.
5062         (ILL_BADSTK): Likewise.
5063         (FPE_INTDIV): Likewise.
5064         (FPE_INTOVF): Likewise.
5065         (FPE_FLTDIV): Likewise.
5066         (FPE_FLTOVF): Likewise.
5067         (FPE_FLTUND): Likewise.
5068         (FPE_FLTRES): Likewise.
5069         (FPE_FLTINV): Likewise.
5070         (FPE_FLTSUB): Likewise.
5071         (SEGV_MAPERR): Likewise.
5072         (SEGV_ACCERR): Likewise.
5073         (BUS_ADRALN): Likewise.
5074         (BUS_ADRERR): Likewise.
5075         (BUS_OBJERR): Likewise.
5076         (BUS_MCEERR_AR): Likewise.
5077         (BUS_MCEERR_AO): Likewise.
5078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5079         (TRAP_TRACE): Likewise.
5080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5081         __USE_XOPEN2K8].
5082         (CLD_KILLED): Likewise.
5083         (CLD_DUMPED): Likewise.
5084         (CLD_TRAPPED): Likewise.
5085         (CLD_STOPPED): Likewise.
5086         (CLD_CONTINUED): Likewise.
5087         (POLL_IN): Likewise.
5088         (POLL_OUT): Likewise.
5089         (POLL_MSG): Likewise.
5090         (POLL_ERR): Likewise.
5091         (POLL_PRI): Likewise.
5092         (POLL_HUP): Likewise.
5093         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5094         (ILL_ILLOPN): Likewise.
5095         (ILL_ILLADR): Likewise.
5096         (ILL_ILLTRP): Likewise.
5097         (ILL_PRVOPC): Likewise.
5098         (ILL_PRVREG): Likewise.
5099         (ILL_COPROC): Likewise.
5100         (ILL_BADSTK): Likewise.
5101         (ILL_DBLFLT): Likewise.
5102         (ILL_HARDWALL): Likewise.
5103         (FPE_INTDIV): Likewise.
5104         (FPE_INTOVF): Likewise.
5105         (FPE_FLTDIV): Likewise.
5106         (FPE_FLTOVF): Likewise.
5107         (FPE_FLTUND): Likewise.
5108         (FPE_FLTRES): Likewise.
5109         (FPE_FLTINV): Likewise.
5110         (FPE_FLTSUB): Likewise.
5111         (SEGV_MAPERR): Likewise.
5112         (SEGV_ACCERR): Likewise.
5113         (BUS_ADRALN): Likewise.
5114         (BUS_ADRERR): Likewise.
5115         (BUS_OBJERR): Likewise.
5116         (BUS_MCEERR_AR): Likewise.
5117         (BUS_MCEERR_AO): Likewise.
5118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5119         (TRAP_TRACE): Likewise.
5120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5121         __USE_XOPEN2K8].
5122         (CLD_KILLED): Likewise.
5123         (CLD_DUMPED): Likewise.
5124         (CLD_TRAPPED): Likewise.
5125         (CLD_STOPPED): Likewise.
5126         (CLD_CONTINUED): Likewise.
5127         (POLL_IN): Likewise.
5128         (POLL_OUT): Likewise.
5129         (POLL_MSG): Likewise.
5130         (POLL_ERR): Likewise.
5131         (POLL_PRI): Likewise.
5132         (POLL_HUP): Likewise.
5133         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5134         (ILL_ILLOPN): Likewise.
5135         (ILL_ILLADR): Likewise.
5136         (ILL_ILLTRP): Likewise.
5137         (ILL_PRVOPC): Likewise.
5138         (ILL_PRVREG): Likewise.
5139         (ILL_COPROC): Likewise.
5140         (ILL_BADSTK): Likewise.
5141         (FPE_INTDIV): Likewise.
5142         (FPE_INTOVF): Likewise.
5143         (FPE_FLTDIV): Likewise.
5144         (FPE_FLTOVF): Likewise.
5145         (FPE_FLTUND): Likewise.
5146         (FPE_FLTRES): Likewise.
5147         (FPE_FLTINV): Likewise.
5148         (FPE_FLTSUB): Likewise.
5149         (SEGV_MAPERR): Likewise.
5150         (SEGV_ACCERR): Likewise.
5151         (BUS_ADRALN): Likewise.
5152         (BUS_ADRERR): Likewise.
5153         (BUS_OBJERR): Likewise.
5154         (BUS_MCEERR_AR): Likewise.
5155         (BUS_MCEERR_AO): Likewise.
5156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5157         (TRAP_TRACE): Likewise.
5158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5159         __USE_XOPEN2K8].
5160         (CLD_KILLED): Likewise.
5161         (CLD_DUMPED): Likewise.
5162         (CLD_TRAPPED): Likewise.
5163         (CLD_STOPPED): Likewise.
5164         (CLD_CONTINUED): Likewise.
5165         (POLL_IN): Likewise.
5166         (POLL_OUT): Likewise.
5167         (POLL_MSG): Likewise.
5168         (POLL_ERR): Likewise.
5169         (POLL_PRI): Likewise.
5170         (POLL_HUP): Likewise.
5171         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5172         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5174         [BZ #16670]
5175         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5176         before #include of <time.h>.
5177         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5178         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5179         (test-xfail-UNIX98/sched.h/conform): Likewise.
5181 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5183         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5184         error absence of trapping exception support.
5185         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5187 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5189         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5190         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5191         * timezone/Makefile (testdata): Move definition above include of
5192         Rules.
5193         (test-zones): New variable.
5194         (tests-special): Add zone files.
5195         (build-testdata): Use $(evaluate-test).
5197         * elf/Makefile (tests-special): Rename tests to end with .out.
5198         ($(objpfx)noload-mem): Likewise.
5199         ($(objpfx)tst-leaks1-mem): Likewise.
5200         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5201         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5202         $(objpfx)test-iconvconfig.out.
5203         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5204         set -e inside subshell and redirect output to file.
5205         * iconvdata/Makefile (generated): Rename tests to end with .out.
5206         Correct type.
5207         (tests-special): Rename tests to end with .out.
5208         ($(objpfx)mtrace-tst-loading): Likewise.
5209         * intl/Makefile (generated): Likewise.
5210         (tests-special): Likewise.
5211         ($(objpfx)mtrace-tst-gettext): Likewise.
5212         * misc/Makefile (generated): Likewise.
5213         (tests-special): Likewise.
5214         ($(objpfx)tst-error1-mem): Likewise.
5215         * nptl/Makefile (tests-special): Likewise.
5216         ($(objpfx)tst-stack3-mem): Likewise.
5217         (generated): Likewise.
5218         * posix/Makefile (generated): Likewise.
5219         (tests-special): Likewise.
5220         (xtests-special): Likewise.
5221         ($(objpfx)tst-fnmatch-mem): Likewise.
5222         ($(objpfx)bug-regex2-mem): Likewise.
5223         ($(objpfx)bug-regex14-mem): Likewise.
5224         ($(objpfx)bug-regex21-mem): Likewise.
5225         ($(objpfx)bug-regex31-mem): Likewise.
5226         ($(objpfx)tst-vfork3-mem): Likewise.
5227         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5228         ($(objpfx)tst-pcre-mem): Likewise.
5229         ($(objpfx)tst-boost-mem): Likewise.
5230         ($(objpfx)bug-ga2-mem): Likewise.
5231         ($(objpfx)bug-glob2-mem): Likewise.
5232         * resolv/Makefile (generate): Likewise.
5233         (tests-special): Likewise.
5234         (xtests-special): Likewise.
5235         (generated): Likewise.
5236         ($(objpfx)mtrace-tst-leaks): Likewise.
5237         ($(objpfx)mtrace-tst-leaks2): Likewise.
5239         * scripts/merge-test-results.sh: New file.
5240         * Makefile (tests-special-notdir): New variable.
5241         (tests): Run merge-test-results.sh.
5242         (xtests): Likewise.
5243         * Rules (tests-special-notdir): New variable.
5244         (xtests-special-notdir): Likewise.
5245         (tests): Run merge-test-results.sh
5246         (xtests): Likewise.
5248         * Makeconfig (test-xfail-name): New variable.
5249         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5250         compute variable name for expected failures.
5251         * conform/Makefile (conformtest-headers-data): New variable.
5252         (conformtest-standards): Likewise.
5253         (conformtest-headers-ISO): Likewise.
5254         (conformtest-headers-ISO99): Likewise.
5255         (conformtest-headers-ISO11): Likewise.
5256         (conformtest-headers-POSIX): Likewise.
5257         (conformtest-headers-XPG3): Likewise.
5258         (conformtest-headers-XPG4): Likewise.
5259         (conformtest-headers-UNIX98): Likewise.
5260         (conformtest-headers-XOPEN2K): Likewise.
5261         (conformtest-headers-POSIX2008): Likewise.
5262         (conformtest-headers-XOPEN2K8): Likewise.
5263         (conformtest-header-list-base): Likewise.
5264         (conformtest-header-list-tests): Likewise.
5265         (conformtest-header-base): Likewise.
5266         (conformtest-header-tests): Likewise.
5267         (tests-special): Add $(conformtest-header-list-tests).  If
5268         [$(fast-check) && !$(cross-compiling)], add
5269         $(conformtest-header-tests) instead of
5270         $(objpfx)run-conformtest.out.
5271         (generated): Add $(conformtest-header-list-base).  If
5272         [$(fast-check) && !$(cross-compiling)], add
5273         $(conformtest-header-base).  Remove previous setting.
5274         ($(conformtest-header-list-tests)): New target.
5275         (test-xfail-run-conformtest): Remove variable.
5276         ($(objpfx)run-conformtest.out): Remove target.
5277         (test-xfail-ISO11/complex.h/conform): New variable.
5278         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5279         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5280         (test-xfail-XPG3/varargs.h/conform): Likewise.
5281         (test-xfail-XPG4/varargs.h/conform): Likewise.
5282         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5283         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5284         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5285         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5286         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5287         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5288         (test-xfail-XPG3/ftw.h/conform): Likewise.
5289         (test-xfail-XPG3/grp.h/conform): Likewise.
5290         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5291         (test-xfail-XPG3/limits.h/conform): Likewise.
5292         (test-xfail-XPG3/pwd.h/conform): Likewise.
5293         (test-xfail-XPG3/search.h/conform): Likewise.
5294         (test-xfail-XPG3/signal.h/conform): Likewise.
5295         (test-xfail-XPG3/stdio.h/conform): Likewise.
5296         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5297         (test-xfail-XPG3/string.h/conform): Likewise.
5298         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5299         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5300         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5301         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5302         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5303         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5304         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5305         (test-xfail-XPG3/termios.h/conform): Likewise.
5306         (test-xfail-XPG3/time.h/conform): Likewise.
5307         (test-xfail-XPG3/unistd.h/conform): Likewise.
5308         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5309         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5310         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5311         (test-xfail-XPG4/netdb.h/conform): Likewise.
5312         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5313         (test-xfail-XPG4/signal.h/conform): Likewise.
5314         (test-xfail-XPG4/stdio.h/conform): Likewise.
5315         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5316         (test-xfail-XPG4/stropts.h/conform): Likewise.
5317         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5318         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5319         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5320         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5321         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5322         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5323         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5324         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5325         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5326         (test-xfail-XPG4/termios.h/conform): Likewise.
5327         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5328         (test-xfail-XPG4/unistd.h/conform): Likewise.
5329         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5330         (test-xfail-POSIX/sched.h/conform): Likewise.
5331         (test-xfail-POSIX/signal.h/conform): Likewise.
5332         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5333         (test-xfail-POSIX/tar.h/conform): Likewise.
5334         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5335         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5336         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5337         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5338         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5339         (test-xfail-UNIX98/sched.h/conform): Likewise.
5340         (test-xfail-UNIX98/signal.h/conform): Likewise.
5341         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5342         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5343         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5344         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5345         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5346         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5347         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5348         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5349         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5350         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5351         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5352         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5353         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5354         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5355         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5356         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5357         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5358         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5359         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5360         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5361         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5362         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5363         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5364         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5365         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5366         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5367         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5368         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5369         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5370         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5371         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5372         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5373         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5374         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5375         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5376         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5377         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5378         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5379         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5380         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5381         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5382         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5383         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5384         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5385         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5386         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5387         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5388         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5389         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5390         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5391         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5392         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5393         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5394         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5395         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5396         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5397         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5398         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5399         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5400         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5401         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5402         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5403         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5404         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5405         (conformtest-cc-flags): Likewise.
5406         ($(conformtest-header-tests): New target.
5407         * conform/check-header-lists.sh: New file.
5408         * conform/run-conformtest.sh: Remove.
5410         * conform/conformtest.pl: Allow ' and \ in values given for
5411         constants.
5412         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5413         inclusion.
5414         [POSIX] (sys/types.h): Likewise.
5415         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5416         inclusion.
5417         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5418         inclusion.
5419         * conform/data/signal.h-data (SIGIO): Remove expectation.
5420         [XPG3] (SIGBUS): Do not expect.
5421         [POSIX || XPG3] (SIGPOLL): Likewise.
5422         [POSIX || XPG3] (SIGPROF): Likewise.
5423         [POSIX || XPG3] (SIGSYS): Likewise.
5424         [XPG3] (SIGTRAP): Likewise.
5425         [POSIX || XPG3] (SIGURG): Likewise.
5426         [POSIX || XPG3] (SIGVTALRM): Likewise.
5427         [POSIX || XPG3] (SIGXCPU): Likewise.
5428         [POSIX || XPG3] (SIGXFSZ): Likewise.
5429         [POSIX] (SA_SIGINFO): Expect.
5430         [XPG3] (siginfo_t): Do not expect type or contents.
5431         [POSIX] (si_pid): Do not expect element.
5432         [POSIX] (si_uid): Likewise.
5433         [POSIX] (si_addr): Likewise.
5434         [POSIX] (si_status): Likewise.
5435         [POSIX] (si_band): Likewise.
5436         [XPG4] (si_value): Likewise.
5437         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5438         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5439         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5440         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5441         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5442         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5443         [POSIX || XPG3] (ILL_COPROC): Likewise.
5444         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5445         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5446         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5447         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5448         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5449         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5450         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5451         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5452         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5453         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5454         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5455         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5456         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5457         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5458         [POSIX || XPG3] (CLD_EXITED): Likewise.
5459         [POSIX || XPG3] (CLD_KILLED): Likewise.
5460         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5461         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5462         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5463         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5464         [POSIX || XPG3] (POLL_IN): Likewise.
5465         [POSIX || XPG3] (POLL_OUT): Likewise.
5466         [POSIX || XPG3] (POLL_MSG): Likewise.
5467         [POSIX || XPG3] (POLL_ERR): Likewise.
5468         [POSIX || XPG3] (POLL_PRI): Likewise.
5469         [POSIX || XPG3] (POLL_HUP): Likewise.
5470         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5471         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5472         (SIG*): Do not allow.
5473         [XPG3] (si_*): Likewise.
5474         [XPG3] (SI_*): Likewise.
5475         [XPG3 || XPG4] (sigev_*): Likewise.
5476         [XPG3 || XPG4] (SIGEV_*): Likewise.
5477         [XPG3 || XPG4] (sival_*): Likewise.
5478         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5479         [POSIX || XPG3] (BUS_*): Likewise.
5480         [POSIX || XPG3] (CLD_*): Likewise.
5481         [POSIX || XPG3] (FPE_*): Likewise.
5482         [POSIX || XPG3] (ILL_*): Likewise.
5483         [POSIX || XPG3] (POLL_*): Likewise.
5484         [POSIX || XPG3] (SEGV_*): Likewise.
5485         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5486         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5487         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5488         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5489         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5490         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5491         Specify type and value.
5492         (TVERSLEN): Likewise.
5493         (REGTYPE): Likewise.
5494         (AREGTYPE): Likewise.
5495         (LNKTYPE): Likewise.
5496         (SYMTYPE): Likewise.
5497         (CHRTYPE): Likewise.
5498         (BLKTYPE): Likewise.
5499         (DIRTYPE): Likewise.
5500         (FIFOTYPE): Likewise.
5501         (CONTTYPE): Likewise.
5502         (TSUID): Likewise.
5503         (TSGID): Likewise.
5504         (TSVTX): Likewise.
5505         (TUREAD): Likewise.
5506         (TUWRITE): Likewise.
5507         (TUEXEC): Likewise.
5508         (TGREAD): Likewise.
5509         (TGWRITE): Likewise.
5510         (TGEXEC): Likewise.
5511         (TOREAD): Likewise.
5512         (TOWRITE): Likewise.
5513         (TOEXEC): Likewise.
5514         [POSIX] (TSVTX): Expect constant.
5516 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5518         * Makefile (tests): Change dependencies to ....
5519         (tests-special): ... additions to this variable.
5520         (tests): Depend on $(tests-special).
5521         * Makerules (check-abi-list): New variable.
5522         (check-abi): Depend on $(check-abi-list).
5523         [$(subdir) = elf] (tests-special): Add
5524         $(objpfx)check-abi-libc.out.
5525         [$(build-shared) = yes && subdir] (tests-special): Add
5526         $(check-abi-list).
5527         [$(build-shared) = yes && subdir] (tests): Do not depend on
5528         check-abi.
5529         * Rules (tests): Depend on $(tests-special).
5530         (xtests): Depend on $(xtests-special).
5531         * catgets/Makefile (tests): Change dependencies to ....
5532         (tests-special): ... additions to this variable.
5533         * conform/Makefile (tests): Change dependencies to ....
5534         (tests-special): ... additions to this variable.
5535         * elf/Makefile (tests): Change dependencies to ....
5536         (tests-special): ... additions to this variable.
5537         * grp/Makefile (tests): Change dependencies to ....
5538         (tests-special): ... additions to this variable.
5539         * iconv/Makefile (xtests): Change dependencies to ....
5540         (xtests-special): ... additions to this variable.
5541         * iconvdata/Makefile (tests): Change dependencies to ....
5542         (tests-special): ... additions to this variable.
5543         * intl/Makefile (tests): Change dependencies to ....
5544         (tests-special): ... additions to this variable.  Also add
5545         $(objpfx)tst-gettext.out.
5546         * io/Makefile (tests): Change dependencies to ....
5547         (tests-special): ... additions to this variable.
5548         * libio/Makefile (tests): Change dependencies to ....
5549         (tests-special): ... additions to this variable.
5550         * malloc/Makefile (tests): Change dependencies to ....
5551         (tests-special): ... additions to this variable.
5552         * misc/Makefile (tests): Change dependencies to ....
5553         (tests-special): ... additions to this variable.
5554         * nptl/Makefile (tests): Change dependencies to ....
5555         (tests-special): ... additions to this variable.
5556         * nptl_db/Makefile (tests): Change dependencies to ....
5557         (tests-special): ... additions to this variable.
5558         * posix/Makefile (tests): Change dependencies to ....
5559         (tests-special): ... additions to this variable.
5560         (xtests): Change dependencies to ....
5561         (xtests-special): ... additions to this variable.
5562         * resolv/Makefile (tests): Change dependencies to ....
5563         (tests-special): ... additions to this variable.
5564         (xtests): Change dependencies to ....
5565         (xtests-special): ... additions to this variable.
5566         * stdio-common/Makefile (tests): Change dependencies to ....
5567         (tests-special): ... additions to this variable.
5568         (do-tst-unbputc): Remove target.
5569         (do-tst-printf): Likewise.
5570         * stdlib/Makefile (tests): Change dependencies to ....
5571         (tests-special): ... additions to this variable.
5572         * string/Makefile (tests): Change dependencies to ....
5573         (tests-special): ... additions to this variable.
5574         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5575         (tests-special): ... additions to this variable.
5577         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5578         whole file.
5579         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5580         whole file.
5581         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5582         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5584         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5585         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5586         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5587         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5588         * conform/data/libgen.h-data [XPG3]: Likewise.
5589         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5590         * conform/data/ndbm.h-data [XPG3]: Likewise.
5591         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5592         * conform/data/netdb.h-data [XPG3]: Likewise.
5593         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5594         * conform/data/poll.h-data [XPG3]: Likewise.
5595         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5596         * conform/data/strings.h-data [XPG3]: Likewise.
5597         * conform/data/stropts.h-data [XPG3]: Likewise.
5598         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5599         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5600         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5601         Likewise.
5602         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5603         * conform/data/sys/time.h-data [XPG3]: Likewise.
5604         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5605         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5606         * conform/data/sys/un.h-data [XPG3]: Likewise.
5607         * conform/data/syslog.h-data [XPG3]: Likewise.
5608         * conform/data/ucontext.h-data [XPG3]: Likewise.
5609         * conform/data/utmpx.h-data [XPG3]: Likewise.
5610         * conform/data/varargs.h-data [UNIX98]: Enable file.
5612         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5614         * math/libm-test.inc (struct test_f_f_data): Move expected results
5615         into structure for each rounding mode.
5616         (struct test_ff_f_data): Likewise.
5617         (struct test_ff_f_data_nexttoward): Likewise.
5618         (struct test_fi_f_data): Likewise.
5619         (struct test_fl_f_data): Likewise.
5620         (struct test_if_f_data): Likewise.
5621         (struct test_fff_f_data): Likewise.
5622         (struct test_c_f_data): Likewise.
5623         (struct test_f_f1_data): Likewise.
5624         (struct test_fF_f1_data): Likewise.
5625         (struct test_ffI_f1_data): Likewise.
5626         (struct test_c_c_data): Likewise.
5627         (struct test_cc_c_data): Likewise.
5628         (struct test_f_i_data): Likewise.
5629         (struct test_ff_i_data): Likewise.
5630         (struct test_f_l_data): Likewise.
5631         (struct test_f_L_data): Likewise.
5632         (struct test_fFF_11_data): Likewise.
5633         (RM_): New macro.
5634         (RM_FE_DOWNWARD): Likewise.
5635         (RM_FE_TONEAREST): Likewise.
5636         (RM_FE_TOWARDZERO): Likewise.
5637         (RM_FE_UPWARD): Likewise.
5638         (RUN_TEST_LOOP_f_f): Update references to expected results.
5639         (RUN_TEST_LOOP_2_f): Likewise.
5640         (RUN_TEST_LOOP_fff_f): Likewise.
5641         (RUN_TEST_LOOP_c_f): Likewise.
5642         (RUN_TEST_LOOP_f_f1): Likewise.
5643         (RUN_TEST_LOOP_fF_f1): Likewise.
5644         (RUN_TEST_LOOP_fI_f1): Likewise.
5645         (RUN_TEST_LOOP_ffI_f1): Likewise.
5646         (RUN_TEST_LOOP_c_c): Likewise.
5647         (RUN_TEST_LOOP_cc_c): Likewise.
5648         (RUN_TEST_LOOP_f_i): Likewise.
5649         (RUN_TEST_LOOP_f_i_tg): Likewise.
5650         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5651         (RUN_TEST_LOOP_f_b): Likewise.
5652         (RUN_TEST_LOOP_f_b_tg): Likewise.
5653         (RUN_TEST_LOOP_f_l): Likewise.
5654         (RUN_TEST_LOOP_f_L): Likewise.
5655         (RUN_TEST_LOOP_fFF_11): Likewise.
5656         * math/gen-libm-test.pl (parse_args): Output four copies of
5657         expected results for each test.
5659         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5660         (__ASSUME_UTIMES): Remove.
5661         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5662         (__ASSUME_UTIMES): Likewise.
5664         * math/gen-auto-libm-tests.c: Update comment on output format.
5665         (output_for_one_input_case): Generate before-rounding and
5666         after-rounding information as conditions on output flags not
5667         floating-point format.
5668         * math/auto-libm-test-out: Regenerated.
5669         * math/gen-libm-test.pl (cond_value): New function.
5670         (or_cond_value): Use cond_value.
5671         (generate_testfile): Handle conditional exceptions.
5673 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5675         * math/libm-test.inc (max_valid_error): New variable.
5676         (init_max_error): Take new argument specifying whether function
5677         results are exactly determined.  Set max_valid_error and bound
5678         other variables for errors based on this argument.
5679         (set_max_error): Do not record results above max_valid_error.
5680         (check_float_internal): Only accept errors of up to 0.5ulps if
5681         also at most max_valid_error.
5682         (START): Take new argument EXACT and pass it to init_max_error.
5683         (acos_test): Update call to START.
5684         (acos_test_tonearest): Likewise.
5685         (acos_test_towardzero): Likewise.
5686         (acos_test_downward): Likewise.
5687         (acos_test_upward): Likewise.
5688         (acosh_test): Likewise.
5689         (asin_test): Likewise.
5690         (asin_test_tonearest): Likewise.
5691         (asin_test_towardzero): Likewise.
5692         (asin_test_downward): Likewise.
5693         (asin_test_upward): Likewise.
5694         (asinh_test): Likewise.
5695         (atan_test): Likewise.
5696         (atanh_test): Likewise.
5697         (atan2_test): Likewise.
5698         (cabs_test): Likewise.
5699         (cacos_test): Likewise.
5700         (cacosh_test): Likewise.
5701         (carg_test): Likewise.
5702         (casin_test): Likewise.
5703         (casinh_test): Likewise.
5704         (catan_test): Likewise.
5705         (catanh_test): Likewise.
5706         (cbrt_test): Likewise.
5707         (ccos_test): Likewise.
5708         (ccosh_test): Likewise.
5709         (ceil_test): Likewise.
5710         (cexp_test): Likewise.
5711         (cimag_test): Likewise.
5712         (clog_test): Likewise.
5713         (clog10_test): Likewise.
5714         (conj_test): Likewise.
5715         (copysign_test): Likewise.
5716         (cos_test): Likewise.
5717         (cos_test_tonearest): Likewise.
5718         (cos_test_towardzero): Likewise.
5719         (cos_test_downward): Likewise.
5720         (cos_test_upward): Likewise.
5721         (cosh_test): Likewise.
5722         (cosh_test_tonearest): Likewise.
5723         (cosh_test_towardzero): Likewise.
5724         (cosh_test_downward): Likewise.
5725         (cosh_test_upward): Likewise.
5726         (cpow_test): Likewise.
5727         (cproj_test): Likewise.
5728         (creal_test): Likewise.
5729         (csin_test): Likewise.
5730         (csinh_test): Likewise.
5731         (csqrt_test): Likewise.
5732         (ctan_test): Likewise.
5733         (ctan_test_tonearest): Likewise.
5734         (ctan_test_towardzero): Likewise.
5735         (ctan_test_downward): Likewise.
5736         (ctan_test_upward): Likewise.
5737         (ctanh_test): Likewise.
5738         (ctanh_test_tonearest): Likewise.
5739         (ctanh_test_towardzero): Likewise.
5740         (ctanh_test_downward): Likewise.
5741         (ctanh_test_upward): Likewise.
5742         (erf_test): Likewise.
5743         (erfc_test): Likewise.
5744         (exp_test): Likewise.
5745         (exp_test_tonearest): Likewise.
5746         (exp_test_towardzero): Likewise.
5747         (exp_test_downward): Likewise.
5748         (exp_test_upward): Likewise.
5749         (exp10_test): Likewise.
5750         (exp10_test_tonearest): Likewise.
5751         (exp10_test_towardzero): Likewise.
5752         (exp10_test_downward): Likewise.
5753         (exp10_test_upward): Likewise.
5754         (pow10_test): Likewise.
5755         (exp2_test): Likewise.
5756         (expm1_test): Likewise.
5757         (expm1_test_tonearest): Likewise.
5758         (expm1_test_towardzero): Likewise.
5759         (expm1_test_downward): Likewise.
5760         (expm1_test_upward): Likewise.
5761         (fabs_test): Likewise.
5762         (fdim_test): Likewise.
5763         (floor_test): Likewise.
5764         (fma_test): Likewise.
5765         (fma_test_towardzero): Likewise.
5766         (fma_test_downward): Likewise.
5767         (fma_test_upward): Likewise.
5768         (fmax_test): Likewise.
5769         (fmin_test): Likewise.
5770         (fmod_test): Likewise.
5771         (fpclassify_test): Likewise.
5772         (frexp_test): Likewise.
5773         (hypot_test): Likewise.
5774         (ilogb_test): Likewise.
5775         (isfinite_test): Likewise.
5776         (finite_test): Likewise.
5777         (isgreater_test): Likewise.
5778         (isgreaterequal_test): Likewise.
5779         (isinf_test): Likewise.
5780         (isless_test): Likewise.
5781         (islessequal_test): Likewise.
5782         (islessgreater_test): Likewise.
5783         (isnan_test): Likewise.
5784         (isnormal_test): Likewise.
5785         (issignaling_test): Likewise.
5786         (isunordered_test): Likewise.
5787         (j0_test): Likewise.
5788         (j1_test): Likewise.
5789         (jn_test): Likewise.
5790         (ldexp_test): Likewise.
5791         (lgamma_test): Likewise.
5792         (gamma_test): Likewise.
5793         (lrint_test): Likewise.
5794         (lrint_test_tonearest): Likewise.
5795         (lrint_test_towardzero): Likewise.
5796         (lrint_test_downward): Likewise.
5797         (lrint_test_upward): Likewise.
5798         (llrint_test): Likewise.
5799         (llrint_test_tonearest): Likewise.
5800         (llrint_test_towardzero): Likewise.
5801         (llrint_test_downward): Likewise.
5802         (llrint_test_upward): Likewise.
5803         (log_test): Likewise.
5804         (log10_test): Likewise.
5805         (log1p_test): Likewise.
5806         (log2_test): Likewise.
5807         (logb_test): Likewise.
5808         (logb_test_downward): Likewise.
5809         (lround_test): Likewise.
5810         (llround_test): Likewise.
5811         (modf_test): Likewise.
5812         (nearbyint_test): Likewise.
5813         (nextafter_test): Likewise.
5814         (nexttoward_test): Likewise.
5815         (pow_test): Likewise.
5816         (pow_test_tonearest): Likewise.
5817         (pow_test_towardzero): Likewise.
5818         (pow_test_downward): Likewise.
5819         (pow_test_upward): Likewise.
5820         (remainder_test): Likewise.
5821         (drem_test): Likewise.
5822         (remainder_test_tonearest): Likewise.
5823         (drem_test_tonearest): Likewise.
5824         (remainder_test_towardzero): Likewise.
5825         (drem_test_towardzero): Likewise.
5826         (remainder_test_downward): Likewise.
5827         (drem_test_downward): Likewise.
5828         (remainder_test_upward): Likewise.
5829         (drem_test_upward): Likewise.
5830         (remquo_test): Likewise.
5831         (rint_test): Likewise.
5832         (rint_test_tonearest): Likewise.
5833         (rint_test_towardzero): Likewise.
5834         (rint_test_downward): Likewise.
5835         (rint_test_upward): Likewise.
5836         (round_test): Likewise.
5837         (scalb_test): Likewise.
5838         (scalbn_test): Likewise.
5839         (scalbln_test): Likewise.
5840         (signbit_test): Likewise.
5841         (sin_test): Likewise.
5842         (sin_test_tonearest): Likewise.
5843         (sin_test_towardzero): Likewise.
5844         (sin_test_downward): Likewise.
5845         (sin_test_upward): Likewise.
5846         (sincos_test): Likewise.
5847         (sinh_test): Likewise.
5848         (sinh_test_tonearest): Likewise.
5849         (sinh_test_towardzero): Likewise.
5850         (sinh_test_downward): Likewise.
5851         (sinh_test_upward): Likewise.
5852         (sqrt_test): Likewise.
5853         (sqrt_test_tonearest): Likewise.
5854         (sqrt_test_towardzero): Likewise.
5855         (sqrt_test_downward): Likewise.
5856         (sqrt_test_upward): Likewise.
5857         (tan_test): Likewise.
5858         (tan_test_tonearest): Likewise.
5859         (tan_test_towardzero): Likewise.
5860         (tan_test_downward): Likewise.
5861         (tan_test_upward): Likewise.
5862         (tanh_test): Likewise.
5863         (tgamma_test): Likewise.
5864         (trunc_test): Likewise.
5865         (y0_test): Likewise.
5866         (y1_test): Likewise.
5867         (yn_test): Likewise.
5868         (significand_test): Likewise.
5870         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5871         individual tests in comment.
5872         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5873         (prev_max_error): New variable.
5874         (prev_real_max_error): Likewise.
5875         (prev_imag_max_error): Likewise.
5876         (compare_ulp_data): Don't refer to test names in comment.
5877         (find_test_ulps): Remove function.
5878         (find_function_ulps): Likewise.
5879         (find_complex_function_ulps): Likewise.
5880         (init_max_error): Take function name as argument.  Look up ulps
5881         for that function.
5882         (print_ulps): Remove function.
5883         (print_max_error): Use prev_max_error instead of calling
5884         find_function_ulps.
5885         (print_complex_max_error): Use prev_real_max_error and
5886         prev_imag_max_error instead of calling find_complex_function_ulps.
5887         (check_float_internal): Take max_ulp parameter instead of calling
5888         find_test_ulps.  Don't call print_ulps.
5889         (check_float): Update call to check_float_internal.
5890         (check_complex): Update calls to check_float_internal.
5891         (START): Pass argument to init_max_error.
5892         * math/gen-libm-test.pl (%results): Don't include "kind"
5893         information.
5894         (parse_ulps): Don't handle ulps of individual tests.
5895         (print_ulps_file): Likewise.
5896         (output_ulps): Likewise.
5897         * math/README.libm-test: Update.
5898         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5899         individual tests.
5900         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5901         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5902         * sysdeps/arm/libm-test-ulps: Likewise.
5903         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5904         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5905         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5906         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5907         * sysdeps/microblaze/libm-test-ulps: Likewise.
5908         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5909         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5910         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5911         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5912         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5913         * sysdeps/sh/libm-test-ulps: Likewise.
5914         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5915         * sysdeps/tile/libm-test-ulps: Likewise.
5916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5918 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5920         * math/libm-test.inc (print_complex_max_error): Check separately
5921         whether real and imaginary errors are within allowed range and
5922         pass 0 to print_complex_function_ulps instead of value within
5923         allowed range.
5925 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5927         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5928         formatting.
5929         (get_handles_fopen): Likewise.
5930         (do_write_test): Likewise.
5932         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5934         * libio/fileops.c (do_ftell): Use cached offset when
5935         available.
5936         * libio/iofwide.c (do_ftell_wide): Likewise.
5937         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5938         _IO_file_attach.
5939         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5941         [BZ #16532]
5942         * libio/libioP.h (get_file_offset): New function.
5943         * libio/fileops.c (get_file_offset): Likewise.
5944         (do_ftell): Likewise.
5945         (_IO_new_file_seekoff): Split out ftell logic.
5946         * libio/wfileops.c (do_ftell_wide): Likewise.
5947         (_IO_wfile_seekoff): Split out ftell logic.
5948         * libio/tst-ftell-active-handler.c: New test case.
5949         * libio/Makefile (tests): Add it.
5951 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5953         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5954         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5956 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5958         [BZ #16639]
5959         * nscd/connections.c (nscd_init): Call do_exit.
5960         (start_threads): Call do_exit and notify_parent.
5961         (begin_drop_privileges): Call do_exit.
5962         (finish_drop_privileges): Likewise.
5963         * nscd/selinux.c (preserve_capabilities): Likewise.
5964         (install_real_capabilities): Likewise.
5965         (nscd_selinux_enabled): Likewise.
5966         (avc_create_thread): Likewise.
5967         (avc_alloc_lock): Likewise.
5968         (nscd_avc_init): Likewise.
5969         * nscd/nscd.c (parent_fd): New static variable.
5970         (main): Create a pipe between parent and child processes.
5971         Skip closing parent_fd.
5972         (monitor_child): New function.
5973         (do_exit): Likewise.
5974         (notify_parent): Likewise.
5975         * nscd/nscd.h (notify_parent): Likewise.
5976         (do_exit): Likewise.
5978 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5980         * malloc/malloc.c (__libc_calloc): Revert last change.
5982 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5986 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5988         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5990         implementation.
5991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5992         (__libc_ifunc_impl_list): Likewise.
5993         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5994         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5995         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5996         * string/strrchr.c: Define STRRCHR.
5998 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6000         * benchtest/bench-strtok.c (simple_strtok): Delete.
6001         (strtok_string): Use as benchmark.
6002         * string/strtok (STRTOK): New macro.
6004 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6006         * manual/threads.texi: Add header and standard comments to all
6007         functions.
6009         * elf/dl-lookup.c (check_match): New function.
6010         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6011         (do_lookup_x): Remove nested function check_match. Use non-nested
6012         function check_match.
6014 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6016         * csu/Makefile (generated, before-compile): Use += rather than =.
6017         * catgets/Makefile (generated, generated-dirs): Likewise.
6018         * debug/Makefile (generated): Likewise.
6019         * dlfcn/Makefile (generated): Likewise.
6020         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6021         * iconvdata/Makefile (before-compile, generated): Likewise.
6022         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6023         * libio/Makefile (generated): Likewise.
6024         * malloc/Makefile (generated): Likewise.
6025         * manual/Makefile (generated, generated-dirs): Likewise.
6026         * misc/Makefile (generated): Likewise.
6027         * posix/Makefile (generated): Likewise.
6028         * resolv/Makefile (generated): Likewise.
6029         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6030         * timezone/Makefile (generated, generated-dirs): Likewise.
6032         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6034 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6037         power8 implementation.
6038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6039         file: POWER8 llround ifunc implementation.
6040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6041         (__lllround): Add POWER8 implementation.
6042         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6043         POWER8 llround implementation.
6045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6046         power8 implementation.
6047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6048         file: POWER8 llrint ifunc implementation.
6049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6050         Add POWER8 implementation.
6051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6052         POWER8 llrint implementation.
6054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6055         power8 implementation.
6056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6057         file: POWER8 finite ifunc implementation.
6058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6059         Add POWER8 implementation.
6060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6061         Likewise.
6062         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6063         POWER8 finite implementation.
6064         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6067         power8 implementation.
6068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6069         file: POWER8 isinf ifunc implementation.
6070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6071         POWER8 implementation.
6072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6073         Likewise.
6074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6075         isinf implementation.
6076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6078         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6079         (INIT_ARCH): Add hwcap2 initialization.
6080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6081         power8 implementation.
6082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6083         file: POWER8 isnan ifunc implementation.
6084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6085         POWER8 implementation.
6086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6087         Likewise.
6088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6089         isnan implementation.
6090         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6092 2014-02-27  Joey Ye  <joey.ye@arm.com>
6094         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6095         (_FP_NANFRAC_Q): Set to zero.
6097 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6099         [BZ #16623]
6100         * math/auto-libm-test-in: New test inputs.
6101         * math/auto-libm-test-out: Regenerate.
6102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6103         and DA.
6104         (__cos): Likewise.
6105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6107 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6109         * scripts/evaluate-test.sh: Take new argument indicating whether
6110         failure is expected.
6111         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6112         indicating whether failure is expected.
6113         * conform/Makefile (test-xfail-run-conformtest): New variable.
6114         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6115         level.
6116         * posix/Makefile (test-xfail-annexc): New variable.
6117         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6119 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6121         * argp/Makefile: Include Makeconfig immediately after defining
6122         subdir.
6123         * assert/Makefile: Likewise.
6124         * benchtests/Makefile: Likewise.
6125         * catgets/Makefile: Likewise.
6126         * conform/Makefile: Likewise.
6127         * crypt/Makefile: Likewise.
6128         * csu/Makefile: Likewise.
6129         (all): Remove target.
6130         * ctype/Makefile: Include Makeconfig immediately after defining
6131         subdir.
6132         * debug/Makefile: Likewise.
6133         * dirent/Makefile: Likewise.
6134         * dlfcn/Makefile: Likewise.
6135         * gmon/Makefile: Likewise.
6136         * gnulib/Makefile: Likewise.
6137         * grp/Makefile: Likewise.
6138         * gshadow/Makefile: Likewise.
6139         * hesiod/Makefile: Likewise.
6140         * hurd/Makefile: Likewise.
6141         (all): Remove target.
6142         * iconvdata/Makefile: Include Makeconfig immediately after
6143         defining subdir.
6144         * inet/Makefile: Likewise.
6145         * intl/Makefile: Likewise.
6146         * io/Makefile: Likewise.
6147         * libio/Makefile: Likewise.
6148         (all): Remove target.
6149         * locale/Makefile: Include Makeconfig immediately after defining
6150         subdir.
6151         * login/Makefile: Likewise.
6152         * mach/Makefile: Likewise.
6153         (all): Remove target.
6154         * malloc/Makefile: Include Makeconfig immediately after defining
6155         subdir.
6156         (all): Remove target.
6157         * manual/Makefile: Include Makeconfig immediately after defining
6158         subdir.
6159         * math/Makefile: Likewise.
6160         * misc/Makefile: Likewise.
6161         * nis/Makefile: Likewise.
6162         * nss/Makefile: Likewise.
6163         * po/Makefile: Likewise.
6164         (all): Remove target.
6165         * posix/Makefile: Include Makeconfig immediately after defining
6166         subdir.
6167         * pwd/Makefile: Likewise.
6168         * resolv/Makefile: Likewise.
6169         * resource/Makefile: Likewise.
6170         * rt/Makefile: Likewise.
6171         * setjmp/Makefile: Likewise.
6172         * shadow/Makefile: Likewise.
6173         * signal/Makefile: Likewise.
6174         * socket/Makefile: Likewise.
6175         * soft-fp/Makefile: Likewise.
6176         * stdio-common/Makefile: Likewise.
6177         * stdlib/Makefile: Likewise.
6178         * streams/Makefile: Likewise.
6179         * string/Makefile: Likewise.
6180         * sunrpc/Makefile: Likewise.
6181         (all): Remove target.
6182         * sysvipc/Makefile: Include Makeconfig immediately after defining
6183         subdir.
6184         * termios/Makefile: Likewise.
6185         * time/Makefile: Likewise.
6186         * timezone/Makefile: Likewise.
6187         (all): Remove target.
6188         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6189         subdir.
6190         * wctype/Makefile: Likewise.
6192 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6194         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6195         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6196         (libc_feholdexcept_setround_mips): Ditto.
6197         (libc_feholdsetround): New.
6198         (libc_feholdsetroundf): New.
6199         (libc_feholdsetroundl): New.
6200         (libc_feupdateenv_test_mips): New.
6201         (libc_feupdateenv_test): New.
6202         (libc_feupdateenv_testf): New.
6203         (libc_feupdateenv_testl): New.
6204         (libc_feresetround): New.
6205         (libc_feresetroundf): New.
6206         (libc_feresetroundl): New.
6207         (libc_fetestexcept_mips): New.
6208         (libc_fetestexcept): New.
6209         (libc_fetestexceptf): New.
6210         (libc_fetestexceptl): New.
6211         (HAVE_RM_CTX): New.
6212         (libc_feholdexcept_setround_mips_ctx): New.
6213         (libc_feholdexcept_setround_ctx): New.
6214         (libc_feholdexcept_setroundf_ctx): New.
6215         (libc_feholdexcept_setroundl_ctx): New.
6216         (libc_fesetenv_mips_ctx): New.
6217         (libc_fesetenv_ctx): New.
6218         (libc_fesetenv_ctxf): New.
6219         (libc_fesetenv_ctxl): New.
6220         (libc_feupdateenv_mips_ctx): New.
6221         (libc_feupdateenv_ctx): New.
6222         (libc_feupdateenvf_ctx): New.
6223         (libc_feupdateenvl_ctx): New.
6224         (libc_feholdsetround_mips_ctx): New.
6225         (libc_feholdsetround_ctx): New.
6226         (libc_feholdsetroundf_ctx): New.
6227         (libc_feholdsetroundl_ctx): New.
6228         (libc_feresetround_mips_ctx): New.
6229         (libc_feresetround_ctx): New.
6230         (libc_feresetroundf_ctx): New.
6231         (libc_feresetroundl_ctx): New.
6233 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6235         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6237         * manual/ipc.texi: New file.
6238         * manual/Makefile (chapters): Add ipc.
6239         * manual/job.texi: Add "Inter-Process Communication" to next.
6240         * manual/process.texi: Add "Inter-Process Communication" to prev.
6242 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6246 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6248         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6250         * manual/arith.texi: Fix spaces after sentences.
6251         * manual/charset.texi: Likewise.
6252         * manual/errno.texi: Likewise.
6253         * manual/install.texi: Likewise.
6254         * manual/llio.texi: Likewise.
6255         * manual/locale.texi: Likewise.
6256         * manual/maint.texi: Likewise.
6257         * manual/math.texi: Likewise.
6258         * manual/memory.texi: Likewise.
6259         * manual/message.texi: Likewise.
6260         * manual/probes.texi: Likewise.
6261         * manual/resource.texi: Likewise.
6262         * manual/signal.texi: Likewise.
6263         * manual/socket.texi: Likewise.
6264         * manual/stdio.texi: Likewise.
6265         * manual/string.texi: Likewise.
6266         * manual/time.texi: Likewise.
6267         * manual/users.texi: Likewise.
6269 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6271         [BZ #16632]
6272         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6273         _DEFAULT_SOURCE is defined.
6275 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6276             Carlos O'Donell  <carlos@redhat.com>
6278         [BZ #16613]
6279         * elf/dl-tls.c (_dl_count_modids): New function.
6280         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6281         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6282         audit library and increment generation counter.
6283         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6284         * elf/tst-audit9.c: New file.
6285         * elf/tst-auditmod9a.c: New file.
6286         * elf/tst-auditmod9b.c: New file.
6287         * elf/Makefile: Add rules to build and run tst-audit9.
6289 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6291         [BZ #15347]
6292         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6294 2014-02-25  Will Newton  <will.newton@linaro.org>
6296         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6297         (__longjmp): Restore sp and lr before restoring callee
6298         saved registers.  Add longjmp and longjmp_target
6299         SystemTap probe point.
6300         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6301         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6302         Define to zero to match jmpbuf layout.
6303         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6304         (__sigsetjmp): Save sp and lr before saving callee
6305         saved registers.  Add setjmp SystemTap probe point.
6307 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6309         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6311 2014-02-24  Andreas Schwab  <schwab@suse.de>
6313         [BZ #15804]
6314         * elf/pldd.c (wait_for_ptrace_stop): New function.
6315         (main): Call it after attaching.
6317 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6319         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6320         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6321         Versions files is now verboten.
6322         * hurd/Versions (libc: GLIBC_2.0):
6323         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6324         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6325         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6326         * mach/Versions: Likewise.
6328         * csu/Versions: Remove unused %include.
6329         * resolv/Versions: Likewise.
6331 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6333         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6334         ($(objpfx)check-local-headers.out): Likewise.
6335         ($(objpfx)begin-end-check.out): Likewise.
6336         * Makerules (check-abi-%.out): Likewise.
6337         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6338         ($(objpfx)test2.cat): Likewise.
6339         ($(objpfx)de/libc.cat): Likewise.
6340         ($(objpfx)test-gencat.out): Likewise.
6341         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6342         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6343         ($(objpfx)noload-mem): Likewise.
6344         ($(objpfx)tst-pathopt.out): Likewise.
6345         ($(objpfx)tst-rtld-load-self.out): Likewise.
6346         ($(objpfx)tst-array1-cmp.out): Likewise.
6347         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6348         ($(objpfx)tst-array2-cmp.out): Likewise.
6349         ($(objpfx)tst-array3-cmp.out): Likewise.
6350         ($(objpfx)tst-array4-cmp.out): Likewise.
6351         ($(objpfx)tst-array5-cmp.out): Likewise.
6352         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6353         ($(objpfx)check-textrel.out): Likewise.
6354         ($(objpfx)check-execstack.out): Likewise.
6355         ($(objpfx)check-localplt.out): Likewise.
6356         ($(objpfx)order2-cmp.out): Likewise.
6357         ($(objpfx)tst-leaks1-mem): Likewise.
6358         ($(objpfx)tst-leaks1-static-mem): Likewise.
6359         ($(objpfx)tst-initorder-cmp.out): Likewise.
6360         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6361         ($(objpfx)tst-unused-dep.out): Likewise.
6362         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6363         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6364         * iconv/Makefile (test-iconvconfig): Likewise.
6365         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6366         ($(objpfx)iconv-test.out): Likewise.
6367         ($(objpfx)tst-tables.out): Likewise.
6368         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6369         ($(objpfx)tst-gettext.out): Likewise.
6370         ($(objpfx)tst-translit.out): Likewise.
6371         ($(objpfx)tst-gettext2.out): Likewise.
6372         ($(objpfx)tst-gettext4.out): Likewise.
6373         ($(objpfx)tst-gettext6.out): Likewise.
6374         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6375         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6376         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6377         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6378         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6379         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6380         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6381         ($(objpfx)wordexp-tst.out): Likewise.
6382         ($(objpfx)annexc.out): Likewise.
6383         ($(objpfx)tst-fnmatch-mem): Likewise.
6384         ($(objpfx)bug-regex2-mem): Likewise.
6385         ($(objpfx)bug-regex14-mem): Likewise.
6386         ($(objpfx)bug-regex21-mem): Likewise.
6387         ($(objpfx)bug-regex31-mem): Likewise.
6388         ($(objpfx)tst-vfork3-mem): Likewise.
6389         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6390         ($(objpfx)tst-pcre-mem): Likewise.
6391         ($(objpfx)tst-boost-mem): Likewise.
6392         ($(objpfx)tst-getconf.out): Likewise.
6393         ($(objpfx)bug-ga2-mem): Likewise.
6394         ($(objpfx)bug-glob2-mem): Likewise.
6395         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6396         ($(objpfx)mtrace-tst-leaks2): Likewise.
6397         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6398         ($(objpfx)tst-printf.out): Likewise.
6399         ($(objpfx)tst-setvbuf1.out): Likewise.
6400         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6401         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6402         ($(objpfx)tst-fmtmsg.out): Likewise.
6403         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6404         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6406         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6407         * bits/sigaction.h [__USE_MISC]: Likewise.
6408         * bits/waitstatus.h: Update #endif comments.
6409         * ctype/ctype.h: Likewise.
6410         * dirent/dirent.h: Likewise.
6411         [__USE_MISC]: Remove redundant conditionals.
6412         * grp/grp.h: Update #endif comments.
6413         [__USE_GNU]: Remove redundant conditionals.
6414         [__USE_MISC]: Likewise.
6415         * inet/netinet/in.h [__USE_GNU]: Likewise.
6416         * io/sys/stat.h [__USE_MISC]: Likewise.
6417         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6418         * libio/bits/stdio.h: Update #endif comments.
6419         [__USE_MISC]: Remove redundant conditionals.
6420         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6421         * libio/stdio.h: Update #endif comments.
6422         [__USE_MISC]: Remove redundant conditionals.
6423         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6424         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6425         * math/math.h: Update #else and #endif comments.
6426         [__USE_MISC]: Remove redundant conditionals.
6427         * misc/sys/uio.h: Update #endif comments.
6428         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6429         * posix/glob.h [__USE_MISC]: Likewise.
6430         * posix/sys/types.h: Update #endif comments.
6431         [__USE_MISC]: Remove redundant conditionals.
6432         * posix/sys/wait.h: Update #endif comments.
6433         [__USE_MISC]: Remove redundant conditionals.
6434         * posix/unistd.h: Update #endif comments.
6435         [__USE_MISC]: Remove redundant conditionals.
6436         * pwd/pwd.h [__USE_GNU]: Likewise.
6437         [__USE_MISC]: Likewise.
6438         * resolv/netdb.h [__USE_GNU]: Likewise.
6439         * signal/signal.h: Update #endif comments.
6440         [__USE_MISC]: Remove redundant conditionals.
6441         * stdlib/stdlib.h: Update #else and #endif comments.
6442         [__USE_MISC]: Remove redundant conditionals.
6443         [__USE_GNU]: Likewise.
6444         * string/bits/string2.h [__USE_MISC]: Likewise.
6445         * string/string.h: Update #endif comments.
6446         [__USE_MISC]: Remove redundant conditionals.
6447         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6448         Likewise.
6449         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6450         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6451         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6452         Likewise.
6453         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6454         Likewise.
6455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6456         comments.
6457         [__USE_MISC]: Remove redundant conditionals.
6458         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6459         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6460         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6461         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6462         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6465         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6466         Likewise.
6467         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6468         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6469         Likewise.
6470         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6471         Likewise.
6472         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6473         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6474         Likewise.
6475         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6476         Likewise.
6477         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6478         * sysdeps/x86/bits/string.h: Update #endif comments.
6479         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6480         conditionals.
6481         * time/sys/time.h: Update #endif comments.
6482         * time/time.h: Likewise.
6483         [__USE_MISC]: Remove redundant conditionals.
6485 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6487         [BZ #16600]
6488         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6490 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6492         * Versions.def (librt): Add GLIBC_2.17.
6494 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6496         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6497         synonym for _SYS_AUXV_H to allow direct inclusion.
6498         * sysdeps/sparc/bits/hwcap.h: Likewise.
6499         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6500         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6501         * sysdeps/sparc/sysdep.h: Likewise.
6503 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6505         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6507 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6509         * benchtests/bench-strrchr.c: Print length instead of position.
6511 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6513         [BZ #16611]
6514         * sysdeps/unix/sysv/linux/kernel-features.h
6515         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6516         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6517         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6518         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6519         Likewise.
6520         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6521         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6522         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6523         (__ASSUME_SENDMMSG): Define instead of using previous
6524         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6525         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6526         (__ASSUME_SENDMMSG_SYSCALL): Define.
6527         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6528         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6529         Likewise.
6530         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6532         Likewise.
6533         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6534         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6537         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6538         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6539         [__ASSUME_SENDMMSG]: Change conditionals to
6540         [__ASSUME_SENDMMSG_SOCKETCALL].
6541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6542         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6543         Define.
6544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6545         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6546         Likewise.
6547         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6548         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6549         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6550         [!__ASSUME_SENDMMSG]: Change conditional to
6551         [!__ASSUME_SENDMMSG_SOCKETCALL].
6552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6554         Define.
6556         [BZ #16610]
6557         * sysdeps/unix/sysv/linux/kernel-features.h
6558         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6559         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6560         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6561         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6562         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6563         [__i386__ || __sparc__]
6564         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6565         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6566         (__ASSUME_RECVMMSG): Define instead of using previous
6567         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6568         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6569         (__ASSUME_RECVMMSG_SYSCALL): Define.
6570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6572         Likewise.
6573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6575         Likewise.
6576         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6577         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6578         Likewise.
6579         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6580         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6581         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6582         [__ASSUME_RECVMMSG]: Change condition to
6583         [__ASSUME_RECVMMSG_SOCKETCALL].
6584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6586         Define.
6587         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6588         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6589         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6590         Likewise.
6591         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6592         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6593         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6594         [!__ASSUME_RECVMMSG]: Change condition to
6595         [!__ASSUME_RECVMMSG_SOCKETCALL].
6596         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6597         (__ASSUME_RECVMMSG_SYSCALL): Define.
6599         [BZ #16609]
6600         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6601         __powerpc__ || __s390__ || __sh__ || __sparc__]
6602         (__ASSUME_SOCKETCALL): Define.
6603         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6604         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6605         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6606         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6607         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6608         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6609         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6610         (__ASSUME_ACCEPT4): Define instead of using previous
6611         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6612         __powerpc__ || __sparc__ || __s390__)] condition.
6613         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6614         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6615         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6616         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6617         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6618         [!__ASSUME_ACCEPT4]: Change condition to
6619         [!__ASSUME_ACCEPT4_SOCKETCALL].
6620         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6621         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6622         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6624         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6625         __ASSUME_ACCEPT4_SYSCALL.
6626         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6627         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6628         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6629         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6630         __ASSUME_ACCEPT4_SYSCALL.
6631         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6632         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6633         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6634         [__ASSUME_ACCEPT4]: Change condition to
6635         [__ASSUME_ACCEPT4_SOCKETCALL].
6636         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6637         (__ASSUME_SOCKETCALL): Define.
6638         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6639         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6640         (__ASSUME_SOCKETCALL): Define.
6641         (__ASSUME_ACCEPT4): Remove.
6642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6643         Define.
6644         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6645         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6646         Likewise.
6647         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6648         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6650         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6651         macro.
6652         (HWCAP_ARM_LPAE): Likewise.
6653         (HWCAP_ARM_EVTSTRM): Likewise.
6654         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6655         Add vpfd32, lpae and evtstrm.
6656         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6657         Increase to 22.
6659 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6661         * math/auto-libm-test-in: Add tests of clog10.
6662         * math/auto-libm-test-out: Regenerated.
6663         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6664         * sysdeps/i386/fpu/libm-test-ulps: Update.
6665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6667 2014-02-18  Andreas Schwab  <schwab@suse.de>
6669         [BZ #16574]
6670         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6671         Store non-zero if the second buffer was newly allocated.
6672         (send_dg): Likewise.
6673         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6674         to send_vc and send_dg.
6675         (res_nsend): Pass NULL for ansp2_malloced.
6676         * resolv/res_query.c (__libc_res_nquery): Add parameter
6677         answerp2_malloced and pass it down to __libc_res_nsend.
6678         (res_nquery): Pass additional NULL to __libc_res_nquery.
6679         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6680         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6681         second answer buffer if answerp2_malloced was set.
6682         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6683         (__libc_res_nquerydomain): Add parameter
6684         answerp2_malloced and pass it down to __libc_res_nquery.
6685         (res_nquerydomain): Pass additional NULL to
6686         __libc_res_nquerydomain.
6687         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6688         additional NULL to __libc_res_nsend and __libc_res_nquery.
6689         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6690         additional NULL to __libc_res_nsearch.
6691         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6692         parameter of __libc_res_nsearch to check for separately allocated
6693         second buffer.
6694         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6695         __libc_res_nquery.
6696         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6697         additional NULL to __libc_res_nquery.
6698         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6699         __libc_res_nsearch.
6700         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6701         * include/resolv.h: Update prototypes of __libc_res_nquery,
6702         __libc_res_nsearch, __libc_res_nsend.
6704 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6706         * math/auto-libm-test-in: Add tests of fma.
6707         * math/auto-libm-test-out: Regenerated.
6708         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6709         (fma_towardzero_test_data): Likewise.
6710         (fma_downward_test_data): Likewise.
6711         (fma_upward_test_data): Likewise.
6712         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6713         mpc_mode.
6714         (rounding_modes): Add values for new field.
6715         (func_calc_method): Add value mpfr_fff_f.
6716         (func_calc_desc): Add mpfr_fff_f union field.
6717         (test_function): Add field exact_args.
6718         (FUNC): Add macro argument EXACT_ARGS.
6719         (FUNC_mpfr_f_f): Update call to FUNC.
6720         (FUNC_mpfr_f_f): Likewise.
6721         (FUNC_mpfr_ff_f): Likewise.
6722         (FUNC_mpfr_if_f): Likewise.
6723         (FUNC_mpc_c_f): Likewise.
6724         (FUNC_mpc_c_c): Likewise.
6725         (test_functions): Add fma.  Update calls to FUNC.
6726         (handle_input_arg): Add argument exact_args.
6727         (add_test): Update call to handle_input_arg.
6728         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6729         (output_for_one_input_case): Update call to calc_generic_results.
6730         Recalculate exact zero results in each rounding mode.
6732         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6733         non-negative before setting low bit.
6734         * math/auto-libm-test-in: Mark one asin test possibly having
6735         spurious underflow.
6736         * math/auto-libm-test-out: Regenerated.
6737         * sysdeps/i386/fpu/libm-test-ulps: Update.
6738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6742         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6743         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6744         ports/sysdeps/unix/sysv/linux/microblaze.
6745         * README: Add missing listing for microblaze*-*-linux-gnu.
6747 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6749         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6750         * sysdeps/unix/sysv/linux/ia64: Move directory from
6751         ports/sysdeps/unix/sysv/linux/ia64.
6752         * README: Update listing for ia64-*-linux-gnu.
6754 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6755             Joseph Myers  <joseph@codesourcery.com>
6757         * Makeconfig (test-name): New variable.
6758         (evaluate-test): Likewise.
6759         * Makerules (do-test-clean): Remove .test-result files.
6760         (common-mostlyclean): Likewise.
6761         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6762         * scripts/evaluate-test.sh: New file.
6764 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6766         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6767         separate $(objpfx)tst-fopenloc-cmp.out and
6768         $(objpfx)tst-fopenloc-mem.out targets.
6769         (tests): Update dependencies.
6770         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6771         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6772         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6773         (tst-rxspencer-no-utf8-ARGS): New variable.
6774         (tst-rxspencer-no-utf8-ENV): Likewise.
6775         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6776         instead of $(objpfx)tst-rxspencer-mem.
6777         ($(objpfx)tst-rxspencer-mem): Change target to
6778         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6779         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6780         * posix/tst-rxspencer-no-utf8.c: New file.
6782         * elf/Makefile ($(objpfx)order.out): Remove rule.
6783         [$(run-built-tests) = yes] (tests): Depend on
6784         $(objpfx)order-cmp.out.
6785         ($(objpfx)order-cmp.out): New rule.
6786         [$(run-built-tests) = yes] (tests): Depend on
6787         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6788         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6789         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6790         $(objpfx)tst-array5-static-cmp.out.
6791         ($(objpfx)tst-array1.out): Remove rule.
6792         ($(objpfx)tst-array1-cmp.out): New rule.
6793         ($(objpfx)tst-array1-static.out): Remove rule.
6794         ($(objpfx)tst-array1-static-cmp.out): New rule.
6795         ($(objpfx)tst-array2.out): Remove rule.
6796         ($(objpfx)tst-array2-cmp.out): New rule.
6797         ($(objpfx)tst-array3.out): Remove rule.
6798         ($(objpfx)tst-array3-cmp.out): New rule.
6799         ($(objpfx)tst-array4.out): Remove rule.
6800         ($(objpfx)tst-array4-cmp.out): New rule.
6801         ($(objpfx)tst-array5.out): Remove rule.
6802         ($(objpfx)tst-array5-cmp.out): New rule.
6803         ($(objpfx)tst-array5-static.out): Remove rule.
6804         ($(objpfx)tst-array5-static-cmp.out): New rule.
6805         [$(run-built-tests) = yes] (tests): Depend on
6806         $(objpfx)order2-cmp.out.
6807         ($(objpfx)order2.out): Remove rule.
6808         ($(objpfx)order2-cmp.out): New rule.
6809         ($(objpfx)tst-initorder.out): Remove rule.
6810         [$(run-built-tests) = yes] (tests): Depend on
6811         $(objpfx)tst-initorder-cmp.out.
6812         ($(objpfx)tst-initorder-cmp.out): New rule.
6813         ($(objpfx)tst-initorder2.out): Remove rule.
6814         [$(run-built-tests) = yes] (tests): Depend on
6815         $(objpfx)tst-initorder2-cmp.out.
6816         ($(objpfx)tst-initorder2-cmp.out): New rule.
6817         [$(run-built-tests) = yes] (tests): Depend on
6818         $(objpfx)tst-unused-dep-cmp.out.
6819         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6820         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6821         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6822         on $(objpfx)tst-setvbuf1-cmp.out.
6823         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6824         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6825         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6826         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6827         ($(objpfx)tst-svc.out): Remove rule.
6828         ($(objpfx)tst-svc-cmp.out): New rule.
6830 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6832         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6833         * ctype/ctype.h [__USE_MISC]: Likewise.
6834         * dirent/dirent.h [__USE_MISC]: Likewise.
6835         * grp/grp.h [__USE_MISC]: Likewise.
6836         * io/fcntl.h [__USE_MISC]: Likewise.
6837         * io/sys/stat.h [__USE_MISC]: Likewise.
6838         * libio/stdio.h [__USE_MISC]: Likewise.
6839         * posix/unistd.h [__USE_MISC]: Likewise.
6840         * pwd/pwd.h [__USE_MISC]: Likewise.
6841         * stdlib.h [__USE_MISC]: Likewise.
6842         * string/bits/string2.h [__USE_MISC]: Likewise.
6843         * string/string.h [__USE_MISC]: Likewise.
6844         * time/time.h [__USE_MISC]: Likewise.
6846 2014-02-13  Andreas Schwab  <schwab@suse.de>
6848         [BZ #16574]
6849         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6850         second answer buffer if it was separately allocated.
6852 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6854         * sysdeps/mips/math-tests.h: Include <features.h>.
6855         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6856         (ROUNDING_TESTS_long_double): Do not define.
6857         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6858         (EXCEPTION_TESTS_long_double): Likewise.
6859         * sysdeps/mips/mips64/libm-test-ulps: Update.
6861         * include/features.h (__USE_BSD): Remove macro definitions.
6862         (__USE_SVID): Likewise.
6863         (_BSD_SOURCE): Likewise.
6864         (_SVID_SOURCE): Likewise.
6865         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6866         from definition of _DEFAULT_SOURCE.
6867         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6868         [_DEFAULT_SOURCE].
6869         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6870         * bits/mman.h [__USE_BSD]: Likewise.
6871         * bits/termios.h [__USE_BSD]: Likewise.
6872         * bits/waitstatus.h [__USE_BSD]: Likewise.
6873         * ctype/ctype.h [__USE_SVID]: Likewise.
6874         * dirent/dirent.h [__USE_BSD]: Likewise.
6875         * grp/grp.h [__USE_SVID]: Likewise.
6876         [__USE_BSD]: Likewise.
6877         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6878         * io/fcntl.h [__USE_BSD]: Likewise.
6879         * io/ftw.h [__USE_BSD]: Likewise.
6880         * io/sys/stat.h [__USE_BSD]: Likewise.
6881         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6882         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6883         * libio/stdio.h [__USE_SVID]: Likewise.
6884         [__USE_BSD]: Likewise.
6885         * math/math.h [__USE_SVID]: Likewise.
6886         [__USE_BSD]: Likewise.
6887         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6888         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6889         * misc/search.h [__USE_SVID]: Likewise.
6890         * misc/sys/mman.h [__USE_BSD]: Likewise.
6891         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6892         * misc/sys/uio.h [__USE_BSD]: Likewise.
6893         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6894         * posix/glob.h [__USE_BSD]: Likewise.
6895         * posix/regex.h [__USE_BSD]: Likewise.
6896         * posix/sys/types.h [__USE_BSD]: Likewise.
6897         [__USE_SVID]: Likewise.
6898         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6899         * posix/sys/wait.h [__USE_BSD]: Likewise.
6900         [__USE_SVID]: Likewise.
6901         * posix/unistd.h [__USE_BSD]: Likewise.
6902         [__USE_SVID]: Likewise.
6903         * pwd/pwd.h [__USE_SVID]: Likewise.
6904         * resolv/netdb.h [__USE_BSD]: Likewise.
6905         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6906         * signal/signal.h [__USE_BSD]: Likewise.
6907         [__USE_SVID]: Likewise.
6908         * socket/sys/socket.h [__USE_BSD]: Likewise.
6909         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6910         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6911         [__USE_SVID]: Likewise.
6912         * string/bits/string2.h [__USE_BSD]: Likewise.
6913         [__USE_SVID]: Likewise.
6914         * string/bits/string3.h [__USE_BSD]: Likewise.
6915         * string/endian.h [__USE_BSD]: Likewise.
6916         * string/string.h [__USE_SVID]: Likewise.
6917         [__USE_BSD]: Likewise.
6918         * string/strings.h [__USE_BSD]: Likewise.
6919         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6920         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6921         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6922         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6923         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6924         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6925         Likewise.
6926         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6927         Likewise.
6928         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6929         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6930         Likewise.
6931         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6932         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6933         Likewise.
6934         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6935         Likewise.
6936         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6937         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6938         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6939         Likewise.
6940         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6941         Likewise.
6942         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6943         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6944         * termios/termios.h [__USE_BSD]: Likewise.
6945         * time/sys/time.h [__USE_BSD]: Likewise.
6946         * time/time.h [__USE_BSD]: Likewise.
6947         [__USE_SVID]: Likewise.
6949         * Makefile (subdir_targets): Remove subdir_lint.out.
6951         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6952         (do-tst-printf): Likewise.
6953         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6954         $(objpfx)tst-printf.out.
6956         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6958         * Makerules (check-abi-%): Change target to
6959         $(objpfx)check-abi-%.out.
6960         (check-abi target): Update dependencies.
6961         (check-abi-pattern variable): Redirect output of diff to $@.
6962         (check-abi variable): Likewise.
6963         * elf/Makefile (check-abi): Update dependencies.
6965         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6966         unused.
6967         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6968         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6969         subnormal range.
6970         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6971         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6972         value has largest subnormal exponent.
6973         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6974         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6975         * sysdeps/aarch64/soft-fp/sfp-machine.h
6976         (_FP_TININESS_AFTER_ROUNDING): New macro.
6977         * sysdeps/alpha/soft-fp/sfp-machine.h
6978         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6979         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6980         Likewise.
6981         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6982         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6983         * sysdeps/mips/soft-fp/sfp-machine.h
6984         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6985         * sysdeps/powerpc/soft-fp/sfp-machine.h
6986         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6987         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6988         Likewise.
6989         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6990         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6991         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6992         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6993         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6994         Likewise.
6996 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6998         [BZ #16545]
6999         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7000         model 1.
7002 2014-02-12  Richard Henderson  <rth@redhat.com>
7004         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7005         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7006         * sysdeps/unix/sysv/linux/alpha: Move directory from
7007         ports/sysdeps/unix/sysv/linux/alpha.
7008         * README: Update listing for alpha-*-linux-gnu.
7010 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7012         * include/features.h: Update comment documenting feature test
7013         macros.
7014         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7015         _DEFAULT_SOURCE.
7016         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7017         (_SVID_SOURCE): Likewise.
7018         (_DEFAULT_SOURCE): Update description of default features.
7019         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7020         with _GNU_SOURCE.
7021         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7022         (S_ISVTX): Likewise.
7023         * manual/math.texi (Mathematical Constants): Likewise.
7024         * manual/signal.texi (Interrupted Primitives): Likewise.
7025         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7026         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7027         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7028         Don't refer to _SVID_SOURCE in warning text.
7030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7032         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7033         already defined.
7034         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7035         * sysdeps/mips/dl-lookup.c: Remove.
7036         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7038 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7040         [BZ #16447]
7041         * math/auto-libm-test-in: Add testcase for expl.
7042         * math/auto-libm-test-out: Regenerate.
7043         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7044         calculation of unsafe.
7045         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7047 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7049         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7050         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7051         ports/sysdeps/unix/sysv/linux/aarch64.
7052         * README: Update listing for aarch64*-*-linux-gnu.
7054 2014-02-11  Will Newton  <will.newton@linaro.org>
7056         * manual/probes.texi (Mathematical Function Probes): Use
7057         "triggered" instead of "hit".
7059         * manual/probes.texi (Internal Probes): Add documentation
7060         of setjmp, longjmp and longjmp_target probes.
7062         * include/stap-probe.h: Add comment about probe argument
7063         format.
7065         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7066         definition.  (tr_where, tr_freehook, tr_mallochook,
7067         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7069 2014-02-11  David S. Miller  <davem@davemloft.net>
7071         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7072         processing int_tests.
7074 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7076         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7077         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7078         * sysdeps/unix/sysv/linux/mips: Move directory from
7079         ports/sysdeps/unix/sysv/linux/mips.
7080         * README: Update listing for mips-*-linux-gnu and
7081         mips64-*-linux-gnu.
7083 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7085         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7086         * sysdeps/unix/sysv/linux/m68k: Move directory from
7087         ports/sysdeps/unix/sysv/linux/m68k.
7088         * README: Update listing for m68k-*-linux-gnu.
7090 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7092         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7093         * sysdeps/unix/sysv/linux/generic: Move directory from
7094         ports/sysdeps/unix/sysv/linux/generic.
7095         * sysdeps/unix/sysv/linux/tile: Move directory from
7096         ports/sysdeps/unix/sysv/linux/tile.
7097         * README: Update listing for tile*-*-linux-gnu.
7099 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7101         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7102         __builtin_expect.
7103         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7104         * catgets/open_catalog.c (__open_catalog): Likewise.
7105         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7106         * debug/confstr_chk.c: Likewise.
7107         * debug/fread_chk.c (__fread_chk): Likewise.
7108         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7109         * debug/getgroups_chk.c: Likewise.
7110         * debug/mbsnrtowcs_chk.c: Likewise.
7111         * debug/mbsrtowcs_chk.c: Likewise.
7112         * debug/mbstowcs_chk.c: Likewise.
7113         * debug/memcpy_chk.c: Likewise.
7114         * debug/memmove_chk.c: Likewise.
7115         * debug/mempcpy_chk.c: Likewise.
7116         * debug/memset_chk.c: Likewise.
7117         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7118         * debug/strcat_chk.c (__strcat_chk): Likewise.
7119         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7120         * debug/strncat_chk.c (__strncat_chk): Likewise.
7121         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7122         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7123         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7124         * debug/wcpncpy_chk.c: Likewise.
7125         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7126         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7127         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7128         * debug/wcsncpy_chk.c: Likewise.
7129         * debug/wcsnrtombs_chk.c: Likewise.
7130         * debug/wcsrtombs_chk.c: Likewise.
7131         * debug/wcstombs_chk.c: Likewise.
7132         * debug/wmemcpy_chk.c: Likewise.
7133         * debug/wmemmove_chk.c: Likewise.
7134         * debug/wmempcpy_chk.c: Likewise.
7135         * debug/wmemset_chk.c: Likewise.
7136         * dirent/scandirat.c (SCANDIRAT): Likewise.
7137         * dlfcn/dladdr1.c (dladdr1): Likewise.
7138         * dlfcn/dladdr.c (dladdr): Likewise.
7139         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7140         * dlfcn/dlerror.c (__dlerror): Likewise.
7141         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7142         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7143         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7144         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7145         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7146         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7147         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7148         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7149         Likewise.
7150         * elf/dl-conflict.c: Likewise.
7151         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7152         * elf/dl-dst.h: Likewise.
7153         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7154         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7155         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7156         * elf/dl-init.c (call_init, _dl_init): Likewise.
7157         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7158         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7159         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7160         Likewise.
7161         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7162         Likewise.
7163         * elf/dl-minimal.c (__libc_memalign): Likewise.
7164         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7165         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7166         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7167         * elf/dl-sym.c (do_sym): Likewise.
7168         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7169         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7170         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7171         * elf/dl-writev.h (_dl_writev): Likewise.
7172         * elf/ldconfig.c (search_dir): Likewise.
7173         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7174         (dl_main): Likewise.
7175         * elf/setup-vdso.h (setup_vdso): Likewise.
7176         * grp/compat-initgroups.c (compat_call): Likewise.
7177         * grp/fgetgrent.c (fgetgrent): Likewise.
7178         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7179         * grp/putgrent.c (putgrent): Likewise.
7180         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7181         Likewise.
7182         * hurd/hurdinit.c: Likewise.
7183         * iconvdata/8bit-gap.c (struct): Likewise.
7184         * iconvdata/ansi_x3.110.c : Likewise.
7185         * iconvdata/big5.c : Likewise.
7186         * iconvdata/big5hkscs.c : Likewise.
7187         * iconvdata/cp1255.c: Likewise.
7188         * iconvdata/cp1258.c : Likewise.
7189         * iconvdata/cp932.c : Likewise.
7190         * iconvdata/euc-cn.c: Likewise.
7191         * iconvdata/euc-jisx0213.c : Likewise.
7192         * iconvdata/euc-jp.c: Likewise.
7193         * iconvdata/euc-jp-ms.c : Likewise.
7194         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7195         * iconvdata/gb18030.c : Likewise.
7196         * iconvdata/gbbig5.c (const): Likewise.
7197         * iconvdata/gbgbk.c: Likewise.
7198         * iconvdata/gbk.c : Likewise.
7199         * iconvdata/ibm1364.c : Likewise.
7200         * iconvdata/ibm930.c : Likewise.
7201         * iconvdata/ibm932.c: Likewise.
7202         * iconvdata/ibm933.c : Likewise.
7203         * iconvdata/ibm935.c : Likewise.
7204         * iconvdata/ibm937.c : Likewise.
7205         * iconvdata/ibm939.c : Likewise.
7206         * iconvdata/ibm943.c: Likewise.
7207         * iconvdata/iso_11548-1.c: Likewise.
7208         * iconvdata/iso-2022-cn.c : Likewise.
7209         * iconvdata/iso-2022-cn-ext.c : Likewise.
7210         * iconvdata/iso-2022-jp-3.c: Likewise.
7211         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7212         * iconvdata/iso-2022-kr.c : Likewise.
7213         * iconvdata/iso646.c (gconv_end): Likewise.
7214         * iconvdata/iso_6937-2.c : Likewise.
7215         * iconvdata/iso_6937.c : Likewise.
7216         * iconvdata/iso8859-1.c: Likewise.
7217         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7218         * iconvdata/shift_jisx0213.c : Likewise.
7219         * iconvdata/sjis.c : Likewise.
7220         * iconvdata/t.61.c : Likewise.
7221         * iconvdata/tcvn5712-1.c : Likewise.
7222         * iconvdata/tscii.c: Likewise.
7223         * iconvdata/uhc.c : Likewise.
7224         * iconvdata/unicode.c (gconv_end): Likewise.
7225         * iconvdata/utf-16.c (gconv_end): Likewise.
7226         * iconvdata/utf-32.c (gconv_end): Likewise.
7227         * iconvdata/utf-7.c (base64): Likewise.
7228         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7229         * iconv/gconv_close.c (__gconv_close): Likewise.
7230         * iconv/gconv_open.c (__gconv_open): Likewise.
7231         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7232         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7233         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7234         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7235         (ucs4le_internal_loop_single): Likewise.
7236         * iconv/iconv.c (iconv): Likewise.
7237         * iconv/iconv_close.c: Likewise.
7238         * iconv/loop.c (SINGLE): Likewise.
7239         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7240         * include/atomic.h: Likewise.
7241         * inet/inet6_option.c (option_alloc): Likewise.
7242         * intl/bindtextdom.c (set_binding_values): Likewise.
7243         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7244         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7245         * intl/localealias.c (read_alias_file): Likewise.
7246         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7247         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7248         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7249         * libio/fmemopen.c (fmemopen): Likewise.
7250         * libio/iofgets.c (_IO_fgets): Likewise.
7251         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7252         * libio/iofgetws.c (fgetws): Likewise.
7253         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7254         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7255         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7256         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7257         * locale/findlocale.c (_nl_find_locale): Likewise.
7258         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7259         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7260         Likewise.
7261         * locale/setlocale.c (setlocale): Likewise.
7262         * login/programs/pt_chown.c (main): Likewise.
7263         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7264         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7265         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7266         (mmap, mmap64, mremap, munmap): Likewise.
7267         * math/e_exp2l.c: Likewise.
7268         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7269         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7270         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7271         * math/s_catan.c (__catan): Likewise.
7272         * math/s_catanf.c (__catanf): Likewise.
7273         * math/s_catanh.c (__catanh): Likewise.
7274         * math/s_catanhf.c (__catanhf): Likewise.
7275         * math/s_catanhl.c (__catanhl): Likewise.
7276         * math/s_catanl.c (__catanl): Likewise.
7277         * math/s_ccosh.c (__ccosh): Likewise.
7278         * math/s_ccoshf.c (__ccoshf): Likewise.
7279         * math/s_ccoshl.c (__ccoshl): Likewise.
7280         * math/s_cexp.c (__cexp): Likewise.
7281         * math/s_cexpf.c (__cexpf): Likewise.
7282         * math/s_cexpl.c (__cexpl): Likewise.
7283         * math/s_clog10.c (__clog10): Likewise.
7284         * math/s_clog10f.c (__clog10f): Likewise.
7285         * math/s_clog10l.c (__clog10l): Likewise.
7286         * math/s_clog.c (__clog): Likewise.
7287         * math/s_clogf.c (__clogf): Likewise.
7288         * math/s_clogl.c (__clogl): Likewise.
7289         * math/s_csin.c (__csin): Likewise.
7290         * math/s_csinf.c (__csinf): Likewise.
7291         * math/s_csinh.c (__csinh): Likewise.
7292         * math/s_csinhf.c (__csinhf): Likewise.
7293         * math/s_csinhl.c (__csinhl): Likewise.
7294         * math/s_csinl.c (__csinl): Likewise.
7295         * math/s_csqrt.c (__csqrt): Likewise.
7296         * math/s_csqrtf.c (__csqrtf): Likewise.
7297         * math/s_csqrtl.c (__csqrtl): Likewise.
7298         * math/s_ctan.c (__ctan): Likewise.
7299         * math/s_ctanf.c (__ctanf): Likewise.
7300         * math/s_ctanh.c (__ctanh): Likewise.
7301         * math/s_ctanhf.c (__ctanhf): Likewise.
7302         * math/s_ctanhl.c (__ctanhl): Likewise.
7303         * math/s_ctanl.c (__ctanl): Likewise.
7304         * math/w_pow.c: Likewise.
7305         * math/w_powf.c: Likewise.
7306         * math/w_powl.c: Likewise.
7307         * math/w_scalb.c (sysv_scalb): Likewise.
7308         * math/w_scalbf.c (sysv_scalbf): Likewise.
7309         * math/w_scalbl.c (sysv_scalbl): Likewise.
7310         * misc/error.c (error_tail): Likewise.
7311         * misc/pselect.c (__pselect): Likewise.
7312         * nis/nis_callback.c (__nis_create_callback): Likewise.
7313         * nis/nis_call.c (__nisfind_server): Likewise.
7314         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7315         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7316         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7317         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7318         * nis/nis_lookup.c (nis_lookup): Likewise.
7319         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7320         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7321         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7322         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7323         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7324         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7325         * nis/nss_compat/compat-initgroups.c (add_group)
7326         (internal_getgrent_r): Likewise.
7327         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7328         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7329         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7330         (internal_getspnam_r): Likewise.
7331         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7332         (_nss_nis_getaliasbyname_r): Likewise.
7333         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7334         (_nss_nis_getntohost_r): Likewise.
7335         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7336         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7337         (_nss_nis_getgrgid_r): Likewise.
7338         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7339         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7340         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7341         (_nss_nis_gethostbyname4_r): Likewise.
7342         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7343         (initgroups_netid): Likewise.
7344         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7345         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7346         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7347         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7348         (_nss_nis_getprotobynumber_r): Likewise.
7349         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7350         (_nss_nis_getsecretkey): Likewise.
7351         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7352         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7353         (_nss_nis_getpwuid_r): Likewise.
7354         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7355         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7356         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7357         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7358         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7359         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7360         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7361         Likewise.
7362         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7363         (_nss_nisplus_getntohost_r): Likewise.
7364         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7365         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7366         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7367         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7368         Likewise.
7369         * nis/nss_nisplus/nisplus-initgroups.c
7370         (_nss_nisplus_initgroups_dyn): Likewise.
7371         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7372         (_nss_nisplus_getnetbyaddr_r): Likewise.
7373         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7374         (_nss_nisplus_getprotobynumber_r): Likewise.
7375         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7376         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7377         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7378         Likewise.
7379         * nis/nss_nisplus/nisplus-service.c
7380         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7381         (_nss_nisplus_getservbyport_r): Likewise.
7382         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7383         (_nss_nisplus_getspnam_r): Likewise.
7384         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7385         Likewise.
7386         * nscd/aicache.c (addhstaiX): Likewise.
7387         * nscd/cache.c (cache_search, prune_cache): Likewise.
7388         * nscd/connections.c (register_traced_file, send_ro_fd)
7389         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7390         (main_loop_epoll): Likewise.
7391         * nscd/grpcache.c (addgrbyX): Likewise.
7392         * nscd/hstcache.c (addhstbyX): Likewise.
7393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7394         * nscd/mem.c (gc, mempool_alloc): Likewise.
7395         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7396         (addinnetgrX): Likewise.
7397         * nscd/nscd-client.h (__nscd_acquire_maplock)
7398         (__nscd_drop_map_ref): Likewise.
7399         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7400         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7401         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7402         Likewise.
7403         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7404         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7405         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7406         (__nscd_get_map_ref): Likewise.
7407         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7408         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7409         Likewise.
7410         * nscd/pwdcache.c (addpwbyX): Likewise.
7411         * nscd/selinux.c (preserve_capabilities): Likewise.
7412         * nscd/servicescache.c (addservbyX): Likewise.
7413         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7414         * posix/fnmatch.c (fnmatch): Likewise.
7415         * posix/getopt.c (_getopt_internal_r): Likewise.
7416         * posix/glob.c (glob, glob_in_dir): Likewise.
7417         * posix/wordexp.c (exec_comm_child): Likewise.
7418         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7419         (getanswer_r, gaih_getanswer_slice): Likewise.
7420         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7421         * resolv/res_init.c: Likewise.
7422         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7423         * resolv/res_query.c (__libc_res_nquery): Likewise.
7424         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7425         Likewise.
7426         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7427         * stdio-common/perror.c (perror): Likewise.
7428         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7429         * stdio-common/tmpnam.c (tmpnam): Likewise.
7430         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7431         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7432         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7433         Likewise.
7434         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7435         * stdlib/putenv.c (putenv): Likewise.
7436         * stdlib/setenv.c (__add_to_environ): Likewise.
7437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7438         * stdlib/strtol_l.c (INTERNAL): Likewise.
7439         * string/memmem.c (memmem): Likewise.
7440         * string/strerror.c (strerror): Likewise.
7441         * string/strnlen.c (__strnlen): Likewise.
7442         * string/test-memmem.c (simple_memmem): Likewise.
7443         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7444         * sunrpc/pm_getport.c (__get_socket): Likewise.
7445         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7446         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7447         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7448         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7449         Likewise.
7450         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7451         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7452         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7453         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7454         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7455         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7456         Likewise.
7457         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7458         Likewise.
7459         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7460         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7461         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7462         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7463         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7465         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7466         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7467         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7468         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7469         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7470         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7471         Likewise.
7472         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7473         Likewise.
7474         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7475         Likewise.
7476         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7479         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7480         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7481         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7482         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7485         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7486         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7488         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7489         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7491         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7492         Likewise.
7493         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7494         Likewise.
7495         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7496         Likewise.
7497         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7498         Likewise.
7499         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7501         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7502         Likewise.
7503         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7504         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7505         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7506         * sysdeps/posix/sleep.c: Likewise.
7507         * sysdeps/posix/tempname.c: Likewise.
7508         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7509         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7510         Likewise.
7511         * sysdeps/powerpc/powerpc32/dl-machine.h
7512         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7513         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7514         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7515         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7516         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7517         Likewise.
7518         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7519         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7520         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7521         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7522         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7523         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7524         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7525         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7526         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7527         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7529         (elf_machine_lazy_rel): Likewise.
7530         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7531         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7532         (elf_machine_lazy_rel): Likewise.
7533         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7534         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7535         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7536         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7537         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7538         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7539         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7541         Likewise.
7542         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7543         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7544         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7545         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7546         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7547         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7548         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7549         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7550         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7551         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7552         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7553         Likewise.
7554         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7555         (__posix_fallocate64_l64): Likewise.
7556         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7557         (posix_fallocate): Likewise.
7558         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7559         Likewise.
7560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7561         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7562         (getifaddrs_internal): Likewise.
7563         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7564         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7565         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7566         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7567         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7568         (__posix_fallocate64_l64): Likewise.
7569         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7570         Likewise.
7571         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7572         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7573         (__get_clockfreq): Likewise.
7574         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7575         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7576         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7579         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7580         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7581         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7582         Likewise.
7583         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7584         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7585         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7586         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7587         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7588         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7589         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7590         Likewise.
7591         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7592         (posix_fallocate): Likewise.
7593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7594         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7595         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7596         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7597         (elf_machine_rela, elf_machine_rela_relative)
7598         (elf_machine_lazy_rel): Likewise.
7599         * time/asctime.c (asctime_internal): Likewise.
7600         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7601         * time/tzset.c (__tzset_parse_tz): Likewise.
7602         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7603         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7604         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7605         * wcsmbs/wcsmbsload.h: Likewise.
7607         [BZ #15894]
7608         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7610         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7611         (arena_get2): Remove THREAD_STATS conditionals.
7612         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7613         (__malloc_stats, int): Likewise.
7615 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7617         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7618         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7620         * manual/setjmp.texi: Fix typos/grammar errors.
7622         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7623         Only return early when n is <= 0.  Delete unused return statement.
7625         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7626         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7627         * debug/tst-longjmp_chk3.c: New file.
7629         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7630         (test_main): Replace code with set_fortify_handler call.
7631         * debug/test-strcpy_chk.c: Likewise.
7632         * debug/tst-chk1.c: Likewise.
7633         * debug/tst-longjmp_chk.c: Likewise.
7634         * test-skeleton.c: Include fcntl.h & paths.h
7635         (set_fortify_handler): Define.
7637         * debug/tst-longjmp_chk.c: Add header comment and include
7638         ../test-skeleton.c.
7639         (do_test): Mark static.
7640         (TEST_FUNCTION): Define.
7642         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7643         (IP_PMTUDISC_INTERFACE): Likewise.
7644         (IP_MULTICAST_IF): Likewise.
7645         (IP_MULTICAST_TTL): Likewise.
7646         (IP_MULTICAST_LOOP): Likewise.
7647         (IP_ADD_MEMBERSHIP): Likewise.
7648         (IP_DROP_MEMBERSHIP): Likewise.
7649         (IP_UNBLOCK_SOURCE): Likewise.
7650         (IP_BLOCK_SOURCE): Likewise.
7651         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7652         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7653         (IP_MSFILTER): Likewise.
7654         (MCAST_JOIN_GROUP): Likewise.
7655         (MCAST_BLOCK_SOURCE): Likewise.
7656         (MCAST_UNBLOCK_SOURCE): Likewise.
7657         (MCAST_LEAVE_GROUP): Likewise.
7658         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7659         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7660         (MCAST_MSFILTER): Likewise.
7661         (IP_MULTICAST_ALL): Likewise.
7662         (IP_UNICAST_IF): Likewise.
7664         * timezone/Makefile: Delete $(have-ksh) check.
7665         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7666         * timezone/tzselect.ksh: Add +x mode bits.
7668         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7669         (ANON_INODE_FS_MAGIC): Likewise.
7670         (BDEVFS_MAGIC): Likewise.
7671         (BINFMTFS_MAGIC): Likewise.
7672         (BTRFS_TEST_MAGIC): Likewise.
7673         (CRAMFS_MAGIC_WEND): Likewise.
7674         (DEBUGFS_MAGIC): Likewise.
7675         (ECRYPTFS_SUPER_MAGIC): Likewise.
7676         (EXT3_SUPER_MAGIC): Likewise.
7677         (EXT4_SUPER_MAGIC): Likewise.
7678         (FUTEXFS_SUPER_MAGIC): Likewise.
7679         (HOSTFS_SUPER_MAGIC): Likewise.
7680         (HUGETLBFS_MAGIC): Likewise.
7681         (MINIX3_SUPER_MAGIC): Likewise.
7682         (MTD_INODE_FS_MAGIC): Likewise.
7683         (NILFS_SUPER_MAGIC): Likewise.
7684         (OPENPROM_SUPER_MAGIC): Likewise.
7685         (PIPEFS_MAGIC): Likewise.
7686         (PSTOREFS_MAGIC): Likewise.
7687         (QNX6_SUPER_MAGIC): Likewise.
7688         (RAMFS_MAGIC): Likewise.
7689         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7690         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7691         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7692         (SECURITYFS_MAGIC): Likewise.
7693         (SELINUX_MAGIC): Likewise.
7694         (SMACK_MAGIC): Likewise.
7695         (SOCKFS_MAGIC): Likewise.
7696         (SQUASHFS_MAGIC): Likewise.
7697         (STACK_END_MAGIC): Likewise.
7698         (TMPFS_MAGIC): Likewise.
7699         (USBDEVICE_SUPER_MAGIC): Likewise.
7700         (V9FS_MAGIC): Likewise.
7701         (XENFS_SUPER_MAGIC): Likewise.
7702         (CRAMFS_MAGIC): Fix typo in comment.
7703         (EXT2_SUPER_MAGIC): Update comment.
7704         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7706 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7708         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7709         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7710         * sysdeps/unix/sysv/linux/arm: Move directory from
7711         ports/sysdeps/unix/sysv/linux/arm.
7712         * README: Update listing for arm-*-linux-gnueabi.
7714         * README: Remove mention of am33.
7716 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7718         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7719         than the comma operator, to avoid "rhs of comma has no effect"
7720         compiler warnings.
7721         (__sigfillset, __sigandset, __sigorset): Likewise.
7722         * include/signal.h (__sigemptyset): Likewise.
7723         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7725 2014-02-07  Allan McRae  <allan@archlinux.org>
7727         * version.h (RELEASE): Set to "development".
7728         (VERSION): Set to "2.19.90"
7729         * NEWS: Add 2.20 section.
7731 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7733         [BZ #16529]
7734         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7736 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7738         * manual/contrib.texi: Update entry for Carlos O'Donell,
7739         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7741 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7743         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7745         * sysdeps/unix/sysv/linux/kernel-features.h
7746         [__LINUX_KERNEL_VERSION >= 0x020621]
7747         (__ASSUME_PROC_PID_TASK_COMM): Define.
7749 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7751         [BZ #16398]
7752         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7753         conversion when destination buffer does not have enough space.
7754         * libio/tst-ftell-partial-wide.c: New test case.
7755         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7757         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7758         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7759         Leonard and Allan McRae.
7761 2014-02-04  David S. Miller  <davem@davemloft.net>
7763         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7764         32-bit.
7766 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7769         New file
7770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7771         New file
7772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7773         New file.
7774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7775         New file.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7777         New file.
7778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7779         New file.
7780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7781         New file.
7782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7783         New file.
7784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7785         New file.
7786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7787         New file.
7788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7789         New file.
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7791         New file.
7792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7793         New file.
7795 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7797         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7798         * shlib-versions: Likewise.
7800 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7801             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7803         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7804         (abilist-pattern): New variable, set to %-le.abilist.
7806         * Makerules (abilist-pattern): New variable.
7807         (vpath): Use $(abilist-pattern) in place of %.abilist.
7808         (check-abi-% pattern rule): Likewise.
7809         (check-abi, update-abi): Likewise.
7811 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7815 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7817         * manual/startup.texi: Add next, previous, and top entries for
7818         the `Program Arguments' and `Environment Variables' nodes.
7820 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7822         * manual/macros.texi: Add comments before MTASC-safety macros.
7824         * manual/users.texi: Document MTASC-safety properties.
7826         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7827         (pthread_getspecific, pthread_setspecific): Format with
7828         @deftypefun, and add @safety note.
7829         * manual/signal.texi: Move comments that analyze the above
7830         functions to their home place.
7832 2014-02-03  Allan McRae  <allan@archlinux.org>
7834         * po/sl.po: Update Slovenian translation from translation project.
7836 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7838         * manual/time.texi (timegm): Add missing blank after @c.
7839         Reported by Joseph Myers <joseph@codesourcery.com>.
7841 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7843         * manual/check-safety.sh: New.
7844         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7846         * manual/terminal.texi: Document MTASC-safety properties.
7848         * manual/filesys.texi: Document MTASC-safety properties.
7850         * manual/errno.texi: Document MTASC-safety properties.
7852         * manual/intro.texi: Document safety identifiers and
7853         conditionals.
7855         * manual/string.texi (wcstok): Fix prototype.
7856         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7858         * manual/time.texi: Document MTASC-safety properties.
7860         * manual/string.texi: Document MTASC-safety properties.
7862         * manual/threads.texi: Document MTASC-safety properties.
7864         * manual/stdio.texi: Document MTASC-safety properties.
7866         * manual/syslog.texi: Document MTASC-safety properties.
7868         * manual/sysinfo.texi: Document MTASC-safety properties.
7870         * manual/startup.texi: Document MTASC-safety properties.
7872         * manual/socket.texi: Document MTASC-safety properties.
7874         * manual/signal.texi: Document MTASC-safety properties.
7876 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7878         * manual/setjmp.texi: Document MTASC-safety properties.
7880         * manual/search.texi: Document MTASC-safety properties.
7882         * manual/resource.texi: Document MTASC-safety properties.
7884         * manual/process.texi: Document MTASC-safety properties.
7886         * manual/platform.texi: Document MTASC-safety properties.
7888         * manual/pipe.texi: Document MTASC-safety properties.
7890         * manual/pattern.texi: Document MTASC-safety properties.
7892         * manual/message.texi: Document MTASC-safety properties.
7894         [BZ #12751]
7895         * manual/memory.texi: Document MTASC-safety properties.
7897         * manual/math.texi: Document MTASC-safety properties.
7899         * manual/locale.texi: Document MTASC-safety properties.
7901         * manual/llio.texi: Document MTASC-safety properties.
7903         * manual/libdl.texi: New.
7905         * manual/lang.texi: Document MTASC-safety properties.
7907         * manual/job.texi: Document MTASC-safety properties.
7909         * manual/getopt.texi: Document MTASC-safety properties.
7911         * manual/ctype.texi: Document MTASC-safety properties.
7913 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7915         [BZ #16046]
7916         * csu/libc-tls.c (static_map): Remove variable.
7917         (__libc_setup_tls): Use main executable's link map for TLS data.
7918         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7919         casing for LM_ID_BASE and GL(dl_nns).
7920         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7921         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7922         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7923         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7924         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7925         member.
7926         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7927         l_phnum members.
7929 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7931         * manual/debug.texi: Document MTASC-safety properties.
7933 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7935         [BZ #16510]
7936         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7937         of __x86_64__ when disabling x87 inline functions.
7939 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7941         * manual/charset.texi: Document MTASC-safety properties.
7943         * manual/crypt.texi: Document MTASC-safety properties.
7945         * manual/conf.texi: Document MTASC-safety properties.
7947         * manual/arith.texi: Document MTASC-safety properties.
7949         * manual/argp.texi: Document MTASC-safety properties.
7951         * manual/macros.texi: Introduce macros to document multi
7952         thread, asynchronous signal and asynchronous cancellation
7953         safety properties.
7954         * manual/intro.texi: Introduce the properties themselves.
7956 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7958         * sysdeps/sh/sh4/Makefile: New file.
7960 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7962         * math/gen-libm-test.pl ($srcdir): New variable.
7963         ($auto_input): Use it.
7965 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7967         [BZ #16506]
7968         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7969         access beyond array bounds when parsing netgroups file.
7971         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7972         the old buffer before realloc.
7974 2014-01-27  Allan McRae  <allan@archlinux.org>
7976         * po/fr.po: Update French translation from translation project.
7978 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7980         * sysdeps/sh/libm-test-ulps: Regenerate.
7982 2014-01-24  David S. Miller  <davem@davemloft.net>
7984         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7986 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7988         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7989         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7991 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7993         [BZ #16474]
7994         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7995         string pointers after reallocation.
7997 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7999         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8000         __SH4A__ instead of __SH_FPU_ANY__.
8002 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8004         * sysdeps/sh/fpu_control.h: New file.
8005         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8006         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8007         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8008         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8009         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8010         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8011         * sysdeps/sh/sys/ucontext.h: Remove.
8012         * sysdeps/sh/sys: Remove directory.
8014 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8016         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8017         s390/sys/ucontext.h.
8018         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8019         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8021 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8023         [BZ #15605]
8024         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8026 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8028         [BZ#16431]
8029         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8030         Adjust the vDSO correctly for internal calls.
8031         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8033 2014-01-20  Allan McRae  <allan@archlinux.org>
8035         * po/ca.po: Update Catalan translation from translation project.
8037 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8039         * sysdeps/s390/sotruss-lib.c: New file.
8041 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8043         [BZ#16430]
8044         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8045         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8046         local calls issues by not having a PLT stub required for IFUNC calls.
8047         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8049 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8051         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8052         * math/test-fpucw-static.c: Likewise.
8054 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8056         [BZ #16453]
8057         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8059 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8061         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8062         implementation for powerpc.
8064 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8066         [BZ #14782]
8067         * sysdeps/posix/system.c (__libc_system): Do not enable
8068         asynchronous cancellation.
8070 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8072         [BZ #16427]
8073         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8074         handling only for numbers special also in the IEEE case.
8076 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8078         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8080 2014-01-11  Allan McRae  <allan@archlinux.org>
8082         * po/bg.po: Update Bulgarian translation from translation project.
8084         * po/de.po: Update German translation from translation project.
8086 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8088         * sysdeps/generic/gcc-compat.h: New file.
8090 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8092         * benchtests/asin-inputs: Correct slow inputs.
8093         * benchtests/acos-inputs: Likewise.
8095 2014-01-10  Allan McRae  <allan@archlinux.org>
8097         * po:sv.po: Update Swedish translation from translation project.
8099         * po/vi.po: Update Vietnamese translation from translation project.
8101         * po/eo.po: Update Esperanto translation from translation project.
8103         * po/cs.po: Update Czech translation from translation project.
8105         * po/nl.po: Update Dutch translation from translation project.
8107         * po/pl.po: Update Polish translation from translation project.
8109         * po/ru.po: Update Russian translation from translation project.
8111         * po/uk.po: Update Ukrainian translation from translation project.
8113 2014-01-08  Brooks Moses  <bmoses@google.com>
8115         * elf/dl-load.c: Fix comment typo.
8117 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8119         * po/header.pot: Rename to...
8120         * po/pot.header: ... this.
8121         * po/Makefile: Use pot.header.
8123 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8124             Maxim Kuvyrkov  <maxim@kugelworks.com>
8126         [BZ #16394]
8127         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8128         SRC and DEST against LEN.
8130 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8132         [BZ #16414]
8133         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8134         implementation.
8135         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8137 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8141 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8143         [BZ #16408]
8144         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8145         for large positive arguments.
8147 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8149         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8151         * math/auto-libm-test-in: Mark various tests with
8152         xfail-rounding:ldbl-128ibm.
8153         * math/auto-libm-test-out: Regenerated.
8155         [BZ #16407]
8156         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8157         Increase overflow threshold.
8159 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8161         [BZ #14286]
8162         * stdio-common/vfprintf.c: Check for integer overflow.
8164 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8166         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8167         the first argument and return value of __tls_get_addr_internal.
8169 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8171         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8172         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8174 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8176         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8177         * sysdeps/s390/rtld-global-offsets.sym: New file.
8178         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8179         GLIBC_2.19 symbol.
8180         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8181         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8182         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8183         ... this.
8184         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8185         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8186         ... this.
8187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8188         Regenerate.
8189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8190         Regenerate.
8191         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8192         halfs of GPRs for high_gprs contexts.
8193         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8194         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8195         field.
8196         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8197         uc_flags field.
8198         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8199         64 bit versions:
8200         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8201         for high GPRs (uc_high_gprs) and for future extensions
8202         (__reserved).
8203         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8204         for future extensions (__reserved).
8205         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8206         64 bit versions:
8207         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8208         SC_HIGHGPRS offset definition.
8209         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8210         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8212         * Versions.def: Add GLIBC_2.19 for libpthread.
8213         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8214         siglongjmp for libpthread with GLIBC_2.19 symver.
8215         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8216         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8217         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8218         * sysdeps/s390/__longjmp.c: New file.
8219         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8220         * sysdeps/s390/longjmp.c: New file.
8221         * sysdeps/s390/setjmp.S: New file.
8222         * sysdeps/s390/sigjmp.S: New file.
8223         * sysdeps/s390/v1-longjmp.c: New file.
8224         * sysdeps/s390/v1-setjmp.h: New file.
8225         * sysdeps/s390/v1-sigjmp.c: New file.
8226         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8227         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8228         GLIBC_2.19 version.
8229         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8230         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8231         versioned symbols for ____longjmp_chk.
8232         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8235         Regenerate.
8236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8237         Regenerate.
8238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8239         Regenerate.
8240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8241         Regenerate.
8242         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8243         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8244         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8245         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8246         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8247         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8248         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8249         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8250         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8251         * sysdeps/s390/rtld-__longjmp.c: New file.
8252         * sysdeps/s390/rtld-setjmp.S: New file.
8254 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8256         [BZ #16400]
8257         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8258         Return -__logl (x) for small positive arguments without evaluating
8259         a polynomial.
8261 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8263         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8264         Rename to ...
8265         (__ptrace_peeksiginfo_args): ... this.
8266         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8267         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8268         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8270 2014-01-06  Allan McRae  <allan@archlinux.org>
8272         * inet/netinet/in.h: Fix typo in comment.
8274 2014-01-05  Andreas Jaeger  <aj@suse.de>
8276         * sysdeps/i386/fpu/libm-test-ulps: Update.
8278 2014-01-05  Allan McRae  <allan@archlinux.org>
8280         * po/libc.pot: Regenerated.
8282         * malloc/memusagestat.c: Fix gettext call formatting.
8284 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8286         * nscd/nscd.c: Improve usage() output.
8288 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8290         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8291         * sysdeps/unix/sysv/linux/configure: Regenerated.
8292         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8293         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8295 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8297         [BZ #16390]
8298         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8299         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8301 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8304         extra tokens at end of #undef directive.
8305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8306         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8307         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8309 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8311         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8313         * math/auto-libm-test-in: Mark various tests with
8314         xfail-rounding:ldbl-128ibm.
8315         * math/auto-libm-test-out: Regenerated.
8317 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8319         [BZ #16386]
8320         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8321         numbers with subnormal high part when calculating exponent.
8323         [BZ #16385]
8324         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8325         fabs.
8327         [BZ #16384]
8328         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8329         M_LN2l.
8330         (__ieee754_acoshl): Use __log1pl not __log1p.
8332 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8334         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8335         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8336         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8337         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8338         (reused_arena, arena_get2): Convert to GNU style.
8339         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8340         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8341         (memalign_check, __malloc_set_state): Likewise.
8342         * malloc/mallocbug.c (main): Likewise.
8343         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8344         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8345         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8346         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8347         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8348         (__posix_memalign, malloc_info): Likewise.
8349         * malloc/malloc.h: Likewise.
8350         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8351         (mallochook, memalignhook, reallochook, mabort): Likewise.
8352         * malloc/mcheck.h: Likewise.
8353         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8354         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8355         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8356         * malloc/morecore.c (__default_morecore): Likewise.
8357         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8358         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8359         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8360         (print_and_abort): Likewise.
8361         * malloc/obstack.h: Likewise.
8362         * malloc/set-freeres.c (__libc_freeres): Likewise.
8363         * malloc/tst-mallocstate.c (main): Likewise.
8364         * malloc/tst-mtrace.c (main): Likewise.
8365         * malloc/tst-realloc.c (do_test): Likewise.
8367 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8369         [BZ #16366]
8370         * nscd/netgroupcache.c (do_notfound): New function.
8371         (addgetnetgrentX): Use it.
8373         [BZ # 16365]
8374         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8375         NSS_STATUS_NOTFOUND.
8377 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8379         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8382 2014-01-01  Allan McRae  <allan@archlinux.org>
8384         * scripts/update-copyrights: Update configure input file suffix.
8386         * NEWS: Update copyright year.
8387         * catgets/gencat.c: Likewise.
8388         * csu/version.c: Likewise.
8389         * debug/catchsegv.sh: Likewise.
8390         * debug/pcprofiledump.c: Likewise.
8391         * debug/xtrace.sh: Likewise.
8392         * elf/ldconfig.c: Likewise.
8393         * elf/ldd.bash.in: Likewise.
8394         * elf/pldd.c: Likewise.
8395         * elf/sotruss.ksh: Likewise.
8396         * elf/sprof.c: Likewise.
8397         * iconv/iconv_prog.c: Likewise.
8398         * iconv/iconvconfig.c: Likewise.
8399         * locale/programs/locale.c: Likewise.
8400         * locale/programs/localedef.c: Likewise.
8401         * login/programs/pt_chown.c: Likewise.
8402         * malloc/memusage.sh: Likewise.
8403         * malloc/memusagestat.c: Likewise.
8404         * malloc/mtrace.pl: Likewise.
8405         * manual/libc.texinfo: Likewise.
8406         * nscd/nscd.c: Likewise.
8407         * nss/getent.c: Likewise.
8408         * nss/makedb.c: Likewise.
8409         * posix/getconf.c: Likewise.
8410         * scripts/test-installation.pl: Likewise.
8412         * All files with FSF copyright notices: Update copyright dates
8413         using scripts/update-copyrights.
8414         * intl/plural.c: Regenerated.
8415         * locale/programs/charmap-kw.h: Likewise.
8416         * locale/programs/locfile-kw.h: Likewise.
8418 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8420         * sysdeps/unix/sysv/linux/configure: Regenerated.
8421         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8422         the linux/fanotify.h header.
8423         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8424         HAVE_LINUX_FANOTIFY_H is defined.
8426 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8428         * benchtests/cos-inputs: New inputs.
8429         * benchtests/sin-inputs: Likewise.
8431         * benchtests/atan-inputs: New inputs. Fix name of multiple
8432         precision fallback inputs.
8434         * benchtests/atanh-inputs: New inputs.
8435         * benchtests/tanh-inputs: Likewise.
8437         * benchtests/acosh-inputs: New inputs.
8438         * benchtests/asinh-inputs: Likewise.
8440         * benchtests/cosh-inputs: New inputs.
8441         * benchtests/sinh-inputs: Likewise.
8443         * benchtests/acos-inputs: Add more inputs.
8444         * benchtests/asin-inputs: Likewise.
8446 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8448         [BZ #16375]
8449         * manual/arith.texi: Fix spelling.
8450         * manual/charset.texi: Likewise.
8451         * manual/errno.texi: Likewise.
8452         * manual/filesys.texi: Likewise.
8453         * manual/lang.texi: Likewise.
8454         * manual/llio.texi: Likewise.
8455         * manual/locale.texi: Likewise.
8456         * manual/message.texi: Likewise.
8457         * manual/resource.texi: Likewise.
8458         * manual/search.texi: Likewise.
8459         * manual/setjmp.texi: Likewise.
8460         * manual/stdio.texi: Likewise.
8461         * manual/string.texi: Likewise.
8462         * manual/sysinfo.texi: Likewise.
8463         * manual/time.texi: Likewise.
8465 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8467         * po/sl.po: New file.
8469 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8471         * .gitignore: Add core/.gdbinit/.gdb_history.
8473 2013-12-27  Allan McRae  <allan@archlinux.org>
8475         [BZ #16369]
8476         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8477         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8479 2013-12-24  Brooks Moses  <bmoses@google.com>
8481         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8482         all compilers that claim C++98 compliance, not just GCC.
8483         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8484         Likewise.
8486 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8488         * NEWS: Restore accidentally deleted bug-fix entries.
8490 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8491             Ondřej Bílka  <neleai@seznam.cz>
8493         [BZ #15073]
8494         * malloc/malloc.c (_int_free): Perform sanity check only if we
8495         have_lock.
8497 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8499         [BZ #12986]
8500         * manual/stdio.texi (String Input Conversions): Clarify that character
8501         classes are not supported.
8503 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8507 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8509         [BZ #16337]
8510         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8511         Calculate results for small negative arguments directly rather
8512         than using reflection formula with special underflow handling.
8514         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8515         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8516         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8517         (fchflags): Likewise.
8518         (revoke): Likewise.
8519         (setlogin): Likewise.
8520         (sigaltstack): Likewise.
8521         (wait4): Likewise.
8522         (sigblock): Remove.
8523         (sigsetmask): Likewise.
8524         (wait3): Likewise.
8525         (waitpid): Likewise.
8526         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8527         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8528         file.
8529         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8530         * sysdeps/unix/bsd/Makefile: ... here.
8531         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8532         * sysdeps/unix/bsd/Versions: ... here.
8533         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8534         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8535         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8536         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8537         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8538         * sysdeps/unix/bsd/sigblock.c: ... here.
8539         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8540         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8541         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8542         * sysdeps/unix/bsd/sigvec.c: ... here.
8543         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8544         * sysdeps/unix/bsd/tcdrain.c: ... here.
8545         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8546         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8547         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8548         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8549         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8550         * sysdeps/unix/bsd/wait.c: ... here.
8551         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8552         * sysdeps/unix/bsd/wait3.c: ... here.
8553         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8554         * sysdeps/unix/bsd/waitpid.c: ... here.
8556 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8558         [BZ #16356]
8559         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8560         round-to-nearest for [!USE_AS_EXPM1L].
8561         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8562         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8563         more tests of exp and exp10.  Expect some exp10 tests to miss
8564         exceptions or fail in directed rounding modes.
8565         * math/auto-libm-test-out: Regenerated.
8566         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8567         (exp10_test_tonearest): New function.
8568         (exp10_towardzero_test_data): New array.
8569         (exp10_test_towardzero): New function.
8570         (exp10_downward_test_data): New array.
8571         (exp10_test_downward): New function.
8572         (exp10_upward_test_data): New array.
8573         (exp10_test_upward): New function.
8574         (main): Call the new functions.
8575         * sysdeps/i386/fpu/libm-test-ulps: Update.
8576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8578 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8580         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8581         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8582         * math/auto-libm-test-out: Regenerated.
8583         * math/libm-test.inc (acosh_test_data): Add more tests.
8584         (atanh_test_data): Likewise.
8585         (ceil_test_data): Likewise.
8586         (copysign_test_data): Likewise.
8587         * sysdeps/i386/fpu/libm-test-ulps: Update.
8588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8590         * timezone/checktab.awk: Update from tzcode 2013i.
8591         * timezone/private.h: Likewise.
8592         * timezone/scheck.c: Likewise.
8593         * timezone/tzfile.h: Likewise.
8594         * timezone/tzselect.ksh: Likewise.
8595         * timezone/zdump.c: Likewise.
8596         * timezone/zic.c: Likewise.
8598         * math/auto-libm-test-in: Add tests of cpow.
8599         * math/auto-libm-test-out: Regenerated.
8600         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8601         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8602         mpc_cc_c.
8603         (func_calc_desc): Add mpc_cc_c union field.
8604         (test_functions): Add cpow.
8605         (special_fill_2pi): New function.
8606         (special_real_inputs): Add 2pi.
8607         (calc_generic_results): Handle mpc_cc_c.
8608         * sysdeps/i386/fpu/libm-test-ulps: Update.
8609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8611         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8612         csqrt, ctan and ctanh.
8613         * math/auto-libm-test-out: Regenerated.
8614         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8615         (TEST_COND_x86): Likewise.
8616         (ccos_test_data): Use AUTO_TESTS_c_c.
8617         (ccosh_test_data): Likewise.
8618         (cexp_test_data): Likewise.
8619         (clog_test_data): Likewise.
8620         (csqrt_test_data): Likewise.
8621         (ctan_test_data): Likewise.
8622         (ctan_tonearest_test_data): Likewise.
8623         (ctan_towardzero_test_data): Likewise.
8624         (ctan_downward_test_data): Likewise.
8625         (ctan_upward_test_data): Likewise.
8626         (ctanh_test_data): Likewise.
8627         (ctanh_tonearest_test_data): Likewise.
8628         (ctanh_towardzero_test_data): Likewise.
8629         (ctanh_downward_test_data): Likewise.
8630         (ctanh_upward_test_data): Likewise.
8631         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8632         mpc_c_c.
8633         (func_calc_desc): Add mpc_c_c union field.
8634         (FUNC_mpc_c_c): New macro.
8635         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8636         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8637         ctanh.
8638         (special_fill_min_subnorm_p120): New function.
8639         (special_real_inputs): Add min_subnorm_p120.
8640         (calc_generic_results): Handle mpc_c_c.
8641         * sysdeps/i386/fpu/libm-test-ulps: Update.
8642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8644 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8646         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8647         (do_sin_slow): New functions.
8648         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8649         (cslow2, csloww1, csloww2): Use the new functions.
8651         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8652         Use M to change sign of result instead of X.  Assume X is
8653         positive.
8654         (csloww1): Likewise.
8655         (__sin): Adjust.
8656         (__cos): Adjust.
8658         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8659         arguments A and DA.
8660         (__sin): Adjust.
8661         (__cos): Likewise.
8663         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8664         (__cos): Likewise.
8665         (sloww1): Don't adjust sign of DX.
8666         (csloww1): Likewise.
8667         (sloww2): Use X directly and don't adjust sign of DX.
8668         (csloww2): Likewise.
8670 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8672         * math/auto-libm-test-in: Add tests of cabs and carg.
8673         * math/auto-libm-test-out: Regenerated.
8674         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8675         (carg_test_data): Likewise.
8676         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8677         mpc_c_f.
8678         (func_calc_desc): Add mpc_c_f union field.
8679         (test_functions): Add cabs and carg.
8680         (calc_generic_results): Handle mpc_c_f.
8682         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8683         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8684         as a macro and a compat symbol.
8685         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8686         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8687         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8688         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8689         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8690         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8691         not use .hidden.
8692         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8693         Likewise.
8694         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8695         Likewise.
8696         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8697         Likewise.
8698         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8699         Likewise.
8700         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8701         Likewise.
8702         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8703         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8704         from GLIBC_2.3.2.
8706 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8710 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8712         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8713         trailing whitespace removed.
8714         * scripts/config.guess: Update to version 2013-11-29.
8715         * scripts/config.sub: Update to version 2013-10-01.
8717         * math/auto-libm-test-in: Add tests of sincos.
8718         * math/auto-libm-test-out: Regenerated.
8719         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8720         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8721         mpfr_f_11.
8722         (func_calc_desc): Add mpfr_f_11 union field.
8723         (test_functions): Add sincos.
8724         (calc_generic_results): Handle mpfr_f_11.
8725         * sysdeps/i386/fpu/libm-test-ulps: Update.
8726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8728 2013-12-19  Andreas Schwab  <schwab@suse.de>
8730         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8731         CALL_MCOUNT.
8732         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8733         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8734         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8736 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8738         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8739         * sysdeps/i386/fpu/libm-test-ulps: Update.
8740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8742         [BZ #16293]
8743         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8744         round-to-nearest mode when using frndint.
8745         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8746         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8747         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8748         Likewise.
8749         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8750         sinh test to fail.
8751         * math/auto-libm-test-out: Regenerated.
8752         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8753         (TEST_COND_x86): Likewise.
8754         (expm1_tonearest_test_data): New array.
8755         (expm1_test_tonearest): New function.
8756         (expm1_towardzero_test_data): New array.
8757         (expm1_test_towardzero): New function.
8758         (expm1_downward_test_data): New array.
8759         (expm1_test_downward): New function.
8760         (expm1_upward_test_data): New array.
8761         (expm1_test_upward): New function.
8762         (main): Run the new test functions.
8763         * sysdeps/i386/fpu/libm-test-ulps: Update.
8764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766         * include/features.h: Update comment documenting feature test
8767         macros.  Mention _DEFAULT_SOURCE in comment.
8768         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8769         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8770         _BSD_SOURCE and _SVID_SOURCE.
8771         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8772         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8773         !_SVID_SOURCE]: Likewise.
8774         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8775         (__USE_POSIX_IMPLICITLY): Define.
8776         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8777         (_POSIX_SOURCE): Undefine and redefine.
8778         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8779         (_POSIX_C_SOURCE): Likewise.
8780         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8781         (Feature Test Macros): Update documentation of default features.
8783 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8785         * benchtests/Makefile: Add bench-strtok.
8786         * benchtests/bench-strtok.c: New file: strtok benchtest.
8788 2013-12-19  Allan McRae  <allan@archlinux.org>
8790         * manual/install.texi: Suppress menu for plain text output.
8791         * INSTALL: Regenerated.
8793 2013-12-18  Brooks Moses  <bmoses@google.com>
8795         [BZ #15846]
8796         * misc/getauxval.c: Include errno.h.
8797         (__getauxval): Set errno to ENOENT if the requested type is not
8798         found.
8799         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8800         don't declare with __attribute_const__.
8801         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8802         * manual/startup.texi: Document that getauxval sets errno.
8804 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8806         * math/auto-libm-test-in: Add tests of jn and yn.
8807         * math/auto-libm-test-out: Regenerated.
8808         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8809         (yn_test_data): Likewise.
8810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8811         mpfr_if_f.
8812         (func_calc_desc): Add mpfr_if_f union field.
8813         (FUNC_mpfr_if_f): New macro.
8814         (test_functions): Add jn and yn.
8815         (calc_generic_results): Assert type of second input for
8816         mpfr_ff_f.  Handle mpfr_if_f.
8817         (output_for_one_input_case): Disable all checking for arguments
8818         fitting floating-point types in case of an integer argument.
8819         * sysdeps/i386/fpu/libm-test-ulps: Update.
8820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8823         Don't expect fegetround reference in libm.so.
8825 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8827         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8828         $(config-cflags-nofma).
8830 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8832         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8833         * math/auto-libm-test-out: Regenerated.
8835         [BZ #16338]
8836         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8837         to determine exponent and adjust argument to have exponent of -1.
8838         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8839         log2.
8840         * math/auto-libm-test-out: Regenerated.
8841         * sysdeps/i386/fpu/libm-test-ulps: Update.
8842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8844 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8846         * manual/probes.texi: Remove cases when per-thread arenas are
8847         disabled.
8849 2013-12-18  Andreas Schwab  <schwab@suse.de>
8851         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8852         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8853         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8854         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8855         * sysdeps/i386/i686/multiarch/Makefile: Update.
8856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8858 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8860         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8861         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8863 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8865         [BZ #15968]
8866         Support TZ transition times < 00:00:00.
8867         This is needed for version-3 tz-format files; it supports time
8868         stamps past 2037 for America/Godthab (the only entry in the tz
8869         database for which this change is relevant).
8870         * manual/time.texi (TZ Variable): Document transition times
8871         from -167:59:59 through -00:00:01.
8872         * time/tzset.c (tz_rule): Time of day is now signed.
8873         (__tzset_parse_tz): Parse negative time of day.
8875         Document TZ transition times >= 25:00:00.
8876         * manual/time.texi (TZ Variable): Document transition times from
8877         25:00:00 through 167:59:59.  These are already supported, and this
8878         support will help with version-3 tz-format files.
8880         * manual/time.texi (TZ Variable): Modernize North America example
8881         to reflect current (i.e., 2007-and-later) daylight saving rules.
8883         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8885 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8887         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8888         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8889         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8891         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8892         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8893         * sysdeps/unix/bsd/clock.c: Likewise.
8894         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8895         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8896         * sysdeps/unix/bsd/init-posix.c: Likewise.
8897         * sysdeps/unix/bsd/poll.c: Likewise.
8898         * sysdeps/unix/bsd/ptsname.c: Likewise.
8899         * sysdeps/unix/bsd/seekdir.c: Likewise.
8900         * sysdeps/unix/bsd/setegid.c: Likewise.
8901         * sysdeps/unix/bsd/seteuid.c: Likewise.
8902         * sysdeps/unix/bsd/setgid.c: Likewise.
8903         * sysdeps/unix/bsd/setrgid.c: Likewise.
8904         * sysdeps/unix/bsd/setruid.c: Likewise.
8905         * sysdeps/unix/bsd/setsid.c: Likewise.
8906         * sysdeps/unix/bsd/setuid.c: Likewise.
8907         * sysdeps/unix/bsd/sigaction.c: Likewise.
8908         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8909         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8910         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8911         * sysdeps/unix/bsd/telldir.c: Likewise.
8912         * sysdeps/unix/bsd/times.c: Likewise.
8913         * sysdeps/unix/bsd/usleep.c: Likewise.
8915         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8916         ($(objpfx)libbsd-compat.a): Remove rule.
8918         * include/features.h (__FAVOR_BSD): Do not define.
8919         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8920         features conflicting with POSIX.
8921         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8922         (_BSD_SOURCE): Remove description of not being a subset of other
8923         feature test macros.
8924         * manual/job.texi (getpgrp): Do not document BSD version.
8925         (getpgid): Do not document by reference to BSD getpgrp.
8926         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8927         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8928         * signal/signal.h [__FAVOR_BSD]: Likewise.
8929         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8930         instead of making contents conditional on [__FAVOR_BSD].
8931         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8933 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8937 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8939         [BZ #16314]
8940         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8941         values below 2**-450, not 2**-500.
8942         * math/auto-libm-test-in: Don't allow spurious underflow from
8943         hypot.
8944         * math/auto-libm-test-out: Regenerated.
8946         [BZ #16316]
8947         [BZ #16330]
8948         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8949         values of ha and hb and sort them after adjusting subnormal
8950         arguments.
8951         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8952         Likewise.
8953         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8954         values of ea and eb and sort them after adjusting subnormal
8955         arguments.
8956         * math/auto-libm-test-in: Do not expect some hypot tests of
8957         subnormals to fail.  Add more hypot tests.
8958         * math/auto-libm-test-out: Regenerated.
8960 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8962         [BZ #13304]
8963         * sysdeps/sh/s_fma.c: New file.
8964         * sysdeps/sh/s_fmaf.c: New file.
8965         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8966         version.
8967         * sysdeps/sh/Implies: Add sh/soft-fp.
8969 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8971         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8972         level of indirection to members `objname', `errstring', `malloced'.
8973         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8974         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8975         it as the __longjmp argument (just pass 1 instead).
8976         (_dl_catch_error): Initialize C with argument pointers and address of
8977         volatile local ERRCODE rather than copying values out of C at return.
8979 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8981         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8982         * math/auto-libm-test-out: Regenerated.
8983         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8984         (hypot_test_data): Likewise.
8985         (pow_test_data): Likewise.
8986         (pow_tonearest_test_data): Likewise.
8987         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8988         mpfr_ff_f.
8989         (func_calc_desc): Add mpfr_ff_f union field.
8990         (FUNC_mpfr_ff_f): New macro.
8991         (test_functions): Add atan2, hypot and pow.
8992         (special_fill_min): New function.
8993         (special_fill_minus_min): Likewise.
8994         (special_fill_min_subnorm): Likewise.
8995         (special_fill_minus_min_subnorm): Likewise.
8996         (special_real_inputs): Add min, -min, min_subnorm and
8997         -min_subnorm.
8998         (calc_generic_results): Handle mpfr_ff_f.
8999         * sysdeps/i386/fpu/libm-test-ulps: Update.
9000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9002 2013-12-16  Will Newton  <will.newton@linaro.org>
9004         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9005         (Aligned Memory Blocks): Add documentation for aligned_alloc
9006         and suggest it as an alternative to posix_memalign.
9007         (Hooks for Malloc): Document __memalign_hook is also called
9008         for aligned_alloc.  (Summary of Malloc): Add summary for
9009         aligned alloc.  Document __memalign_hook is also called
9010         for aligned_alloc.
9012 2013-12-16  Will Newton  <will.newton@linaro.org>
9014         * manual/memory.texi (Malloc Examples): Clarify default
9015         alignment documentation.  Suggest posix_memalign rather
9016         than memalign or valloc.
9017         (Aligned Memory Blocks): Remove suggestion to use memalign
9018         or valloc.  Remove obsolete comment about BSD.
9019         Document memalign errno values and mark the function obsolete.
9020         Document posix_memalign returned error codes.  Mark valloc
9021         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9022         called for posix_memalign and valloc.
9023         (Summary of Malloc): Add posix_memalign to function summary.
9024         __memalign_hook is also called for posix_memalign and valloc.
9026 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9028         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9029         TAYLOR_SIN.
9030         (__sin): Adjust.
9031         (__cos): Likewise.
9032         (sloww): Use mynumber union.  Expand ternary operator into
9033         if-else statements.
9034         (cslow): use mynumber union.
9036 2013-12-16  Allan McRae  <allan@archlinux.org>
9038         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9039         * configure: Regenerated.
9041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9043         [BZ #14120]
9044         * configure.ac: Added --enable-maintainer-mode. Check for
9045         autoconf when enabled.
9046         * configure: Regenerated.
9048         * nscd/nscd.service: New file.
9049         * nscd/nscd.tmpfiles: New file.
9051 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9053         [BZ #12100]
9054         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9055         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9056         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9057         (strstr): Add __strstr_sse2_unaligned ifunc.
9058         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9059         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9060         (strcasestr): Remove __strcasestr_sse42 ifunc.
9061         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9065 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9067         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9068         * sysdeps/sh/bits/fenv.h: ... here.
9069         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9071 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9073         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9076         hypotf multiarch implementations.
9077         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9078         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9080         multiarch hypot for PPC64.
9081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9084         multiarch hypotf for PPC64.
9086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9087         modff multiarch implementations.
9088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9091         multiarch modf for PPC64.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9095         multiarch modff for PPC64.
9097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9098         and logl multiarch implementations.
9099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9102         multiarch logb for PPC64.
9103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9106         multiarch logb for PPC64.
9107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9110         multiarch logb for PPC64.
9112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9113         isinff multiarch implementation.
9114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9115         file.
9116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9118         multiarch isinf for PPC64.
9119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9120         file.
9121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9122         multiarch isinff for PPC64.
9124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9125         finitef multiarch implementation.
9126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9127         file.
9128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9130         multiarch finite for PPC64.
9131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9132         file.
9133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9134         multiarch finitef for PPC64.
9136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9137         lrint multiarch implementation.
9138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9139         file.
9140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9142         multiarch llrint for PPC64.
9143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9144         multiarch lrint for PPC64.
9146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9147         copysignf multiarch implementation.
9148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9149         file.
9150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9151         file.
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9153         multiarch copysign for PPC64.
9154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9155         multiarch copysignf for PPC64.
9157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9158         multiarch implementation.
9159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9160         file.
9161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9162         file.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9164         file.
9165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9166         file.
9167         multiarch llround for PPC64.
9168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9169         multiarch trunc for PPC64.
9170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9171         multiarch truncf for PPC64.
9173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9174         multiarch implementation.
9175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9176         file.
9177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9178         file.
9179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9180         file.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9182         file.
9183         multiarch llround for PPC64.
9184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9185         multiarch round for PPC64.
9186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9187         multiarch roundf for PPC64.
9189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9190         multiarch implementation.
9191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9192         file.
9193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9194         file.
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9196         file.
9197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9198         file.
9199         multiarch llround for PPC64.
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9201         multiarch floor for PPC64.
9202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9203         multiarch floorf for PPC64.
9205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9206         multiarch implementation.
9207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9208         file.
9209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9210         file.
9211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9212         file.
9213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9214         file.
9215         multiarch llround for PPC64.
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9217         multiarch ceil for PPC64.
9218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9219         multiarch ceilf for PPC64.
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9222         multiarch implementation.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9224         file.
9225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9226         file.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9228         file.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9230         multiarch llround for PPC64.
9231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9232         multiarch lround for PPC64.
9234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9235         multiarch implementation.
9236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9239         file.
9240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9243         multiarch isnan for PPC64.
9244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9245         multiarch isnanf for PPC64.
9247         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9248         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9249         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9250         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9251         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9254         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9255         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9256         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9257         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9260         multiarch implementations.
9261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9262         (__libc_ifunc_impl_list): Likewise.
9263         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9266         multiarch stpcpy for PPC64.
9268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9269         multiarch implementations.
9270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9271         (__libc_ifunc_impl_list): Likewise.
9272         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9273         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9274         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9275         multiarch strcpy for PPC64.
9277         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9278         redefine function name.
9279         (_wordcopy_fwd_dest_aligned): Likewise.
9280         (_wordcopy_bwd_aligned): Likewise.
9281         (_wordcopy_bwd_dest_aligned): Likewise.
9282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9283         multiarch implementations.
9284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9285         (__libc_ifunc_impl_list): Likewise.
9286         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9287         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9289         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9290         multiarch wcscpy for PPC64.
9292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9293         multiarch implementations.
9294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9295         (__libc_ifunc_impl_list): Likewise.
9296         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9297         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9298         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9299         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9300         multiarch wcscpy for PPC64.
9302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9303         multiarch implementations.
9304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9305         (__libc_ifunc_impl_list): Likewise.
9306         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9307         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9308         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9309         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9310         multiarch wcsrchr for PPC64.
9312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9313         multiarch implementations.
9314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9315         (__libc_ifunc_impl_list): Likewise.
9316         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9317         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9318         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9319         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9320         multiarch wcschr for PPC64.
9322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9323         multiarch implementations.
9324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9325         (__libc_ifunc_impl_list): Likewise.
9326         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9327         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9328         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9329         multiarch strchrnul for PPC64.
9331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9332         implementations.
9333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9334         (__libc_ifunc_impl_list): Likewise.
9335         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9336         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9337         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9338         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9339         strchr for PPC64.
9341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9342         implementations.
9343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9344         (__libc_ifunc_impl_list): Likewise.
9345         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9346         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9347         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9348         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9349         strncmp for PPC64.
9351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9352         multiarch implementations.
9353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9354         (__libc_ifunc_impl_list): Likewise.
9355         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9356         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9357         strncasecmp for PPC64.
9358         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9359         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9360         multiarch strncasecmp_l for PPC64.
9362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9363         multiarch implementations.
9364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9365         (__libc_ifunc_impl_list): Likewise.
9366         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9368         multiarch strcasecmp for PPC64.
9369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9370         file.
9371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9372         multiarch strcasecmp_l for PPC64.
9374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9375         implementations.
9376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9377         (__libc_ifunc_impl_list): Likewise.
9378         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9379         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9380         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9381         strnlen for PPC64.
9383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9384         implementations.
9385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9386         (__libc_ifunc_impl_list): Likewise.
9387         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9388         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9389         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9390         strlen for PPC64.
9392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9393         implementations.
9394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9395         (__libc_ifunc_impl_list): Likewise.
9396         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9397         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9398         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9399         rawmemrchr for PPC64.
9401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9402         implementation.
9403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9404         (__libc_ifunc_impl_list): Likewise.
9405         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9406         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9407         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9408         memrchr for PPC64.
9410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9411         implementation.
9412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9413         (__libc_ifunc_impl_list): Likewise.
9414         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9415         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9416         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9417         memchr for PPC64.
9419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9420         implementation.
9421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9422         (__libc_ifunc_impl_list): Likewise.
9423         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9424         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9425         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9426         mempcpy for PPC64.
9428         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9429         avoid cretion of __bzero symbol.
9430         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9431         Likewise.
9432         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9433         Likewise.
9434         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9435         Likewise.
9436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9437         multiarch implementations.
9438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9439         (__libc_ifunc_impl_list): Likewise.
9440         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9441         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9442         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9443         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9444         bzero for PPC32.
9445         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9446         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9447         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9448         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9449         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9450         memset for PPC64.
9451         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9453         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9455         implementations.
9456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9457         (__libc_ifunc_impl_list): Likewise.
9458         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9459         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9460         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9461         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9462         memcmp for PPC64.
9464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9465         multiarch for POWER/PPC64.
9466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9467         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9468         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9469         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9470         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9471         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9474         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9475         memcpy for PPC64.
9477         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9478         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9479         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9480         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9481         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9482         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9483         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9484         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9485         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9486         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9487         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9488         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9489         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9490         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9491         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9500 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9502         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9504 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9506         * benchtests/Makefile (bench): Add exp2 and log2.
9507         (LDLIBS-bench-exp2): Add -lm.
9508         (LDLIBS-bench-log2): Likewise.
9509         * benchtests/exp2-inputs: New inputs file.
9510         * benchtests/log2-inputs: New inputs file.
9511         * benchtests/log-inputs: Add new inputs.
9512         * benchtests/tan-inputs: Likewise.
9514 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9516         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9517         definition...
9518         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9519         (csloww2): ... from here.
9521         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9522         instead of structures.
9523         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9524         (POLYNOMIAL): Likewise.
9525         (TAYLOR_SLOW): Likewise.
9526         (__sin): Likewise.
9527         (__cos): Likewise.
9528         (slow1): Likewise.
9529         (slow2): Likewise.
9530         (sloww): Likewise.
9531         (sloww1); Likewise.
9532         (sloww2): Likewise.
9533         (bsloww1): Likewise.
9534         (bsloww2): Likewise.
9535         (cslow2): Likewise.
9536         (csloww): Likewise.
9537         (csloww1): Likewise.
9538         (csloww2): Likewise.
9540 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9542         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9543         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9544         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9545         * malloc/hooks.c (realloc_check): Likewise.
9547         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9548         * malloc/arena.c: Remove PER_THREAD conditional.
9549         [!PER_THREAD]: Remove code.
9550         (ptmalloc_unlock_all2): Likewise.
9551         (ptmalloc_init): Likewise.
9552         (_int_new_arena): Likewise.
9553         (arena_get2): Likewise.
9554         * malloc/hooks.c (__malloc_get_state): Likewise.
9555         (__malloc_set_state): Likewise.
9556         * malloc/malloc.c: Likewise.
9557         (struct malloc_state): Likewise.
9558         (struct malloc_par): Likewise.
9559         (__libc_realloc): Likewise.
9560         (__libc_mallopt): Likewise.
9562 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9564         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9566 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9568         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9569         macro to a function.  Check for zero perturb_byte.
9570         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9572         * malloc/malloc.c: (force_reg): Remove.
9573         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9574         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9575         force_reg by atomic_forced_read.
9576         * malloc/arena.c (ptmalloc_init): Likewise.
9577         * malloc/hooks.c (top_check): Likewise.
9579 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9583 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9587 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9589         * math/auto-libm-test-in: Add tests of lgamma.
9590         * math/auto-libm-test-out: Regenerated.
9591         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9592         (M_LOG_2_SQRT_PIl): Likewise.
9593         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9594         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9595         mpfr_f_f1.
9596         (func_calc_desc): Add mpfr_f_f1 union field.
9597         (ARGS1): New macro.
9598         (ARGS2): Likewise.
9599         (ARGS3): Likewise.
9600         (ARGS4): Likewise.
9601         (RET1): Likewise.
9602         (RET2): Likewise.
9603         (CALC): Likewise.
9604         (FUNC): Likewise.
9605         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9606         (test_functions): Add lgamma.
9607         (calc_generic_results): Handle mpfr_f_f1.
9608         * sysdeps/i386/fpu/libm-test-ulps: Update.
9609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9613         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9614         __mpn_add_n for PowerPC64/POWER7.
9615         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9616         __mpn_sub_n for PowerPC64/POWER7.
9618         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9619         __mpn_addmul_1 for PowerPC64.
9620         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9621         __mpn_submul_1 for PowerPC64.
9622         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9623         for PowerPC64.
9624         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9625         for PowerPC64.
9627 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9629         [BZ #15089]
9630         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9634         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9636         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9637         add multiarch folders.
9638         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9639         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9640         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9641         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9642         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9643         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9644         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9645         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9646         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9647         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9648         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9657         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9659         New file.
9660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9661         New file.
9662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9663         multiarch __ieee754_hypot for PowerPC32.
9664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9665         New file.
9666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9667         New file.
9668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9669         multiarch __ieee754_hypotf for PowerPC32.
9671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9672         long_double_symbol only if __logbl is defined.
9673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9674         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9676         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9678         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9679         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9680         path for implementation.
9681         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9682         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9684         logb, and logbl multiarch implementations for PowerPC32.
9685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9686         file.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9688         file.
9689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9690         multiarch logb for PowerPC32.
9691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9692         file.
9693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9694         file.
9695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9696         multiarch logbf for PowerPC32.
9697         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9699         file.
9700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9701         multiarch logbl implementation for PowerPC32.
9703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9704         and modff multiarch implementations.
9705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9706         New file.
9707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9708         New file.
9709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9710         multiarch modf for PowerPC32.
9711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9712         New file.
9713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9714         New file.
9715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9716         multiarch modff for PowerPC32.
9718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9719         and lrintf multiarch implementations.
9720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9721         New file.
9722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9723         New file.
9724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9725         multiarch lrint for PowerPC32.
9726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9727         file: multiarch lrintf for PowerPC32.
9729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9730         and lroundf multiarch implementations.
9731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9732         New file.
9733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9734         New file.
9735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9736         New file.
9737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9738         multiarch lround for PowerPC32.
9739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9740         file: multiarch lroundf for PowerPC32.
9742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9743         copysign and copysignf multiarch implementations.
9744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9745         New file.
9746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9747         New file.
9748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9749         file: multiarch copysign for PowerPC32.
9750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9751         file: multiarch copysignf for PowerPC32.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9754         and truncf multiarch implementations.
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9756         New file.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9758         file.
9759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9760         multiarch trunc for PowerPC32.
9761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9762         New file.
9763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9764         New file.
9765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9766         multiarch truncf for PowerPC32.
9768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9769         and roundf multiarch implementations.
9770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9771         New file.
9772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9773         file.
9774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9775         multiarch round for PowerPC32.
9776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9777         New file.
9778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9779         New file.
9780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9781         multiarch roundf for PowerPC32.
9783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9784         and floorf multiarch implementations.
9785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9786         New file.
9787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9788         file.
9789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9790         multiarch floor for PowerPC32.
9791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9792         New file.
9793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9794         New file.
9795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9796         multiarch floorf for PowerPC32.
9798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9799         and ceilf multiarch implementations.
9800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9801         New file.
9802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9803         file.
9804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9805         multiarch ceil for PowerPC32.
9806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9807         New file.
9808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9809         file.
9810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9811         multiarch ceilf for PowerPC32.
9813         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9814         is defined.
9815         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9816         FINITEF is defined.
9817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9818         and finitef multiarch implementations.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9820         New file.
9821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9822         file.
9823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9824         multiarch finite for PowerPC32.
9825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9826         New file.
9827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9828         file: multiarch finitef for PowerPC32.
9830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9831         and isinff multiarch implementations.
9832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9833         file.
9834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9835         file.
9836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9837         multiarch isinf for PowerPC32.
9838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9839         New file.
9840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9841         multiarch isinff for PowerPC32.
9843         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9844         alias when __isnan is defined.
9845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9846         and isnanf multiarch implementations.
9847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9848         file.
9849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9850         file.
9851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9852         file.
9853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9854         file.
9855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9856         multiarch isnan for PowerPC32.
9857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9858         New file.
9859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9860         New file.
9861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9862         multiarch isnanf for PowerPC32.
9864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9865         and sqrtf multiarch implementations.
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9867         file.
9868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9869         file.
9870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9871         multiarch sqrt for PowerPC32.
9872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9873         file.
9874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9875         file.
9876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9877         multiarch sqrtf for PowerPC32.
9879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9880         and llroundf multiarch implementations.
9881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9882         New file.
9883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9884         New file.
9885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9886         New file.
9887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9888         file: multiarch llround for PowerPC32.
9889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9890         file: multiarch llroundf for PowerPC32.
9892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9893         multiarch PowerPC32 fpu implementations.
9894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9895         New file.
9896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9897         New file.
9898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9899         multiarch llrint for PowerPC32.
9900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9901         New file.
9902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9903         New file.
9904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9905         file.
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9909         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9910         file.
9911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9912         file.
9913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9914         file.
9915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9916         multiarch wordcopy for PPC32.
9917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9918         wordcopy objects.
9919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9920         (__libc_ifunc_impl_list): Likewise.
9921         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9922         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9923         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9924         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9925         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9926         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9928         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9930         file.
9931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9932         file.
9933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9934         file.
9935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9936         multiarch wcscpy for PPC32.
9937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9938         multiarch objects.
9939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9940         (__libc_ifunc_impl_list): Likewise.
9941         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9942         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9943         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9944         sysdeps/powerpc/power6/wcscpy.c.
9946         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9948         file.
9949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9950         file.
9951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9952         file.
9953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9954         multiarch wcsrchr for PPC32.
9955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9956         multiarch objects.
9957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9958         (__libc_ifunc_impl_list): Likewise.
9959         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9960         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9961         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9962         sysdeps/powerpc/power6/wcsrchr.c.
9964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9965         file.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9967         file.
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9970         multiarch wcschr for PPc32.
9971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9972         multiarch objects.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9974         (__libc_ifunc_impl_list): Likewise.
9975         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9976         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9977         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9978         sysdeps/powerpc/power6/wcschr.c.
9980         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9981         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9982         file.
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9984         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9985         file: multiarch strchr for PPC32.
9986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9987         multiarch objects.
9988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9989         (__libc_ifunc_impl_list): Likewise.
9991         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9992         name.
9993         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9994         file.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9996         file.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9998         multiarch strchrnul for PPC32.
9999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10000         multiarch objects.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10002         (__libc_ifunc_impl_list): Likewise.
10004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10005         file.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10007         multiarch strncasecmp for PPC32.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10009         file.
10010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10011         multiarch strncasecmp_l for PPC32.
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10013         strncasecmp multiarch objects.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10015         (__libc_ifunc_impl_list): Likewise.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10018         file.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10020         multiarch strncasecmp for PPC32.
10021         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10022         New file.
10023         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10024         multiarch strcasecmp_l for PPC32.
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10026         multiarch objects.
10027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10028         (__libc_ifunc_impl_list): Likewise.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10031         file.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10033         file.
10034         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10035         multiarch strncmp for PPC32.
10036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10037         multiarch objects.
10038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10039         (__libc_ifunc_impl_list): Likewise.
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10042         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10043         file.
10044         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10045         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10047         multiarch objects.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10049         (__libc_ifunc_impl_list): Likewise.
10051         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10052         file.
10053         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10054         file.
10055         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10057         multiarch objects.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10059         (__libc_ifunc_impl_list): Likewise.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10062         file.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10064         file.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10066         multiarch rawmemchr for PPC32.
10067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10068         multiarch objects.
10069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10070         (__libc_ifunc_impl_list): Likewise.
10072         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10073         file.
10074         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10075         file.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10077         file: memrchr multiarch for PPC32.
10078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10079         multiarch objects.
10080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10081         (__libc_ifunc_impl_list): Likewise.
10083         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10084         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10085         file.
10086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10087         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10088         multiarch memchr for PPC32.
10089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10090         multiarch objects.
10091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10092         (__libc_ifunc_impl_list): Likewise.
10094         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10095         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10096         file.
10097         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10098         file.
10099         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10100         file: multiarch mempcpy for PPC32.
10101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10102         multiarch objects.
10103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10104         (__libc_ifunc_impl_list): Likewise.
10106         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10107         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10109         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10110         multiarch bzero for PPC32.
10111         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10112         file.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10114         file.
10115         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10116         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10117         file: multiarch memset for PPC32.
10118         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10120         memset multiarch objects.
10121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10122         (__libc_ifunc_impl_list): Likewise.
10124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10125         file.
10126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10128         memcmp for PPC32.
10129         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10131         multiarch objects.
10132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10133         (__libc_ifunc_impl_list): Likewise.
10135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10136         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10137         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10138         file.
10139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10140         file.
10141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10142         file.
10143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10144         multiarch memcpy for PPC32.
10145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10146         multiarch objects.
10147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10148         (__libc_ifunc_impl_list): Likewise.
10150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10151         support multiarch for POWER/PPC32.
10152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10153         Likewise.
10154         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10156         Implies file to make multiarch folder appers before the fpu and
10157         default folder for power4 configuration.
10159 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10161         * scripts/bench.pl: Append volatile keyword to type.
10163 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10165         * sysdeps/sh/sotruss-lib.c: New file.
10166         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10168 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10172 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10174         [BZ #6810]
10175         * math/w_tgamma.c: Include <errno.h>.
10176         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10177         * math/w_tgammaf.c: Include <errno.h>.
10178         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10179         * math/w_tgammal.c: Include <errno.h>.
10180         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10181         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10182         underflow.  Add more tgamma tests.
10183         * math/auto-libm-test-out: Regenerated.
10184         * sysdeps/i386/fpu/libm-test-ulps: Update.
10185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10187         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10188         sin, sinh, tan, tanh, tgamma, y0 and y1.
10189         * math/auto-libm-test-out: Regenerated.
10190         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10191         (TEST_COND_x86): Likewise.
10192         (M_E2l): Remove macro.
10193         (M_E3l): Likewise.
10194         (M_2_SQRT_PIl): Likewise.
10195         (M_SQRT_PIl): Likewise.
10196         (M_1_DIV_El): Likewise.
10197         (log_test_data): Use AUTO_TESTS_f_f.
10198         (log10_test_data): Likewise.
10199         (log1p_test_data): Likewise.
10200         (log2_test_data): Likewise.
10201         (sin_test_data): Likewise.
10202         (sin_tonearest_test_data): Likewise.
10203         (sin_towardzero_test_data): Likewise.
10204         (sin_downward_test_data): Likewise.
10205         (sin_upward_test_data): Likewise.
10206         (sinh_test_data): Likewise.
10207         (sinh_tonearest_test_data): Likewise.
10208         (sinh_towardzero_test_data): Likewise.
10209         (sinh_downward_test_data): Likewise.
10210         (sinh_upward_test_data): Likewise.
10211         (tan_test_data): Likewise.
10212         (tan_tonearest_test_data): Likewise.
10213         (tan_towardzero_test_data): Likewise.
10214         (tan_downward_test_data): Likewise.
10215         (tan_upward_test_data): Likewise.
10216         (tanh_test_data): Likewise.
10217         (tgamma_test_data): Likewise.
10218         (y0_test_data): Likewise.
10219         (y1_test_data): Likewise.
10220         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10221         (special_real_inputs): Add pi/4.
10222         * sysdeps/i386/fpu/libm-test-ulps: Update.
10223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10225 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10227         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10228         "longjmp_target" static probes.
10229         (__longjmp): Rename to __longjmp_symbol.
10230         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10231         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10232         on which longjmp to generate.
10233         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10234         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10235         probe.
10236         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10237         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10238         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10239         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10240         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10241         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10243         __longjmp_symbol based on which __longjmp to generate.
10244         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10245         probe.
10246         (setjmp): Rename to setjmp_symbol.
10247         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10248         (_setjmp): Rename to _setjmp_symbol.
10249         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10250         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10251         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10252         which setjmp to generate.
10253         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10254         "longjmp_target" static probes.
10256 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10258         * benchtests/README: Add note about output arguments.
10259         * benchtests/bench-sincos.c: Remove file.
10260         * benchtests/sincos-inputs: New file.
10261         * scripts/bench.pl: Identify output arguments and define
10262         static variables for them.
10264         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10266         [BZ #15941]
10267         * Makefile (INSTALL): Add install-plain.texi as the primary
10268         dependency.
10269         * manual/install-plain.texi: New file.
10270         * manual/install.texi: Include node directive only for
10271         non-plaintext output.
10273 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10275         * stdlib/longlong.h: Update from GCC.
10277         [BZ #6807]
10278         [BZ #15901]
10279         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10280         * math/w_j0f.c (y0f): Likewise.
10281         * math/w_j0l.c (__y0l): Likewise.
10282         * math/w_j1.c (y1): Likewise.
10283         * math/w_j1f.c (y1f): Likewise.
10284         * math/w_j1l.c (__y1l): Likewise
10285         * math/w_jn.c (yn): Likewise.
10286         * math/w_jnf.c (ynf): Likewise.
10287         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10288         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10289         value for Bessel function domain errors outside _SVID_ mode.
10290         Adjust sign of return value for yn (negative integer, 0).
10291         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10292         by zero in return for negative x and set sign appropriately for
10293         negative n.
10294         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10295         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10296         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10297         expectations in error cases.
10298         (y1_test_data): Likewise.
10299         (yn_test_data): Likewise.
10300         * sysdeps/i386/fpu/libm-test-ulps: Update.
10301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10303 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10305         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10306         "64" to "64-v1".  Add "64-v2".
10307         (abi-64-options): Rename to ...
10308         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10309         (abi-64-condition): Rename to ...
10310         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10311         (abi-64-ld-soname): Rename to ...
10312         (abi-64-v1-ld-soname): ... this.
10313         (abi-64-v2-options): Define.
10314         (abi-64-v2-condition): Likewise.
10315         (abi-64-v2-ld-soname): Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10317         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10322 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10323             Alan Modra  <amodra@gmail.com>
10325         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10326         New versions for use with the ELFv2 ABI.
10327         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10328         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10329         declaration.
10330         (struct La_ppc64v2_retval): Likewise.
10331         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10332         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10333         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10334         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10335         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10336         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10337         Do not save or restore CR.
10338         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10339         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10340         return values for ELFv2 ABI.  Fix location of FPR return registers.
10341         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10342         updated values for _CALL_ELF == 2.
10343         (La_regs, La_retval, int_retval): Likewise.
10345 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10347         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10348         (FRAME_MIN_SIZE_PARM): Likewise.
10349         (FRAME_BACKCHAIN): Likewise.
10350         (FRAME_CR_SAVE): Likewise.
10351         (FRAME_LR_SAVE): Likewise.
10352         (FRAME_TOC_SAVE): Likewise.
10353         (FRAME_PARM_SAVE): Likewise.
10354         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10355         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10356         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10357         (call_mcount_parm_offset): New macro.
10358         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10359         (PROF): Use symbolic stack frame offsets.
10360         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10361         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10362         Redefine in terms of FRAME_MIN_SIZE.
10363         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10364         (_dl_profile_resolve): Likewise.  Update comment.
10365         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10366         symbols stack frame offsets.
10367         (__sigsetjmp): Likewise.
10368         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10369         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10370         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10371         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10374         (FRAME_BACKCHAIN): Remove.
10375         (FRAME_CR_SAVE): Likewise.
10376         (FRAME_LR_SAVE): Likewise.
10377         (FRAME_COMPILER_DW): Likewise.
10378         (FRAME_LINKER_DW): Likewise.
10379         (FRAME_TOC_SAVE): Likewise.
10380         (FRAME_PARM_SAVE): Likewise.
10381         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10382         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10383         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10385         (CHECK_SP): Use symbolic stack frame offsets.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10387         zone" instead of caller's parameter save area for temp storage.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10389         Likewise.  Also, use symbolic stack frame offsets.
10390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10391         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10392         our own stack frame instead of the caller's.
10393         (__socket): Use symbolic stack frame offsets.
10395 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10396             Alan Modra  <amodra@gmail.com>
10398         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10399         Define.
10400         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10401         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10402         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10403         New function.
10404         (elf_machine_fixup_plt): Call it.
10405         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10406         reloc arguments.
10407         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10408         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10409         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10410         r2 before calling target.
10412 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10413             Alan Modra  <amodra@gmail.com>
10415         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10416         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10417         versions of macros to support ELFv2 ABI.
10418         (LOCALENTRY): New macro.
10419         (ENTRY, EALIGN): Use it.
10420         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10421         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10422         fall through into ENTRY entry point.
10423         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10424         Only define if _CALL_ELF != 2.
10426         (elf_machine_matches_host): Verify ABI version matches.
10427         (RTLD_START): Use LOCALENTRY.
10428         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10429         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10430         (PLT_ENTRY_WORDS): New macro.
10431         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10432         (elf_machine_runtime_setup): Support ELFv2 ABI.
10433         (elf_machine_fixup_plt): Likewise.
10434         (elf_machine_plt_conflict): Likewise.
10435         (resolve_ifunc): Likewise.
10436         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10437         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10438         Likewise.
10439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10440         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10442         (makecontext): Support ELFv2 ABI.
10443         * elf/elf.h (EF_PPC64_ABI): Define.
10445 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10447         * sysdeps/powerpc/powerpc64/sysdep.h
10448         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10449         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10450         (ENTRY) [ASSEMBLER]: ... but instead here ...
10451         (EALIGN) [ASSEMBLER]: ... and here.
10452         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10453         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10454         (ENTRY_2) [!ASSEMBLER]: Use it.
10455         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10456         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10457         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10458         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10459         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10461         Use PPC64_LOAD_FUNCPTR.
10463         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10465 2013-12-04  Alan Modra  <amodra@gmail.com>
10467         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10468         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10469         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10470         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10473         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10474         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10475         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10476         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10477         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10479 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10482         (__makecontext): Fix incorrect CFI when backtracing out of
10483         context created via makecontext.
10484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10485         (__setcontext): Fix incorrect CFI during switch to new context.
10486         (__novec_setcontext): Likewise.
10488 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10490         [BZ #4772]
10491         * time/strptime_l.c (__strptime_internal): Allow modifiers
10492         in strptime.
10493         * time/tst-strptime.c (day_tests): Add testcase.
10495 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10497         * scripts/bench.pl: Skip over blank lines.
10499 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10501         [BZ #926]
10502         * manual/time.texi (Calendar Time): Clarify what timezone functions
10503         use.
10505 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10509 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10511         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10512         implementation.
10513         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10514         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10515         * debug/memset_chk.c (__memset_chk): Likewise.
10516         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10517         * debug/strncpy_chk.c: Likewise.
10519 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10521         [BZ #15268]
10522         [BZ #15425]
10523         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10524         (__ieee754_exp): For possibly underflowing results, check size of
10525         result and force underflow exception if required.
10526         * math/auto-libm-test-in: Add more tests of exp.
10527         * math/auto-libm-test-out: Regenerated.
10528         * sysdeps/i386/fpu/libm-test-ulps: Update.
10529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10531         [BZ #16283]
10532         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10533         * math/w_exp2f.c (__exp2f): Likewise.
10534         * math/w_exp2l.c (__exp2l): Likewise.
10535         * math/auto-libm-test-in: Do not allow missing errno on exp2
10536         underflow.
10537         * math/auto-libm-test-out: Regenerated.
10539 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10541         [BZ #16274]
10542         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10543         handle filename validation.
10544         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10545         (do_open): Delete.
10547 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10549         [BZ #6786]
10550         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10551         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10552         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10553         <float.h>.
10554         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10555         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10556         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10558         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10559         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10560         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10561         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10562         Add more erfc tests.
10563         * math/auto-libm-test-out: Regenerated.
10564         * sysdeps/i386/fpu/libm-test-ulps: Update.
10565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10567         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10568         exp2, expm1, j0 and j1.
10569         * math/auto-libm-test-out: Regenerated.
10570         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10571         (erfc_test_data): Likewise.
10572         (exp_test_data): Likewise.
10573         (exp_tonearest_test_data): Likewise.
10574         (exp_towardzero_test_data): Likewise.
10575         (exp_downward_test_data): Likewise.
10576         (exp_upward_test_data): Likewise.
10577         (exp10_test_data): Likewise.
10578         (exp2_test_data): Likewise.
10579         (expm1_test_data): Likewise.
10580         (j0_test_data): Likewise.
10581         (j1_test_data): Likewise.
10582         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10583         (input_flag_type): Add flag_xfail_rounding.
10584         (input_flags): Add xfail-rounding.
10585         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10586         (output_for_one_input_case): Handle flag_xfail_rounding.
10587         * sysdeps/i386/fpu/libm-test-ulps: Update.
10588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10590 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10592         [BZ #16289]
10593         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10594         division by 0.
10596 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10598         [BZ #16195]
10599         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10600         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10601         (STAP_PROBE0): New macro.
10602         (STAP_PROBE1): Likewise.
10603         (STAP_PROBE2): Likewise.
10604         (STAP_PROBE3): Likewise.
10605         (STAP_PROBE4): Likewise.
10607 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10609         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10611 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10613         * benchtests/Makefile (bench): Add sqrt.
10614         (LDLIBS-bench-sqrt): New.
10615         * benchtests/sqrt-input: New.
10617 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10619         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10620         (GAIH_EAI): Likewise.
10621         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10622         (gaih_inet): Likewise.
10623         (getaddrinfo): Don't use GAIH_EAI.
10625         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10626         (struct gaih): Remove definition.
10628 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10630         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10631         Use HERRNOP directly.
10633 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10637 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10639         * math/gen-auto-libm-tests.c (test_functions): Add more
10640         single-argument functions.
10641         (special_fill_pi_2): New function.
10642         (special_fill_minus_pi_2): Likewise.
10643         (special_fill_pi_6): Likewise.
10644         (special_fill_minus_pi_6): Likewise.
10645         (special_fill_pi_3): Likewise.
10646         (special_fill_2pi_3): Likewise.
10647         (special_fill_e): Likewise.
10648         (special_fill_1_e): Likewise.
10649         (special_fill_e_minus_1): Likewise.
10650         (special_real_inputs): Add more special inputs.
10651         (output_for_one_input_case): Do not require ERANGE on underflow to
10652         zero if round-to-nearest result does not underflow to zero, unless
10653         exact results required.
10654         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10655         atan, atanh, cbrt, cos and cosh.
10656         * math/auto-libm-test-out: Regenerated.
10657         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10658         (acos_tonearest_test_data): Likewise.
10659         (acos_towardzero_test_data): Likewise.
10660         (acos_downward_test_data): Likewise.
10661         (acos_upward_test_data): Likewise.
10662         (acosh_test_data): Likewise.
10663         (asin_test_data): Likewise.
10664         (asin_tonearest_test_data): Likewise.
10665         (asin_towardzero_test_data): Likewise.
10666         (asin_upward_test_data): Likewise.
10667         (asinh_test_data): Likewise.
10668         (atan_test_data): Likewise.
10669         (atanh_test_data): Likewise.
10670         (cbrt_test_data): Likewise.
10671         (cos_test_data): Likewise.
10672         (cos_tonearest_test_data): Likewise.
10673         (cos_towardzero_test_data): Likewise.
10674         (cos_downward_test_data): Likewise.
10675         (cos_upward_test_data): Likewise.
10676         (cosh_test_data): Likewise.
10677         (cosh_tonearest_test_data): Likewise.
10678         (cosh_towardzero_test_data): Likewise.
10679         (cosh_downward_test_data): Likewise.
10680         (cosh_upward_test_data): Likewise.
10681         * sysdeps/i386/fpu/libm-test-ulps: Update.
10682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10684 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10686         [BZ #6787]
10687         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10688         * math/w_exp10f.c (__exp10f): Likewise.
10689         * math/w_exp10l.c (__exp10l): Likewise.
10690         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10691         errno settings in existing tests.
10693         [BZ #14032]
10694         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10695         precision control set to double precision.
10696         * sysdeps/i386/fpu/w_sqrt.c: New file.
10697         * math/auto-libm-test-in: Add more tests.
10698         * math/auto-libm-test-out: Update.
10700         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10701         (sqrt_test_tonearest): New function.
10702         (sqrt_towardzero_test_data): New variable.
10703         (sqrt_test_towardzero): New function.
10704         (sqrt_downward_test_data): New variable.
10705         (sqrt_test_downward): New function.
10706         (sqrt_upward_test_data): New variable.
10707         (sqrt_test_upward): New function.
10708         (main): Call the new functions.
10710         * math/gen-auto-libm-tests.c: New file.
10711         * math/auto-libm-test-in: Likewise.
10712         * math/auto-libm-test-out: New generated file.
10713         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10714         variables.
10715         (%beautify): Add generated representations of zero.
10716         (top level): Set $auto_input and call parse_auto_input.
10717         (beautify): Remove trailing "f" from hex float constants.
10718         (parse_args): Handle XFAIL_TEST.
10719         (convert_condition): New function.
10720         (or_value): Likewise.
10721         (or_cond_value): Likewise.
10722         (generate_testfile): Handle AUTO_TESTS_* lines.
10723         (parse_auto_input): New function.
10724         * math/libm-test.inc (XFAIL_TEST): New macro.
10725         (ERRNO_UNCHANGED): Update value.
10726         (ERRNO_EDOM): Likewise.
10727         (ERRNO_ERANGE): Likewise.
10728         (IGNORE_RESULT): Likewise.
10729         (TEST_COND_flt_32): New macro.
10730         (TEST_COND_dbl_64): Likewise.
10731         (TEST_COND_ldbl_96_intel): Likewise.
10732         (TEST_COND_ldbl_96_m68k): Likewise.
10733         (TEST_COND_ldbl_128): Likewise.
10734         (TEST_COND_ldbl_128ibm): Likewise.
10735         (TEST_COND_long32): Likewise.
10736         (TEST_COND_long64): Likewise.
10737         (TEST_COND_before_rounding): Likewise.
10738         (TEST_COND_after_rounding): Likewise.
10739         (enable_test): Handle XFAIL_TEST flag.
10740         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10741         with finite results.
10742         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10743         auto-libm-test-out.
10745 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10746             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10748         [BZ #16214]
10749         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10750         __tls_get_addr_internal instead of __tls_get_offset in order to
10751         avoid GOT pointer dependency.  Make rtld export
10752         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10753         __tls_get_addr since we are a __tls_get_offset platform.
10754         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10755         GOT pointer being set up before.
10756         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10758 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10760         * manual/math.texi (Errors in Math Functions): Document accuracy
10761         goals.
10763         [BZ #15004]
10764         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10765         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10766         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10767         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10768         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10769         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10770         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10771         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10772         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10773         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10774         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10775         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10776         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10777         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10778         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10779         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10781         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10782         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10783         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10784         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10785         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10786         Likewise.
10787         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10788         Likewise.
10789         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10790         Likewise.
10791         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10792         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10793         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10794         atomic-feupdateenv and flt-rounds.
10795         * sysdeps/powerpc/nofpu/Versions (libc): Add
10796         __atomic_feholdexcept, __atomic_feclearexcept,
10797         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10798         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10799         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10800         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10801         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10802         here.
10803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10804         Update.
10806         * manual/arith.texi (FP Exceptions): Document that exceptions may
10807         not be raised when matherr is used.
10808         (Math Error Reporting): Document overflow in directed rounding
10809         modes.  Document that errno may not be set when finite values are
10810         returned on overflow.  Document intent to set errno on underflow
10811         only for underflow to zero.
10813         [BZ #16271]
10814         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10815         round-to-nearest then adjust result for other rounding modes.
10816         * include/fenv.h (fegetround): Use libm_hidden_proto.
10817         * math/fegetround.c (fegetround): Use libm_hidden_def.
10818         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10819         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10820         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10821         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10822         Likewise.
10823         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10824         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10825         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10826         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10828 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10830         [BZ #16077]
10831         * nss/Versions (libnss_files): Add
10832         _nss_files_gethostbyname3_r.
10833         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10834         New function.
10835         (HOST_DB_LOOKUP): Remove macro.
10836         (_nss_files_gethostbyname_r): Implement function without the
10837         HOST_DB_LOOKUP macro.
10838         (_nss_files_gethostbyname2_r): Likewise.
10840 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10842         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10844 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10846         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10847         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10848         warning.
10850 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10852         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10853         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10854         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10855         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10856         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10857         __fe_nomask_env_priv and attribute_hidden.
10858         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10859         (libc_feupdateenv_test_ppc): Likewise.
10860         (libc_feresetround_ppc): Likewise.
10861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10862         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10863         compat_symbol macro.
10864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10865         (__fe_nomask_env): Likewise.
10866         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10868 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10870         * string/Makefile: Remove ifunc tests.
10871         * string/test-string.h: Define TEST_IFUNC.
10872         * string/test-bcopy-ifunc.c: Remove.
10873         * string/test-bzero-ifunc.c: Likewise.
10874         * string/test-memccpy-ifunc.c: Likewise.
10875         * string/test-memchr-ifunc.c: Likewise.
10876         * string/test-memcmp-ifunc.c: Likewise.
10877         * string/test-memcpy-ifunc.c: Likewise.
10878         * string/test-memmem-ifunc.c: Likewise.
10879         * string/test-memmove-ifunc.c: Likewise.
10880         * string/test-mempcpy-ifunc.c: Likewise.
10881         * string/test-memrchr-ifunc.c: Likewise.
10882         * string/test-memset-ifunc.c: Likewise.
10883         * string/test-rawmemchr-ifunc.c: Likewise.
10884         * string/test-stpcpy-ifunc.c: Likewise.
10885         * string/test-stpncpy-ifunc.c: Likewise.
10886         * string/test-strcasecmp-ifunc.c: Likewise.
10887         * string/test-strcasestr-ifunc.c: Likewise.
10888         * string/test-strcat-ifunc.c: Likewise.
10889         * string/test-strchr-ifunc.c: Likewise.
10890         * string/test-strchrnul-ifunc.c: Likewise.
10891         * string/test-strcmp-ifunc.c: Likewise.
10892         * string/test-strcpy-ifunc.c: Likewise.
10893         * string/test-strcspn-ifunc.c: Likewise.
10894         * string/test-strlen-ifunc.c: Likewise.
10895         * string/test-strncasecmp-ifunc.c: Likewise.
10896         * string/test-strncat-ifunc.c: Likewise.
10897         * string/test-strncmp-ifunc.c: Likewise.
10898         * string/test-strncpy-ifunc.c: Likewise.
10899         * string/test-strnlen-ifunc.c: Likewise.
10900         * string/test-strpbrk-ifunc.c: Likewise.
10901         * string/test-strrchr-ifunc.c: Likewise.
10902         * string/test-strspn-ifunc.c: Likewise.
10903         * string/test-strstr-ifunc.c: Likewise.
10905 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10907         * benchtests/Makefile: Remove ifunc tests.
10908         * benchtests/bench-string.h: Define TEST_IFUNC.
10909         * benchtests/bench-bcopy-ifunc.c: Remove.
10910         * benchtests/bench-bzero-ifunc.c: Likewise.
10911         * benchtests/bench-memccpy-ifunc.c: Likewise.
10912         * benchtests/bench-memchr-ifunc.c: Likewise.
10913         * benchtests/bench-memcmp-ifunc.c: Likewise.
10914         * benchtests/bench-memcpy-ifunc.c: Likewise.
10915         * benchtests/bench-memmem-ifunc.c: Likewise.
10916         * benchtests/bench-memmove-ifunc.c: Likewise.
10917         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10918         * benchtests/bench-memrchr-ifunc.c: Likewise.
10919         * benchtests/bench-memset-ifunc.c: Likewise.
10920         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10921         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10922         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10923         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10924         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10925         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10926         * benchtests/bench-strcat-ifunc.c: Likewise.
10927         * benchtests/bench-strchr-ifunc.c: Likewise.
10928         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10929         * benchtests/bench-strcmp-ifunc.c: Likewise.
10930         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10931         * benchtests/bench-strcpy-ifunc.c: Likewise.
10932         * benchtests/bench-strcspn-ifunc.c: Likewise.
10933         * benchtests/bench-strlen-ifunc.c: Likewise.
10934         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10935         * benchtests/bench-strncat-ifunc.c: Likewise.
10936         * benchtests/bench-strncmp-ifunc.c: Likewise.
10937         * benchtests/bench-strncpy-ifunc.c: Likewise.
10938         * benchtests/bench-strnlen-ifunc.c: Likewise.
10939         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10940         * benchtests/bench-strrchr-ifunc.c: Likewise.
10941         * benchtests/bench-strsep-ifunc.c: Likewise.
10942         * benchtests/bench-strspn-ifunc.c: Likewise.
10943         * benchtests/bench-strstr-ifunc.c: Likewise.
10945 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10947         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10949 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10951         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10952         * rt/aio.h: Likewise.
10953         * sysdeps/gnu/bits/utmp.h: Likewise.
10954         * sysdeps/gnu/bits/utmpx.h: Likewise.
10955         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10956         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10957         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10958         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10959         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10960         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10961         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10962         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10963         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10965         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10966         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10967         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10970         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10971         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10972         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10973         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10974         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10975         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10976         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10977         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10978         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10979         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10980         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10981         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10982         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10983         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10984         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10985         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10986         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10987         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10988         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10989         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10990         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10991         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10992         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10993         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10994         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10995         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10996         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10998 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11000         [BZ #16245]
11001         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11002         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11004 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11006         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11007         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11008         Likewise.
11010 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11012         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11013         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11014         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11015         (__fesetround): Remove define.
11016         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11017         rounding and exceptions handling.
11018         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11019         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11020         (__fe_nomask_env): Likewise.
11021         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11022         __fegetround instead of fegetround.
11023         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11024         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11026 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11028         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11029         it's there.
11031         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11033 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11035         [BZ #11157]
11036         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11037         (encrypt_r): Likewise.
11038         * malloc/obstack.h (obstack_free): Likewise.
11039         * posix/unistd.h (encrypt): Likewise.
11041 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11043         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11044         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11045         DL_CALL_DT_FINI() that call the functions directly.
11046         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11047         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11048         * elf/dl-fini.c: Likewise.
11050 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11052         * malloc/hooks.c (memalign_check): Add alignment rounding.
11053         * malloc/malloc.c (_mid_memalign): New function.
11054         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11055         Implement by calling _mid_memalign.
11056         * manual/probes.texi (Memory Allocation Probes): Remove
11057         memory_valloc_retry and memory_pvalloc_retry.
11059 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11061         * locale/programs/locarchive.c (open_archive): Add const
11062         qualifier to ARCHIVEFNAME and copy default fname to
11063         DEFAULT_FNAME.
11065         [BZ #15601]
11066         * libio/tst-widetext.input: Rename Oriya to Odia.
11067         * locale/iso-639.def: Likewise.
11069         * manual/probes.texi (Mathematical Function Probes): Add
11070         documentation for sin, cos, asin and acos probes.
11071         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11072         (__sin32): Add slowasin probe.
11073         (__cos32): Add slowacos probe.
11074         (__mpsin): Add slowsin probe.
11075         (__mpcos): Add slowcos probe.
11077 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #15483]
11080         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11081         thread-local __sim_exceptions_thread and global
11082         __sim_exceptions_global.
11083         (__sim_disabled_exceptions): Change to thread-local
11084         __sim_disabled_exceptions_thread and global
11085         __sim_disabled_exceptions_global.
11086         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11087         and global __sim_round_mode_global.
11088         (__simulate_exceptions): Use thread-local floating-point state and
11089         set global state from it as needed.
11090         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11091         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11092         __sim_round_mode_thread.
11093         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11094         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11095         and global __sim_exceptions_global.
11096         (__sim_disabled_exceptions): Change to thread-local
11097         __sim_disabled_exceptions_thread and global
11098         __sim_disabled_exceptions_global.
11099         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11100         and global __sim_round_mode_global.
11101         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11102         (SIM_SET_GLOBAL): Likewise.
11103         * sysdeps/powerpc/soft-fp/sfp-machine.h
11104         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11105         __sim_round_mode_thread.
11106         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11107         __sim_disabled_exceptions_thread.
11108         (__sim_exceptions): Change to __sim_exceptions_thread.
11109         (__sim_disabled_exceptions): Change to
11110         __sim_disabled_exceptions_thread.
11111         (__sim_round_mode): Change to __sim_round_mode_thread.
11112         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11113         thread-local floating-point state and set global state from it as
11114         needed.
11115         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11116         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11117         (__sim_disabled_exceptions): Remove extern declaration.
11118         (feenableexcept): Use thread-local floating-point state and set
11119         global state from it as needed.
11120         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11121         extern declaration.
11122         (__sim_disabled_exceptions): Likewise.
11123         (__sim_round_mode): Likewise.
11124         (__fegetenv): Use thread-local floating-point state.
11125         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11126         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11127         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11128         floating-point state and set global state from it as needed.
11129         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11130         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11131         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11132         Likewise.
11133         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11134         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11135         Likewise.
11136         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11137         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11138         Use __sim_round_mode_thread.
11139         * math/test-fenv-tls.c: New file.
11140         * math/Makefile (tests): Add test-fenv-tls.
11141         ($(objpfx)test-fenv-tls): Depend on
11142         $(common-objpfx)nptl/libpthread.so.
11144 2013-11-19  Andreas Schwab  <schwab@suse.de>
11146         * locale/programs/locale.c (show_info): Decode wordarray elements.
11147         * locale/categories.def (LC_MONETARY): Add element for
11148         _NL_MONETARY_CRNCYSTR.
11149         * locale/C-monetary.c (conversion_rate): New variable.
11150         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11151         element.
11153 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11155         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11156         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11158 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11160         * elf/Makefile (tst-auxv): New test.
11161         * elf/tst-auxv.c: New
11162         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11164 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11166         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11167         (hidden_proto): Caller changed.
11168         (hidden_tls_proto): New macro.
11169         (libc_hidden_tls_proto): Likewise.
11170         (rtld_hidden_tls_proto): Likewise.
11171         (libm_hidden_tls_proto): Likewise.
11172         (libresolv_hidden_tls_proto): Likewise.
11173         (librt_hidden_tls_proto): Likewise.
11174         (libdl_hidden_tls_proto): Likewise.
11175         (libnss_files_hidden_tls_proto): Likewise.
11176         (libnsl_hidden_tls_proto): Likewise.
11177         (libnss_nisplus_hidden_tls_proto): Likewise.
11178         (libutil_hidden_tls_proto): Likewise.
11180 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11182         [BZ #10253]
11183         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11184         (decompose_rpath): Defer expansion to fillin_rpath.
11185         (_dl_init_paths): Pass linkmap to fillin_rpath.
11187 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11189         * benchtests/Makefile: Add strsep.
11190         * benchtests/bench-strsep.c: New file: strsep benchtest.
11191         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11193 2013-11-18  Andreas Schwab  <schwab@suse.de>
11195         * locale/programs/locale.c (show_info) [case byte]: Check for
11196         '\377' instead of '\177'.
11197         * locale/C-monetary.c (not_available): Always use "\377".
11198         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11199         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11200         detect unavailable sign_posn locale elements.
11201         * locale/localeconv.c (__localeconv): For grouping and
11202         mon_grouping handle "\177" and "\377" like no grouping.
11203         (INT_ELEM): New macro.  Use it to set all numeric members.
11204         * locale/programs/ld-monetary.c (monetary_read)
11205         <tok_mon_grouping>: Normalize single -1 to the empty string.
11206         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11207         Likewise.
11209 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11211         [BZ #16055]
11212         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11213         when we match (nil).
11214         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11216 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11218         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11219         (NO_TEST_INLINE): Update value.
11220         (ERRNO_UNCHANGED): Likewise.
11221         (ERRNO_EDOM): Likewise.
11222         (ERRNO_ERANGE): Likewise.
11223         (IGNORE_RESULT): Likewise.
11224         (check_float_internal): Check signs of NaN results if
11225         TEST_NAN_SIGN used.
11226         (check_complex): Pass TEST_NAN_SIGN flag through to second
11227         check_float_internal call.
11228         (copysign_test_data): Add tests with quiet NaNs as second
11229         argument.  Use TEST_NAN_SIGN.
11230         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11231         TEST_NAN_SIGN.
11232         (signbit_test_data): Add tests of quiet NaN argument.
11233         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11235         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11236         $ignore_result.
11237         (parse_args): Handle function results specified as IGNORE.
11238         * math/libm-test.inc (IGNORE_RESULT): New macro.
11239         (check_float_internal): Do not check numerical result if flag
11240         IGNORE_RESULT set.
11241         (check_complex): Pass through IGNORE_RESULT to second
11242         check_float_internal call.
11243         (check_int): Do not check numerical result if flag IGNORE_RESULT
11244         set.
11245         (check_long): Likewise.
11246         (check_bool): Likewise.
11247         (check_longlong): Likewise.
11248         (lrint_test_data): Add tests of infinite and NaN arguments.
11249         (lrint_tonearest_test_data): Likewise.
11250         (lrint_towardzero_test_data): Likewise.
11251         (lrint_downward_test_data): Likewise.
11252         (lrint_upward_test_data): Likewise.
11253         (llrint_test_data): Likewise.
11254         (llrint_tonearest_test_data): Likewise.
11255         (llrint_towardzero_test_data): Likewise.
11256         (llrint_downward_test_data): Likewise.
11257         (llrint_upward_test_data): Likewise.
11258         (lround_test_data): Likewise.
11259         (llround_test_data): Likewise.
11261         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11262         (ERRNO_UNCHANGED): Update value.
11263         (ERRNO_EDOM): Likewise.
11264         (ERRNO_ERANGE): Likewise.
11265         (NO_TEST_INLINE_FLOAT): New macro.
11266         (NO_TEST_INLINE_DOUBLE): Likewise.
11267         (enable_test): New function.
11268         (RUN_TEST_f_f): Check enable_test before running test.
11269         (RUN_TEST_2_f): Likewise.
11270         (RUN_TEST_fff_f): Likewise.
11271         (RUN_TEST_c_f): Likewise.
11272         (RUN_TEST_f_f1): Likewise.
11273         (RUN_TEST_fF_f1): Likewise.
11274         (RUN_TEST_fI_f1): Likewise.
11275         (RUN_TEST_ffI_f1): Likewise.
11276         (RUN_TEST_c_c): Likewise.
11277         (RUN_TEST_cc_c): Likewise.
11278         (RUN_TEST_f_i): Likewise.
11279         (RUN_TEST_f_i_tg): Likewise.
11280         (RUN_TEST_ff_i_tg): Likewise.
11281         (RUN_TEST_f_b): Likewise.
11282         (RUN_TEST_f_b_tg): Likewise.
11283         (RUN_TEST_f_l): Likewise.
11284         (RUN_TEST_f_L): Likewise.
11285         (RUN_TEST_fFF_11): Likewise.
11286         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11287         conditionals.
11288         (cosh_test_data): Likewise.
11289         (exp_test_data): Likewise.
11290         (expm1_test_data): Likewise.
11291         (hypot_test_data): Likewise.
11292         (pow_test_data): Likewise.
11293         (sinh_test_data): Likewise.
11294         (tanh_test_data): Likewise.
11295         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11296         flags argument.
11298         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11299         tests with quiet NaN input and output.
11300         (acosh_test_data): Likewise.
11301         (asin_test_data): Likewise.
11302         (asinh_test_data): Likewise.
11303         (atan_test_data): Likewise.
11304         (atanh_test_data): Likewise.
11305         (atan2_test_data): Likewise.
11306         (cbrt_test_data): Likewise.
11307         (cos_test_data): Likewise.
11308         (cosh_test_data): Likewise.
11309         (erf_test_data): Likewise.
11310         (erfc_test_data): Likewise.
11311         (exp_test_data): Likewise.
11312         (exp10_test_data): Likewise.
11313         (exp2_test_data): Likewise.
11314         (expm1_test_data): Likewise.
11315         (hypot_test_data): Likewise.
11316         (j0_test_data): Likewise.
11317         (j1_test_data): Likewise.
11318         (jn_test_data): Likewise.
11319         (lgamma_test_data): Likewise.
11320         (log_test_data): Likewise.
11321         (log10_test_data): Likewise.
11322         (log1p_test_data): Likewise.
11323         (log2_test_data): Likewise.
11324         (pow_test_data): Likewise.
11325         (scalb_test_data): Likewise.
11326         (sin_test_data): Likewise.
11327         (sincos_test_data): Likewise.
11328         (sinh_test_data): Likewise.
11329         (tan_test_data): Likewise.
11330         (tanh_test_data): Likewise.
11331         (tgamma_test_data): Likewise.
11332         (y0_test_data): Likewise.
11333         (y1_test_data): Likewise.
11334         (yn_test_data): Likewise.
11336         [BZ #16167]
11337         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11338         argument being NaN and avoid computations with second argument in
11339         that case.
11340         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11341         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11342         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11344 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11346         * locale/iso-639.def: Add Chitwani Tharu (the).
11348 2013-11-14  Andreas Schwab  <schwab@suse.de>
11350         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11351         word instead of empty string.
11353 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11356         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11358         (__fe_nomask_env): Likewise.
11360 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11362         * benchtests/bench-timing.h: Include time.h.
11364 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11366         [BZ #15997]
11367         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11368         to 3.4.0 for x32.
11369         * sysdeps/unix/sysv/linux/configure: Regenerated.
11371 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11373         [BZ #16151]
11374         * stdlib/strtod_l.c (round_and_return): Do not consider
11375         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11376         exponent one less than half the least subnormal exponent.
11377         * stdlib/test-strtod-round-data: Add more tests.
11378         * stdlib/tst-strtod-round.c (tests): Regenerated.
11380 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11382         [BZ #14143]
11383         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11384         (__fe_mask_env): Likewise.
11385         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11386         libm_hidden_proto and add function prototype.
11387         (__fe_mask_env): Add function prototype.
11388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11389         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11391         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11393         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11395 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11397         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11398         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11400 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11402         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11403         of htab_find_slot().
11405 2013-11-11  David S. Miller  <davem@davemloft.net>
11407         [BZ #16150]
11408         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11409         symbol in the non-vis3 case in static builds.
11410         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11411         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11412         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11413         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11415 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11417         [BZ #387]
11418         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11419         it is empty.
11421 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11423         * benchtests/Makefile: Add bench-strtod.
11424         * benchtests/bench-strtod.c: New file: strtod benchtest
11426 2013-11-11  Andreas Schwab  <schwab@suse.de>
11428         [BZ #16153]
11429         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11430         terminating NUL in key length.
11432 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11434         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11435         Add artificial ODP entry for vDSO symbol for PPC64.
11436         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11437         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11439 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11441         [BZ #15374]
11442         * nss/getent.c (services_keys): Recognize services starting with digit.
11444 2013-11-06  David S. Miller  <davem@davemloft.net>
11446         [BZ #15985]
11447         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11448         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11450 2013-11-06  Will Newton  <will.newton@linaro.org>
11452         * manual/memory.texi (Malloc Examples): Remove register
11453         keyword from examples.
11455 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11457         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11459 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11461         [BZ #6981]
11462         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11463         depending on [__GCC_IEC_559 > 0].
11464         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11465         depending on [__GCC_IEC_559_COMPLEX > 0].
11467 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11469         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11470         to iso-639.def.
11472 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11474         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11476 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11478         [BZ #16112]
11479         * malloc/malloc (malloc_info): Do not handle first bin as
11480         special case.
11482 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11484         * locale/iso-639.def: Add Central Nahuatl (nhn).
11486 2013-11-01  Bruno Haible  <bruno@clisp.org>
11488         [BZ #7003]
11489         * manual/math.texi (BSD Random): Specify range upper bound as
11490         in POSIX.
11492 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11494         * locale/iso-639.def: Add Meadow Mari (mhr).
11496 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11498         [BZ #14752], [BZ #15763]
11499         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11500         Validate name.
11501         * rt/tst_shm.c: Add test for escaping directory.
11503 2013-10-31  Andreas Schwab  <schwab@suse.de>
11505         [BZ #15917]
11506         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11507         followed by 'x' as part of digit sequence.
11508         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11510 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11512         [BZ #16037]
11513         * configure.ac: allow GNU Make 4.0 and greater.
11514         * configure: Regenerated.
11516 2013-10-30  Will Newton  <will.newton@linaro.org>
11518         [BZ #16038]
11519         * malloc/hooks.c (memalign_check): Limit alignment to the
11520         maximum representable power of two.
11521         * malloc/malloc.c (__libc_memalign): Likewise.
11522         * malloc/tst-memalign.c (do_test): Add test for very
11523         large alignment values.
11524         * malloc/tst-posix_memalign.c (do_test): Likewise.
11526 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11528         [BZ #11087]
11529         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11530         (munmap_chunk): Likewise.
11531         (mremap_chunk): Likewise.
11533 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11535         [BZ #15799]
11536         * stdlib/div.c (div): Remove obsolete code.
11537         * stdlib/ldiv.c (ldiv): Likewise.
11538         * stdlib/lldiv.c (lldiv): Likewise.
11540 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11542         [BZ #16071]
11543         * nss/nss_files/files-XXX.c (get_contents_ret): New
11544         enumerator.
11545         (get_contents): New function.
11546         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11548 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11550         * configure.in: Moved to ...
11551         * configure.ac: ... here. Change reference to configure.in
11552         to configure.ac.
11553         * sysdeps/arm/preconfigure.ac: ... here.
11554         configure.in to configure.ac.
11555         * sysdeps/gnu/configure.in: Moved to ...
11556         * sysdeps/gnu/configure.ac: ... here.
11557         * sysdeps/i386/configure.in: Moved to ...
11558         * sysdeps/i386/configure.ac: ... here.
11559         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11560         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11561         * sysdeps/mach/configure.in: Moved to ...
11562         * sysdeps/mach/configure.ac: ... here.
11563         * sysdeps/mach/hurd/configure.in: Moved to ...
11564         * sysdeps/mach/hurd/configure.ac: ... here.
11565         * sysdeps/powerpc/configure.in: Moved to ...
11566         * sysdeps/powerpc/configure.ac: ... here.
11567         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11568         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11569         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11570         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11571         * sysdeps/s390/s390-32/configure.in: Moved to ...
11572         * sysdeps/s390/s390-32/configure.ac: ... here.
11573         * sysdeps/s390/s390-64/configure.in: Moved to ...
11574         * sysdeps/s390/s390-64/configure.ac: ... here.
11575         * sysdeps/sh/configure.in: Moved to ...
11576         * sysdeps/sh/configure.ac: ... here.
11577         * sysdeps/sparc/configure.in: Moved to ...
11578         * sysdeps/sparc/configure.ac: ... here.
11579         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11580         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11581         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11582         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11583         * sysdeps/x86_64/configure.in: Moved to ...
11584         * sysdeps/x86_64/configure.ac: ... here.
11585         * sysdeps/x86_64/preconfigure.in: Moved to ...
11586         * sysdeps/x86_64/preconfigure.ac: ... here.
11587         * aclocal.m4: Change reference to configure.in to configure.ac.
11588         * config.h.in: Likewise.
11589         * manual/install.texi: Likewise.
11590         * manual/maint.texi: Likewise.
11591         * Makefile: Likewise.
11592         * malloc/Makefile: Likewise.
11593         * nscd/Makefile: Likewise.
11594         * Makeconfig: Change reference to configure.in and
11595         preconfigure.in to configure.ac and preconfigure.ac
11596         respectively.
11597         * INSTALL: Regenerated.
11598         * configure: Likewise.
11599         * sysdeps/gnu/configure: Likewise.
11600         * sysdeps/i386/configure: Likewise.
11601         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11602         * sysdeps/mach/configure: Likewise.
11603         * sysdeps/mach/hurd/configure: Likewise.
11604         * sysdeps/powerpc/configure: Likewise.
11605         * sysdeps/powerpc/powerpc32/configure: Likewise.
11606         * sysdeps/powerpc/powerpc64/configure: Likewise.
11607         * sysdeps/s390/s390-32/configure: Likewise.
11608         * sysdeps/s390/s390-64/configure: Likewise.
11609         * sysdeps/sh/configure: Likewise.
11610         * sysdeps/sparc/configure: Likewise.
11611         * sysdeps/unix/sysv/linux/configure: Likewise.
11612         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11613         * sysdeps/x86_64/configure: Likewise.
11614         * sysdeps/x86_64/preconfigure: Likewise.
11616 2013-10-29  Andreas Schwab  <schwab@suse.de>
11618         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11620 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11622         * benchtests/pow-inputs: Add new inputs.
11624         * benchtests/exp-inputs: Add new inputs.
11626         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11627         conditional check for return value.
11628         (__cos32): Likewise.
11630 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11632         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11633         to provide a boost for large inputs with word alignment.
11634         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11635         implementation based on optimized PPC64 strcpy.
11636         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11637         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11638         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11639         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11641 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11643         [BZ #2801]
11644         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11646 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11648         [BZ #14876]
11649         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11650         * time/tst-strptime.c (day_tests): Add testcase.
11652 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11654         [BZ #14029]
11655         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11657 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11659         [BZ #16074]
11660         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11661         MAP_FAILED on error.
11663 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11665         [BZ #16072]
11666         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11667         heap for large requests.
11669 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11671         [BZ #9954]
11672         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11673         result if the result has no associated interface.
11674         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11675         interface for all 127.X.Y.Z addresses.
11677 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11679         * locale/iso-639.def: Add Ligurian (lij)
11681 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11683         [BZ #15825]
11684         * sunrpc/rpc_main.c: Document rpcgen -5.
11686 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11688         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11690 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11692         [BZ #10278]
11693         * posix/glob.c: Match only directories when trailing slash is present.
11694         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11695         (main): Add testcase.
11697 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11699         [BZ #15670]
11700         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11702 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11704         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11705         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11706         AUTH_DES and cindex for FIPS 140-2.
11707         (DES Encryption): Add cindex FIPS 46-3.
11709         * locale/locarchive.h (struct locarhandle): Add fname.
11710         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11711         if an optional argument was specified to --list-archive,
11712         otherwise NULL.
11713         * locale/programs/locarchive.c (show_archive_content): Take new
11714         argument fname and pass it via ah.fname to open_archive.
11715         * locale/programs/localedef.h: Update decl.
11716         (open_archive): If AH->fname is non-null, open that file
11717         rather than the default file name, and don't ignore ENOENT.
11718         (create_archive): Set AH.fname to NULL.
11719         (delete_locales_from_archive): Likewise.
11720         (add_locales_to_archive): Likewise.
11721         * locale/programs/locfile.c (write_all_categories): Likewise.
11723 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11724             Aldy Hernandez  <aldyh@redhat.com>
11726         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11727         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11728         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11729         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11730         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11731         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11732         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11733         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11734         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11735         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11736         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11737         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11738         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11739         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11740         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11741         Likewise.
11742         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11743         Likewise.
11744         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11745         Likewise.
11746         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11747         Likewise.
11748         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11749         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11750         Likewise.
11751         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11752         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11753         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11754         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11755         Likewise.
11756         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11757         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11758         * sysdeps/powerpc/preconfigure: Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11760         Likewise.
11761         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11762         Replace contents of file by #include of <fenv_libc.h>.
11763         * sysdeps/powerpc/soft-fp/sfp-machine.h
11764         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11765         and <sys/prctl.h>.
11766         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11767         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11768         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11774         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11775         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11777         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11779         Allow copysignl PLT reference to be missing.
11781 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11782             Joseph Myers  <joseph@codesourcery.com
11784         [BZ #15948]
11785         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11786         single character.
11787         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11789 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11791         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11792         * elf/tst-tls1.c: Likewise.
11793         * elf/tst-tls10.h: Likewise.
11794         * elf/tst-tls14.c: Likewise.
11795         * elf/tst-tls2.c: Likewise.
11796         * elf/tst-tls3.c: Likewise.
11797         * elf/tst-tls4.c: Likewise.
11798         * elf/tst-tls5.c: Likewise.
11799         * elf/tst-tls6.c: Likewise.
11800         * elf/tst-tls7.c: Likewise.
11801         * elf/tst-tls8.c: Likewise.
11802         * elf/tst-tls9.c: Likewise.
11803         * elf/tst-tlsmod1.c: Likewise.
11804         * elf/tst-tlsmod13.c: Likewise.
11805         * elf/tst-tlsmod13a.c: Likewise.
11806         * elf/tst-tlsmod14a.c: Likewise.
11807         * elf/tst-tlsmod16a.c: Likewise.
11808         * elf/tst-tlsmod16b.c: Likewise.
11809         * elf/tst-tlsmod2.c: Likewise.
11810         * elf/tst-tlsmod3.c: Likewise.
11811         * elf/tst-tlsmod4.c: Likewise.
11812         * elf/tst-tlsmod5.c: Likewise.
11813         * elf/tst-tlsmod6.c: Likewise.
11815 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11817         [BZ #12486]
11818         * malloc/malloc.c: remove checks for statistics.
11820 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11822         [BZ #15277]
11823         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11824         * inet/tst-network.c: Add testcase.
11826 2013-10-17  Andreas Schwab  <schwab@suse.de>
11828         [BZ #15218]
11829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11830         to determine canonical name.
11832 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11834         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11835         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11836         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11837         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11849         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11851         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11852         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11853         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11857         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11858         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11859         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11860         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11862         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11863         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11864         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11868         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11869         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11870         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11871         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11872         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11873         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11874         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11879         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11880         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11881         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11882         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11883         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11884         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11885         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11886         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11887         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11888         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11889         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11891         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11893 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11895         [BZ #16041]
11896         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11897         make result into a quiet NaN.
11899 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11901         * soft-fp/adddf3.c: Fix horizontal whitespace.
11902         * soft-fp/addsf3.c: Likewise.
11903         * soft-fp/addtf3.c: Likewise.
11904         * soft-fp/divdf3.c: Likewise.
11905         * soft-fp/divsf3.c: Likewise.
11906         * soft-fp/divtf3.c: Likewise.
11907         * soft-fp/double.h: Likewise.
11908         * soft-fp/eqdf2.c: Likewise.
11909         * soft-fp/eqsf2.c: Likewise.
11910         * soft-fp/eqtf2.c: Likewise.
11911         * soft-fp/extenddftf2.c: Likewise.
11912         * soft-fp/extended.h: Likewise.
11913         * soft-fp/extendsfdf2.c: Likewise.
11914         * soft-fp/extendsftf2.c: Likewise.
11915         * soft-fp/extendxftf2.c: Likewise.
11916         * soft-fp/fixdfdi.c: Likewise.
11917         * soft-fp/fixdfsi.c: Likewise.
11918         * soft-fp/fixdfti.c: Likewise.
11919         * soft-fp/fixsfdi.c: Likewise.
11920         * soft-fp/fixsfsi.c: Likewise.
11921         * soft-fp/fixsfti.c: Likewise.
11922         * soft-fp/fixtfdi.c: Likewise.
11923         * soft-fp/fixtfsi.c: Likewise.
11924         * soft-fp/fixtfti.c: Likewise.
11925         * soft-fp/fixunsdfdi.c: Likewise.
11926         * soft-fp/fixunsdfsi.c: Likewise.
11927         * soft-fp/fixunsdfti.c: Likewise.
11928         * soft-fp/fixunssfdi.c: Likewise.
11929         * soft-fp/fixunssfsi.c: Likewise.
11930         * soft-fp/fixunssfti.c: Likewise.
11931         * soft-fp/fixunstfdi.c: Likewise.
11932         * soft-fp/fixunstfsi.c: Likewise.
11933         * soft-fp/fixunstfti.c: Likewise.
11934         * soft-fp/floatdidf.c: Likewise.
11935         * soft-fp/floatdisf.c: Likewise.
11936         * soft-fp/floatditf.c: Likewise.
11937         * soft-fp/floatsidf.c: Likewise.
11938         * soft-fp/floatsisf.c: Likewise.
11939         * soft-fp/floatsitf.c: Likewise.
11940         * soft-fp/floattidf.c: Likewise.
11941         * soft-fp/floattisf.c: Likewise.
11942         * soft-fp/floattitf.c: Likewise.
11943         * soft-fp/floatundidf.c: Likewise.
11944         * soft-fp/floatundisf.c: Likewise.
11945         * soft-fp/floatunditf.c: Likewise.
11946         * soft-fp/floatunsidf.c: Likewise.
11947         * soft-fp/floatunsisf.c: Likewise.
11948         * soft-fp/floatunsitf.c: Likewise.
11949         * soft-fp/floatuntidf.c: Likewise.
11950         * soft-fp/floatuntisf.c: Likewise.
11951         * soft-fp/floatuntitf.c: Likewise.
11952         * soft-fp/fmadf4.c: Likewise.
11953         * soft-fp/fmasf4.c: Likewise.
11954         * soft-fp/fmatf4.c: Likewise.
11955         * soft-fp/gedf2.c: Likewise.
11956         * soft-fp/gesf2.c: Likewise.
11957         * soft-fp/getf2.c: Likewise.
11958         * soft-fp/ledf2.c: Likewise.
11959         * soft-fp/lesf2.c: Likewise.
11960         * soft-fp/letf2.c: Likewise.
11961         * soft-fp/muldf3.c: Likewise.
11962         * soft-fp/mulsf3.c: Likewise.
11963         * soft-fp/multf3.c: Likewise.
11964         * soft-fp/negdf2.c: Likewise.
11965         * soft-fp/negsf2.c: Likewise.
11966         * soft-fp/negtf2.c: Likewise.
11967         * soft-fp/op-1.h: Likewise.
11968         * soft-fp/op-2.h: Likewise.
11969         * soft-fp/op-4.h: Likewise.
11970         * soft-fp/op-8.h: Likewise.
11971         * soft-fp/op-common.h: Likewise.
11972         * soft-fp/quad.h: Likewise.
11973         * soft-fp/single.h: Likewise.
11974         * soft-fp/soft-fp.h: Likewise.
11975         * soft-fp/sqrtdf2.c: Likewise.
11976         * soft-fp/sqrtsf2.c: Likewise.
11977         * soft-fp/sqrttf2.c: Likewise.
11978         * soft-fp/subdf3.c: Likewise.
11979         * soft-fp/subsf3.c: Likewise.
11980         * soft-fp/subtf3.c: Likewise.
11981         * soft-fp/truncdfsf2.c: Likewise.
11982         * soft-fp/trunctfdf2.c: Likewise.
11983         * soft-fp/trunctfsf2.c: Likewise.
11984         * soft-fp/trunctfxf2.c: Likewise.
11985         * soft-fp/unorddf2.c: Likewise.
11986         * soft-fp/unordsf2.c: Likewise.
11987         * soft-fp/unordtf2.c: Likewise.
11989 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11991         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11992         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11994 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11996         * elf/dl-libc.c: Clear initfini list after freeing.
11998 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12000         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12001         * soft-fp/addsf3.c: Likewise.
12002         * soft-fp/addtf3.c: Likewise.
12003         * soft-fp/divdf3.c: Likewise.
12004         * soft-fp/divsf3.c: Likewise.
12005         * soft-fp/divtf3.c: Likewise.
12006         * soft-fp/double.h: Likewise.
12007         * soft-fp/eqdf2.c: Likewise.
12008         * soft-fp/eqsf2.c: Likewise.
12009         * soft-fp/eqtf2.c: Likewise.
12010         * soft-fp/extenddftf2.c: Likewise.
12011         * soft-fp/extended.h: Likewise.
12012         * soft-fp/extendsfdf2.c: Likewise.
12013         * soft-fp/extendsftf2.c: Likewise.
12014         * soft-fp/extendxftf2.c: Likewise.
12015         * soft-fp/fixdfdi.c: Likewise.
12016         * soft-fp/fixdfsi.c: Likewise.
12017         * soft-fp/fixdfti.c: Likewise.
12018         * soft-fp/fixsfdi.c: Likewise.
12019         * soft-fp/fixsfsi.c: Likewise.
12020         * soft-fp/fixsfti.c: Likewise.
12021         * soft-fp/fixtfdi.c: Likewise.
12022         * soft-fp/fixtfsi.c: Likewise.
12023         * soft-fp/fixtfti.c: Likewise.
12024         * soft-fp/fixunsdfdi.c: Likewise.
12025         * soft-fp/fixunsdfsi.c: Likewise.
12026         * soft-fp/fixunsdfti.c: Likewise.
12027         * soft-fp/fixunssfdi.c: Likewise.
12028         * soft-fp/fixunssfsi.c: Likewise.
12029         * soft-fp/fixunssfti.c: Likewise.
12030         * soft-fp/fixunstfdi.c: Likewise.
12031         * soft-fp/fixunstfsi.c: Likewise.
12032         * soft-fp/fixunstfti.c: Likewise.
12033         * soft-fp/floatdidf.c: Likewise.
12034         * soft-fp/floatdisf.c: Likewise.
12035         * soft-fp/floatditf.c: Likewise.
12036         * soft-fp/floatsidf.c: Likewise.
12037         * soft-fp/floatsisf.c: Likewise.
12038         * soft-fp/floatsitf.c: Likewise.
12039         * soft-fp/floattidf.c: Likewise.
12040         * soft-fp/floattisf.c: Likewise.
12041         * soft-fp/floattitf.c: Likewise.
12042         * soft-fp/floatundidf.c: Likewise.
12043         * soft-fp/floatundisf.c: Likewise.
12044         * soft-fp/floatunsidf.c: Likewise.
12045         * soft-fp/floatunsisf.c: Likewise.
12046         * soft-fp/floatuntidf.c: Likewise.
12047         * soft-fp/floatuntisf.c: Likewise.
12048         * soft-fp/floatuntitf.c: Likewise.
12049         * soft-fp/fmadf4.c: Likewise.
12050         * soft-fp/fmasf4.c: Likewise.
12051         * soft-fp/fmatf4.c: Likewise.
12052         * soft-fp/gedf2.c: Likewise.
12053         * soft-fp/gesf2.c: Likewise.
12054         * soft-fp/getf2.c: Likewise.
12055         * soft-fp/ledf2.c: Likewise.
12056         * soft-fp/lesf2.c: Likewise.
12057         * soft-fp/letf2.c: Likewise.
12058         * soft-fp/muldf3.c: Likewise.
12059         * soft-fp/mulsf3.c: Likewise.
12060         * soft-fp/multf3.c: Likewise.
12061         * soft-fp/negdf2.c: Likewise.
12062         * soft-fp/negsf2.c: Likewise.
12063         * soft-fp/negtf2.c: Likewise.
12064         * soft-fp/op-1.h: Likewise.
12065         * soft-fp/op-2.h: Likewise.
12066         * soft-fp/op-4.h: Likewise.
12067         * soft-fp/op-8.h: Likewise.
12068         * soft-fp/op-common.h: Likewise.
12069         * soft-fp/quad.h: Likewise.
12070         * soft-fp/single.h: Likewise.
12071         * soft-fp/soft-fp.h: Likewise.
12072         * soft-fp/sqrtdf2.c: Likewise.
12073         * soft-fp/sqrtsf2.c: Likewise.
12074         * soft-fp/sqrttf2.c: Likewise.
12075         * soft-fp/subdf3.c: Likewise.
12076         * soft-fp/subsf3.c: Likewise.
12077         * soft-fp/subtf3.c: Likewise.
12078         * soft-fp/truncdfsf2.c: Likewise.
12079         * soft-fp/trunctfdf2.c: Likewise.
12080         * soft-fp/trunctfsf2.c: Likewise.
12081         * soft-fp/trunctfxf2.c: Likewise.
12082         * soft-fp/unorddf2.c: Likewise.
12083         * soft-fp/unordsf2.c: Likewise.
12084         * soft-fp/unordtf2.c: Likewise.
12086 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12088         [BZ #15672]
12089         * misc/error.c (error_tail): Fix possible buffer overflow.
12091 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12093         [BZ #13028]
12094         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12095         address.
12097 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12099         [BZ #832]
12100         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12101         testing pipefail option.
12103 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12105         * soft-fp/double.h: Indent preprocessor directives inside #if.
12106         * soft-fp/extended.h: Likewise.
12107         * soft-fp/op-2.h: Likewise.
12108         * soft-fp/op-4.h: Likewise.
12109         * soft-fp/op-common.h: Likewise.
12110         * soft-fp/quad.h: Likewise.
12111         * soft-fp/single.h: Likewise.
12112         * soft-fp/soft-fp.h: Likewise.
12114 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12116         * iconv/iconv_prog.c: Fix typos.
12117         * stdio-common/psiginfo-data.h: Likewise.
12119 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12121         [BZ #15764]
12122         * locale/setlocale.c: Fix typo.
12124 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12126         [BZ #16036]
12127         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12128         signaling NaN arguments.
12129         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12130         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12132         [BZ #14910]
12133         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12134         unordered operands.
12135         * soft-fp/gesf2.c (__gesf2): Likewise.
12136         * soft-fp/getf2.c (__getf2): Likewise.
12137         * soft-fp/ledf2.c (__ledf2): Likewise.
12138         * soft-fp/lesf2.c (__lesf2): Likewise.
12139         * soft-fp/letf2.c (__letf2): Likewise.
12141         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12142         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12143         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12144         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12145         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12146         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12147         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12148         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12149         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12150         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12151         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12152         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12153         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12154         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12155         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12156         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12157         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12158         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12159         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12160         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12161         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12162         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12163         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12164         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12165         * soft-fp/floattidf.c (__floattidf): Likewise.
12166         * soft-fp/floattisf.c (__floattisf): Likewise.
12167         * soft-fp/floattitf.c (__floattitf): Likewise.
12168         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12169         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12170         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12171         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12172         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12173         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12174         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12175         * soft-fp/gesf2.c (__gesf2): Likewise.
12176         * soft-fp/getf2.c (__getf2): Likewise.
12177         * soft-fp/ledf2.c (__ledf2): Likewise.
12178         * soft-fp/lesf2.c (__lesf2): Likewise.
12179         * soft-fp/letf2.c (__letf2): Likewise.
12181         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12182         Undefine and redefine.
12183         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12184         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12185         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12186         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12187         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12188         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12189         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12190         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12191         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12192         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12193         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12194         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12195         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12196         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12197         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12199         [BZ #16032]
12200         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12201         without decrementing exponent if mantissa >= that for the
12202         denominator, not >.
12203         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12204         denominator, not >.  Decrement exponent in < case instead of
12205         incrementing in >= case.
12206         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12207         without decrementing exponent if mantissa >= that for the
12208         denominator, not >.
12210         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12211         computing saturated result for unsigned overflow.
12213 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12214             Jeff Law  <law@redhat.com>
12216         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12217         (atan2Mp): Add systemtap probe marker.
12218         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12219         (__ieee754_log): Add systemtap probe marker.
12220         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12221         (atanMp): Add systemtap probe marker.
12222         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12223         (tanMp): Add systemtap probe marker.
12224         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12225         (__slowexp): Add systemtap probe marker.
12226         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12227         (__slowpow): Add systemtap probe marker.
12228         * manual/probes.texi: Document probes.
12230 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12232         [BZ #15362]
12233         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12234         written.
12235         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12236         written.
12237         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12238         written to buffer but not flushed.
12239         * libio/iofwrite_u.c:  Likewise.
12240         * libio/iopadn.c:  Return bytes returned even if EOF was
12241         encountered.
12242         * libio/iowpadn.c:  Likewise.
12243         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12244         if _IO_padn does not write the whole buffer.
12245         [!COMPILE_WPRINTF] (PAD): Likewise.
12247 2013-10-10  David S. Miller  <davem@davemloft.net>
12249         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12250         directory block.
12252 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12254         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12255         instead of FSF address.
12256         * soft-fp/fixdfti.c: Likewise.
12257         * soft-fp/fixsfti.c: Likewise.
12258         * soft-fp/fixtfti.c: Likewise.
12259         * soft-fp/fixunsdfti.c: Likewise.
12260         * soft-fp/fixunssfti.c: Likewise.
12261         * soft-fp/fixunstfti.c: Likewise.
12262         * soft-fp/floattidf.c: Likewise.
12263         * soft-fp/floattisf.c: Likewise.
12264         * soft-fp/floattitf.c: Likewise.
12265         * soft-fp/floatuntidf.c: Likewise.
12266         * soft-fp/floatuntisf.c: Likewise.
12267         * soft-fp/floatuntitf.c: Likewise.
12268         * soft-fp/trunctfxf2.c: Likewise.
12270         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12271         * soft-fp/fixdfti.c: Likewise.
12272         * soft-fp/fixsfti.c: Likewise.
12273         * soft-fp/fixtfti.c: Likewise.
12274         * soft-fp/fixunsdfti.c: Likewise.
12275         * soft-fp/fixunssfti.c: Likewise.
12276         * soft-fp/fixunstfti.c: Likewise.
12277         * soft-fp/floattidf.c: Likewise.
12278         * soft-fp/floattisf.c: Likewise.
12279         * soft-fp/floattitf.c: Likewise.
12280         * soft-fp/floatuntidf.c: Likewise.
12281         * soft-fp/floatuntisf.c: Likewise.
12282         * soft-fp/floatuntitf.c: Likewise.
12283         * soft-fp/trunctfxf2.c: Likewise.
12285 2013-10-10  David S. Miller  <davem@davemloft.net>
12287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12289 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12291         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12292         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12293         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12294         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12295         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12296         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12297         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12299         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12300         for NaNs before doing comparisons on argument.
12301         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12302         Likewise.
12304 2013-10-10  Will Newton  <will.newton@linaro.org>
12306         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12307         passed to _int_memalign does not overflow.
12309 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12311         * scripts/bench.pl: Add include-sources directive.
12312         * benchtests/README: Update documentation.
12314 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12316         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12317         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12318         instead of FP_INIT_ROUNDMODE.
12319         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12320         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12322         [BZ #16034]
12323         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12324         copy class of input value.
12325         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12326         not handle exceptions.
12327         * soft-fp/negsf2.c (__negsf2): Likewise.
12328         * soft-fp/negtf2.c (__negtf2): Likewise.
12329         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12331 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12333         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12334         semicolon.  From Linux kernel.
12336 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12338         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12340 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12342         [BZ #156]
12343         * manual/socket.texi: Added statement about buffer
12344         for gethostbyname2_r.
12346 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12348         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12349         Use .p2align directive instead, throughout.
12350         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12351         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12352         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12355         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12356         * sysdeps/x86_64/strchr.S: Likewise.
12357         * sysdeps/x86_64/strrchr.S: Likewise.
12359 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12361         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12363         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12365         * sysdeps/generic/math_private.h (__mpsin1): Remove
12366         declaration.
12367         (__mpcos1): Likewise.
12368         (__mpsin): New argument __range_reduce.
12369         (__mpcos): Likewise.
12370         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12371         (slow): Use __mpsin and __mpcos.
12372         (slow1): Likewise.
12373         (slow2): Likewise.
12374         (sloww): Likewise.
12375         (sloww1): Likewise.
12376         (sloww2): Likewise.
12377         (bsloww): Likewise.
12378         (bsloww1): Likewise.
12379         (bsloww2): Likewise.
12380         (cslow2): Likewise.
12381         (csloww): Likewise.
12382         (csloww1): Likewise.
12383         (csloww2): Likewise.
12384         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12385         range_reduce.  Merge in __mpsin1.
12386         (__mpcos): Likewise.
12387         (__mpsin1): Remove.
12388         (__mpcos1): Likewise.
12390 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12392         * locale/loadlocale.c (_nl_intern_locale_data): Use
12393         LOCFILE_ALIGNED_P.
12394         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12395         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12396         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12397         obstack data is appropriately aligned.
12398         (obstack_int32_grow_fast): Likewise.
12399         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12400         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12401         (add_locale_uint32_array): Likewise.
12403 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12405         * benchtests/Makefile: Remove ARGLIST and RET variables.
12406         ($(objpfx)bench-%.c): Pass only function name to the script.
12407         * benchtests/README: Update documentation.
12408         * benchtests/acos-inputs: Add new directives.
12409         * benchtests/acosh-inputs: Likewise.
12410         * benchtests/asin-inputs: Likewise.
12411         * benchtests/asinh-inputs: Likewise.
12412         * benchtests/atan-inputs: Likewise.
12413         * benchtests/atanh-inputs: Likewise.
12414         * benchtests/cos-inputs: Likewise.
12415         * benchtests/cosh-inputs: Likewise.
12416         * benchtests/exp-inputs: Likewise.
12417         * benchtests/log-inputs: Likewise.
12418         * benchtests/pow-inputs: Likewise.
12419         * benchtests/rint-inputs: Likewise.
12420         * benchtests/sin-inputs: Likewise.
12421         * benchtests/sinh-inputs: Likewise.
12422         * benchtests/tan-inputs: Likewise.
12423         * benchtests/tanh-inputs: Likewise.
12424         * scripts/bench.pl: Add support for new directives.
12426 2013-10-07  Alan Modra  <amodra@gmail.com>
12428         * README: Fix careless merge.
12430 2013-10-05  Alan Modra  <amodra@gmail.com>
12432         * NEWS: Mention powerpc64le support and bugs fixed.
12433         * README: Both big-endian and little-endian powerpc64 supported.
12435 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12437         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12438         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12439         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12440         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12442 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12444         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12445         match prototype.
12447 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12449         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12450         Move -mhard-float appending from
12451         ports/sysdeps/powerpc/powerpc32/Makefile.
12452         [$(with-fp) = yes] (ASFLAGS): Likewise.
12453         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12454         * sysdeps/powerpc/nofpu: Move directory from
12455         ports/sysdeps/powerpc/nofpu.
12456         * sysdeps/powerpc/soft-fp: Move directory from
12457         ports/sysdeps/powerpc/soft-fp.
12458         * sysdeps/powerpc/powerpc32/405: Move directory from
12459         ports/sysdeps/powerpc/powerpc32/405.
12460         * sysdeps/powerpc/powerpc32/440: Move directory from
12461         ports/sysdeps/powerpc/powerpc32/440.
12462         * sysdeps/powerpc/powerpc32/464: Move directory from
12463         ports/sysdeps/powerpc/powerpc32/464.
12464         * sysdeps/powerpc/powerpc32/476: Move directory from
12465         ports/sysdeps/powerpc/powerpc32/476.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12467         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12469         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12471         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12473         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12475         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12476         * README: Update for powerpc-*-linux-gnu software floating point
12477         support in libc.
12479         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12480         case to powerpc/powerpc32*.
12481         * sysdeps/unix/sysv/linux/configure: Regenerated.
12483         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12484         (_FPU_MASK_OM): Define as 0x04.
12485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12487         0x00c10080.
12488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12489         0x0000003c.
12490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12493         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12494         getcontext_e500.
12495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12496         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12497         setcontext_e500.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12499         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12500         and setcontext_e500.
12502 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12504         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12506 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12508         * manual/threads.texi (Default Thread Attributes): Fix typo.
12510 2013-10-04  Will Newton  <will.newton@linaro.org>
12512         * malloc/Makefile: Add tst-memalign.
12513         * malloc/tst-memalign.c: New file.
12515         * malloc/tst-posix_memalign.c: Add comments.
12516         (do_test): Add comments and call free on all potentially
12517         allocated pointers. Add space after cast.
12519         * malloc/tst-pvalloc.c: Add comments.
12520         (do_test): Add comments and call free on all potentially
12521         allocated pointers. Remove duplicate check for NULL pointer.
12522         Add space after cast.
12524         * malloc/tst-valloc.c: Add comments.
12525         (do_test): Add comments and call free on all potentially
12526         allocated pointers. Remove duplicate check for NULL pointer.
12527         Add space after cast.
12529 2013-10-04  Alan Modra  <amodra@gmail.com>
12531         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12532         Use stdint types in rather than __attribute__((mode())).
12533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12535 2013-10-04  Alan Modra  <amodra@gmail.com>
12537         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12538         Correct handling of unaligned relocs for little-endian.
12539         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12541 2013-10-04  Alan Modra  <amodra@gmail.com>
12543         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12544         * configure: Regenerate.
12545         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12546         * shlib-versions: Likewise.
12548 2013-10-04  Alan Modra  <amodra@gmail.com>
12550         * string/tester.c (test_memrchr): Increment reported test cycle.
12552 2013-10-04  Alan Modra  <amodra@gmail.com>
12554         * string/test-memcpy.c (do_one_test): When reporting errors, print
12555         string address and don't overrun end of string.
12557 2013-10-04  Alan Modra  <amodra@gmail.com>
12559         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12560         insrdi.  Make better use of reg selection to speed exit slightly.
12561         Schedule entry path a little better.  Remove useless "are we done"
12562         checks on entry to main loop.  Handle wrapping around zero address.
12563         Correct main loop count.  Handle single left-over word from main
12564         loop inline rather than by using loop_small.  Remove extra word
12565         case in loop_small caused by wrong loop count.  Add little-endian
12566         support.
12567         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12568         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12569         cache hint.
12570         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12571         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12572         support.  Avoid rlwimi.
12573         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12575 2013-10-04  Alan Modra  <amodra@gmail.com>
12577         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12578         insrdi.  Formatting.
12579         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12580         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12581         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12582         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12583         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12584         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12586 2013-10-04  Alan Modra  <amodra@gmail.com>
12588         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12589         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12591         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12592         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12593         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12594         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12595         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12596         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12597         use of regs.  Use power7 mtocrf.  Tidy function tails.
12599 2013-10-04  Alan Modra  <amodra@gmail.com>
12601         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12602         Formatting.  Consistently use rXXX register defines or rN defines.
12603         Use early exit labels that avoid restoring unused non-volatile regs.
12604         Make cr field use more consistent with rWORDn compares.  Rename
12605         regs used as shift registers for unaligned loop, using rN defines
12606         for short lifetime/multiple use regs.
12607         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12608         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12609         addi 1,1,64 to pop stack frame.  Simplify return value code.
12610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12612 2013-10-04  Alan Modra  <amodra@gmail.com>
12614         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12615         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12616         rather than rlwimi.
12617         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12618         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12619         little-endian support.  Correct typos.
12620         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12621         rather than rlwimi.
12622         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12623         in loop and entry code to keep "and." results.
12624         (strchr): Add little-endian support.  Comment.  Move cntlzd
12625         earlier in tail.
12626         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12628 2013-10-04  Alan Modra  <amodra@gmail.com>
12630         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12631         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12632         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12633         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12635 2013-10-04  Alan Modra  <amodra@gmail.com>
12637         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12638         (rTMP): Define as r11.
12639         (strcmp): Add little-endian support.  Optimise tail.
12640         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12641         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12642         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12643         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12644         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12645         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12646         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12648 2013-10-04  Alan Modra  <amodra@gmail.com>
12650         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12651         little-endian support.  Remove unnecessary "are we done" tests.
12652         Handle "s" wrapping around zero and extremely large "size".
12653         Correct main loop count.  Handle single left-over word from main
12654         loop inline rather than by using small_loop.  Correct comments.
12655         Delete "zero" tail, use "end_max" instead.
12656         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12658 2013-10-04  Alan Modra  <amodra@gmail.com>
12660         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12661         support.  Don't branch over align.
12662         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12663         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12664         support.  Rearrange tmp reg use to suit.  Comment.
12665         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12667 2013-10-04  Alan Modra  <amodra@gmail.com>
12669         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12671 2013-10-04  Alan Modra  <amodra@gmail.com>
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12674         conditional form of branch and link when obtaining pc.
12675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12677 2013-10-04  Alan Modra  <amodra@gmail.com>
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12680         HIWORD/LOWORD.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12684 2013-10-04  Alan Modra  <amodra@gmail.com>
12686         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12687         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12688         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12689         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12690         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12691         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12692         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12693         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12694         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12695         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12697 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12698             Alistair Popple <alistair@ozlabs.au.ibm.com>
12699             Alan Modra <amodra@gmail.com>
12701         [BZ #15723]
12702         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12703         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12704         _dl_hwcap access for little-endian.
12705         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12706         destroy vmx regs when saving unaligned.
12707         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12708         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12709         destroy vmx regs when saving unaligned.
12711 2013-10-04  Alan Modra  <amodra@gmail.com>
12713         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12714         Don't use a union to pack hi/low value.
12716 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12718         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12719         for little-endian.
12720         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12722         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12723         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12724         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12726 2013-10-04  Alan Modra  <amodra@gmail.com>
12728         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12729         constants to usual value for .cst8 section, and remove redundant
12730         high address load.
12731         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12732         constant for 0x1p52.  Load little-endian words of double from
12733         correct stack offsets.
12735 2013-10-04  Alan Modra  <amodra@gmail.com>
12737         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12738         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12739         words of double from correct stack offsets.
12740         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12741         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12742         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12743         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12744         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12745         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12746         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12747         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12748         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12750         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12751         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12752         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12753         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12754         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12755         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12756         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12758 2013-10-04  Alan Modra  <amodra@gmail.com>
12760         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12761         64-bit int/double union.
12762         (_FPU_SETCW): Likewise.
12763         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12764         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12766 2013-10-04  Alan Modra  <amodra@gmail.com>
12768         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12769         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12771 2013-10-04  Alan Modra  <amodra@gmail.com>
12773         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12774         use vector int constants.
12775         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12777 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12779         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12780         array with long long.
12781         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12782         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12783         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12784         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12785         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12786         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12787         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12788         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12789         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12790         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12791         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12792         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12793         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12795 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12797         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12798         (__signbit): Likewise.  Correct for little-endian.
12799         (__signbitl): Call __signbit.
12800         (lrint): Correct for little-endian.
12801         (lrintf): Call lrint.
12803 2013-10-04  Alan Modra  <amodra@gmail.com>
12805         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12806         union 32-bit int array member with 64-bit int array.
12807         (t515, tm256): Double rather than long double.
12808         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12810 2013-10-04  Alan Modra  <amodra@gmail.com>
12812         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12813         Delete.
12814         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12816         version of math_ldbl.h.
12818 2013-10-04  Alan Modra  <amodra@gmail.com>
12820         [BZ #15734], [BZ #15735]
12821         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12822         all uses of ieee875 long double macros and unions.  Simplify test
12823         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12824         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12825         normalize after ldbl_extract_mantissa, and don't add hidden bit
12826         already handled.  Don't treat low word of ieee854 mantissa like
12827         low word of IBM long double and mask off bit when testing for
12828         zero.
12829         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12830         all uses of ieee875 long double macros and unions.  Simplify tests
12831         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12832         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12833         two1022, instead use their values.  Recognise that tests for large
12834         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12835         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12836         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12837         test for 0.0L and nan.  Correct negation.
12838         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12839         ieee875 long double macros and unions.  Correct output for large
12840         magnitude x.  Correct absolute value calculation.
12841         (__erfcl): Likewise.
12842         * math/libm-test.inc: Add tests for errors discovered in IBM long
12843         double versions of fmodl, remainderl, erfl and erfcl.
12845 2013-10-04  Alan Modra  <amodra@gmail.com>
12847         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12848         all uses of ieee854 long double macros and unions.  Simplify tests
12849         for long doubles that are fully specified by the high double.
12850         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12851         Likewise.
12852         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12853         Remove dead code too.
12854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12855         (__ieee754_ynl): Likewise.
12856         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12857         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12858         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12859         Remove dead code too.
12860         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12861         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12863         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12864         Simplify.
12865         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12866         Simplify.
12867         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12868         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12869         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12870         Comment on variable precision.
12871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12872         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12873         Likewise.
12874         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12875         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12876         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12877         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12878         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12880 2013-10-04  Alan Modra  <amodra@gmail.com>
12882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12883         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12884         all uses of ieee854 long double macros and unions.
12885         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12886         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12887         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12888         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12889         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12890         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12891         Likewise.
12892         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12893         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12894         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12895         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12896         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12897         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12898         Simplify sign and nan test too.
12899         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12900         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12901         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12902         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12903         Likewise.
12904         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12905         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12906         Likewise.
12907         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12908         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12909         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12910         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12911         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12912         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12914 2013-10-04  Alan Modra  <amodra@gmail.com>
12916         * stdio-common/printf_size.c (__printf_size): Don't use
12917         union ieee854_long_double in fpnum union.
12918         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12919         signbit macro to retrieve sign from long double.
12920         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12921         retrieve sign from long double.
12922         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12923         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12924         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12925         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12926         * math/test-misc.c (main): Don't use union ieee854_long_double.
12928 2013-10-04  Alan Modra  <amodra@gmail.com>
12930         [BZ #15680]
12931         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12932         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12933         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12934         calculation.  Remove unnecessary test for denormal exponent.
12935         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12936         Correct handling of denormals.  Avoid undefined shift behaviour.
12937         Correct normalisation of low mantissa when low double is denormal.
12938         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12939         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12940         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12941         Correct normalisation of low mantissa.  Test for overflow of high
12942         mantissa and normalise.
12943         (ldbl_nearbyint): Use more readable constant for two52.
12944         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12945         (__mpn_construct_long_double): Fix test for overflow of high
12946         mantissa and correct normalisation.  Avoid undefined shift.
12948 2013-10-04  Alan Modra  <amodra@gmail.com>
12950         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12951         (union ibm_extended_long_double): Define as an array of ieee754_double.
12952         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12954         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12955         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12959         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12962         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12964 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12966         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12967         page size instead of calling getpagesize.
12969         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12970         (LOCFILE_ALIGN_MASK): Likewise.
12971         (LOCFILE_ALIGN_UP): Likewise.
12972         (LOCFILE_ALIGNED_P): Likewise.
12973         * locale/programs/ld-collate.c (collate_output): Use the new
12974         macros instead of __alignof__ (int32_t).
12975         * locale/weight.h (findidx): Likewise.
12977 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12979         [BZ #431]
12980         * manual/string.texi: Fix strncat and wcsncat.
12982 2013-10-03  Brooks Moses  <bmoses@google.com>
12984         [BZ #15915]
12985         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12986         * Makerules: ...here, and adjust associated comments.
12988 2013-10-02  Will Newton  <will.newton@linaro.org>
12990         * malloc/Makefile: Add tst-pvalloc.
12991         * malloc/tst-pvalloc.c: New file.
12993 2013-10-02  Will Newton  <will.newton@linaro.org>
12995         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12996         improve test coverage.
12998 2013-10-02  Will Newton  <will.newton@linaro.org>
13000         * malloc/Makefile: Add tst-posix_memalign.
13001         * malloc/tst-posix_memalign.c: New file.
13003 2013-10-01  Eric Blake  <eblake@redhat.com>
13005         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13006         Use __THROWNL rather than __THROW on static functions.
13008 2013-09-30  Petr Machata  <pmachata@redhat.com>
13010         * elf/elf.h (R_AARCH64_ABS16): New macro.
13011         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13012         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13013         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13014         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13015         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13016         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13017         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13018         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13019         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13020         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13021         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13022         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13023         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13024         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13025         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13026         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13027         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13028         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13029         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13030         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13031         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13032         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13033         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13034         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13035         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13036         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13037         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13038         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13039         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13040         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13041         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13042         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13043         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13044         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13045         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13046         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13047         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13048         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13049         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13050         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13051         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13052         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13053         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13054         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13055         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13056         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13057         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13058         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13059         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13060         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13061         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13062         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13063         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13064         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13065         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13066         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13067         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13068         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13069         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13070         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13071         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13072         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13073         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13074         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13075         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13076         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13077         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13078         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13079         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13080         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13081         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13082         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13083         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13084         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13085         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13086         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13087         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13088         (R_AARCH64_TLSDESC_LDR): Likewise.
13089         (R_AARCH64_TLSDESC_ADD): Likewise.
13090         (R_AARCH64_TLSDESC_CALL): Likewise.
13092 2013-09-30  Andreas Schwab  <schwab@suse.de>
13094         [BZ #15048]
13095         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13096         the nss database lookup.
13097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13098         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13100 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13102         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13104 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13106         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13107         ${Bash-specific parameter/pattern/string} parameter expansion.
13108         * sysdeps/unix/make-syscalls.sh: Likewise.
13110 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13112         * sysdeps/sh/stackguard-macros.h: New file.
13114 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13118         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13119         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13120         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13121         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13123 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13125         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13126         Fix thread ID register.
13128 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13130         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13131         [POSIX || UNIX98]: Require rather than permitting all symbols from
13132         <time.h>.
13133         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13134         element of struct sched_param.
13135         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13136         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13137         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13138         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13139         constant.
13141 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13143         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13144         argument calculation.
13146 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13148         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13149         Expect macro.
13150         [POSIX] (pthread_attr_t): Do not require type.
13151         [POSIX] (pthread_cond_t): Likewise.
13152         [POSIX] (pthread_condattr_t): Likewise.
13153         [POSIX] (pthread_key_t): Likewise.
13154         [POSIX] (pthread_mutex_t): Likewise.
13155         [POSIX] (pthread_mutexattr_t): Likewise.
13156         [POSIX] (pthread_once_t): Likewise.
13157         [POSIX] (pthread_t): Likewise.
13158         [POSIX-based standards] (pthread_atfork): Expect function.
13160 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13161             Richard Sandiford  <richard@codesourcery.com>
13163         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13164         (swap_endianness_p): New extern variable.
13165         (set_big_endian): New inline function.
13166         (maybe_swap_uint32): Likewise.
13167         (maybe_swap_uint32_array): Likewise.
13168         (maybe_swap_uint32_obstack): Likewise.
13169         * locale/programs/locfile.c: Include <stdbool.h>.
13170         (swap_endianness_p): New variable.
13171         (add_locale_uint32): Call maybe_swap_uint32.
13172         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13173         (write_locale_data): Call maybe_swap_uint32_array.
13174         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13175         maybe_swap_uint32.
13176         (obstack_int32_grow_fast): Likewise.
13177         (output_weightwc): Call maybe_swap_uint32_obstack.
13178         (collate_output): Likewise.
13179         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13180         (OPT_LITTLE_ENDIAN): Likewise.
13181         (options): Add --little-endian and --big-endian options.
13182         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13183         * locale/programs/locarchive.c: Include "locfile.h".
13184         (GET): New macro.
13185         (SET): Likewise.
13186         (INC): Likewise.
13187         (create_archive): Use the new macros to access fields of
13188         structures directly mapped from or written to locale archives.
13189         (oldlocrecentcmp): Likewise.
13190         (enlarge_archive): Likewise.
13191         (insert_name): Likewise.
13192         (add_alias): Likewise.
13193         (add_locale): Likewise.
13194         (delete_locales_from_archive): Likewise.
13195         (show_archive_content): Likewise.
13196         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13197         locale data.
13199 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13201         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13202         http://www.gnu.org/doc/freemanuals.texi.
13203         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13205 2013-09-24  Will Newton  <will.newton@linaro.org>
13207         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13208         macro.
13210 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13212         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13213         unsigned char.
13215 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13217         * manual/threads.texi (POSIX Threads): Fix a typo.
13219 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13221         [BZ #14547]
13222         * string/tst-strcoll-overflow.c: New test case.
13223         * string/Makefile (xtests): Add tst-strcoll-overflow.
13224         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13225         cache if string sizes may cause integer overflow.
13227         [BZ #14547]
13228         * string/strcoll_l.c (coll_seq): New members rule, idx,
13229         save_idx and back_us.
13230         (get_next_seq_nocache): New function.
13231         (do_compare_nocache): New function.
13232         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13233         when malloc fails.
13235 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13237         [BZ #15754]
13238         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13239         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13240         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13242         [BZ #15754]
13243         * elf/Makefile (tests): Add tst-ptrguard1.
13244         (tests-static): Add tst-ptrguard1-static.
13245         (tst-ptrguard1-ARGS): Define.
13246         (tst-ptrguard1-static-ARGS): Define.
13247         * elf/tst-ptrguard1.c: New file.
13248         * elf/tst-ptrguard1-static.c: New file.
13249         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13250         * sysdeps/i386/stackguard-macros.h: Likewise.
13251         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13252         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13253         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13254         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13255         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13256         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13258 2013-09-23  Hector Marco  <hecmargi@upv.es>
13259             Ismael Ripoll  <iripoll@disca.upv.es>
13260             Carlos O'Donell  <carlos@redhat.com>
13262         [BZ #15754]
13263         * sysdeps/generic/stackguard-macros.h: Define
13264         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13265         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13266         Define __pointer_chk_guard_local.
13267         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13268         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13270 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13272         [BZ #15859]
13273         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13275 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13277         * include/string.h (__ffs): Declare as hidden.
13278         * string/ffs.c (__ffs): Define as hidden.
13279         * sysdeps/i386/ffs.c (__ffs): Likewise.
13280         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13281         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13282         * sysdeps/s390/ffs.c (__ffs): Likewise.
13283         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13285 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13287         * NEWS: Mention malloc probes.
13289         * malloc/arena.c (new_heap): New memory_heap_new probe.
13290         (grow_heap): New memory_heap_more probe.
13291         (shrink_heap): New memory_heap_less probe.
13292         (heap_trim): New memory_heap_free probe.
13293         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13294         (systrim): New memory_sbrk_less probe.
13295         * manual/probes.texi: Document them.
13297         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13298         * manual/probes.texi: Document it.
13300         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13301         (__libc_realloc): Add memory_realloc_retry probe.
13302         (__libc_memalign): Add memory_memalign_retry probe.
13303         (__libc_valloc): Add memory_valloc_retry probe.
13304         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13305         (__libc_calloc): Add memory_calloc_retry probe.
13306         * manual/probes.texi: Document them.
13308         * malloc/arena.c (get_free_list): Add probe
13309         memory_arena_reuse_free_list.
13310         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13311         and memory_arena_reuse.
13312         (arena_get2) [!PER_THREAD]: Likewise.
13313         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13314         memory_arena_reuse_realloc.
13315         * manual/probes.texi: Document them.
13317         * malloc/malloc.c (__libc_free): Add
13318         memory_mallopt_free_dyn_thresholds probe.
13319         (__libc_mallopt): Add multiple memory_mallopt probes.
13320         * manual/probes.texi: Document them.
13322         * malloc/malloc.c: Include stap-probe.h.
13323         (__libc_mallopt): Add memory_mallopt probe.
13324         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13325         * manual/probes.texi: New.
13326         * manual/Makefile (chapters): Add probes.
13327         * manual/threads.texi: Set next node.
13329 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13331         [BZ #15963, #13985]
13332         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13333         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13334         Add `Chinese' to `nan' entry name.
13336 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13338         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13339         (POLYNOMIAL): Likewise.
13340         (TAYLOR_SINCOS): Likewise.
13341         (TAYLOR_SLOW): Likewise.
13342         (__sin): Use TAYLOR_SINCOS.
13343         (__cos): Likewise.
13344         (slow): Use TAYLOR_SLOW.
13345         (sloww): Likewise.
13346         (bsloww): Likewise.
13347         (csloww): Likewise.
13349 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13351         * stdlib/strtod_l.c: Fix buffer overrun.
13353 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13355         * benchtests/Makefile (bench): Add sincos.
13356         * benchtests/bench-sincos.c: New file.
13358         * math/libm-test.inc (cos_test_data): New test inputs.
13359         (sin_test_data): Likewise.
13361         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13362         macro.
13363         (__sin): Use it.
13364         (__cos): Likewise.
13365         (slow1): Likewise.
13366         (slow2): Likewise.
13367         (sloww1): Likewise.
13368         (sloww2): Likewise.
13369         (bsloww1): Likewise.
13370         (bsloww2): Likewise.
13371         (cslow2): Likewise.
13372         (csloww1): Likewise.
13373         (csloww2): Likewise.
13375         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13376         function.
13377         (__sin): Use it.
13378         (__cos): Likewise.
13380         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13381         gotos.
13382         (__cos): Likewise.
13384 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13386         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13387         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13388         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13389         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13390         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13391         * elf/cache.c (print_entry): Handle the new cache flags.
13393 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13394             Aldy Hernandez  <aldyh@redhat.com>
13396         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13397         Change condition to [_SOFT_FLOAT].
13398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13410         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13413         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13414         declaration.
13416 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13418         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13419         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13420         (__longjmp): Use LOAD_GP to load saved GPRs.
13421         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13422         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13423         (__sigsetjmp): Use SAVE_GP to save GPRs.
13425         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13426         Do not append -msoft-float.
13427         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13429 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13431         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13433 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13435         [BZ #15966]
13436         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13437         (_FPU_GETCW): Use initial "__" on variable and field names but not
13438         on macro parameter name.
13439         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13440         parentheses around reference to macro parameter.
13442 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13444         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13445         prototype.
13446         (ctype_startup): Use uint32_t in cast and sizeof for
13447         ctype->charnames.
13449 2013-09-11  Jia Liu  <proljc@gmail.com>
13451         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13452         __daddr_t_defined.
13453         [__FreeBSD__]: Likewise.
13455 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13458         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13459         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13460         (strchr): Remove __strchr_sse42 ifunc selection.
13461         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13462         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13464 2013-09-11  Will Newton  <will.newton@linaro.org>
13466         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13467         parameter to RES. Remove hardcoded 1000 value.
13468         * benchtests/bench-skeleton.c (main): Pass RES parameter
13469         to TIMING_INIT and multiply result by 1000.
13471 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13475 2013-09-11  Andreas Schwab  <schwab@suse.de>
13477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13478         if not defined.
13479         (O_TMPFILE) [__USE_GNU]: Define.
13480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13481         Define.
13483 2013-09-11  Will Newton  <will.newton@linaro.org>
13485         [BZ #15857]
13486         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13487         does not overflow.
13489 2013-09-11  Will Newton  <will.newton@linaro.org>
13491         [BZ #15856]
13492         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13493         does not overflow.
13495 2013-09-11  Will Newton  <will.newton@linaro.org>
13497         [BZ #15855]
13498         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13499         does not overflow.
13501 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13503         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13504         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13505         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13506         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13507         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13509 2013-09-10  Allan McRae  <allan@archlinux.org>
13511         [BZ #15748]
13512         * manual/arith.texi (Parsing of Floats): Clarify
13513         cross-reference.
13515         [BZ #15849]
13516         * manual/install.texi (Running make install): Mention
13517         --enable-pt-chown.
13518         * INSTALL: Regenerated.
13520 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13522         * csu/init-first.c (_init): Remove the !SHARED condition around
13523         FPU control word initialization.
13524         * elf/dl-support.c (_dl_fpu_control): New variable.
13525         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13526         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13527         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13528         * math/test-fpucw-static.c: New file.
13529         * math/test-fpucw-ieee.c: New file.
13530         * math/test-fpucw-ieee-static.c: New file.
13531         * math/Makefile (tests): Add `test-fpucw-ieee' and
13532         `$(tests-static)'.
13533         (tests-static): New variable.
13534         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13535         dependency to...
13536         [($(build-shared),yes)]
13537         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13538         ... this.
13539         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13540         New dependency.
13542 2013-09-09  Allan McRae  <allan@archlinux.org>
13544         [BZ #15939]
13545         * manual/string.texi (Collation Functions): Fix typo in
13546         strcoll example.
13547         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13549         [BZ #15893]
13550         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13552         [BZ #15892]
13553         * libio/memstream.c (open_memstream): Fix memory leak.
13554         * libio/wmemstream.c (open_wmemstream): Likewise.
13556         [BZ #15895]
13557         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13559 2013-09-09  Will Newton  <will.newton@linaro.org>
13561         * malloc/Makefile: Add tst-realloc to tests.
13562         * malloc/tst-realloc.c: New file.
13564 2013-09-09  Allan McRae  <allan@archlinux.org>
13566         [BZ #15844]
13567         * COPYING: Update from GNU website to fix FSF address.
13568         * COPYING.LIB: Likewise.
13570 2013-09-06  David S. Miller  <davem@davemloft.net>
13572         * po/zh_TW.po: Update Chinese (traditional) translation from
13573         translation project.
13575 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13576             Joseph Myers  <joseph@codesourcery.com>
13578         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13579         "localeinfo.h".
13580         (obstack_chunk_alloc): New macro.
13581         (obstack_chunk_free): Likewise.
13582         (record_offset): New function.
13583         (init_locale_data): Likewise.
13584         (align_locale_data): Likewise.
13585         (add_locale_empty): Likewise.
13586         (add_locale_raw_data): Likewise.
13587         (add_locale_raw_obstack): Likewise.
13588         (add_locale_string): Likewise.
13589         (add_locale_wstring): Likewise.
13590         (add_locale_uint32): Likewise.
13591         (add_locale_uint32_array): Likewise.
13592         (add_locale_char): Likewise.
13593         (start_locale_structure): Likewise.
13594         (end_locale_structure): Likewise.
13595         (start_locale_prelude): Likewise.
13596         (end_locale_prelude): Likewise.
13597         (write_locale_data): Take locale_file structure rather than an
13598         iovec.
13599         * locale/programs/locfile.h: Include "obstack.h".
13600         (struct locale_file): Change to store locale file contents instead
13601         of header.
13602         (init_locale_data): New prototype.
13603         (align_locale_data): Likewise.
13604         (add_locale_empty): Likewise.
13605         (add_locale_raw_data): Likewise.
13606         (add_locale_raw_obstack): Likewise.
13607         (add_locale_string): Likewise.
13608         (add_locale_wstring): Likewise.
13609         (add_locale_uint32): Likewise.
13610         (add_locale_uint32_array): Likewise.
13611         (add_locale_char): Likewise.
13612         (start_locale_structure): Likewise.
13613         (end_locale_structure): Likewise.
13614         (start_locale_prelude): Likewise.
13615         (end_locale_prelude): Likewise.
13616         (write_locale_data): Update prototype.
13617         * locale/programs/3level.h (struct TABLE): Remove result field.
13618         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13619         Use new locale_file interface.
13620         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13621         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13622         * locale/programs/ld-address.c (address_output): Use new
13623         locale_file interface.
13624         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13625         NO_ADD_LOCALE.
13626         (collate_finish): Don't call collseq_table_finalize.
13627         (collate_output): Use new locale_file interface.
13628         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13629         in file.
13630         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13631         (TABLE): Move defines earlier in file.
13632         (ELEMENT): Likewise.
13633         (DEFAULT): Likewise.
13634         (wctrans_table_add): Move macro and inline function earlier in
13635         file.
13636         (struct wctype_table): Move type earlier in file.
13637         (add_locale_wctype_table): New static prototype.
13638         (struct locale_ctype_t): Use logical types instead of struct iovec
13639         pointers for members.
13640         (ctype_output): Use new locale_file interface.
13641         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13642         new locale_file interface.
13643         (allocate_arrays): Update for use of new locale_file interface.
13644         * locale/programs/ld-identification.c (identification_output): Use
13645         new locale_file interface.
13646         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13647         * locale/programs/ld-messages.c (messages_output): Likewise.
13648         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13649         * locale/programs/ld-name.c (name_output): Likewise.
13650         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13651         * locale/programs/ld-paper.c (paper_output): Likewise.
13652         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13653         * locale/programs/ld-time.c (time_output): Likewise.
13655 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13657         * benchtests/Makefile: Add memrchr benchmark.
13658         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13659         benchmark as memrchr.
13660         * benchtests/bench-memrchr-ifunc.c: New file.
13661         * benchtests/bench-memrchr.c: New file.
13663 2013-09-06   Will Newton  <will.newton@linaro.org>
13665         * benchtests/Makefile (string-bench): Add memcpy.
13667 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13668             Cong Wang  <amwang@redhat.com>
13670         [BZ #15850]
13671         * sysdeps/unix/sysv/linux/bits/in.h
13672         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13673         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13674         before __USE_KERNEL_IPV6_DEFS uses.
13675         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13676         IPPROTO_BEETPH.
13677         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13678         sockaddr_in6, or ipv6_mreq.
13680 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13682         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13683         memory access for final bytes in some large inputs.
13684         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13686 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13688         * string/test-memrchr.c: New file.
13689         * string/test-memrchr-ifunc.c: New file.
13690         * string/Makefile: Add new memrchr testcase.
13692 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13694         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13695         fanotify_init returns EPERM.
13697 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13699         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13700         errors.
13701         (top level): Treat second token from macro or constant entries for
13702         allowed headers as allowed.
13703         * include/complex.h: Condition internal declarations on
13704         [!_ISOMAC].
13705         * include/fenv.h: Condition include of <stdbool.h> and internal
13706         declarations on [!_ISOMAC].
13708 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13710         [BZ #15923]
13711         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13713 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13715         * configure.in (--enable-versioning): Remove configure option.
13716         (libc_cv_asm_symver_directive): Remove configure test.
13717         (libc_cv_ld_version_script_option): Likewise.
13718         (VERSIONING): Remove variable and AC_SUBST.
13719         (DO_VERSIONING): Remove AC_DEFINE.
13720         * configure: Regenerated.
13721         * config.h.in (DO_VERSIONING): Remove macro.
13722         * Makerules [$(versioning) = yes]: Change conditionals to
13723         [$(build-shared) = yes].
13724         * config.make.in (versioning): Remove variable.
13725         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13726         [$(build-shared) = yes].
13727         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13728         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13729         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13730         [$(build-shared) = yes].
13731         * extra-lib.mk [$(versioning) = yes]: Likewise.
13732         * hurd/Makefile [$(versioning) = yes]: Likewise.
13733         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13734         [SHARED].
13735         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13736         [SHARED].
13737         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13738         [SHARED && !NO_HIDDEN].
13739         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13740         [SHARED].
13741         [SHARED && DO_VERSIONING]: Likewise..
13742         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13743         [$(build-shared) = yes].
13744         * manual/install.texi (--disable-versioning): Remove
13745         documentation.
13746         * INSTALL: Regenerated.
13747         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13748         to [SHARED].
13749         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13750         [$(build-shared) = yes].
13751         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13752         * sysdeps/i386/i686/multiarch/strstr-c.c
13753         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13754         [SHARED && !NO_HIDDEN].
13755         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13756         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13757         * sysdeps/powerpc/powerpc32/dl-machine.c
13758         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13759         * sysdeps/powerpc/powerpc32/sysdep.h
13760         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13761         to [SHARED && PIC && !NO_HIDDEN].
13762         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13763         conditional to [SHARED].
13765 2013-09-04   Will Newton  <will.newton@linaro.org>
13767         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13768         * benchtests/bench-string.h: Include bench-timing.h instead
13769         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13770         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13771         call to HP_TIMING_DIFF_INIT.
13772         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13773         instead of hp-timing.h macros.
13774         * benchtests/bench-memchr.c: Likewise.
13775         * benchtests/bench-memcmp.c: Likewise.
13776         * benchtests/bench-memcpy.c: Likewise.
13777         * benchtests/bench-memmem.c: Likewise.
13778         * benchtests/bench-memmove.c: Likewise.
13779         * benchtests/bench-memset.c: Likewise.
13780         * benchtests/bench-rawmemchr.c: Likewise.
13781         * benchtests/bench-strcasecmp.c: Likewise.
13782         * benchtests/bench-strcasestr.c: Likewise.
13783         * benchtests/bench-strcat.c: Likewise.
13784         * benchtests/bench-strchr.c: Likewise.
13785         * benchtests/bench-strcmp.c: Likewise.
13786         * benchtests/bench-strcpy.c: Likewise.
13787         * benchtests/bench-strcpy_chk.c: Likewise.
13788         * benchtests/bench-strlen.c: Likewise.
13789         * benchtests/bench-strncasecmp.c: Likewise.
13790         * benchtests/bench-strncat.c: Likewise.
13791         * benchtests/bench-strncmp.c: Likewise.
13792         * benchtests/bench-strncpy.c: Likewise.
13793         * benchtests/bench-strnlen.c: Likewise.
13794         * benchtests/bench-strpbrk.c: Likewise.
13795         * benchtests/bench-strrchr.c: Likewise.
13796         * benchtests/bench-strspn.c: Likewise.
13797         * benchtests/bench-strstr.c: Likewise.
13799 2013-09-04  Will Newton  <will.newton@linaro.org>
13801         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13803 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13805         [BZ #15427]
13806         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13807         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13808         * math/libm-test.inc (lgamma_test_data): Add more tests.
13809         * sysdeps/i386/fpu/libm-test-ulps: Update.
13810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13812 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13814         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13816         Add ifunc.
13817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13818         Add strcmp-sse2-unaligned
13819         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13821 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13823         * Versions.def (libc): Add GLIBC_2.19.
13825 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13827         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13828         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13830 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13832         [BZ #14155]
13833         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13834         intermediate calculations in recurrence.
13835         (__ieee754_ynf): Likewise.
13836         * math/libm-test.inc (jn_test_data): Do not allow spurious
13837         underflow exception.  Add more tests.
13838         (yn_test_data): Add more tests.
13839         * sysdeps/i386/fpu/libm-test-ulps: Update.
13840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13842 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13844         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13846 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13848         * csu/init-first.c: Fix then/than typos.
13849         * locale/programs/ld-collate.c: Likewise.
13850         * locale/programs/linereader.h: Likewise.
13851         * manual/charset.texi: Likewise.
13852         * manual/filesys.texi: Likewise.
13853         * manual/stdio.texi: Likewise.
13854         * manual/string.texi: Likewise.
13855         * stdlib/fmtmsg.c: Likewise.
13856         * sysdeps/i386/stpncpy.S: Likewise.
13857         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13858         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13859         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13860         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13862 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13864         * elf/dl-open.c: Fix typos.
13865         * iconvdata/gbbig5.c: Likewise.
13866         * iconvdata/iso-2022-jp.c: Likewise.
13867         * iconv/gconv_int.h: Likewise.
13868         * iconv/loop.c: Likewise.
13869         * nis/rpcsvc/nis.h: Likewise.
13870         * resolv/ns_name.c: Likewise.
13871         * stdio-common/vfscanf.c: Likewise.
13872         * streams/stropts.h: Likewise.
13873         * sunrpc/rpc_thread.c: Likewise.
13874         * sysdeps/i386/strpbrk.S: Likewise.
13875         * sysdeps/ieee754/k_standard.c: Likewise.
13876         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13878         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13879         * sysdeps/mach/hurd/profil.c: Likewise.
13880         * sysdeps/s390/dl-procinfo.h: Likewise.
13881         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13882         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13883         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13884         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13885         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13887 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13889         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13892 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13894         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13895         aix specific files.
13896         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13898         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13899         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13900         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13901         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13902         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13903         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13905 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13906             Roland McGrath  <roland@hack.frob.com>
13908         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13909         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13911 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13913         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13914         __executable_start symbol instead of _start.
13916 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13918         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13919         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13920         Move macros to...
13921         * sysdeps/gnu/ldsodefs.h: ... this new file.
13923         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13924         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13925         instead of ELFOSABI_LINUX.
13927         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13928         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13929         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13930         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13931         Likewise.
13932         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13933         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13934         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13935         Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13937         (ibm_extended_long_double): Add ieee_nan member.
13938         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13939         (do_test): New function.
13941         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13942         TEST_TRUNC.
13943         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13944         functions, renamed from truncdfsf_test, trunctfsf_test,
13945         trunctfdf_test.
13946         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13947         functions.
13948         (do_test): Run all these.
13950 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13952         * argp/argp-help.c: Fix typos.
13953         * argp/argp-parse.c: Likewise.
13954         * debug/backtracesyms.c: Likewise.
13955         * elf/elf.h: Likewise.
13956         * malloc/malloc.c: Likewise.
13957         * nis/nis_print.c: Likewise.
13958         * resolv/res_comp.c: Likewise.
13959         * stdlib/stdlib.h: Likewise.
13960         * sunrpc/clnt_tcp.c: Likewise.
13961         * sunrpc/clnt_udp.c: Likewise.
13962         * sunrpc/clnt_unix.c: Likewise.
13963         * sysdeps/unix/bsd/ptsname.c: Likewise.
13964         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13965         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13967         Likewise.
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13969         Likewise.
13970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13971         Likewise.
13972         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13974 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13976         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13979 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13981         [BZ #15897]
13982         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13983         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13984         ($(objpfx)bug-dl-leaf): New rule.
13985         ($(objpfx)bug-dl-leaf.so): Likewise.
13986         ($(objpfx)bug-dl-leaf.out): Likewise.
13987         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13988         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13989         * dlfcn/bug-dl-leaf.c: New test.
13990         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13991         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13992         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13993         (dlclose): Likewise.
13994         (dlmopen): Likewise.
13996 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13998         * include/netdb.h [!_ISOMAC]:
13999         Don't include <tls.h>.
14000         (h_errno, __libc_h_errno): Move declaration and macros out of
14001         [_LIBC_REENTRANT].
14003         * include/resolv.h [_RESOLV_H_]:
14004         Don't include <tls.h>.
14005         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14006         * resolv/res_libc.c: Don't include <tls.h>.
14007         (_res): Use __attribute__ ((nocommon)) in place of
14008         __attribute__ ((section (".bss"))).
14010         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14011         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14013         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14015         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14016         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14018         * resolv/res_mkquery.c: Include <sys/time.h>.
14020         * inet/ifreq.c: Moved to ...
14021         * sysdeps/unix/ifreq.c: ... here.
14022         * inet/ifreq.c: New file, true stub version.
14024         * socket/sa_len.c: New file.
14025         * socket/Makefile (aux): Add it.
14026         * sysdeps/unix/sysv/linux/Makefile
14027         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14028         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14029         and #include <socket/sa_len.c>.
14030         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14031         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14033         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14034         * bits/socket.h: ... here.
14036         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14037         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14038         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14040 2013-08-27  Andreas Schwab  <schwab@suse.de>
14042         [BZ #15736]
14043         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14044         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14045         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14046         * string/test-strcasecmp.c (test_main): Run tests in several
14047         locales.
14048         * string/test-strncasecmp.c (test_main): Likewise.
14050         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14051         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14052         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14053         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14054         (__strncasecmp_ssse3) [PIC]: Likewise.
14056 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14058         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14060         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14061         instead of explicitly declaring xdecrypt.
14062         * nis/nss_nis/nis-publickey.c: Likewise.
14064 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14066         [BZ #15890]
14067         * nscd/aicache.c: Include res_hconf.h.
14068         (addhstaiX): Initialize res_hconf.
14070 2013-08-26  Andreas Schwab  <schwab@suse.de>
14072         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14073         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14075 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14077         * nscd/aicache.c (addhstaiX): Fix indentation.
14079 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14081         * configure.ac: Quote $build_pt_chown test.
14082         * configure: Regenerated.
14084 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14086         [BZ #15532]
14087         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14088         * math/s_cexpf.c (__cexpf): Likewise.
14089         * math/s_cexpl.c (__cexpl): Likewise.
14090         * math/libm-test.inc (cexp_test_data): Correct expected return
14091         value for NaN + i0.  Add another test.
14093 2013-08-22  David S. Miller  <davem@davemloft.net>
14095         * po/ca.po: Update Catalan translation from translation project.
14096         * po/uk.po: Add Ukrainian translations from translation project.
14098 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14100         [BZ #15797]
14101         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14102         is infinite, not alongside NaN test.
14103         * math/s_fdimf.c (__fdimf): Likewise.
14104         * math/s_fdiml.c (__fdiml): Likewise.
14105         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14106         errno is unchanged.
14108 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14110         * argp/argp-help.c: Fix typos.
14111         * crypt/speeds.c: Likewise.
14112         * csu/check_fds.c: Likewise.
14113         * elf/dl-load.c: Likewise.
14114         * elf/dl-open.c: Likewise.
14115         * elf/reldep3.c: Likewise.
14116         * elf/reldep.c: Likewise.
14117         * elf/sprof.c: Likewise.
14118         * iconv/iconv_charmap.c: Likewise.
14119         * iconv/skeleton.c: Likewise.
14120         * iconv/strtab.c: Likewise.
14121         * io/lockf64.c: Likewise.
14122         * libio/libioP.h: Likewise.
14123         * resolv/gai_notify.c: Likewise.
14124         * resolv/ns_name.c: Likewise.
14125         * resolv/ns_samedomain.c: Likewise.
14126         * resolv/res_send.c: Likewise.
14127         * stdlib/random.c: Likewise.
14128         * sunrpc/rpc/xdr.h: Likewise.
14129         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14130         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14131         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14132         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14133         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14135         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14136         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14137         * sysdeps/mach/hurd/check_fds.c: Likewise.
14138         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14139         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14140         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14141         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14142         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14143         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14144         * sysdeps/pthread/aio_notify.c: Likewise.
14145         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14146         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14147         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14148         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14149         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14151 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14153         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14154         version if bit_Slow_SSE4_2 is set.
14155         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14156         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14158 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14160         [BZ #15867]
14161         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14162         trampoline stack frame information.
14163         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14164         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14165         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14166         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14167         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14168         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14169         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14170         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14171         sa_flags value.
14172         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14173         interrupting a syscall and set with option SA_SIGINFO.
14175 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14177         [BZ #15531]
14178         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14179         argument is infinite.
14180         * math/s_cprojf.c (__cprojf): Likewise.
14181         * math/s_cprojl.c (__cprojl): Likewise.
14182         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14183         * math/libm-test.inc (cproj_test_data): Add more tests.
14185         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14187         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14188         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14189         size.  Use __ffs to determine corresponding shift.
14191 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14192             Roland McGrath  <roland@hack.frob.com>
14194         * Makefile (INSTALL): Remove trailing blank lines from output of
14195         makeinfo.
14197 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14199         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14200         Align 32 bit compat elf_greg to 8 bytes.
14202 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14204         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14206 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14208         * string/strcoll_l.c (coll_seq): New structure.
14209         (get_next_seq_cached): New function.
14210         (get_next_seq): New function.
14211         (do_compare): New function.
14212         (STRCOLL): Use GNU style definition.  Simplify implementation
14213         by using get_next_seq, get_next_seq_cached and do_compare.
14215 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14217         [BZ #14699]
14218         CVE-2013-4237
14219         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14220         member.
14221         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14222         member.
14223         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14224         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14225         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14226         conditional.
14227         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14228         GETDENTS_64BIT_ALIGNED.
14229         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14230         * manual/filesys.texi (Reading/Closing Directory): Document
14231         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14232         strongly.
14233         * manual/conf.texi (Limits for Files): Add portability note to
14234         NAME_MAX, PATH_MAX.
14235         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14237 2013-08-13  Andreas Schwab  <schwab@suse.de>
14239         [BZ #15749]
14240         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14241         of fabs.
14242         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14243         LDBL_MAX_EXP >= 16384]: Add tests for it.
14245 2013-08-12  David S. Miller  <davem@davemloft.net>
14247         * version.h (RELEASE): Set to "development".
14248         (VERSION): Set to "2.18.90".
14249         * NEWS: Add 2.19 section.
14251 2013-08-03  David S. Miller  <davem@davemloft.net>
14253         * po/ko.po: Update Korean translation from translation project.
14255 2013-08-01  David S. Miller  <davem@davemloft.net>
14257         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14258         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14259         Bilka.
14261 2013-07-30  David S. Miller  <davem@davemloft.net>
14263         * po/fr.po: Update French translation from translation project.
14265 2013-07-28  David S. Miller  <davem@davemloft.net>
14267         * po/cs.po: Update Czech translation from translation project.
14269         * po/sv.po: Update Swedish translation from translation project.
14271 2013-07-27  David S. Miller  <davem@davemloft.net>
14273         * po/eo.po: Update Esperanto translation from translation project.
14275         * po/vi.po: Update Vietnamese translation from translation project.
14277         * po/de.po: Update German translation from translation project.
14279 2013-07-26  David S. Miller  <davem@davemloft.net>
14281         * po/bg.po: Update Bulgarian translation from translation project.
14283         * po/nl.po: Update Dutch translation from translation project.
14284         * po/pl.po: Update Polish translation from translation project.
14285         * po/ru.po: Update Russian translation from translation project.
14287 2013-07-24  David S. Miller  <davem@davemloft.net>
14289         * po/libc.pot: Update.
14291 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14293         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14294         variable page size.
14295         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14296         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14297         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14299 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14301         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14303 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14304             Andreas Schwab  <schwab@suse.de>
14305             Roland McGrath  <roland@hack.frob.com>
14306             Joseph Myers  <joseph@codesourcery.com>
14307             Carlos O'Donell  <carlos@redhat.com>
14309         [BZ #15755]
14310         * config.h.in: Define HAVE_PT_CHOWN.
14311         * config.make.in (build-pt-chown): New variable.
14312         * configure.in (--enable-pt_chown): New configure option.
14313         * configure: Regenerate.
14314         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14315         build-pt-chown is enabled.
14316         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14317         pt_chown to fix pty ownership.
14318         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14319         CLOSE_ALL_FDS.
14320         * manual/install.texi (Configuring and compiling): Mention
14321         --enable-pt_chown. Add @findex for grantpt.
14322         * INSTALL: Regenerate.
14324 2013-07-20  David S. Miller  <davem@davemloft.net>
14326         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14327         difference between 32-bit and 64-bit.
14329 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14331         [BZ #15711]
14332         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14333         Avoid system header dependency with -ffreestanding.
14334         ($(objpfx)bits/syscall%d): Likewise.
14336 2013-07-13  David S. Miller  <davem@davemloft.net>
14338         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14339         underflows from atanl/atan2l due to bug 15319.
14340         (casinh_test_data): Likewise.
14342 2013-07-07  David S. Miller  <davem@davemloft.net>
14344         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14346 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14348         * sysdeps/i386/fpu/libm-test-ulps: Update.
14349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14351 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14353         * configure.in (--enable-lock-elision): Fix message text.
14354         * INSTALL: Regenerate.
14355         * configure: Regenerate.
14357 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14361 2013-07-03  Andreas Jaeger  <aj@suse.de>
14363         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14364         define.
14365         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14366         (ptrace_peeksiginfo_args): Add.
14367         (__ptrace_peeksiginfo_flags): Add.
14368         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14369         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14372 2013-07-03  Allan McRae  <allan@archlinux.org>
14374         * sysdeps/i386/fpu/libm-test-ulps: Update.
14376 2013-07-02  David S. Miller  <davem@davemloft.net>
14378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14380 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14384 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14386         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389 2013-07-02  Andi Kleen <ak@linux.intel.com>
14391         * config.h.in (ENABLE_LOCK_ELISION): Add.
14392         * configure.in (--enable-lock-elision): Add option.
14393         * manual/install.texi: Document --enable lock elision.
14394         * configure: Regenerate
14395         * INSTALL: Regenerate.
14397 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14399         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14400         SSE4.2 strcasecmp for libc.a.
14401         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14403 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14405         [BZ #13304]
14406         * soft-fp/op-common.h (_FP_FMA): New macro.
14407         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14408         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14409         (_FP_MUL_MEAT_1_imm): ... here.
14410         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14411         (_FP_MUL_MEAT_1_wide): ... here.
14412         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14413         (_FP_MUL_MEAT_1_hard): ... here.
14414         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14415         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14416         (_FP_MUL_MEAT_2_wide): ... here.
14417         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14418         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14419         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14420         (_FP_MUL_MEAT_2_gmp): ... here.
14421         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14422         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14423         (_FP_MUL_MEAT_4_wide): ... here.
14424         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14425         (_FP_MUL_MEAT_4_gmp): ... here.
14426         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14427         (_FP_WFRACBITS_DW_S): Likewise.
14428         (_FP_WFRACXBITS_DW_S): Likewise.
14429         (_FP_HIGHBIT_DW_S): Likewise.
14430         (FP_FMA_S): Likewise.
14431         (_FP_FRAC_HIGH_DW_S): Likewise.
14432         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14433         (_FP_WFRACBITS_DW_D): Likewise.
14434         (_FP_WFRACXBITS_DW_D): Likewise.
14435         (_FP_HIGHBIT_DW_D): Likewise.
14436         (FP_FMA_D): Likewise.
14437         (_FP_FRAC_HIGH_DW_D): Likewise.
14438         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14439         (_FP_WFRACBITS_DW_E): Likewise.
14440         (_FP_WFRACXBITS_DW_E): Likewise.
14441         (_FP_HIGHBIT_DW_E): Likewise.
14442         (FP_FMA_E): Likewise.
14443         (_FP_FRAC_HIGH_DW_E): Likewise.
14444         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14445         (_FP_WFRACBITS_DW_Q): Likewise.
14446         (_FP_WFRACXBITS_DW_Q): Likewise.
14447         (_FP_HIGHBIT_DW_Q): Likewise.
14448         (FP_FMA_Q): Likewise.
14449         (_FP_FRAC_HIGH_DW_Q): Likewise.
14450         * soft-fp/fmasf4.c: New file.
14451         * soft-fp/fmadf4.c: Likewise.
14452         * soft-fp/fmatf4.c: Likewise.
14454 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14457         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14458         Silvermont.
14459         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14460         macro.
14461         (index_Slow_SSE4_2): Likewise.
14462         (index_Prefer_PMINUB_for_stringop): Likewise.
14463         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14464         bit_Slow_SSE4_2 is set.
14465         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14466         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14468 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14470         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14471         rtld_global._dl_hwcap2.
14472         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14473         POWER8.
14474         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14475         POWER8 feature descriptions defined in _dl_hwcap2.
14476         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14477         string handling for POWER8 feature bits.
14478         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14479         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14480         _dl_powerpc_cap_flags.
14481         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14482         * sysdeps/powerpc/rtld-global-offsets.sym
14483         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14484         _dl_hwcap2 in the rtld_global_ro structure.
14486 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14488         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14489         hardware capabilities in support of AT_HWCAP2.
14490         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14491         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14492         GLRO(dl_hwcap2).
14493         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14494         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14495         explicitly the unknown a_type display mechanism is used.
14496         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14497         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14498         struct member.
14499         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14500         to macro prototype for AT_HWCAP2 support.
14501         * sysdeps/i386/dl-procinfo.h: Likewise.
14502         * sysdeps/s390/dl-procinfo.h: Likewise.
14503         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14504         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14505         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14506         return -1 for unknown a_type display fallback.
14507         * sysdeps/sparc/dl-procinfo.h: Likewise.
14508         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14509         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14511 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14513         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14514         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14516 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14518         [BZ #12492]
14519         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14520         mprotect making __stack_prot writable.
14522 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14523             Joseph Myers  <joseph@codesourcery.com>
14525         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14526         as being properly aligned.
14528 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14530         * dlfcn/modstatic5.c: New file.
14531         * dlfcn/tststatic5.c: New file.
14532         * dlfcn/Makefile (tests): Add tststatic5.
14533         (tests-static): Likewise.
14534         (modules-names): Add modstatic5.
14535         (tststatic5-ENV): New variable.
14536         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14538         [BZ #15022]
14539         * elf/dl-support.c (_dl_main_map): New variable.
14540         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14541         (_dl_nns, _dl_load_adds): Set to 1.
14542         (_dl_initial_searchlist): Refer to _dl_main_map.
14543         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14544         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14545         call to _dl_get_origin.
14546         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14547         around call_map.
14548         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14549         * dlfcn/modstatic3.c: New file.
14550         * dlfcn/tststatic3.c: New file.
14551         * dlfcn/tststatic4.c: New file.
14552         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14553         (tests-static): Likewise.
14554         (modules-names): Add modstatic3.
14555         (tststatic3-ENV, tststatic4-ENV): New variables.
14556         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14557         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14559 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14561         * configure.in (CC): Require GCC version 4.4 or later.
14562         * configure: Regenerated.
14563         * manual/install.texi (Tools for Compilation): Update GCC version
14564         requirement.
14565         * INSTALL: Regenerated.
14567 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14569         [BZ #15674]
14570         * string/test-memcmp.c (check2): New.
14571         (main): Call check2.
14573         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14575 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14577         [BZ #15022]
14578         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14579         over to...
14580         (dl_open_worker) [!SHARED]: ... here.
14582 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14584         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14586 2013-06-25  Richard Henderson  <rth@redhat.com>
14588         * locale/programs/locarchive.c: Include <libc-internal.h>
14590 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14592         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14593         trailing whitespace removed.
14595 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14597         [BZ #10283]
14598         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14599         * locale/programs/locarchive.c: Include libc-mmap.h.
14600         (prepare_address_space): Take two new outputs (the mmap base and len).
14601         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14602         values.
14603         (create_archive): Declare new mmap base and len values for
14604         prepare_address_space, and store the result in ah.
14605         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14606         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14607         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14608         Declare new mmap base and len values for
14609         prepare_address_space, and store the result in new_ah.
14610         (open_archive): Declare new mmap base and len values for
14611         prepare_address_space, and store the result in ah.
14612         (close_archive): If ah->mmap_base is not NULL, use that and
14613         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14614         * sysdeps/generic/libc-mmap.h: New file.
14616 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14618         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14619         (ALIGN_UP): Likewise.
14620         (PTR_ALIGN_DOWN): Likewise.
14621         (PTR_ALIGN_UP): Likewise.
14623 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14625         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14626         entry mapped to PPC_PLATFORM_POWER8.
14627         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14628         POWER8.
14629         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14630         (_dl_string_platform): Add case for exporting platform position for
14631         POWER8.
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14633         search path to sysdeps/powerpc/powerpc32/power8 directory.
14634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14635         search path to sysdeps/powerpc/powerpc64/power8 directory.
14636         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14637         power7 directories.
14638         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14639         power7 directories.
14641 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14643         * INSTALL: Regenerate.
14645         * nscd/connections.c (nscd_init): Fix comment.
14647 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14649         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14651         [BZ #15667]
14652         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14653         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14655 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14657         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14658         DL_DST_REQ_STATIC.
14659         (DL_DST_REQ_STATIC): Remove macro.
14661 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14663         [BZ #7006]
14664         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14665         with a shift of 0 bits.
14667 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14669         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14670         $(tststatic-ENV).
14672 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14674         [BZ #15655]
14675         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14677 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14679         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14680         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14681         accepts -fno-tree-loop-distribute-patterns.
14682         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14683         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14684         recursive call.
14685         * string/memset.c (memset): Likewise.
14686         * string/test-memmove.c (simple_memmove): Disable loop transformation
14687         to library calls.
14688         * string/test-memset.c (simple_memset): Likewise.
14689         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14690         * benchtests/bench-memset.c (simple_memset): Likewise.
14691         * configure: Regenerated.
14693 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14695         * math/test-misc.c (main): Ignore fesetround failure when failures
14696         of subsequent rounding tests would be ignored.
14698         [BZ #15654]
14699         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14700         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14701         * math/fegetenv.c (__fegetenv): Return 0.
14702         * math/fegetexcept.c (fegetexcept): Return 0.
14703         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14704         FE_TONEAREST.
14705         * math/feholdexcpt.c (feholdexcept): Return 0.
14706         * math/fesetenv.c (__fesetenv): Return 0.
14707         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14708         argument FE_TONEAREST.
14709         * math/feupdateenv.c (__feupdateenv): Return 0.
14710         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14712 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14714         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14715         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14716         ($(objpfx)rtld-%.os rules): Use them.
14718 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14720         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14721         fields.
14723 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14725         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14726         length of target pattern, then descending length of dependency pattern.
14727         * configure.in (AWK): Require gawk 3.1.2 or newer.
14728         * manual/install.texi (Tools for Compilation): Say that we do.
14729         * configure: Regenerated.
14731         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14732         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14733         * scripts/sysd-rules.awk: ... this new script.
14734         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14735         than a glob-style pattern.
14737 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14739         * math/test-misc.c (main): Do not treat incorrectly rounded
14740         conversions as failure unless ROUNDING_TESTS passes.
14742 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14744         [BZ #15631]
14745         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14746         restore exception state around main square root computation, then
14747         check for inexactness explicitly.
14749         * math/libm-test.inc (fma_test_data): Add another test.
14751 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753         * manual/threads.texi (Non-POSIX Extensions): New document
14754         node.  Document pthread_getattr_default_np and
14755         pthread_setattr_default_np.
14757         * Versions.def (libpthread): Add GLIBC_2.18.
14758         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14760         Likewise.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14762         Likewise.
14763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14764         Likewise.
14765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14768         Likewise.
14769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14770         Likewise.
14771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14772         Likewise.
14773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14774         Likewise.
14775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14776         Likewise.
14778 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14781         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14783 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14784             H.J. Lu  <hjl.tools@gmail.com>
14786         [BZ #15627]
14787         * sysdeps/x86_64/rtld-memset.c: Remove file.
14788         * sysdeps/x86_64/rtld-memset.S: New file.
14790 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14792         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14793         (test_in_one_mode): Take arguments for whether the rounding mode
14794         is supported for each floating-point type.
14795         (do_test): Pass new arguments to test_in_one_mode using
14796         ROUNDING_TESTS.
14798 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14800         * posix/tst-waitid.c (do_test): Distinguish different instances of
14801         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14802         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14803         before entering the kernel for waitpid.
14805 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14807         * NEWS: Fix note on clock function precision.  Text by Roland
14808         McGrath.
14810 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14812         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14813         it into place only when and if the sanity check passes.
14815 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14817         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14818         output for whether conversion result is exact.  Take argument
14819         indicating whether type is IBM long double.
14820         (round_for_all): Change need_exact field to ibm_ld.
14821         * stdlib/tst-strtod-round.c (struct exactness): New type.
14822         (struct test): Change bool ld_ok field to struct exactness exact.
14823         (TEST): Update all definitions for change to field.
14824         (tests): Regenerate array contents.
14825         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14826         field value.  Check for IBM long double here.
14827         (do_test): Update calls to test_in_one_mode.
14829 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14831         [BZ #12515]
14832         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14833         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14835 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14837         [BZ #15605]
14838         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14839         generated by the compiler on loop optimizations.
14840         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14841         general definitions.
14843 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14845         * math/bug-nextafter.c: Include <math-tests.h>.
14846         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14847         the relevant type.
14848         * math/bug-nexttoward.c: Include <math-tests.h>.
14849         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14850         the relevant type.
14851         * math/test-misc.c: Include <math-tests.h>.
14852         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14853         the relevant type.
14855 2013-06-12  Andreas Jaeger  <aj@suse.de>
14857         * po/ia.po: Update Interlingua translation from translation
14858         project.
14860 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14862         * include/fenv.h: Include stdbool.h.
14863         (struct rm_ctx): New structure.
14864         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14865         Define macro.
14866         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14867         (SET_RESTORE_ROUNDF): Likewise.
14868         (SET_RESTORE_ROUNDL): Likewise.
14869         (SET_RESTORE_ROUND_NOEX): Likewise.
14870         (SET_RESTORE_ROUND_NOEXF): Likewise.
14871         (SET_RESTORE_ROUND_NOEXL): Likewise.
14872         (SET_RESTORE_ROUND_53BIT): Likewise.
14873         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14874         (libc_feresetround_noexf_ctx): Likewise.
14875         (libc_feresetround_noexl_ctx): Likewise.
14876         (libc_feholdsetround_53bit_ctx): Likewise.
14877         (libc_feresetround_53bit_ctx): Likewise.
14878         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14879         (libc_feholdexcept_setround_sse_ctx): New function.
14880         (libc_fesetenv_sse_ctx): Likewise.
14881         (libc_feupdateenv_sse_ctx): Likewise.
14882         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14883         (libc_feholdexcept_setround_387_ctx): Likewise.
14884         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14885         (libc_feholdsetround_387_prec_ctx): Likewise.
14886         (libc_feholdsetround_387_ctx): Likewise.
14887         (libc_feholdsetround_387_53bit_ctx): Likewise.
14888         (libc_feholdsetround_sse_ctx): Likewise.
14889         (libc_feresetround_sse_ctx): Likewise.
14890         (libc_feresetround_387_ctx): Likewise.
14891         (libc_feupdateenv_387_ctx): Likewise.
14892         (libc_feholdexcept_setroundf_ctx): Define macro.
14893         (libc_fesetenvf_ctx): Likewise.
14894         (libc_feupdateenvf_ctx): Likewise.
14895         (libc_feholdsetroundf_ctx): Likewise.
14896         (libc_feresetroundf_ctx): Likewise.
14897         (libc_feholdexcept_setround_ctx): Likewise.
14898         (libc_fesetenv_ctx): Likewise.
14899         (libc_feupdateenv_ctx): Likewise.
14900         (libc_feholdsetround_ctx): Likewise.
14901         (libc_feresetround_ctx): Likewise.
14902         (libc_feholdexcept_setroundl_ctx): Likewise.
14903         (libc_feupdateenvl_ctx): Likewise.
14904         (libc_feholdsetroundl_ctx): Likewise.
14905         (libc_feresetroundl_ctx): Likewise.
14906         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14907         (libc_feresetround_53bit_ctx): Likewise.
14909 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14911         * locale/iso-639.def: Convert to UTF-8.
14913 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14915         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14916         (EXCEPTION_TESTS_double): Likewise.
14917         (EXCEPTION_TESTS_long_double): Likewise.
14918         (EXCEPTION_TESTS): Likewise.
14919         * math/libm-test.inc (test_exceptions): Only test exceptions if
14920         EXCEPTION_TESTS (FLOAT).
14922 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14924         * benchtests/Makefile (string-bench): Add strcpy_chk and
14925         stpcpy_chk.
14926         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14927         * benchtests/bench-stpcpy_chk.c: New file.
14928         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14929         * benchtests/bench-strcpy_chk.c: New file.
14930         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14931         code.
14932         (do_test): Likewise.
14934 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14936         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14937         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14938         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14939         with tabs where appropriate.
14940         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14941         dl-procinfo.h.
14942         [PPC_PLATFORM_PPC440]: Likewise.
14943         [PPC_PLATFORM_PPC464]: Likewise.
14944         [PPC_PLATFORM_PPC476]: Likewise.
14945         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14946         ppc464, and ppc476 platform strings merging from ports/
14947         dl-procinfo.h.
14949 2013-06-11  Andreas Schwab  <schwab@suse.de>
14951         [BZ #14991]
14952         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14953         (from_ucs4_idx): Regenerate.
14954         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14955         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14956         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14957         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14958         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14959         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14960         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14961         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14962         from FROM_LOOP and TO_LOOP specific macros.
14963         (BODY): Handle combining characters.
14964         * iconvdata/BIG5HKSCS.irreversible: Update.
14965         * iconvdata/BIG5HKSCS.precomposed: New file.
14966         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14967         characters.
14968         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14970 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         * include/sys/time.h: Fix indentation and add copyright header.
14974         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14975         (do_test): Likewise.
14976         * string/test-memchr.c (do_one_test): Likewise.
14977         (do_test): Likewise.
14978         * string/test-memcmp.c (do_one_test): Likewise.
14979         (do_test): Likewise.
14980         * string/test-memcpy.c (do_one_test): Likewise.
14981         (do_test): Likewise.
14982         * string/test-memmem.c (do_one_test): Likewise.
14983         (do_test): Likewise.
14984         (do_random_tests): Likewise.
14985         * string/test-memmove.c (do_one_test): Likewise.
14986         (do_test): Likewise.
14987         * string/test-memset.c (do_one_test): Likewise.
14988         (do_test): Likewise.
14989         * string/test-rawmemchr.c (do_one_test): Likewise.
14990         (do_test): Likewise.
14991         * string/test-strcasecmp.c (do_one_test): Likewise.
14992         (do_test): Likewise.
14993         * string/test-strcasestr.c (do_one_test): Likewise.
14994         (do_test): Likewise.
14995         * string/test-strcat.c (do_one_test): Likewise.
14996         (do_test): Likewise.
14997         * string/test-strchr.c (do_one_test): Likewise.
14998         (do_test): Likewise.
14999         * string/test-strcmp.c (do_one_test): Likewise.
15000         (do_test): Likewise.
15001         * string/test-strcpy.c (do_one_test): Likewise.
15002         (do_test): Likewise.
15003         * string/test-string.h: Likewise.
15004         (test_init): Likewise.
15005         * string/test-strlen.c (do_one_test): Likewise.
15006         (do_test): Likewise.
15007         * string/test-strncasecmp.c (do_one_test): Likewise.
15008         (do_test): Likewise.
15009         * string/test-strncat.c (do_one_test): Likewise.
15010         (do_test): Likewise.
15011         * string/test-strncmp.c (do_one_test): Likewise.
15012         (do_test_limit): Likewise.
15013         (do_test): Likewise.
15014         * string/test-strncpy.c (do_one_test): Likewise.
15015         (do_test): Likewise.
15016         * string/test-strnlen.c (do_one_test): Likewise.
15017         (do_test): Likewise.
15018         * string/test-strpbrk.c (do_one_test): Likewise.
15019         (do_test): Likewise.
15020         * string/test-strrchr.c (do_one_test): Likewise.
15021         (do_test): Likewise.
15022         * string/test-strspn.c (do_one_test): Likewise.
15023         (do_test): Likewise.
15024         * string/test-strstr.c (do_one_test): Likewise.
15025         (do_test): Likewise.
15027         * benchtests/Makefile (string-bench): Add string benchmarks.
15028         * benchtests/bench-bcopy-ifunc.c: New file.
15029         * benchtests/bench-bcopy.c: New file.
15030         * benchtests/bench-bzero-ifunc.c: New file.
15031         * benchtests/bench-bzero.c: New file.
15032         * benchtests/bench-memccpy-ifunc.c: New file.
15033         * benchtests/bench-memccpy.c: New file.
15034         * benchtests/bench-memchr-ifunc.c: New file.
15035         * benchtests/bench-memchr.c: New file.
15036         * benchtests/bench-memcmp-ifunc.c: New file.
15037         * benchtests/bench-memcmp.c: New file.
15038         * benchtests/bench-memmem-ifunc.c: New file.
15039         * benchtests/bench-memmem.c: New file.
15040         * benchtests/bench-memmove-ifunc.c: New file.
15041         * benchtests/bench-memmove.c: New file.
15042         * benchtests/bench-mempcpy-ifunc.c: New file.
15043         * benchtests/bench-mempcpy.c: New file.
15044         * benchtests/bench-memset-ifunc.c: New file.
15045         * benchtests/bench-memset.c: New file.
15046         * benchtests/bench-rawmemchr-ifunc.c: New file.
15047         * benchtests/bench-rawmemchr.c: New file.
15048         * benchtests/bench-stpcpy-ifunc.c: New file.
15049         * benchtests/bench-stpcpy.c: New file.
15050         * benchtests/bench-stpncpy-ifunc.c: New file.
15051         * benchtests/bench-stpncpy.c: New file.
15052         * benchtests/bench-strcasecmp-ifunc.c: New file.
15053         * benchtests/bench-strcasecmp.c: New file.
15054         * benchtests/bench-strcasestr-ifunc.c: New file.
15055         * benchtests/bench-strcasestr.c: New file.
15056         * benchtests/bench-strcat-ifunc.c: New file.
15057         * benchtests/bench-strcat.c: New file.
15058         * benchtests/bench-strchr-ifunc.c: New file.
15059         * benchtests/bench-strchr.c: New file.
15060         * benchtests/bench-strchrnul-ifunc.c: New file.
15061         * benchtests/bench-strchrnul.c: New file.
15062         * benchtests/bench-strcmp-ifunc.c: New file.
15063         * benchtests/bench-strcmp.c: New file.
15064         * benchtests/bench-strcpy-ifunc.c: New file.
15065         * benchtests/bench-strcpy.c: New file.
15066         * benchtests/bench-strcspn-ifunc.c: New file.
15067         * benchtests/bench-strcspn.c: New file.
15068         * benchtests/bench-strlen-ifunc.c: New file.
15069         * benchtests/bench-strlen.c: New file.
15070         * benchtests/bench-strncasecmp-ifunc.c: New file.
15071         * benchtests/bench-strncasecmp.c: New file.
15072         * benchtests/bench-strncat-ifunc.c: New file.
15073         * benchtests/bench-strncat.c: New file.
15074         * benchtests/bench-strncmp-ifunc.c: New file.
15075         * benchtests/bench-strncmp.c: New file.
15076         * benchtests/bench-strncpy-ifunc.c: New file.
15077         * benchtests/bench-strncpy.c: New file.
15078         * benchtests/bench-strnlen-ifunc.c: New file.
15079         * benchtests/bench-strnlen.c: New file.
15080         * benchtests/bench-strpbrk-ifunc.c: New file.
15081         * benchtests/bench-strpbrk.c: New file.
15082         * benchtests/bench-strrchr-ifunc.c: New file.
15083         * benchtests/bench-strrchr.c: New file.
15084         * benchtests/bench-strspn-ifunc.c: New file.
15085         * benchtests/bench-strspn.c: New file.
15086         * benchtests/bench-strstr-ifunc.c: New file.
15087         * benchtests/bench-strstr.c: New file.
15089         * benchtests/Makefile: Disable parallel execution of targets.
15090         (string-bench): Add memcpy.
15091         (benchset): New variable to store a list of benchmark sets.
15092         (bench-func): Renamed from bench.
15093         (bench-set): New target.
15094         (bench): Depend on bench-func and bench-set.
15095         * benchtests/README: Add section on benchmark sets.
15096         * benchtests/bench-memcpy-ifunc.c: New file.
15097         * benchtests/bench-memcpy.c: New file.
15098         * benchtests/bench-string.h: New file.
15100 2013-06-11  Andreas Schwab  <schwab@suse.de>
15102         [BZ #15577]
15103         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15104         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15105         values in the triple.
15106         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15107         terminator in the group key.
15109 2013-06-11  Andreas Jaeger  <aj@suse.de>
15111         * po/zh_TW.po: Update Chinese (traditional) translation from
15112         translation project.
15114 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15116         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15117         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15118         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15119         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15120         (clock_getcpuclockid): Likewise.
15121         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15122         Add weak_alias and libc_hidden_def.
15123         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15124         * rt/clock_gettime.c (clock_gettime): Rename to
15125         __clock_gettime.  Add weak_alias and libc_hidden_def.
15126         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15127         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15128         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15129         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15130         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15131         Likewise.
15132         * rt/clock_settime.c (clock_settime): Rename to
15133         __clock_settime.  Add weak_alias and libc_hidden_def.
15134         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15136 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15138         * mach/err_boot.sub: Remove trailing whitespace.
15139         * mach/err_ipc.sub: Likewise.
15140         * mach/err_mach.sub: Likewise.
15142         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15143         (ROUNDING_TESTS_double): Likewise.
15144         (ROUNDING_TESTS_long_double): Likewise.
15145         (ROUNDING_TESTS): Likewise.
15146         * math/libm-test.inc: Include <math-tests.h>.
15147         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15148         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15149         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15150         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15152 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15154         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15155         of assigning.
15157 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15159         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15160         otherwise empty TRANS lines.
15161         * sysdeps/gnu/errlist.c: Regenerated.
15163         * catgets/gencat.c (error_print): Use (void) in function
15164         definition.
15165         * crypt/crypt_util.c (__init_des): Likewise.
15166         * crypt/speeds.c (Stop): Likewise.
15167         (main): Likewise.
15168         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15169         * inet/ruserpass.c (token): Likewise.
15170         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15171         * intl/localealias.c (extend_alias_table): Likewise.
15172         * intl/plural-exp.c (init_germanic_plural): Likewise.
15173         * libio/fcloseall.c (__fcloseall): Likewise.
15174         * libio/genops.c (_IO_flush_all): Likewise.
15175         (_IO_flush_all_linebuffered): Likewise.
15176         (_IO_cleanup): Likewise.
15177         (_IO_iter_begin): Likewise.
15178         (_IO_iter_end): Likewise.
15179         (_IO_list_lock): Likewise.
15180         (_IO_list_unlock): Likewise.
15181         (_IO_list_resetlock): Likewise.
15182         * libio/getchar.c (getchar): Likewise.
15183         * libio/getchar_u.c (getchar_unlocked): Likewise.
15184         * libio/getwchar.c (getwchar): Likewise.
15185         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15186         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15187         * login/getpt.c (__getpt): Likewise.
15188         * login/tst-utmp.c (main): Likewise.
15189         * malloc/hooks.c (__malloc_check_init): Likewise.
15190         * malloc/malloc.c (__malloc_stats): Likewise.
15191         * malloc/mtrace.c (tr_break): Likewise.
15192         (mtrace): Likewise.
15193         (muntrace): Likewise.
15194         * misc/fstab.c (endfsent): Likewise.
15195         * misc/getclktck.c (__getclktck): Likewise.
15196         * misc/getdtsz.c (__getdtablesize): Likewise.
15197         * misc/gethostid.c (gethostid): Likewise.
15198         * misc/getpagesize.c (__getpagesize): Likewise.
15199         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15200         (__get_nprocs): Likewise.
15201         (__get_phys_pages): Likewise.
15202         (__get_avphys_pages): Likewise.
15203         * misc/getttyent.c (getttyent): Likewise.
15204         (setttyent): Likewise.
15205         (endttyent): Likewise.
15206         * misc/getusershell.c (getusershell): Likewise.
15207         (endusershell): Likewise.
15208         (setusershell): Likewise.
15209         (initshells): Likewise.
15210         * misc/hsearch.c (__hdestroy): Likewise.
15211         * misc/sync.c (sync): Likewise.
15212         * misc/syslog.c (closelog_internal): Likewise.
15213         (closelog): Likewise.
15214         * misc/ttyslot.c (ttyslot): Likewise.
15215         * misc/vhangup.c (vhangup): Likewise.
15216         * posix/fork.c (__fork): Likewise.
15217         * posix/getegid.c (__getegid): Likewise.
15218         * posix/geteuid.c (__geteuid): Likewise.
15219         * posix/getgid.c (__getgid): Likewise.
15220         * posix/getpid.c (__getpid): Likewise.
15221         * posix/getppid.c (__getppid): Likewise.
15222         * posix/getuid.c (__getuid): Likewise.
15223         * posix/pause.c (pause): Likewise.
15224         * posix/setpgrp.c (setpgrp): Likewise.
15225         * posix/setsid.c (__setsid): Likewise.
15226         * posix/test-vfork.c (noop): Likewise.
15227         * resolv/gethnamaddr.c (_endhtent): Likewise.
15228         (_gethtent): Likewise.
15229         (ht_endhostent): Likewise.
15230         (gethostent): Likewise.
15231         (dns_service): Likewise.
15232         * stdlib/drand48.c (drand48): Likewise.
15233         * stdlib/lrand48.c (lrand48): Likewise.
15234         * stdlib/mrand48.c (mrand48): Likewise.
15235         * stdlib/rand.c (rand): Likewise.
15236         * stdlib/random.c (__random): Likewise.
15237         * stdlib/setenv.c (clearenv): Likewise.
15238         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15239         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15240         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15241         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15242         (__get_nprocs): Likewise.
15243         (__get_phys_pages): Likewise.
15244         (__get_avphys_pages): Likewise.
15245         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15246         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15247         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15248         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15249         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15250         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15251         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15252         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15253         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15254         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15255         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15256         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15257         * sysdeps/posix/clock.c (clock): Likewise.
15258         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15259         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15260         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15261         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15262         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15263         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15264         (__get_nprocs_conf): Likewise.
15265         (__get_phys_pages): Likewise.
15266         (__get_avphys_pages): Likewise.
15267         * time/clock.c (clock): Likewise.
15268         * time/tzset.c (__tzname_max): Likewise.
15270 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15272         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15273         (__bswap_32): Do not use "register".
15274         * crypt/crypt.c (_ufc_doit_r): Likewise.
15275         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15276         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15277         * gmon/gmon.c (__monstartup): Likewise.
15278         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15279         * hurd/hurdmalloc.c (more_memory): Likewise.
15280         (malloc): Likewise.
15281         (free): Likewise.
15282         (realloc): Likewise.
15283         (malloc_fork_prepare): Likewise.
15284         (malloc_fork_parent): Likewise.
15285         (malloc_fork_child): Likewise.
15286         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15287         (_svcauth_des): Likewise.
15288         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15289         * inet/inet_net.c (inet_network): Likewise.
15290         * inet/inet_netof.c (inet_netof): Likewise.
15291         * inet/rcmd.c (__validuser2_sa): Likewise.
15292         * io/fts.c (fts_open): Likewise.
15293         (fts_load): Likewise.
15294         (fts_close): Likewise.
15295         (fts_read): Likewise.
15296         (fts_children): Likewise.
15297         (fts_build): Likewise.
15298         (fts_stat): Likewise.
15299         (fts_sort): Likewise.
15300         (fts_alloc): Likewise.
15301         (fts_lfree): Likewise.
15302         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15303         (_IO_file_xsgetn): Likewise.
15304         (_IO_file_xsgetn_mmap): Likewise.
15305         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15306         (_IO_cookie_write): Likewise.
15307         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15308         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15309         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15310         * malloc/obstack.c (_obstack_begin): Likewise.
15311         (_obstack_begin_1): Likewise.
15312         (_obstack_newchunk): Likewise.
15313         (_obstack_allocated_p): Likewise.
15314         (obstack_free): Likewise.
15315         (_obstack_memory_used): Likewise.
15316         * misc/getttyent.c (getttynam): Likewise.
15317         (getttyent): Likewise.
15318         (skip): Likewise.
15319         (value): Likewise.
15320         * misc/getusershell.c (initshells): Likewise.
15321         * misc/syslog.c (__vsyslog_chk): Likewise.
15322         * misc/ttyslot.c (ttyslot): Likewise.
15323         * nis/nis_hash.c (__nis_hash): Likewise.
15324         * posix/fnmatch_loop.c (FCT): Likewise.
15325         * posix/getconf.c (print_all): Likewise.
15326         (main): Likewise.
15327         * posix/getopt.c (exchange): Likewise.
15328         * posix/glob.c (globfree): Likewise.
15329         (prefix_array): Likewise.
15330         (__glob_pattern_type): Likewise.
15331         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15332         (NS_GET32): Likewise.
15333         (NS_PUT16): Likewise.
15334         (NS_PUT32): Likewise.
15335         * resolv/gethnamaddr.c (getanswer): Likewise.
15336         (gethostbyname2): Likewise.
15337         (gethostbyaddr): Likewise.
15338         (_gethtent): Likewise.
15339         (_gethtbyname2): Likewise.
15340         (_gethtbyaddr): Likewise.
15341         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15342         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15343         * resolv/res_init.c (__res_vinit): Likewise.
15344         (net_mask): Likewise.
15345         * resolv/res_mkquery.c (outchar): Likewise.
15346         (PRINT): Likewise.
15347         * stdio-common/printf_fp.c (outchar): Likewise.
15348         (PRINT): Likewise.
15349         * stdio-common/printf_fphex.c (outchar): Likewise.
15350         (PRINT): Likewise.
15351         * stdio-common/printf_size.c (outchar): Likewise.
15352         (PRINT): Likewise.
15353         * stdio-common/test_rdwr.c (main): Likewise.
15354         * stdio-common/tfformat.c (matches): Likewise.
15355         * stdio-common/vfprintf.c (outchar): Likewise.
15356         (printf_unknown): Likewise.
15357         (buffered_vfprintf): Likewise.
15358         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15359         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15360         (ReadFile): Likewise.
15361         * stdlib/qsort.c (SWAP): Likewise.
15362         (_quicksort): Likewise.
15363         * stdlib/setenv.c (__add_to_environ): Likewise.
15364         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15365         * stdlib/strtol_l.c (__strtol_l): Likewise.
15366         * stdlib/tst-strtod.c (main): Likewise.
15367         * stdlib/tst-strtol.c (main): Likewise.
15368         * stdlib/tst-strtoll.c (main): Likewise.
15369         * string/bits/string2.h (__strcmp_cc): Likewise.
15370         (__strcmp_cg): Likewise.
15371         (__strcspn_c1): Likewise.
15372         (__strcspn_c2): Likewise.
15373         (__strcspn_c3): Likewise.
15374         (__strspn_c1): Likewise.
15375         (__strspn_c2): Likewise.
15376         (__strspn_c3): Likewise.
15377         (__strsep_1c): Likewise.
15378         (__strsep_2c): Likewise.
15379         (__strsep_3c): Likewise.
15380         * string/memccpy.c (__memccpy): Likewise.
15381         * string/stpcpy.c (__stpcpy): Likewise.
15382         * string/strcmp.c (strcmp): Likewise.
15383         * string/strrchr.c (strrchr): Likewise.
15384         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15385         Likewise.
15386         * sysdeps/mach/hurd/getcwd.c
15387         (_hurd_canonicalize_directory_name_internal): Likewise.
15388         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15389         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15390         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15391         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15392         Likewise, in both definitions.
15393         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15394         definitions.
15395         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15396         64] (__bswap_64): Likewise.
15397         * time/test_time.c (main): Likewise.
15398         * time/tzfile.c (__tzfile_read): Likewise.
15399         (__tzfile_compute): Likewise.
15400         * time/tzset.c (__tzset_parse_tz): Likewise.
15401         (tzset_internal): Likewise.
15402         (compute_change): Likewise.
15403         * wcsmbs/wcscat.c (__wcscat): Likewise.
15404         * wcsmbs/wcschr.c (wcschr): Likewise.
15405         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15406         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15407         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15408         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15409         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15410         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15411         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15412         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15413         * wcsmbs/wmemset.c (wmemset): Likewise.
15415 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15417         * scripts/config.guess: Update to version 2013-05-16.
15418         * scripts/config.sub: Update to version 2013-04-24.
15419         * scripts/install-sh: Update to version 2011-11-20.07.
15420         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15421         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15423 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15425         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15426         * elf/sln.c: Likewise.
15427         * hurd/hurd/ioctl.h: Likewise.
15428         * hurd/hurdmalloc.c: Likewise.
15429         * hurd/xattr.c: Likewise.
15430         * include/shlib-compat.h: Likewise.
15431         * inet/ruserpass.c: Likewise.
15432         * libio/iofgets_u.c: Likewise.
15433         * libio/iofgetws_u.c: Likewise.
15434         * locale/programs/ld-identification.c: Likewise.
15435         * locale/programs/ld-time.c: Likewise.
15436         * mach/msg-destroy.c: Likewise.
15437         * nss/nss_files/files-netgrp.c: Likewise.
15438         * resolv/res_data.c: Likewise.
15439         * soft-fp/op-1.h: Likewise.
15440         * soft-fp/op-2.h: Likewise.
15441         * soft-fp/op-4.h: Likewise.
15442         * soft-fp/op-common.h: Likewise.
15443         * stdio-common/printf_fphex.c: Likewise.
15444         * stdlib/strtod_l.c: Likewise.
15445         * sunrpc/rpc/clnt.h: Likewise.
15446         * sysdeps/generic/framestate.c: Likewise.
15447         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15448         * sysdeps/i386/bsd-setjmp.S: Likewise.
15449         * sysdeps/i386/__longjmp.S: Likewise.
15450         * sysdeps/i386/setjmp.S: Likewise.
15451         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15452         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15453         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15468         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15469         * sysdeps/ieee754/support.c: Likewise.
15470         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15471         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15472         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15473         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15474         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15475         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15476         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15477         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15478         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15479         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15480         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15481         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15482         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15483         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15484         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15485         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15486         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15489 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15491         * posix/transbug.c: Remove executable mode.
15493 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15495         * crypt/speeds.c: Remove trailing whitespace.
15496         * dlfcn/default.c: Likewise.
15497         * elf/ifuncdep2.c: Likewise.
15498         * elf/ifuncmain1.c: Likewise.
15499         * elf/ifuncmain1vis.c: Likewise.
15500         * elf/testobj.h: Likewise.
15501         * elf/tst-stackguard1.c: Likewise.
15502         * gmon/sys/gmon.h: Likewise.
15503         * hurd/hurdmsg.c: Likewise.
15504         * hurd/new-fd.c: Likewise.
15505         * hurd/ports-get.c: Likewise.
15506         * iconvdata/ibm1008_420.c: Likewise.
15507         * inet/tst-getni1.c: Likewise.
15508         * inet/tst-getni2.c: Likewise.
15509         * libio/ioungetc.c: Likewise.
15510         * libio/wfiledoalloc.c: Likewise.
15511         * manual/libm-err-tab.pl: Likewise.
15512         * math/w_dremf.c: Likewise.
15513         * misc/ftruncate.c: Likewise.
15514         * posix/bug-glob2.c: Likewise.
15515         * posix/tst-pcre.c: Likewise.
15516         * posix/wait4.c: Likewise.
15517         * resolv/README: Likewise.
15518         * resolv/res_debug.h: Likewise.
15519         * resolv/tst-inet_ntop.c: Likewise.
15520         * setjmp/bug269-setjmp.c: Likewise.
15521         * soft-fp/extended.h: Likewise.
15522         * soft-fp/op-1.h: Likewise.
15523         * soft-fp/op-2.h: Likewise.
15524         * soft-fp/op-4.h: Likewise.
15525         * soft-fp/op-8.h: Likewise.
15526         * soft-fp/testit.c: Likewise.
15527         * stdio-common/bug16.c: Likewise.
15528         * stdlib/random.c: Likewise.
15529         * sunrpc/rpcsvc/rquota.x: Likewise.
15530         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15531         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15532         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15533         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15534         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15535         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15536         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15537         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15538         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15539         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15540         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15541         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15542         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15543         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15544         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15545         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15546         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15547         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15548         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15551         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15552         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15553         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15554         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15555         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15557         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15558         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15559         * sysdeps/ieee754/s_lib_version.c: Likewise.
15560         * sysdeps/mach/hurd/check_fds.c: Likewise.
15561         * sysdeps/mach/hurd/getsockname.c: Likewise.
15562         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15563         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15564         * sysdeps/powerpc/bits/link.h: Likewise.
15565         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15566         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15567         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15568         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15569         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15570         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15571         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15572         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15573         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15574         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15575         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15576         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15577         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15578         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15579         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15580         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15581         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15582         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15583         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15584         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15585         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15586         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15587         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15588         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15589         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15590         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15591         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15592         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15593         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15594         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15595         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15596         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15598         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15599         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15600         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15601         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15602         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15603         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15604         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15605         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15606         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15607         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15608         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15609         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15610         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15611         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15612         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15613         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15614         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15615         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15616         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15617         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15618         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15619         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15620         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15621         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15622         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15623         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15624         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15625         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15626         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15627         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15628         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15629         * sysdeps/powerpc/sysdep.h: Likewise.
15630         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15631         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15632         * sysdeps/sh/dl-trampoline.S: Likewise.
15633         * sysdeps/sh/memset.S: Likewise.
15634         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15635         * sysdeps/sh/strlen.S: Likewise.
15636         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15637         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15638         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15639         * sysdeps/sparc/sparc32/rem.S: Likewise.
15640         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15641         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15642         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15643         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15644         * sysdeps/sparc/sparc32/urem.S: Likewise.
15645         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15646         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15647         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15648         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15649         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15650         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15651         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15652         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15653         * sysdeps/unix/bsd/times.c: Likewise.
15654         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15655         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15659         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15660         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15661         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15662         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15663         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15664         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15665         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15666         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15667         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15668         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15669         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15670         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15671         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15672         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15673         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15674         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15675         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15676         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15677         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15678         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15679         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15680         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15681         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15682         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15683         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15684         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15685         * sysdeps/x86_64/strcspn.S: Likewise.
15687 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15689         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15690         generated file.  Regenerate properly from gen-translit.pl.
15691         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15692         locale/C-translit.h.
15694 2013-06-05  Andreas Schwab  <schwab@suse.de>
15696         [BZ #15100]
15697         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15698         week as 6 instead of -1.
15699         * time/tst-strptime.c (day_tests): Add test case.
15701 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15703         * sysdeps/generic/math_private.h
15704         (libc_feholdexcept_setround_53bit): Replace with
15705         libc_feholdsetround_53bit.
15706         (libc_feupdateenv_53bit): Replace with
15707         libc_feresetround_53bit.
15708         (SET_RESTORE_ROUND_53BIT): Adjust.
15710 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15712         * string/test-strchrnul.c: Add copyright header.
15714         * posix/tst-getaddrinfo4.c: Increase test timeout.
15716 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15718         [BZ #15536]
15719         * math/libm-test.inc (MAX_EXP): Remove
15720         (MIN_EXP): Define.
15721         (ulp): Use MIN_EXP - MANT_DIG.
15722         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15724 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15726         * po/be.po: Revert last change.
15727         * po/zh_CN.po: Likewise.
15728         * po/header.pot: Likewise.
15730 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15732         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15733         link-libc-deps to empty as target-specific variable.
15734         * Makerules (link-libc-args): New variable.
15735         (libc-for-link): Likewise.
15736         (link-libc-deps): Likewise.
15737         (lib%.so): Depend on $(link-libc-deps).  Link with
15738         $(link-libc-args).
15739         (build-module): Link with $(link-libc-args).
15740         (build-module-asneeded): Likewise.
15741         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15742         list of objects.
15743         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15744         target-specific variable.
15745         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15746         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15747         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15748         libc.
15749         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15750         libc and ld.so.
15751         ($(objpfx)libpcprofile.so): Likewise.
15752         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15753         libc_nonshared.a.
15754         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15755         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15756         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15757         $(link-libc-deps).
15758         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15759         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15760         * login/Makefile ($(objpfx)libutil.so): Likewise.
15761         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15762         * math/Makefile ($(objpfx)libm.so): Likewise.
15763         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15764         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15765         variable instead of depending directly on libc.
15766         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15767         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15768         $(link-libc-deps).
15769         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15770         libc.
15771         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15772         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15773         ($(objpfx)libanl.so): Likewise.
15774         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15775         ld.so.
15776         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15777         $(link-libc-deps).
15778         * sysdeps/i386/fpu/Makefile: Remove file.
15779         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15780         ($(objpfx)libm.so): Remove dependency on ld.so.
15782 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15784         [BZ # 15553]
15785         * nis/yp_xdr.c (XDRMAXNAME): Define.
15786         (XDRMAXRECORD): Define.
15787         (xdr_domainname): Use XDRMAXNAME.
15788         (xdr_mapname): Likewise.
15789         (xdr_peername): Likewise.
15790         (xdr_keydat): Use XDRMAXRECORD.
15791         (xdr_valdat): Likewise.
15793 2013-05-30  Jeff Law  <law@redhat.com>
15795         [BZ #14256]
15796         * manual/errno.texi (ESTALE): Update to account for more than
15797         just NFS file systems.
15798         * sysdeps/gnu/errlist.c: Regenerated.
15800 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15802         [BZ #15465]
15803         * elf/Makefile (tests): Add tst-null-argv.
15804         (modules-names):  Add tst-null-argv-lib.
15805         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15806         (tst-null-argv-ENV): Set environment for tst-null-argv.
15807         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15808         (RTLD_PROGNAME): New macro.
15809         * elf/tst-null-argv.c: New test case.
15810         * elf/tst-null-argv-lib.c: Library for test case.
15811         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15812         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15813         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15814         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15815         * elf/dl-init.c (call_init): Likewise.
15816         (_dl_init): Likewise.
15817         * elf/dl-load.c (print_search_path): Likewise.
15818         (_dl_map_object): Likewise.
15819         * elf/dl-lookup.c (do_lookup_x): Likewise.
15820         (add_dependency): Likewise.
15821         (_dl_lookup_symbol_x): Likewise.
15822         (_dl_debug_bindings): Likewise.
15823         * elf/dl-open.c (_dl_show_scope): Likewise.
15824         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15825         * elf/dl-version.c (match_symbol): Likewise.
15826         (_dl_check_map_versions): Likewise.
15827         * elf/rtld.c (dl_main): Likewise.
15828         (print_unresolved): Use RTLD_PROGNAME.
15829         (print_missing_version): Likewise.
15830         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15831         (elf_machine_rela): Likewise.
15832         * sysdeps/powerpc/powerpc32/dl-machine.c
15833         (__process_machine_rela): Likewise.
15834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15835         Likewise.
15836         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15837         Likewise.
15838         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15839         Likewise.
15840         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15841         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15842         Likewise.
15843         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15844         Likewise.
15845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15847 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15849         * po/be.po: Add descriptive title.
15850         * po/zh_CN.po: Likewise.
15851         * po/header.pot: Likewise.
15853 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15855         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15856         error message.
15857         (enlarge_archive): Likewise.
15859 2013-05-28  Ben North  <ben@redfrontdoor.org>
15861         * manual/arith.texi (frexp): It is the magnitude of the return
15862         value which lies in [0.5, 1), not the return value itself.
15864 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15868 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15870         * stdio-common/bug26.c (main): Correct fscanf template.
15872         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15873         declare _dl_skip_args.
15875         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15876         Don't declare.
15878         * manual/platform.texi: Add missing @end deftypefun.
15880 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15882         [BZ #15529]
15883         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15884         bit of mantissa of 2^16382.
15885         * math/libm-test.inc (hypot_test_data): Add more tests.
15887         * math/libm-test.inc: Add drem and pow10 to list of tested
15888         functions.
15889         (pow10_test): New function.
15890         (drem_test): Likewise.
15891         (drem_test_tonearest): Likewise.
15892         (drem_test_towardzero): Likewise.
15893         (drem_test_downward): Likewise.
15894         (drem_test_upward): Likewise.
15895         (main): Call the new functions.
15897         * math/libm-test.inc (finite_test_data): Remove.
15898         (finite_test): Run tests from isfinite_test_data.
15899         (gamma_test_data): Remove.
15900         (gamma_test): Run tests from lgamma_test_data.
15901         * sysdeps/i386/fpu/libm-test-ulps: Update.
15902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15904 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15906         * manual/platform.texi: Add PowerPC PPR function set documentation.
15907         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15908         implementation.
15910 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15912         * math/libm-test.inc (MAX_EXP): Define.
15913         (ULPDIFF): Define.
15914         (ulp): New function.
15915         (check_float_internal): Use ULPDIFF.
15916         (cpow_test): Disable failing test.
15917         (check_ulp): Test ulp() implemetnation.
15918         (main): Call check_ulp before starting tests.
15920 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15922         * math/gen-libm-test.pl (generate_testfile): Do not handle
15923         START_DATA and END_DATA.
15924         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15925         END_DATA.
15926         (acos_tonearest_test_data): Likewise.
15927         (acos_towardzero_test_data): Likewise.
15928         (acos_downward_test_data): Likewise.
15929         (acos_upward_test_data): Likewise.
15930         (acosh_test_data): Likewise.
15931         (asin_test_data): Likewise.
15932         (asin_tonearest_test_data): Likewise.
15933         (asin_towardzero_test_data): Likewise.
15934         (asin_downward_test_data): Likewise.
15935         (asin_upward_test_data): Likewise.
15936         (asinh_test_data): Likewise.
15937         (atan_test_data): Likewise.
15938         (atanh_test_data): Likewise.
15939         (atan2_test_data): Likewise.
15940         (cabs_test_data): Likewise.
15941         (cacos_test_data): Likewise.
15942         (cacosh_test_data): Likewise.
15943         (carg_test_data): Likewise.
15944         (casin_test_data): Likewise.
15945         (casinh_test_data): Likewise.
15946         (catan_test_data): Likewise.
15947         (catanh_test_data): Likewise.
15948         (cbrt_test_data): Likewise.
15949         (ccos_test_data): Likewise.
15950         (ccosh_test_data): Likewise.
15951         (ceil_test_data): Likewise.
15952         (cexp_test_data): Likewise.
15953         (cimag_test_data): Likewise.
15954         (clog_test_data): Likewise.
15955         (clog10_test_data): Likewise.
15956         (conj_test_data): Likewise.
15957         (copysign_test_data): Likewise.
15958         (cos_test_data): Likewise.
15959         (cos_tonearest_test_data): Likewise.
15960         (cos_towardzero_test_data): Likewise.
15961         (cos_downward_test_data): Likewise.
15962         (cos_upward_test_data): Likewise.
15963         (cosh_test_data): Likewise.
15964         (cosh_tonearest_test_data): Likewise.
15965         (cosh_towardzero_test_data): Likewise.
15966         (cosh_downward_test_data): Likewise.
15967         (cosh_upward_test_data): Likewise.
15968         (cpow_test_data): Likewise.
15969         (cproj_test_data): Likewise.
15970         (creal_test_data): Likewise.
15971         (csin_test_data): Likewise.
15972         (csinh_test_data): Likewise.
15973         (csqrt_test_data): Likewise.
15974         (ctan_test_data): Likewise.
15975         (ctan_tonearest_test_data): Likewise.
15976         (ctan_towardzero_test_data): Likewise.
15977         (ctan_downward_test_data): Likewise.
15978         (ctan_upward_test_data): Likewise.
15979         (ctanh_test_data): Likewise.
15980         (ctanh_tonearest_test_data): Likewise.
15981         (ctanh_towardzero_test_data): Likewise.
15982         (ctanh_downward_test_data): Likewise.
15983         (ctanh_upward_test_data): Likewise.
15984         (erf_test_data): Likewise.
15985         (erfc_test_data): Likewise.
15986         (exp_test_data): Likewise.
15987         (exp_tonearest_test_data): Likewise.
15988         (exp_towardzero_test_data): Likewise.
15989         (exp_downward_test_data): Likewise.
15990         (exp_upward_test_data): Likewise.
15991         (exp10_test_data): Likewise.
15992         (exp2_test_data): Likewise.
15993         (expm1_test_data): Likewise.
15994         (fabs_test_data): Likewise.
15995         (fdim_test_data): Likewise.
15996         (finite_test_data): Likewise.
15997         (floor_test_data): Likewise.
15998         (fma_test_data): Likewise.
15999         (fma_towardzero_test_data): Likewise.
16000         (fma_downward_test_data): Likewise.
16001         (fma_upward_test_data): Likewise.
16002         (fmax_test_data): Likewise.
16003         (fmin_test_data): Likewise.
16004         (fmod_test_data): Likewise.
16005         (fpclassify_test_data): Likewise.
16006         (frexp_test_data): Likewise.
16007         (gamma_test_data): Likewise.
16008         (hypot_test_data): Likewise.
16009         (ilogb_test_data): Likewise.
16010         (isfinite_test_data): Likewise.
16011         (isgreater_test_data): Likewise.
16012         (isgreaterequal_test_data): Likewise.
16013         (isinf_test_data): Likewise.
16014         (isless_test_data): Likewise.
16015         (islessequal_test_data): Likewise.
16016         (islessgreater_test_data): Likewise.
16017         (isnan_test_data): Likewise.
16018         (isnormal_test_data): Likewise.
16019         (issignaling_test_data): Likewise.
16020         (isunordered_test_data): Likewise.
16021         (j0_test_data): Likewise.
16022         (j1_test_data): Likewise.
16023         (jn_test_data): Likewise.
16024         (ldexp_test_data): Likewise.
16025         (lgamma_test_data): Likewise.
16026         (lrint_test_data): Likewise.
16027         (lrint_tonearest_test_data): Likewise.
16028         (lrint_towardzero_test_data): Likewise.
16029         (lrint_downward_test_data): Likewise.
16030         (lrint_upward_test_data): Likewise.
16031         (llrint_test_data): Likewise.
16032         (llrint_tonearest_test_data): Likewise.
16033         (llrint_towardzero_test_data): Likewise.
16034         (llrint_downward_test_data): Likewise.
16035         (llrint_upward_test_data): Likewise.
16036         (log_test_data): Likewise.
16037         (log10_test_data): Likewise.
16038         (log1p_test_data): Likewise.
16039         (log2_test_data): Likewise.
16040         (logb_test_data): Likewise.
16041         (logb_downward_test_data): Likewise.
16042         (lround_test_data): Likewise.
16043         (llround_test_data): Likewise.
16044         (modf_test_data): Likewise.
16045         (nearbyint_test_data): Likewise.
16046         (nextafter_test_data): Likewise.
16047         (nexttoward_test_data): Likewise.
16048         (pow_test_data): Likewise.
16049         (pow_tonearest_test_data): Likewise.
16050         (pow_towardzero_test_data): Likewise.
16051         (pow_downward_test_data): Likewise.
16052         (pow_upward_test_data): Likewise.
16053         (remainder_test_data): Likewise.
16054         (remainder_tonearest_test_data): Likewise.
16055         (remainder_towardzero_test_data): Likewise.
16056         (remainder_downward_test_data): Likewise.
16057         (remainder_upward_test_data): Likewise.
16058         (remquo_test_data): Likewise.
16059         (rint_test_data): Likewise.
16060         (rint_tonearest_test_data): Likewise.
16061         (rint_towardzero_test_data): Likewise.
16062         (rint_downward_test_data): Likewise.
16063         (rint_upward_test_data): Likewise.
16064         (round_test_data): Likewise.
16065         (scalb_test_data): Likewise.
16066         (scalbn_test_data): Likewise.
16067         (scalbln_test_data): Likewise.
16068         (signbit_test_data): Likewise.
16069         (sin_test_data): Likewise.
16070         (sin_tonearest_test_data): Likewise.
16071         (sin_towardzero_test_data): Likewise.
16072         (sin_downward_test_data): Likewise.
16073         (sin_upward_test_data): Likewise.
16074         (sincos_test_data): Likewise.
16075         (sinh_test_data): Likewise.
16076         (sinh_tonearest_test_data): Likewise.
16077         (sinh_towardzero_test_data): Likewise.
16078         (sinh_downward_test_data): Likewise.
16079         (sinh_upward_test_data): Likewise.
16080         (sqrt_test_data): Likewise.
16081         (tan_test_data): Likewise.
16082         (tan_tonearest_test_data): Likewise.
16083         (tan_towardzero_test_data): Likewise.
16084         (tan_downward_test_data): Likewise.
16085         (tan_upward_test_data): Likewise.
16086         (tanh_test_data): Likewise.
16087         (tgamma_test_data): Likewise.
16088         (trunc_test_data): Likewise.
16089         (y0_test_data): Likewise.
16090         (y1_test_data): Likewise.
16091         (yn_test_data): Likewise.
16092         (significand_test_data): Likewise.
16094         * math/gen-libm-test.pl (@functions): Remove variable.
16095         (generate_testfile): Don't handle START and END lines.
16096         * math/libm-test.inc (START): New macro.
16097         (END): Likewise.
16098         (END_COMPLEX): Likewise.
16099         (acos_test): Use END macro without arguments.
16100         (acos_test_tonearest): Likewise.
16101         (acos_test_towardzero): Likewise.
16102         (acos_test_downward): Likewise.
16103         (acos_test_upward): Likewise.
16104         (acosh_test): Likewise.
16105         (asin_test): Likewise.
16106         (asin_test_tonearest): Likewise.
16107         (asin_test_towardzero): Likewise.
16108         (asin_test_downward): Likewise.
16109         (asin_test_upward): Likewise.
16110         (asinh_test): Likewise.
16111         (atan_test): Likewise.
16112         (atanh_test): Likewise.
16113         (atan2_test): Likewise.
16114         (cabs_test): Likewise.
16115         (cacos_test): Use END_COMPLEX macro without arguments.
16116         (cacosh_test): Likewise.
16117         (carg_test): Use END macro without arguments.
16118         (casin_test): Use END_COMPLEX macro without arguments.
16119         (casinh_test): Likewise.
16120         (catan_test): Likewise.
16121         (catanh_test): Likewise.
16122         (cbrt_test): Use END macro without arguments.
16123         (ccos_test): Use END_COMPLEX macro without arguments.
16124         (ccosh_test): Likewise.
16125         (ceil_test): Use END macro without arguments.
16126         (cexp_test): Use END_COMPLEX macro without arguments.
16127         (cimag_test): Use END macro without arguments.
16128         (clog_test): Use END_COMPLEX macro without arguments.
16129         (clog10_test): Likewise.
16130         (conj_test): Likewise.
16131         (copysign_test): Use END macro without arguments.
16132         (cos_test): Likewise.
16133         (cos_test_tonearest): Likewise.
16134         (cos_test_towardzero): Likewise.
16135         (cos_test_downward): Likewise.
16136         (cos_test_upward): Likewise.
16137         (cosh_test): Likewise.
16138         (cosh_test_tonearest): Likewise.
16139         (cosh_test_towardzero): Likewise.
16140         (cosh_test_downward): Likewise.
16141         (cosh_test_upward): Likewise.
16142         (cpow_test): Use END_COMPLEX macro without arguments.
16143         (cproj_test): Likewise.
16144         (creal_test): Use END macro without arguments.
16145         (csin_test): Use END_COMPLEX macro without arguments.
16146         (csinh_test): Likewise.
16147         (csqrt_test): Likewise.
16148         (ctan_test): Likewise.
16149         (ctan_test_tonearest): Likewise.
16150         (ctan_test_towardzero): Likewise.
16151         (ctan_test_downward): Likewise.
16152         (ctan_test_upward): Likewise.
16153         (ctanh_test): Likewise.
16154         (ctanh_test_tonearest): Likewise.
16155         (ctanh_test_towardzero): Likewise.
16156         (ctanh_test_downward): Likewise.
16157         (ctanh_test_upward): Likewise.
16158         (erf_test): Use END macro without arguments.
16159         (erfc_test): Likewise.
16160         (exp_test): Likewise.
16161         (exp_test_tonearest): Likewise.
16162         (exp_test_towardzero): Likewise.
16163         (exp_test_downward): Likewise.
16164         (exp_test_upward): Likewise.
16165         (exp10_test): Likewise.
16166         (exp2_test): Likewise.
16167         (expm1_test): Likewise.
16168         (fabs_test): Likewise.
16169         (fdim_test): Likewise.
16170         (finite_test): Likewise.
16171         (floor_test): Likewise.
16172         (fma_test): Likewise.
16173         (fma_test_towardzero): Likewise.
16174         (fma_test_downward): Likewise.
16175         (fma_test_upward): Likewise.
16176         (fmax_test): Likewise.
16177         (fmin_test): Likewise.
16178         (fmod_test): Likewise.
16179         (fpclassify_test): Likewise.
16180         (frexp_test): Likewise.
16181         (gamma_test): Likewise.
16182         (hypot_test): Likewise.
16183         (ilogb_test): Likewise.
16184         (isfinite_test): Likewise.
16185         (isgreater_test): Likewise.
16186         (isgreaterequal_test): Likewise.
16187         (isinf_test): Likewise.
16188         (isless_test): Likewise.
16189         (islessequal_test): Likewise.
16190         (islessgreater_test): Likewise.
16191         (isnan_test): Likewise.
16192         (isnormal_test): Likewise.
16193         (issignaling_test): Likewise.
16194         (isunordered_test): Likewise.
16195         (j0_test): Likewise.
16196         (j1_test): Likewise.
16197         (jn_test): Likewise.
16198         (ldexp_test): Likewise.
16199         (lgamma_test): Likewise.
16200         (lrint_test): Likewise.
16201         (lrint_test_tonearest): Likewise.
16202         (lrint_test_towardzero): Likewise.
16203         (lrint_test_downward): Likewise.
16204         (lrint_test_upward): Likewise.
16205         (llrint_test): Likewise.
16206         (llrint_test_tonearest): Likewise.
16207         (llrint_test_towardzero): Likewise.
16208         (llrint_test_downward): Likewise.
16209         (llrint_test_upward): Likewise.
16210         (log_test): Likewise.
16211         (log10_test): Likewise.
16212         (log1p_test): Likewise.
16213         (log2_test): Likewise.
16214         (logb_test): Likewise.
16215         (logb_test_downward): Likewise.
16216         (lround_test): Likewise.
16217         (llround_test): Likewise.
16218         (modf_test): Likewise.
16219         (nearbyint_test): Likewise.
16220         (nextafter_test): Likewise.
16221         (nexttoward_test): Likewise.
16222         (pow_test): Likewise.
16223         (pow_test_tonearest): Likewise.
16224         (pow_test_towardzero): Likewise.
16225         (pow_test_downward): Likewise.
16226         (pow_test_upward): Likewise.
16227         (remainder_test): Likewise.
16228         (remainder_test_tonearest): Likewise.
16229         (remainder_test_towardzero): Likewise.
16230         (remainder_test_downward): Likewise.
16231         (remainder_test_upward): Likewise.
16232         (remquo_test): Likewise.
16233         (rint_test): Likewise.
16234         (rint_test_tonearest): Likewise.
16235         (rint_test_towardzero): Likewise.
16236         (rint_test_downward): Likewise.
16237         (rint_test_upward): Likewise.
16238         (round_test): Likewise.
16239         (scalb_test): Likewise.
16240         (scalbn_test): Likewise.
16241         (scalbln_test): Likewise.
16242         (signbit_test): Likewise.
16243         (sin_test): Likewise.
16244         (sin_test_tonearest): Likewise.
16245         (sin_test_towardzero): Likewise.
16246         (sin_test_downward): Likewise.
16247         (sin_test_upward): Likewise.
16248         (sincos_test): Likewise.
16249         (sinh_test): Likewise.
16250         (sinh_test_tonearest): Likewise.
16251         (sinh_test_towardzero): Likewise.
16252         (sinh_test_downward): Likewise.
16253         (sinh_test_upward): Likewise.
16254         (sqrt_test): Likewise.
16255         (tan_test): Likewise.
16256         (tan_test_tonearest): Likewise.
16257         (tan_test_towardzero): Likewise.
16258         (tan_test_downward): Likewise.
16259         (tan_test_upward): Likewise.
16260         (tanh_test): Likewise.
16261         (tgamma_test): Likewise.
16262         (trunc_test): Likewise.
16263         (y0_test): Likewise.
16264         (y1_test): Likewise.
16265         (yn_test): Likewise.
16266         (significand_test): Likewise.
16268 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16270         [BZ #15381]
16271         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16273 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16275         [BZ #14894]
16276         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16277         __ppc_mdoio and __ppc_mdoom.
16278         * manual/platform.texi: Document new functions __ppc_yield,
16279         __ppc_mdoio and __ppc_mdoom.
16281 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16283         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16284         (main): Mention "tls" pseudo-hwcap is legacy.
16285         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16287 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16289         * math/gen-libm-test.pl (parse_args): Output only string of
16290         arguments as text for test name, not full call or descriptions of
16291         tests for extra outputs.
16292         (generate_testfile): Do not pass function name to parse_args.
16293         Generate this_func variable from START.
16294         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16295         field to arg_str.
16296         (struct test_ff_f_data): Likewise.
16297         (test_ff_f_data_nexttoward): Likewise.
16298         (struct test_fi_f_data): Likewise.
16299         (struct test_fl_f_data): Likewise.
16300         (struct test_if_f_data): Likewise.
16301         (struct test_fff_f_data): Likewise.
16302         (struct test_c_f_data): Likewise.
16303         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16304         (struct test_fF_f1_data): Likewise.
16305         (struct test_ffI_f1_data): Likewise.
16306         (struct test_c_c_data): Rename test_name field to arg_str.
16307         (struct test_cc_c_data): Likewise.
16308         (struct test_f_i_data): Likewise.
16309         (struct test_ff_i_data): Likewise.
16310         (struct test_f_l_data): Likewise.
16311         (struct test_f_L_data): Likewise.
16312         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16313         and extra2_name.
16314         (COMMON_TEST_SETUP): New macro.
16315         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16316         (COMMON_TEST_CLEANUP): Likewise.
16317         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16318         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16319         macros.
16320         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16321         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16322         macros.
16323         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16324         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16325         cleanup macros.
16326         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16327         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16328         macros.
16329         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16330         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16331         macros.
16332         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16333         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16334         cleanup macros.
16335         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16336         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16337         cleanup macros.
16338         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16339         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16340         cleanup macros.
16341         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16342         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16343         macros.
16344         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16345         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16346         macros.
16347         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16348         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16349         macros.
16350         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16351         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16352         cleanup macros.
16353         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16354         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16355         cleanup macros.
16356         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16357         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16358         macros.
16359         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16360         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16361         cleanup macros.
16362         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16363         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16364         macros.
16365         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16366         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16367         macros.
16368         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16369         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16370         cleanup macros.
16371         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16373 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16375         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16376         to _sifields.sigfault.
16377         (si_addr_lsb): Define new macro.
16378         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16380         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16382 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16384         [BZ #15441]
16385         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16386         returns -1.
16387         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16388         null return -1.
16389         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16390         loading the domain.
16392 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16394         * math/gen-libm-test.pl (parse_args): Do not include expected
16395         result in test name.
16396         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16397         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16398         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16399         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16400         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16403 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16405         * benchtests/Makefile: Sort function entries.
16407         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16408         tanh, asinh, acosh, atanh.
16409         * benchtests/acos-inputs: New file.
16410         * benchtests/acosh-inputs: New file.
16411         * benchtests/asin-inputs: New file.
16412         * benchtests/asinh-inputs: New file.
16413         * benchtests/atanh-inputs: New file.
16414         * benchtests/cosh-inputs: New file.
16415         * benchtests/log-inputs: New file.
16416         * benchtests/sinh-inputs: New file.
16417         * benchtests/tanh-inputs: New file.
16419 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16421         [BZ #15339]
16422         * posix/tst-getaddrinfo4.c: New test.
16423         * posix/Makefile (tests): Add it.
16425 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16427         [BZ #15339]
16428         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16429         when no services were used.
16430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16431         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16433 2013-05-21  Andreas Schwab  <schwab@suse.de>
16435         [BZ #15014]
16436         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16437         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16438         successful.
16439         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16440         redundant variable declarations and reallocation of buffer when
16441         parsing as IPv6 address.  Always set NSS status when called from
16442         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16443         buffer too small.  Correct computation of needed size.
16444         * nss/Makefile (tests): Add test-digits-dots.
16445         * nss/test-digits-dots.c: New test.
16447 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16449         * benchtests/Makefile: Remove instructions for adding
16450         benchmark tests.
16451         * benchtests/README: New file to explain how to execute and
16452         enhance the benchmark tests.
16454 2013-05-21  Andreas Schwab  <schwab@suse.de>
16456         [BZ #15493]
16457         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16458         * setjmp/tst-sigsetjmp.c: New test.
16460 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16462         * sysdeps/x86_64/memset.S (memset): New implementation.
16463         (__bzero): Likewise.
16464         (__memset_tail): New function.
16466 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16468         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16469         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16470         __memcpy_sse2_unaligned ifunc selection.
16471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16472         Add memcpy-sse2-unaligned.S.
16473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16474         Add: __memcpy_sse2_unaligned.
16476 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16478         [BZ #15490]
16479         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16480         math_force_eval before restoring floating-point envrionment.
16481         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16483         Likewise.
16484         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16485         <math_private.h>.
16486         (__nearbyintl): Use math_force_eval before restoring
16487         floating-point environment.
16488         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16490         * math/gen-libm-test.pl (special_functions): Remove.
16491         (parse_args): Don't handle TEST_extra.  Handle functions with no
16492         return value.
16493         * math/libm-test.inc (struct test_sincos_data): Replace with
16494         struct test_fFF_11_data.
16495         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16496         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16497         (sincos_test_data): Change element type to struct
16498         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16499         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16500         RUN_TEST_LOOP_sincos.
16501         * math/README.libm-test: Don't mention special handling of
16502         individual functions.
16503         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16504         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16505         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16506         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16507         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16510         * math/gen-libm-test.pl (get_variable): Remove function.
16511         (parse_args): Don't show pointer parameters to call in test
16512         names.  Use "extra output N" in test names for extra outputs
16513         rather than naming variables.
16515 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16517         [BZ #15488]
16518         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16519         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16520         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16521         double tests.
16522         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16523         disable.
16524         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16525         check_long_double.
16527         * math/gen-libm-test.pl (@tests): Remove variable.
16528         ($count): Likewise.
16529         (new_test): Remove function.
16530         (show_exceptions): New function.
16531         (special_functions): Use show_exceptions instead of new_test.
16532         (parse_args): Likewise.
16533         (generate_testfile): Pass only function name in generated call to
16534         print_max_error or print_complex_max_error.
16535         (get_ulps): Do not handle complex tests specially.
16536         (output_test): Rename to ...
16537         (get_all_ulps_for_test): ... this.  Return a string rather than
16538         printing to a file.  Require ulps to be present.
16539         (output_ulps): Generate arrays rather than #defines.
16540         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16541         (struct ulp_data): New type.
16542         (BUILD_COMPLEX_ULP): Remove macro.
16543         (compare_ulp_data): New function.
16544         (find_ulps): Likewise.
16545         (find_test_ulps): Likewise.
16546         (find_function_ulps): Likewise.
16547         (find_complex_function_ulps): Likewise.
16548         (print_max_error): Determine allowed ulps using
16549         find_function_ulps.
16550         (print_complex_max_error): Determine allowed ulps using
16551         find_complex_function_ulps.
16552         (check_float_internal): Determine max ulps using find_test_ulps.
16553         (check_float): Do not take max_ulp parameter.  Update call to
16554         check_float_internal.
16555         (check_complex): Likewise.
16556         (check_int): Do not take max_ulp parameter.
16557         (check_long): Likewise.
16558         (check_bool): Likewise.
16559         (check_longlong): Likewise.
16560         (struct test_f_f_data): Remove max_ulp field.
16561         (struct test_ff_f_data): Likewise.
16562         (struct test_ff_f_data_nexttoward): Likewise.
16563         (struct test_fi_f_data): Likewise.
16564         (struct test_fl_f_data): Likewise.
16565         (struct test_if_f_data): Likewise.
16566         (struct test_fff_f_data): Likewise.
16567         (struct test_c_f_data): Likewise.
16568         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16569         (struct test_fF_f1_data): Likewise.
16570         (struct test_ffI_f1_data): Likewise.
16571         (struct test_c_c_data): Remove max_ulp field.
16572         (struct test_cc_c_data): Likewise.
16573         (struct test_f_i_data): Likewise.
16574         (struct test_ff_i_data): Likewise.
16575         (struct test_f_l_data): Likewise.
16576         (struct test_f_L_data): Likewise.
16577         (struct test_sincos_data): Likewise.
16578         (RUN_TEST_f_f): Do not handle ulps.
16579         (RUN_TEST_LOOP_f_f): Likewise.
16580         (RUN_TEST_2_f): Likewise.
16581         (RUN_TEST_LOOP_2_f): Likewise.
16582         (RUN_TEST_fff_f): Likewise.
16583         (RUN_TEST_LOOP_fff_f): Likewise.
16584         (RUN_TEST_c_f): Likewise.
16585         (RUN_TEST_LOOP_c_f): Likewise.
16586         (RUN_TEST_f_f1): Likewise.
16587         (RUN_TEST_LOOP_f_f1): Likewise.
16588         (RUN_TEST_fF_f1): Likewise.
16589         (RUN_TEST_LOOP_fF_f1): Likewise.
16590         (RUN_TEST_fI_f1): Likewise.
16591         (RUN_TEST_LOOP_fI_f1): Likewise.
16592         (RUN_TEST_ffI_f1): Likewise.
16593         (RUN_TEST_LOOP_ffI_f1): Likewise.
16594         (RUN_TEST_c_c): Likewise.
16595         (RUN_TEST_LOOP_c_c): Likewise.
16596         (RUN_TEST_cc_c): Likewise.
16597         (RUN_TEST_LOOP_cc_c): Likewise.
16598         (RUN_TEST_f_i): Likewise.
16599         (RUN_TEST_LOOP_f_i): Likewise.
16600         (RUN_TEST_f_i_tg): Likewise.
16601         (RUN_TEST_LOOP_f_i_tg): Likewise.
16602         (RUN_TEST_ff_i_tg): Likewise.
16603         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16604         (RUN_TEST_f_b): Likewise.
16605         (RUN_TEST_LOOP_f_b): Likewise.
16606         (RUN_TEST_f_b_tg): Likewise.
16607         (RUN_TEST_LOOP_f_b_tg): Likewise.
16608         (RUN_TEST_f_l): Likewise.
16609         (RUN_TEST_LOOP_f_l): Likewise.
16610         (RUN_TEST_f_L): Likewise.
16611         (RUN_TEST_LOOP_f_L): Likewise.
16612         (RUN_TEST_sincos): Likewise.
16613         (RUN_TEST_LOOP_sincos): Likewise.
16615 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16617         [BZ #15480]
16618         [BZ #15485]
16619         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16620         main case of finite arguments, set rounding mode to FE_TONEAREST
16621         and discard exceptions.
16622         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16623         exceptions.
16624         (remainder_tonearest_test_data): New variable.
16625         (remainder_test_tonearest): New function.
16626         (remainder_towardzero_test_data): New variable.
16627         (remainder_test_towardzero): New function.
16628         (remainder_downward_test_data): New variable.
16629         (remainder_test_downward): New function.
16630         (remainder_upward_test_data): New variable.
16631         (remainder_test_upward): New function.
16632         (main): Call the new test functions.
16634         * math/libm-test.inc (struct test_f_f1_data): Remove field
16635         extra_init.
16636         (struct test_fF_f1_data): Likewise.
16637         (struct test_ffI_f1_data): Likewise.
16638         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16639         based on value of EXTRA_EXPECTED.
16640         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16641         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16642         EXTRA_VAR based on value of EXTRA_EXPECTED.
16643         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16644         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16645         EXTRA_VAR based on value of EXTRA_EXPECTED.
16646         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16647         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16648         EXTRA_VAR based on value of EXTRA_EXPECTED.
16649         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16650         * math/gen-libm-test.pl (parse_args): Don't output initializers
16651         for extra output values.
16653         * math/libm-test.inc (check_int): Expect result to be exactly
16654         equal to expected value and do not handle ulps.
16655         (check_long): Likewise.
16656         (check_longlong): Likewise.
16658         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16659         exceptions.
16660         (cimag_test_data): Likewise.
16661         (conj_test_data): Likewise.
16662         (copysign_test_data): Likewise.
16663         (cproj_test_data): Likewise.
16664         (creal_test_data): Likewise.
16665         (fabs_test_data): Likewise.
16666         (fdim_test_data): Likewise.
16667         (finite_test_data): Likewise.
16668         (floor_test_data): Likewise.
16669         (fmax_test_data): Likewise.
16670         (fmin_test_data): Likewise.
16671         (fmod_test_data): Likewise.
16672         (fpclassify_test_data): Likewise.
16673         (frexp_test_data): Likewise.
16674         (ilogb_test_data): Likewise.
16675         (isfinite_test_data): Likewise.
16676         (isgreater_test_data): Likewise.
16677         (isgreaterequal_test_data): Likewise.
16678         (isinf_test_data): Likewise.
16679         (isless_test_data): Likewise.
16680         (islessequal_test_data): Likewise.
16681         (islessgreater_test_data): Likewise.
16682         (isnan_test_data): Likewise.
16683         (isnormal_test_data): Likewise.
16684         (issignaling_test_data): Likewise.
16685         (isunordered_test_data): Likewise.
16686         (ldexp_test_data): Likewise.
16687         (lrint_test_data): Likewise.
16688         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16689         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16690         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16691         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16692         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16693         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16694         test input.
16695         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16696         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16697         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16698         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16699         that test input.
16700         (lrint_downward_test_data): Test for "inexact" exceptions.
16701         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16702         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16703         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16704         test input.
16705         (lrint_upward_test_data): Test for "inexact" exceptions.
16706         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16707         test input.
16708         (llrint_test_data): Test for "inexact" exceptions.
16709         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16710         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16711         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16712         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16713         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16714         (llrint_downward_test_data): Test for "inexact" exceptions.
16715         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16716         (llrint_upward_test_data): Test for "inexact" exceptions.
16717         (logb_test_data): Likewise.
16718         (logb_downward_test_data): Likewise.
16719         (nextafter_test_data): Likewise.
16720         (nexttoward_test_data): Likewise.
16721         (remainder_test_data): Likewise.
16722         (remquo_test_data): Likewise.
16723         (scalbn_test_data): Likewise.
16724         (scalbln_test_data): Likewise.
16725         (signbit_test_data): Likewise.
16726         (sqrt_test_data): Likewise.
16727         (significand_test_data): Likewise.
16729 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16731         [BZ #15424]
16732         * benchtests/bench-modf.c (struct args): Mark arg0 as
16733         volatile.
16734         * scripts/bench.pl: Mark members of struct args as volatile.
16736 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16738         [BZ # 15497]
16739         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16740         negative infinity on POWER6 or lower.
16741         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16743 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16745         [BZ #15442]
16746         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16747         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16748         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16749         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16750         (_FP_SETQNAN): New macro.
16751         (_FP_SETQNAN_SEMIRAW): Likewise.
16752         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16753         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16754         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16755         (FP_EXTEND): Use _FP_FRAC_SNANP.
16756         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16757         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16758         into account.
16759         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16760         New macro.
16761         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16762         Likewise.
16764 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16766         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16767         with DIVIDE_BY_ZERO_EXCEPTION.
16768         (gamma_test_data): Likewise.
16769         (lgamma_test_data): Likewise.
16770         (log_test_data): Likewise.
16771         (log10_test_data): Likewise.
16772         (log2_test_data): Likewise.
16773         (tgamma_test_data): Likewise.
16775         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16776         (acos_test_tonearest): Likewise.
16777         (acos_test_towardzero): Likewise.
16778         (acos_test_downward): Likewise.
16779         (acos_test_upward): Likewise.
16780         (acosh_test): Likewise.
16781         (asin_test): Likewise.
16782         (asin_test_tonearest): Likewise.
16783         (asin_test_towardzero): Likewise.
16784         (asin_test_downward): Likewise.
16785         (asin_test_upward): Likewise.
16786         (asinh_test): Likewise.
16787         (atan_test): Likewise.
16788         (atanh_test): Likewise.
16789         (atan2_test): Likewise.
16790         (cabs_test): Likewise.
16791         (cacos_test): Likewise.
16792         (cacosh_test): Likewise.
16793         (casin_test): Likewise.
16794         (casinh_test): Likewise.
16795         (catan_test): Likewise.
16796         (catanh_test): Likewise.
16797         (cbrt_test): Likewise.
16798         (ccos_test): Likewise.
16799         (ccosh_test): Likewise.
16800         (cexp_test): Likewise.
16801         (clog_test): Likewise.
16802         (clog10_test): Likewise.
16803         (cos_test): Likewise.
16804         (cos_test_tonearest): Likewise.
16805         (cos_test_towardzero): Likewise.
16806         (cos_test_downward): Likewise.
16807         (cos_test_upward): Likewise.
16808         (cosh_test): Likewise.
16809         (cosh_test_tonearest): Likewise.
16810         (cosh_test_towardzero): Likewise.
16811         (cosh_test_downward): Likewise.
16812         (cosh_test_upward): Likewise.
16813         (cpow_test): Likewise.
16814         (csin_test): Likewise.
16815         (csinh_test): Likewise.
16816         (csqrt_test): Likewise.
16817         (ctan_test): Likewise.
16818         (ctan_test_tonearest): Likewise.
16819         (ctan_test_towardzero): Likewise.
16820         (ctan_test_downward): Likewise.
16821         (ctan_test_upward): Likewise.
16822         (ctanh_test): Likewise.
16823         (ctanh_test_tonearest): Likewise.
16824         (ctanh_test_towardzero): Likewise.
16825         (ctanh_test_downward): Likewise.
16826         (ctanh_test_upward): Likewise.
16827         (erf_test): Likewise.
16828         (erfc_test): Likewise.
16829         (exp_test): Likewise.
16830         (exp_test_tonearest): Likewise.
16831         (exp_test_towardzero): Likewise.
16832         (exp_test_downward): Likewise.
16833         (exp_test_upward): Likewise.
16834         (exp10_test): Likewise.
16835         (exp2_test): Likewise.
16836         (expm1_test): Likewise.
16837         (fmod_test): Likewise.
16838         (gamma_test): Likewise.
16839         (hypot_test): Likewise.
16840         (j0_test): Likewise.
16841         (j1_test): Likewise.
16842         (jn_test): Likewise.
16843         (lgamma_test): Likewise.
16844         (log_test): Likewise.
16845         (log10_test): Likewise.
16846         (log1p_test): Likewise.
16847         (log2_test): Likewise.
16848         (logb_test_downward): Likewise.
16849         (pow_test): Likewise.
16850         (pow_test_tonearest): Likewise.
16851         (pow_test_towardzero): Likewise.
16852         (pow_test_downward): Likewise.
16853         (pow_test_upward): Likewise.
16854         (remainder_test): Likewise.
16855         (remquo_test): Likewise.
16856         (sin_test): Likewise.
16857         (sin_test_tonearest): Likewise.
16858         (sin_test_towardzero): Likewise.
16859         (sin_test_downward): Likewise.
16860         (sin_test_upward): Likewise.
16861         (sincos_test): Likewise.
16862         (sinh_test): Likewise.
16863         (sinh_test_tonearest): Likewise.
16864         (sinh_test_towardzero): Likewise.
16865         (sinh_test_downward): Likewise.
16866         (sinh_test_upward): Likewise.
16867         (sqrt_test): Likewise.
16868         (tan_test): Likewise.
16869         (tan_test_tonearest): Likewise.
16870         (tan_test_towardzero): Likewise.
16871         (tan_test_downward): Likewise.
16872         (tan_test_upward): Likewise.
16873         (tanh_test): Likewise.
16874         (tgamma_test): Likewise.
16875         (y0_test): Likewise.
16876         (y1_test): Likewise.
16877         (yn_test): Likewise.
16879         * math/gen-libm-test.pl (adjust_arg): Remove function.
16880         (special_function): Remove argument $in_func.  Only handle
16881         generating output for tables of tests, not inside functions.
16882         (parse_args): Likewise.
16883         (generate_testfile): Remove variable $in_func.  Update call to
16884         parse_args.
16885         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16886         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16887         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16888         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16889         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16890         (MAX_VALUE_INIT): Rename macro to max_value.
16891         (MIN_VALUE_INIT): Rename macro to min_value.
16892         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16893         (plus_zero): Remove variable.
16894         (minus_zero): Likewise.
16895         (plus_infty): Likewise.
16896         (minus_infty): Likewise.
16897         (qnan_value): Likewise.
16898         (max_value): Likewise.
16899         (min_value): Likewise.
16900         (min_subnorm_value): Likewise.
16902 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16904         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16905         uint64_t or uint32_t usage.
16906         * crypt/sha256-block.c: Likewise.
16907         * crypt/sha256-crypt.c: Likewise.
16908         * crypt/sha256.c: Likewise.
16909         * crypt/sha512-block.c: Likewise.
16910         * crypt/sha512-crypt.c: Likewise.
16911         * crypt/sha512.c: Likewise.
16912         * debug/backtrace-tst.c: Likewise.
16913         * debug/pcprofiledump.c: Likewise.
16914         * elf/cache.c: Likewise.
16915         * elf/dl-cache.c: Likewise.
16916         * elf/dl-misc.c: Likewise.
16917         * elf/dl-profile.c: Likewise.
16918         * elf/dl-support.c: Likewise.
16919         * elf/ldconfig.c: Likewise.
16920         * elf/sprof.c: Likewise.
16921         * iconv/dummy-repertoire.c: Likewise.
16922         * iconv/iconv_charmap.c: Likewise.
16923         * iconv/skeleton.c: Likewise.
16924         * iconvdata/8bit-generic.c: Likewise.
16925         * iconvdata/cp737.h: Likewise.
16926         * iconvdata/cp775.h: Likewise.
16927         * iconvdata/ibm1008.h: Likewise.
16928         * iconvdata/ibm1025.h: Likewise.
16929         * iconvdata/ibm1046.h: Likewise.
16930         * iconvdata/ibm1097.h: Likewise.
16931         * iconvdata/ibm1112.h: Likewise.
16932         * iconvdata/ibm1122.h: Likewise.
16933         * iconvdata/ibm1123.h: Likewise.
16934         * iconvdata/ibm1124.h: Likewise.
16935         * iconvdata/ibm1129.h: Likewise.
16936         * iconvdata/ibm1130.h: Likewise.
16937         * iconvdata/ibm1132.h: Likewise.
16938         * iconvdata/ibm1133.h: Likewise.
16939         * iconvdata/ibm1137.h: Likewise.
16940         * iconvdata/ibm1140.h: Likewise.
16941         * iconvdata/ibm1141.h: Likewise.
16942         * iconvdata/ibm1142.h: Likewise.
16943         * iconvdata/ibm1143.h: Likewise.
16944         * iconvdata/ibm1144.h: Likewise.
16945         * iconvdata/ibm1145.h: Likewise.
16946         * iconvdata/ibm1146.h: Likewise.
16947         * iconvdata/ibm1147.h: Likewise.
16948         * iconvdata/ibm1148.h: Likewise.
16949         * iconvdata/ibm1149.h: Likewise.
16950         * iconvdata/ibm1153.h: Likewise.
16951         * iconvdata/ibm1154.h: Likewise.
16952         * iconvdata/ibm1155.h: Likewise.
16953         * iconvdata/ibm1156.h: Likewise.
16954         * iconvdata/ibm1157.h: Likewise.
16955         * iconvdata/ibm1158.h: Likewise.
16956         * iconvdata/ibm1160.h: Likewise.
16957         * iconvdata/ibm1161.h: Likewise.
16958         * iconvdata/ibm1162.h: Likewise.
16959         * iconvdata/ibm1163.h: Likewise.
16960         * iconvdata/ibm1164.h: Likewise.
16961         * iconvdata/ibm1166.h: Likewise.
16962         * iconvdata/ibm1167.h: Likewise.
16963         * iconvdata/ibm12712.h: Likewise.
16964         * iconvdata/ibm1390.h: Likewise.
16965         * iconvdata/ibm1399.h: Likewise.
16966         * iconvdata/ibm16804.h: Likewise.
16967         * iconvdata/ibm4517.h: Likewise.
16968         * iconvdata/ibm4899.h: Likewise.
16969         * iconvdata/ibm4909.h: Likewise.
16970         * iconvdata/ibm4971.h: Likewise.
16971         * iconvdata/ibm5347.h: Likewise.
16972         * iconvdata/ibm803.h: Likewise.
16973         * iconvdata/ibm856.h: Likewise.
16974         * iconvdata/ibm901.h: Likewise.
16975         * iconvdata/ibm902.h: Likewise.
16976         * iconvdata/ibm9030.h: Likewise.
16977         * iconvdata/ibm9066.h: Likewise.
16978         * iconvdata/ibm921.h: Likewise.
16979         * iconvdata/ibm922.h: Likewise.
16980         * iconvdata/ibm9448.h: Likewise.
16981         * iconvdata/isiri-3342.h: Likewise.
16982         * iconvdata/jis0201.h: Likewise.
16983         * include/link.h: Likewise.
16984         * include/netdb.h: Likewise.
16985         * inet/check_native.c: Likewise.
16986         * inet/check_pf.c: Likewise.
16987         * inet/getipv4sourcefilter.c: Likewise.
16988         * inet/getnameinfo.c: Likewise.
16989         * inet/getsourcefilter.c: Likewise.
16990         * inet/htonl.c: Likewise.
16991         * inet/setipv4sourcefilter.c: Likewise.
16992         * inet/setsourcefilter.c: Likewise.
16993         * inet/test-inet6_opt.c: Likewise.
16994         * inet/tst-network.c: Likewise.
16995         * locale/C-collate.c: Likewise.
16996         * locale/C-ctype.c: Likewise.
16997         * locale/C-time.c: Likewise.
16998         * locale/C-translit.h: Likewise.
16999         * locale/loadarchive.c: Likewise.
17000         * locale/programs/3level.h: Likewise.
17001         * locale/programs/charmap.c: Likewise.
17002         * locale/programs/charmap.h: Likewise.
17003         * locale/programs/ld-address.c: Likewise.
17004         * locale/programs/ld-collate.c: Likewise.
17005         * locale/programs/ld-ctype.c: Likewise.
17006         * locale/programs/ld-identification.c: Likewise.
17007         * locale/programs/ld-measurement.c: Likewise.
17008         * locale/programs/ld-messages.c: Likewise.
17009         * locale/programs/ld-monetary.c: Likewise.
17010         * locale/programs/ld-name.c: Likewise.
17011         * locale/programs/ld-numeric.c: Likewise.
17012         * locale/programs/ld-paper.c: Likewise.
17013         * locale/programs/ld-telephone.c: Likewise.
17014         * locale/programs/ld-time.c: Likewise.
17015         * locale/programs/linereader.c: Likewise.
17016         * locale/programs/locale.c: Likewise.
17017         * locale/programs/locarchive.c: Likewise.
17018         * locale/programs/locfile.h: Likewise.
17019         * locale/programs/repertoire.c: Likewise.
17020         * locale/programs/simple-hash.c: Likewise.
17021         * locale/programs/simple-hash.h: Likewise.
17022         * malloc/memusage.c: Likewise.
17023         * malloc/memusagestat.c: Likewise.
17024         * nis/nis_defaults.c: Likewise.
17025         * nis/nis_hash.c: Likewise.
17026         * nis/nis_print.c: Likewise.
17027         * nis/nis_xdr.c: Likewise.
17028         * nscd/connections.c: Likewise.
17029         * nscd/hstcache.c: Likewise.
17030         * nscd/nscd_gethst_r.c: Likewise.
17031         * nscd/nscd_getserv_r.c: Likewise.
17032         * nscd/nscd_helper.c: Likewise.
17033         * nscd/servicescache.c: Likewise.
17034         * nss/makedb.c: Likewise.
17035         * nss/nss_db/db-XXX.c: Likewise.
17036         * nss/nss_db/db-initgroups.c: Likewise.
17037         * nss/nss_db/db-netgrp.c: Likewise.
17038         * nss/nss_files/files-network.c: Likewise.
17039         * nss/nss_files/files-parse.c: Likewise.
17040         * posix/bug-regex5.c: Likewise.
17041         * posix/fnmatch_loop.c: Likewise.
17042         * posix/regcomp.c: Likewise.
17043         * posix/regexec.c: Likewise.
17044         * posix/tst-rfc3484-2.c: Likewise.
17045         * posix/tst-rfc3484-3.c: Likewise.
17046         * posix/tst-rfc3484.c: Likewise.
17047         * resolv/nss_dns/dns-canon.c: Likewise.
17048         * resolv/nss_dns/dns-network.c: Likewise.
17049         * resolv/res_init.c: Likewise.
17050         * resolv/res_mkquery.c: Likewise.
17051         * resolv/tst-aton.c: Likewise.
17052         * stdlib/cxa_atexit.c: Likewise.
17053         * stdlib/cxa_finalize.c: Likewise.
17054         * stdlib/gen-fpioconst.c: Likewise.
17055         * stdlib/strtol_l.c: Likewise.
17056         * string/tst-endian.c: Likewise.
17057         * sunrpc/auth_des.c: Likewise.
17058         * sunrpc/clnt_udp.c: Likewise.
17059         * sunrpc/rtime.c: Likewise.
17060         * sunrpc/svcauth_des.c: Likewise.
17061         * sunrpc/xdr.c: Likewise.
17062         * sunrpc/xdr_intXX_t.c: Likewise.
17063         * sunrpc/xdr_rec.c: Likewise.
17064         * sysdeps/generic/ldconfig.h: Likewise.
17065         * sysdeps/generic/ldsodefs.h: Likewise.
17066         * sysdeps/generic/memusage.h: Likewise.
17067         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17068         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17069         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17071         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17072         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17073         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17074         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17075         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17077         * sysdeps/posix/getaddrinfo.c: Likewise.
17078         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17079         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17080         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17081         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17082         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17083         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17084         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17085         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17086         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17087         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17088         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17089         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17090         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17091         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17092         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17093         * sysdeps/x86_64/dl-tls.h: Likewise.
17094         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17095         * time/alt_digit.c: Likewise.
17096         * time/era.c: Likewise.
17097         * wcsmbs/tst-c16c32-1.c: Likewise.
17099 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17101         * math/libm-test.inc (struct test_sincos_data): New type.
17102         (RUN_TEST_LOOP_sincos): New macro.
17103         (sincos_test_data): New variable.
17104         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17106 2013-05-16  Richard Henderson  <rth@redhat.com>
17108         * math/atest-exp2.c (LIMB64): New macro.
17109         (CONSTSZ): New macro.
17110         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17111         (hexdig): Move ...
17112         (print_mpn_fp): ... to function scope.
17113         (read_mpn_hex): Remove.
17114         (get_log2): Remove.
17115         (exp2_mpn): Use mp_log2.
17116         (main): Use mp_exp1.
17118 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17120         * math/libm-test.inc: Remove comment about not testing "inexact"
17121         exceptions.
17122         (INEXACT_EXCEPTION): New macro.
17123         (NO_INEXACT_EXCEPTION): Likewise.
17124         (INVALID_EXCEPTION_OK): Update value.
17125         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17126         (OVERFLOW_EXCEPTION_OK): Likewise.
17127         (UNDERFLOW_EXCEPTION_OK): Likewise.
17128         (IGNORE_ZERO_INF_SIGN): Likewise.
17129         (ERRNO_UNCHANGED): Likewise.
17130         (ERRNO_EDOM): Likewise.
17131         (ERRNO_ERANGE): Likewise.
17132         (test_exceptions): Handle testing "inexact" exceptions.
17133         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17134         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17135         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17136         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17137         INEXACT_EXCEPTION.
17138         (rint_towardzero_test_data): Likewise.
17139         (rint_downward_test_data): Likewise.
17140         (rint_upward_test_data): Likewise.
17142         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17143         with OVERFLOW_EXCEPTION.
17144         (exp10_test_data): Likewise.
17145         (exp2_test_data): Likewise.
17146         (expm1_test_data): Likewise.
17147         (lgamma_test_data): Likewise.
17148         (pow_test_data): Likewise.
17149         (tgamma_test_data): Likewise.
17150         (yn_test_data): Remove duplicate test of overflow.
17152         * math/libm-test.inc (struct test_cc_c_data): New type.
17153         (RUN_TEST_LOOP_cc_c): New macro.
17154         (cpow_test_data): New variable.
17155         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17157         * math/libm-test.inc (struct test_f_L_data): New type.
17158         (RUN_TEST_LOOP_f_L): New macro.
17159         (llrint_test_data): New variable.
17160         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17161         (llrint_tonearest_test_data): New variable.
17162         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17163         (llrint_towardzero_test_data): New variable.
17164         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17165         (llrint_downward_test_data): New variable.
17166         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17167         (llrint_upward_test_data): New variable.
17168         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17169         (llround_test_data): New variable.
17170         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17172 2013-05-13  Peter Collingbourne  <pcc@google.com>
17174         * math/atest-exp2.c (get_log2): Remove const attribute.
17176 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17178         * math/libm-test.inc (struct test_f_l_data): New type.
17179         (RUN_TEST_LOOP_f_l): New macro.
17180         (lrint_test_data): New variable.
17181         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17182         (lrint_tonearest_test_data): New variable.
17183         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17184         (lrint_towardzero_test_data): New variable.
17185         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17186         (lrint_downward_test_data): New variable.
17187         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17188         (lrint_upward_test_data): New variable.
17189         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17190         (lround_test_data): New variable.
17191         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17193 2013-05-15  Peter Collingbourne  <pcc@google.com>
17195         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17196         (EXTRACT_WORDS64) Use where appropriate.
17197         (INSERT_WORDS64) Likewise.
17199         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17200         constraints with x constraints.
17201         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17203         * malloc/obstack.c (_obstack_compat): Add initializer.
17205 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17207         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17208         si_trapno and add si_addr_lsb to _sifields.sigfault.
17209         (si_trapno): Remove macro.
17210         (si_addr_lsb): Define new macro.
17211         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17213 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17215         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17216         instead of TEST_f_l.
17217         (llrint_test_tonearest): Likewise.
17218         (llrint_test_towardzero): Likewise.
17219         (llrint_test_downward): Likewise.
17220         (llrint_test_upward): Likewise.
17221         (llround_test): Likewise.
17223         * math/libm-test.inc (struct test_f_i_data): Add comment.
17224         (RUN_TEST_LOOP_f_b): New macro.
17225         (RUN_TEST_LOOP_f_b_tg): Likewise.
17226         (finite_test_data): New variable.
17227         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17228         (isfinite_test_data): New variable.
17229         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17230         (isinf_test_data): New variable.
17231         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17232         (isnan_test_data): New variable.
17233         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17234         (isnormal_test_data): New variable.
17235         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17236         (issignaling_test_data): New variable.
17237         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17238         (signbit_test_data): New variable.
17239         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17241         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17242         with INVALID_EXCEPTION.
17243         (acosh_test_data): Likewise.
17244         (asin_test_data): Likewise.
17245         (atanh_test_data): Likewise.
17246         (fmod_test_data): Likewise.
17247         (log_test_data): Likewise.
17248         (log10_test_data): Likewise.
17249         (log2_test_data): Likewise.
17250         (pow_test_data): Likewise.
17251         (sqrt_test_data): Likewise.
17252         (y0_test_data): Likewise.
17253         (y1_test_data): Likewise.
17254         (yn_test_data): Likewise.
17256         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17257         function contents.
17259         * math/libm-test.inc (struct test_ff_i_data): New type.
17260         (RUN_TEST_LOOP_ff_i_tg): New macro.
17261         (isgreater_test_data): New variable.
17262         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17263         (isgreaterequal_test_data): New variable.
17264         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17265         (isless_test_data): New variable.
17266         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17267         (islessequal_test_data): New variable.
17268         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17269         (islessgreater_test_data): New variable.
17270         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17271         (isunordered_test_data): New variable.
17272         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17274 2013-05-14  David S. Miller  <davem@davemloft.net>
17276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17278 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17280         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17282         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17283         extra_test to int.
17284         (struct test_f_i_data): Change type of max_ulp to int.
17286         * math/libm-test.inc (test_ffI_f1_data): New type.
17287         (RUN_TEST_LOOP_ffI_f1): New macro.
17288         (remquo_test_data): New variable.
17289         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17291         * setjmp/tst-setjmp-fp.c: New file.
17292         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17293         (link-libm): New variable.
17294         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17296         * math/libm-test.inc (struct test_f_i_data): New type.
17297         (RUN_TEST_LOOP_f_i): New macro.
17298         (RUN_TEST_LOOP_f_i_tg): Likewise.
17299         (fpclassify_test_data): New variable.
17300         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17301         (ilogb_test_data): New variable.
17302         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17304         * math/libm-test.inc (scalbln_test): Correct function name in END
17305         call.
17307         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17308         (RUN_TEST_LOOP_fI_f1): New macro.
17309         (frexp_test_data): New variable.
17310         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17312         * math/libm-test.inc (struct test_fF_f1_data): New type.
17313         (RUN_TEST_LOOP_fF_f1): New macro.
17314         (modf_test_data): New variable.
17315         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17317         * math/libm-test.inc (struct test_f_f1_data): New type.
17318         (RUN_TEST_LOOP_f_f1): New macro.
17319         (gamma_test_data): New variable.
17320         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17321         (lgamma_test_data): New variable.
17322         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17324 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17326         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17327         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17328         (main): Comment "tls" pseudo-hwcap.
17330 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17332         * math/libm-test.inc (struct test_fl_f_data): New type.
17333         (RUN_TEST_LOOP_fl_f): New variable.
17334         (scalbln_test_data): New variable.
17335         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17337         * math/libm-test.inc (struct test_fi_f_data): New type.
17338         (RUN_TEST_LOOP_fi_f): New macro.
17339         (ldexp_test_data): New variable.
17340         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17341         (scalbn_test_data): New variable.
17342         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17344         * math/libm-test.inc (struct test_c_f_data): New type.
17345         (RUN_TEST_LOOP_c_f): New macro.
17346         (cabs_test_data): New variable.
17347         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17348         (carg_test_data): New variable.
17349         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17350         (cimag_test_data): New variable.
17351         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17352         (creal_test_data): New variable.
17353         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17355         * math/libm-test.inc (struct test_if_f_data): New type.
17356         (RUN_TEST_LOOP_if_f): New macro.
17357         (jn_test_data): New variable.
17358         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17359         (yn_test_data): New variable.
17360         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17362         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17364 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17366         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17367         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17369 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17371         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17372         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17373         (bench-deps): Add bench-timing.h.
17374         * benchtests-bench-skeleton.c: Include bench-timing.h.
17375         (main): Use TIMING_* macros instead of clock_gettime.
17376         * benchtests/bench-timing.h: New file.
17378         [BZ #14582]
17379         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17380         Renamed from _LIB_VERSION.
17381         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17383 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17385         * math/libm-test.inc (struct test_fff_f_data): New type.
17386         (RUN_TEST_LOOP_fff_f): New macro.
17387         (fma_test_data): New variable.
17388         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17389         (fma_towardzero_test_data): New variable.
17390         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17391         (fma_downward_test_data): New variable.
17392         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17393         (fma_upward_test_data): New variable.
17394         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17396         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17397         (struct test_c_c_data): New type.
17398         (RUN_TEST_LOOP_c_c): New macro.
17399         (cacos_test_data): New variable.
17400         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17401         (cacosh_test_data): New variable.
17402         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17403         (casin_test_data): New variable.
17404         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17405         (casinh_test_data): New variable.
17406         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17407         (catan_test_data): New variable.
17408         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17409         (catanh_test_data): New variable.
17410         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17411         (ccos_test_data): New variable.
17412         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17413         (ccosh_test_data): New variable.
17414         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17415         (cexp_test_data): New variable.
17416         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17417         (clog_test_data): New variable.
17418         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17419         (clog10_test_data): New variable.
17420         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17421         (conj_test_data): New variable.
17422         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17423         (cproj_test_data): New variable.
17424         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17425         (csin_test_data): New variable.
17426         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17427         (csinh_test_data): New variable.
17428         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17429         (csqrt_test_data): New variable.
17430         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17431         (ctan_test_data): New variable.
17432         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17433         (ctan_tonearest_test_data): New variable.
17434         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17435         (ctan_towardzero_test_data): New variable.
17436         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17437         (ctan_downward_test_data): New variable.
17438         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17439         (ctan_upward_test_data): New variable.
17440         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17441         (ctanh_test_data): New variable.
17442         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17443         (ctanh_tonearest_test_data): New variable.
17444         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17445         (ctanh_towardzero_test_data): New variable.
17446         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17447         (ctanh_downward_test_data): New variable.
17448         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17449         (ctanh_upward_test_data): New variable.
17450         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17451         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17452         of BUILD_COMPLEX.
17454         * math/libm-test.inc (struct test_ff_f_data): New type.
17455         (struct test_ff_f_data_nexttoward): Likewise.
17456         (RUN_TEST_LOOP_2_f): New macro.
17457         (RUN_TEST_LOOP_ff_f): Likewise.
17458         (atan2_test_data): New variable.
17459         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17460         (copysign_test_data): New variable.
17461         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17462         (fdim_test_data): New variable.
17463         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17464         (fmax_test_data): New variable.
17465         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17466         (fmin_test_data): New variable.
17467         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17468         (fmod_test_data): New variable.
17469         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17470         (hypot_test_data): New variable.
17471         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17472         (nextafter_test_data): New variable.
17473         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17474         (nexttoward_test_data): New variable.
17475         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17476         (pow_test_data): New variable.
17477         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17478         (pow_tonearest_test_data): New variable.
17479         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17480         (pow_towardzero_test_data): New variable.
17481         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17482         (pow_downward_test_data): New variable.
17483         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17484         (pow_upward_test_data): New variable.
17485         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17486         (remainder_test_data): New variable.
17487         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17488         (scalb_test_data): New variable.
17489         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17490         * sysdeps/i386/fpu/libm-test-ulps: Update.
17492 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17494         * math/libm-test.inc (fma_test): Use max_value instead of local
17495         variable fltmax.
17496         (nextafter_test): Likewise.
17498         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17499         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17500         (acos_downward_test_data): New variable.
17501         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17502         (acos_upward_test_data): New variable.
17503         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17504         (acosh_test_data): New variable.
17505         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17506         (asin_test_data): New variable.
17507         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17508         (asin_tonearest_test_data): New variable.
17509         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17510         (asin_towardzero_test_data): New variable.
17511         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17512         (asin_downward_test_data): New variable.
17513         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17514         (asin_upward_test_data): New variable.
17515         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17516         (asinh_test_data): New variable.
17517         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17518         (atan_test_data): New variable.
17519         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17520         (atanh_test_data): New variable.
17521         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17522         (cbrt_test_data): New variable.
17523         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17524         (ceil_test_data): New variable.
17525         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17526         (cos_test_data): New variable.
17527         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17528         (cos_tonearest_test_data): New variable.
17529         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17530         (cos_towardzero_test_data): New variable.
17531         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17532         (cos_downward_test_data): New variable.
17533         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17534         (cos_upward_test_data): New variable.
17535         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17536         (cosh_test_data): New variable.
17537         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17538         (cosh_tonearest_test_data): New variable.
17539         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17540         (cosh_towardzero_test_data): New variable.
17541         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17542         (cosh_downward_test_data): New variable.
17543         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17544         (cosh_upward_test_data): New variable.
17545         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17546         (erf_test_data): New variable.
17547         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17548         (erfc_test_data): New variable.
17549         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17550         (exp_test_data): New variable.
17551         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17552         (exp_tonearest_test_data): New variable.
17553         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17554         (exp_towardzero_test_data): New variable.
17555         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17556         (exp_downward_test_data): New variable.
17557         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17558         (exp_upward_test_data): New variable.
17559         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17560         (exp10_test_data): New variable.
17561         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17562         (exp2_test_data): New variable.
17563         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17564         (expm1_test_data): New variable.
17565         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17566         (fabs_test_data): New variable.
17567         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17568         (floor_test_data): New variable.
17569         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17570         (j0_test_data): New variable.
17571         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17572         (j1_test_data): New variable.
17573         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17574         (log_test_data): New variable.
17575         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17576         (log10_test_data): New variable.
17577         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17578         (log1p_test_data): New variable.
17579         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17580         (log2_test_data): New variable.
17581         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17582         (logb_test_data): New variable.
17583         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17584         (logb_downward_test_data): New variable.
17585         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17586         (nearbyint_test_data): New variable.
17587         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17588         (rint_test_data): New variable.
17589         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17590         (rint_tonearest_test_data): New variable.
17591         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17592         (rint_towardzero_test_data): New variable.
17593         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17594         (rint_downward_test_data): New variable.
17595         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17596         (rint_upward_test_data): New variable.
17597         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17598         (round_test_data): New variable.
17599         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17600         (sin_test_data): New variable.
17601         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17602         (sin_tonearest_test_data): New variable.
17603         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17604         (sin_towardzero_test_data): New variable.
17605         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17606         (sin_downward_test_data): New variable.
17607         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17608         (sin_upward_test_data): New variable.
17609         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17610         (sinh_test_data): New variable.
17611         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17612         (sinh_tonearest_test_data): New variable.
17613         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17614         (sinh_towardzero_test_data): New variable.
17615         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17616         (sinh_downward_test_data): New variable.
17617         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17618         (sinh_upward_test_data): New variable.
17619         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17620         (sqrt_test_data): New variable.
17621         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17622         (tan_test_data): New variable.
17623         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17624         (tan_tonearest_test_data): New variable.
17625         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17626         (tan_towardzero_test_data): New variable.
17627         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17628         (tan_downward_test_data): New variable.
17629         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17630         (tan_upward_test_data): New variable.
17631         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17632         (tanh_test_data): New variable.
17633         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17634         (tgamma_test_data): New variable.
17635         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17636         (trunc_test_data): New variable.
17637         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17638         (y0_test_data): New variable.
17639         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17640         (y1_test_data): New variable.
17641         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17642         (significand_test_data): New variable.
17643         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17645 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17647         [BZ #12387]
17648         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17650 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17652         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17654 2013-05-10  Andreas Jaeger  <aj@suse.de>
17656         [BZ #15448]
17657         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17658         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17660 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17662         * math/gen-libm-test.pl (adjust_arg): New function.
17663         (special_functions): Handle generating output in both functions
17664         and arrays.
17665         (parse_args): Likewise.
17666         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17667         $in_func argument to parse_args.
17668         * math/libm-test.inc (struct test_f_f_data): New type.
17669         (IF_ROUND_INIT_): New macro.
17670         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17671         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17672         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17673         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17674         (ROUND_RESTORE_): Likewise.
17675         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17676         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17677         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17678         (ROUND_RESTORE_FE_UPWARD): Likewise.
17679         (RUN_TEST_LOOP_f_f): New macro.
17680         (acos_test_data): New variable.
17681         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17682         (acos_tonearest_test_data): New variable.
17683         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17685 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17687         * benchtests/bench-skeleton.c (startup): Fix coding style.
17689 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17691         [BZ #6809]
17692         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17693         negative infinity argument.
17694         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17695         negative infinity argument.
17696         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17697         negative infinity argument.
17698         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17699         domain errors.
17701 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17703         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17704         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17705         * iconv/iconv_prog.c (main): Likewise.
17706         * locale/programs/charmap-dir.c (charmap_readdir)
17707         (fopen_uncompressed): Likewise.
17708         * locale/programs/locfile.c (siblings_uncached)
17709         (write_locale_data): Use lstat64 instead of lstat.
17710         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17711         stat.
17713 2013-05-10  Andreas Jaeger  <aj@suse.de>
17715         [BZ #15395]
17716         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17717         localization.
17718         Include <locale.h>.
17720 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17722         * elf/dl-close.c (_dl_close_worker): Add comments.
17724 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17726         [BZ #15359]
17727         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17728         high part of pi/2.
17729         (__ieee754_rem_pio2l): Update comments.
17731         [BZ #15429]
17732         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17733         high part of pi/2.
17734         (__ieee754_rem_pio2l): Update comments.
17736         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17737         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17739         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17740         M_PI_4l.
17742         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17743         (M_PI_34_LOG10El): Likewise.
17744         (M_PI2_LOG10El): Likewise.
17745         (M_PI4_LOG10El): Likewise.
17746         (M_PI_LOG10El): Likewise.
17748 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17752 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17754         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17755         (MINUS_ZERO_INIT): Likewise.
17756         (PLUS_INFTY_INIT): Likewise.
17757         (MINUS_INFTY_INIT): Likewise.
17758         (QNAN_VALUE_INIT): Likewise.
17759         (MAX_VALUE_INIT): Likewise.
17760         (MIN_VALUE_INIT): Likewise.
17761         (MIN_SUBNORM_VALUE_INIT): Likewise.
17762         (plus_zero): Initialize with PLUS_ZERO_INIT.
17763         (minus_zero): Initialize with MINUS_ZERO_INIT.
17764         (plus_infty): Initialize with PLUS_INFTY_INIT.
17765         (minus_infty): Initialize with MINUS_INFTY_INIT.
17766         (qnan_value): Initialize with QNAN_VALUE_INIT.
17767         (max_value): Initialize with MAX_VALUE_INIT.
17768         (min_value): Initialize with MIN_VALUE_INIT.
17769         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17771         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17772         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17773         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17774         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17776         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17777         (RUN_TEST_2_f): Likewise.
17778         (RUN_TEST_ff_f): Likewise.
17779         (RUN_TEST_fi_f): Likewise.
17780         (RUN_TEST_fl_f): Likewise.
17781         (RUN_TEST_fff_f): Likewise.
17782         (RUN_TEST_c_f): Likewise.
17783         (RUN_TEST_f_f1): Likewise.
17784         (RUN_TEST_fF_f1): Likewise.
17785         (RUN_TEST_fI_f1): Likewise.
17786         (RUN_TEST_ffI_f1): Likewise.
17787         (RUN_TEST_c_c): Likewise.
17788         (RUN_TEST_cc_c): Likewise.
17789         (RUN_TEST_f_i): Likewise.
17790         (RUN_TEST_f_i_tg): Likewise.
17791         (RUN_TEST_ff_i_tg): Likewise.
17792         (RUN_TEST_f_b): Likewise.
17793         (RUN_TEST_f_b_tg): Likewise.
17794         (RUN_TEST_f_l): Likewise.
17795         (RUN_TEST_f_L): Likewise.
17796         (RUN_TEST_sincos): Likewise.
17797         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17798         whether to show exceptions.  Do not include ");\n" in return
17799         value.
17800         (special_functions): Output call to RUN_TEST_sincos instead of
17801         check_float calls.  Update calls to new_test.
17802         (parse_args): Output call to single RUN_TEST_* macro instead of
17803         check_* calls and other assignments.  Update calls to new_test.
17805         [BZ #2546]
17806         [BZ #2560]
17807         [BZ #5159]
17808         [BZ #15426]
17809         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17810         input to result for tgamma overflow.
17811         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17812         (gamma_coeff): New variable.
17813         (NCOEFF): New macro.
17814         (gamma_positive): New function.
17815         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17816         underflow here.  Use gamma_positive instead of exp (lgamma) for
17817         other arguments.
17818         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17819         (gamma_coeff): New variable.
17820         (NCOEFF): New macro.
17821         (gammaf_positive): New function.
17822         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17823         underflow here.  Use gamma_positive instead of exp (lgamma) for
17824         other arguments.
17825         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17826         (gamma_coeff): New variable.
17827         (NCOEFF): New macro.
17828         (gammal_positive): New function.
17829         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17830         underflow here.  Use gamma_positive instead of exp (lgamma) for
17831         other arguments.
17832         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17833         (gamma_coeff): New variable.
17834         (NCOEFF): New macro.
17835         (gammal_positive): New function.
17836         (__ieee754_gammal_r): Handle positive infinity, overflow and
17837         underflow here.  Handle NaN the same as positive infinity.  Remove
17838         check x < 0xffffffff for negative integers.  Use gamma_positive
17839         instead of exp (lgamma) for other arguments.
17840         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17841         (gamma_coeff): New variable.
17842         (NCOEFF): New macro.
17843         (gammal_positive): New function.
17844         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17845         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17846         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17847         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17848         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17849         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17850         * sysdeps/generic/math_private.h (__gamma_productf): New
17851         prototype.
17852         (__gamma_product): Likewise.
17853         (__gamma_productl): Likewise.
17854         * math/Makefile (libm-calls): Add gamma_product.
17855         * math/libm-test.inc (tgamma_test): Add more tests.
17856         * sysdeps/i386/fpu/libm-test-ulps: Update.
17857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17859 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17861         * benchtests/bench-skeleton.c (main): Preheat CPU.
17863 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17865         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17867 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17869         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17870         and _dl_skip_args_internal.
17872 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17874         * manual/message.texi (Message Translation): Talk about users.
17875         Message to key mapping impacts design.
17877 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17879         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17881         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17883         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17884         * sysdeps/wordsize-64/glob64.c: ... here.
17886         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17887         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17888         New macros.
17890         * debug/getlogin_r_chk.c: Moved to ...
17891         * login/getlogin_r_chk.c: ... here.
17892         * debug/Makefile (routines): Move getlogin_r_chk to ...
17893         * login/Makefile (routines): ... here.
17894         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17895         * login/Versions (libc: GLIBC_2.4): ... here.
17897         * io/poll.c (__poll): Renamed from poll.
17898         Add libc_hidden_def.
17899         (poll): Define as weak alias.
17901         * debug/ptsname_r_chk.c: Moved to ...
17902         * login/ptsname_r_chk.c: ... here.
17903         * debug/Makefile (routines): Move ptsname_r_chk to ...
17904         * login/Makefile (routines): ... here.
17905         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17906         * login/Versions (libc: GLIBC_2.4): ... here.
17908         * posix/getlogin.c: Moved to ...
17909         * login/getlogin.c: ... here.
17910         * posix/getlogin_r.c: Moved to ...
17911         * login/getlogin_r.c: ... here.
17912         * posix/getlogin_r.c: Moved to ...
17913         * login/getlogin_r.c: ... here.
17914         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17915         * login/Makefile (routines): ... here.
17916         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17917         * login/Versions (libc: GLIBC_2.0): ... here.
17919         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17920         (setrlimit): Define as weak alias.
17922         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17923         Call __ names for open, ftruncate, and close.
17924         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17925         (truncate): Define as weak alias.
17927 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17929         * math/gen-libm-test.pl (parse_args): Initialize x before each
17930         test of frexp, modf and remquo.
17932         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17933         test signgam value.
17935 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17937         [BZ #15418]
17938         [BZ #15419]
17939         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17940         internal tests.
17941         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17943 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17945         * elf/dl-writev.h: New file.
17946         * elf/dl-misc.c: Include it.
17947         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17948         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17950 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17952         * math/libm-test.inc (noXFails): Remove variable.
17953         (noXPasses): Likewise.
17954         (BUILD_COMPLEX_INT): Remove macro.
17955         (print_screen): Remove xfail argument.
17956         (print_screen_max_error): Likewise.
17957         (update_stats): Likewise.
17958         (print_max_error): Likewise.  Update calls to other affected
17959         functions.
17960         (print_complex_max_error): Likewise.
17961         (test_single_exception): Update calls to print_screen.
17962         (test_single_errno): Likewise.
17963         (check_float_internal): Remove xfail argument.  Update calls to
17964         other affected functions.
17965         (check_float): Likewise.
17966         (check_complex): Likewise.
17967         (check_int): Likewise.
17968         (check_long): Likewise.
17969         (check_bool): Likewise.
17970         (check_longlong): Likewise.
17971         (main): Don't print noXFails and noXPasses.
17972         * math/gen-libm-test.pl (top level): Don't mention expected
17973         failure handling in comment.
17974         (new_test): Don't handle expected failures.
17975         (parse_args): Don't mention expected failure handling in comment.
17976         (generate_testfile): Don't handle expected failures.
17977         (parse_ulps): Likewise.
17978         (print_ulps_file): Likewise.
17979         (get_failure): Remove function.
17980         (output_test): Don't handle expected failures.
17981         * make/README.libm-test: Don't mention expected failure handling.
17983         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17984         (minus_zero): Likewise.
17985         (plus_infty): Likewise.
17986         (minus_infty): Likewise.
17987         (qnan_value): Likewise.
17988         (max_value): Likewise.
17989         (min_value): Likewise.
17990         (min_subnorm_value): Likewise.
17991         (initialize): Do not initialize those variables dynamically.
17993 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17995         * io/open.c (__open_2): Moved to ...
17996         * io/open_2.c: ... this new file.
17997         * io/open64.c (__open64_2): Moved to ...
17998         * io/open64_2.c: ... this new file.
17999         * io/openat.c (__openat_2): Moved to ...
18000         * io/openat_2.c: ... this new file.
18001         * io/openat64.c (__openat64_2): Moved to ...
18002         * io/openat64_2.c: ... this new file.
18003         * io/Makefile (routines): Add them.
18004         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18005         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18006         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18007         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18008         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18009         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18010         (__openat64): Add hidden_ver.
18011         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18012         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18014         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18015         Separately conditionalize setting of GLRO(dl_sysinfo) so
18016         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18017         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18019 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18021         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18022         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18023         definition.
18024         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18025         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18026         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18027         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18028         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18030 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18032         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18033         test signgam value.
18035         * math/libm-test.inc (hypot_test): Do not use
18036         IGNORE_ZERO_INF_SIGN.
18038 2013-05-03  Andreas Jaeger  <aj@suse.de>
18040         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18041         Linux 3.9.
18042         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18043         (PF_MAX): Adjust for VSOCK change.
18045 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18049 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18051         [BZ #15264]
18052         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18053         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18054         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18056 2013-05-02  David S. Miller  <davem@davemloft.net>
18058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18060 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18062         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18064 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18066         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18068 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18070         [BZ #14952]
18071         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18072         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18073         Use __attribute__ ((__gnu_inline__)).
18074         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18075         Don't use __attribute__ ((__gnu_inline__)).
18077 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18079         [BZ #15423]
18080         * math/s_catan.c (__catan): Handle small real or imaginary part of
18081         input specially to avoid spurious underflow.
18082         * math/s_catanf.c (__catanf): Likewise.
18083         * math/s_catanh.c (__catanh): Likewise.
18084         * math/s_catanhf.c (__catanhf): Likewise.
18085         * math/s_catanhl.c (__catanhl): Likewise.
18086         * math/s_catanl.c (__catanl): Likewise.
18087         * math/libm-test.inc (catan_test): Add more tests.
18088         (catanh_test): Likewise.
18089         * sysdeps/i386/fpu/libm-test-ulps: Update.
18090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18092 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18096 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18098         [BZ #15416]
18099         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18100         accurately for denominator in atan2.
18101         * math/s_catanf.c (__catanf): Likewise.
18102         * math/s_catanh.c (__catanh): Likewise.
18103         * math/s_catanhf.c (__catanhf): Likewise.
18104         * math/s_catanhl.c (__catanhl): Likewise.
18105         * math/s_catanl.c (__catanl): Likewise.
18106         * math/libm-test.inc (catan_test): Add more tests.
18107         (catanh_test): Likewise.
18108         * sysdeps/i386/fpu/libm-test-ulps: Update.
18109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18113         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18115         * benchtests/Makefile (bench): Remove slow benchmarks.
18116         * benchtests/atan-inputs: Add slow benchmark inputs.
18117         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18118         (BENCH_FUNC): Accept variant offset.
18119         (VARIANT): Define.
18120         * benchtests/bench-skeleton.c (main): Run benchmark for each
18121         variant.
18122         * benchtests/cos-inputs: Add slow benchmark inputs.
18123         * benchtests/exp-inputs: Likewise.
18124         * benchtests/pow-inputs: Likewise.
18125         * benchtests/sin-inputs: Likewise.
18126         * benchtests/slowatan-inputs: Remove.
18127         * benchtests/slowatan.c: Remove.
18128         * benchtests/slowcos-inputs: Remove.
18129         * benchtests/slowcos.c: Remove.
18130         * benchtests/slowexp-inputs: Remove.
18131         * benchtests/slowexp.c: Remove.
18132         * benchtests/slowpow-inputs: Remove.
18133         * benchtests/slowpow.c: Remove.
18134         * benchtests/slowsin-inputs: Remove.
18135         * benchtests/slowsin.c: Remove.
18136         * benchtests/slowtan-inputs: Remove.
18137         * benchtests/slowtan.c: Remove.
18138         * benchtests/tan-inputs: Add slow benchmark inputs.
18139         * scripts/bench.pl: Parse comments and directives.
18141         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18142         in CPPFLAGS.
18143         ($(objpfx)bench-%.c): Remove *-ITER.
18144         * benchtests/bench-modf.c: Remove definition of ITER.
18145         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18146         (main): Loop for DURATION seconds instead of fixed number of
18147         iterations.
18148         * scripts/bench.pl: Don't expect iterations in parameters.
18150 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18152         * io/fchdir.c (__fchdir): Renamed from fchdir.
18153         (fchdir): Define as weak alias.
18155 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18157         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18158         (ERRNO_EDOM): Likewise.
18159         (ERRNO_ERANGE): Likewise.
18160         (noErrnoTests): New variable.
18161         (init_max_error): Set errno to 0.
18162         (test_single_errno): New function.
18163         (test_errno): Likewise.
18164         (check_float_internal): Call test_errno.  Set errno to 0.
18165         (check_complex): Refer to errno tests in comment.
18166         (check_int): Call test_errno.  Set errno to 0.
18167         (check_long): Likewise.
18168         (check_bool): Likewise.
18169         (check_longlong): Likewise.
18170         (cos_test): Use ERRNO_* flags for errno tests instead of
18171         check_int.
18172         (expm1_test): Likewise.
18173         (fmod_test): Likewise.
18174         (ilogb_test): Likewise.
18175         (lgamma_test): Likewise.
18176         (pow_test): Likewise.
18177         (remainder_test): Likewise.
18178         (sin_test): Likewise.
18179         (tan_test): Likewise.
18180         (yn_test): Likewise.
18181         (initialize): Set errno to 0.
18182         (main): Print number of errno tests.
18183         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18185 2013-04-29  Andreas Jaeger  <aj@suse.de>
18187         [BZ #15084]
18188         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18189         and RES_USEVC.
18191         [BZ #15085]
18192         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18193         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18194         unimplemented.
18196         [BZ #15380]
18197         * stdlib/random.c (__initstate): Return NULL if
18198         __initstate fails.
18200         [BZ #15086]
18201         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18202         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18203         RES_SNGLKUPREOP.
18205 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18209 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18211         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18212         of individual tests.
18213         (casin_test): Likewise.
18214         (casinh_test): Likewise.
18216 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18218         [BZ #15409]
18219         * math/s_catan.c (__catan): Handle arguments with large real or
18220         imaginary part separately without squaring.
18221         * math/s_catanf.c (__catanf): Likewise.
18222         * math/s_catanh.c (__catanh): Likewise.
18223         * math/s_catanhf.c (__catanhf): Likewise.
18224         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18225         and redefine.
18226         (__catanhl): Handle arguments with large real or imaginary part
18227         separately without squaring.
18228         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18229         and redefine.
18230         (__catanl): Handle arguments with large real or imaginary part
18231         separately without squaring.
18232         * math/libm-test.inc (catan_test): Add more tests.
18233         (catanh_test): Likewise.
18234         * sysdeps/i386/fpu/libm-test-ulps: Update.
18235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18237 2013-04-27  Andreas Jaeger  <aj@suse.de>
18239         [BZ #15007]
18240         * stdlib/stdlib.h: Update guards for qecvt.
18241         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18242         <stdlib.h>.
18244 2013-04-27  Allan McRae  <allan@archlinux.org>
18246         * sysdeps/i386/fpu/libm-test-ulps: Update.
18248 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18250         [BZ #15406]
18251         * math/s_catan.c: Include <float.h>.
18252         (__catan): Ensure underflow exception occurs for underflowed
18253         result.
18254         * math/s_catanf.c: Include <float.h>.
18255         (__catanf): Ensure underflow exception occurs for underflowed
18256         result.
18257         * math/s_catanh.c: Include <float.h>.
18258         (__catanh): Ensure underflow exception occurs for underflowed
18259         result.
18260         * math/s_catanhf.c: Include <float.h>.
18261         (__catanhf): Ensure underflow exception occurs for underflowed
18262         result.
18263         * math/s_catanhl.c: Include <float.h>.
18264         (__catanhl): Ensure underflow exception occurs for underflowed
18265         result.
18266         * math/s_catanl.c: Include <float.h>.
18267         (__catanl): Ensure underflow exception occurs for underflowed
18268         result.
18269         * math/libm-test.inc (catan_test): Add more tests.
18270         (catanh_test): Likewise.
18272         [BZ #15405]
18273         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18274         underflowed result.
18275         * math/s_ccoshf.c (__ccoshf): Likewise.
18276         * math/s_ccoshl.c (__ccoshl): Likewise.
18277         * math/s_csin.c (__csin): Likewise.
18278         * math/s_csinf.c (__csinf): Likewise.
18279         * math/s_csinh.c (__csinh): Likewise.
18280         * math/s_csinhf.c (__csinhf): Likewise.
18281         * math/s_csinhl.c (__csinhl): Likewise.
18282         * math/s_csinl.c (__csinl): Likewise.
18283         * math/libm-test.inc (ccos_test): Add more tests.
18284         (ccosh_test): Likewise.
18285         (csin_test): Likewise.
18286         (csinh_test): Likewise.
18288 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18290         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18291         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18292         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18293         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18294         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18295         powerpc/power5+/fpu folders.
18296         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18299 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18303 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18305         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18306         additions to variable.
18307         [$(config-machine) = x86_64] (modules-names): Likewise.
18308         ($(objpfx)tst-audit3): Remove dependency.
18309         ($(objpfx)tst-audit3.out): Likewise.
18310         ($(objpfx)tst-audit4): Likewise.
18311         ($(objpfx)tst-audit4.out): Likewise.
18312         ($(objpfx)tst-audit5): Likewise.
18313         ($(objpfx)tst-audit5.out): Likewise.
18314         ($(objpfx)tst-audit6): Likewise.
18315         ($(objpfx)tst-audit6.out): Likewise.
18316         ($(objpfx)tst-audit7): Likewise.
18317         ($(objpfx)tst-audit7.out): Likewise.
18318         (tst-audit3-ENV): Remove variable.
18319         (tst-audit4-ENV): Likewise.
18320         (tst-audit5-ENV): Likewise.
18321         (tst-audit6-ENV): Likewise.
18322         (tst-audit7-ENV): Likewise.
18323         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18324         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18325         addition to variable.
18326         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18327         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18328         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18329         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18330         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18331         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18332         tst-audit3, tst-audit4 and tst-audit5.
18333         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18334         tst-audit6 and tst-audit7.
18335         [$(subdir) = elf] (modules-names): Add audit modules for those
18336         tests.
18337         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18338         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18339         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18340         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18341         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18342         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18343         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18344         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18345         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18346         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18347         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18348         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18349         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18350         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18351         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18352         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18353         Likewise.
18354         [$(subdir) = elf && $(config-cflags-avx) = yes]
18355         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18356         [$(subdir) = elf && $(config-cflags-avx) = yes]
18357         (CFLAGS-tst-auditmod4a.c): Likewise.
18358         [$(subdir) = elf && $(config-cflags-avx) = yes]
18359         (CFLAGS-tst-auditmod4b.c): Likewise.
18360         [$(subdir) = elf && $(config-cflags-avx) = yes]
18361         (CFLAGS-tst-auditmod6b.c): Likewise.
18362         [$(subdir) = elf && $(config-cflags-avx) = yes]
18363         (CFLAGS-tst-auditmod6c.c): Likewise.
18364         [$(subdir) = elf && $(config-cflags-avx) = yes]
18365         (CFLAGS-tst-auditmod7b.c): Likewise.
18366         * elf/tst-audit3.c: Move to ...
18367         * sysdeps/x86_64/tst-audit3.c: ... here.
18368         * elf/tst-audit4.c: Move to ...
18369         * sysdeps/x86_64/tst-audit4.c: ... here.
18370         * elf/tst-audit5.c: Move to ...
18371         * sysdeps/x86_64/tst-audit5.c: ... here.
18372         * elf/tst-audit6.c: Move to ...
18373         * sysdeps/x86_64/tst-audit6.c: ... here.
18374         * elf/tst-audit7.c: Move to ...
18375         * sysdeps/x86_64/tst-audit7.c: ... here.
18376         * elf/tst-auditmod3a.c: Move to ...
18377         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18378         * elf/tst-auditmod3b.c: Move to ...
18379         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18380         * elf/tst-auditmod4a.c: Move to ...
18381         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18382         * elf/tst-auditmod4b.c: Move to ...
18383         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18384         * elf/tst-auditmod5a.c: Move to ...
18385         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18386         * elf/tst-auditmod5b.c: Move to ...
18387         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18388         * elf/tst-auditmod6a.c: Move to ...
18389         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18390         * elf/tst-auditmod6b.c: Move to ...
18391         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18392         * elf/tst-auditmod6c.c: Move to ...
18393         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18394         * elf/tst-auditmod7a.c: Move to ...
18395         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18396         * elf/tst-auditmod7b.c: Move to ...
18397         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18399 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18401         [BZ #15366]
18402         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18403         define unconditionally.
18404         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18405         define unconditionally.
18406         (INT8_C, INT16_C, etc.): Likewise.
18408 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18410         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18411         __ehdr_start with hidden visibility.
18413         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18415 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18417         * math/libm-test.inc (cos_test): Use accurate hex constants.
18418         (sincost_test): Likewise.
18420 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18422         * math/libm-test.inc (catan_test): Add more tests.
18423         (catanh_test): Likewise.
18425         * math/s_catanf.c (__catanf): Use suffixed floating-point
18426         constants.
18427         * math/s_catanhf.c (__catanhf): Likewise.
18428         * math/s_catanhl.c (__catanhl): Likewise.
18429         * math/s_catanl.c (__catanl): Likewise.
18431         [BZ #15394]
18432         * math/s_catan.c (__catan): Calculate imaginary part of result
18433         with log1p not log unless computing log of number close to 0.
18434         * math/s_catanf.c (__catanf): Likewise.
18435         * math/s_catanl.c (__catanl): Likewise.
18436         * math/s_catanh.c (__catanh): Calculate real part of result with
18437         log1p not log unless computing log of number close to 0.
18438         * math/s_catanhf.c (__catanhf): Likewise.
18439         * math/s_catanhl.c (__catanhl): Likewise.
18440         * math/libm-test.inc (catan_test): Add more tests.
18441         (catanh_test): Likewise.
18442         * sysdeps/i386/fpu/libm-test-ulps: Update.
18443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18445 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18447         * benchtests/Makefile: Mention files in which fast and slow
18448         paths of math functions are implemented.
18450 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18452         * sysdeps/posix/timespec_get.c: New file.
18454 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18456         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18457         POWER.
18458         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18459         for POWER.
18460         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18461         powerpc/power5/fpu folders.
18462         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18463         * benchtests/Makefile: Add modf testcase.
18464         * benchtests/bench-modf.c: New file: Benchmark test for mo
18466 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18468         [BZ #14888]
18469         * time/Makefile (tests): Add tst-strptime-whitespace.
18470         * time/strptime_l.c (get_number): Use ISSPACE.
18471         (__strptime_internal): Likewise.
18472         * time/tst-strptime-whitespace.c: New test case.
18474 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18476         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18477         member.
18478         (_nss_files_init): Set it here.
18480 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18482         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18483         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18484         unsigned.
18486 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18488         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18490 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18493         size just once.
18495 2013-04-21  David S. Miller  <davem@davemloft.net>
18497         * po/ru.po: Update Russion translation from translation project.
18499 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18501         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18502         and setfsgid.
18504 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18506         * configure.in: Remove i386 configure warning. Remove i386 case.
18507         * configure: Regenerate.
18508         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18509         Add example to error message.
18510         * sysdeps/i386/configure: Regenerate.
18512 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18514         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18515         slowtan.
18516         * benchtests/cos-inputs: New file.
18517         * benchtests/slowcos-inputs: New file.
18518         * benchtests/slowcos.c: New file.
18519         * benchtests/slowtan-inputs: New file.
18520         * benchtests/slowtan.c: New file.
18521         * benchtests/tan-inputs: New file.
18523 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18525         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18526         considered kosher.
18528 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18530         * benchtests/Makefile: Include cppflags-iterator.mk to add
18531         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18533         * Makefile.in (bench-clean): New target.
18534         * benchtests/Makefile (bench-clean): Likewise.
18536 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18538         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18540 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18542         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18544 2013-04-15  Andreas Schwab  <schwab@suse.de>
18546         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18548         * nscd/pwdcache.c (cache_addpw): Likewise.
18549         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18550         more than recsize.
18552 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18554         * benchtests/Makefile (bench): Write all output to
18555         bench-out.tmp together.
18557 2013-04-15  Andreas Schwab  <schwab@suse.de>
18559         * nscd/nscd.c (main): Don't fork again after closing files.
18561 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18563         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18565         * benchtests/Rules (bench-deps): Collect dependencies into a
18566         single variable.  Add Makefile to dependencies.
18567         ($(objpfx)bench-%.c): Depend on bench-deps.
18569 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18570             Xavier Roche  <roche+kml2@exalead.com>
18572         [BZ #15361]
18573         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18574         just that it's a file descriptor.
18575         * manual/llio.texi (Synchronizing AIO Operations): Update description
18576         for EBADF error from aio_fsync.
18578 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18580         * Rules (bench): Move target definition...
18581         * benchtests/Makefile: ... here.
18583 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18585         * math/libm-test.inc (cos_test): Fix PI/2 test.
18586         (sincos_test): Likewise.
18587         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18588         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18590 2013-04-11  Andreas Schwab  <schwab@suse.de>
18592         [BZ #13988]
18593         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18594         accept exponent character only when digits were seen.
18595         * stdio-common/Makefile (tests): Add bug26.
18596         * stdio-common/bug26.c: New file.
18598         [BZ #14293]
18599         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18600         non-freeable.
18602 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18604         * Makeconfig (rtld-prefix): Define built linker prefix.
18605         * Rules (run-bench): Use it.
18606         * math/Makefile (run-regen-ulps): Likewise.
18608         * Rules (bench): Remove eval.
18610 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18611             Roland McGrath  <roland@hack.frob.com>
18612             Ondrej Bilka  <neleai@seznam.cz>
18614         [BZ #15346]
18615         * time/getdate.c: Include ctype.h and alloca.h.
18616         (__getdate_r): Trim leading and trailing spaces of input.
18617         * time/tst-getdate.c (tests): Add tests with leading and
18618         trailing spaces.
18620 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18622         [BZ #14280]
18623         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18624         when computing value.
18626 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18628         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18629         Use testrun.sh to run libm tests.
18631         [BZ #15309]
18632         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18634 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18636         [BZ #15264]
18637         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18639 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18641         * Makefile.in (regen-ulps): New target.
18642         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18643         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18644         [ifneq (no,$(PERL)] (regen-ulps): New target.
18645         [ifeq (no,$(PERL)] (regen-ulps): New target.
18646         * math/libm-test.inc (ulps_file_name): Define.
18647         (output_dir): New variable.
18648         (options): Add "output-dir" option.
18649         (parse_opt): Handle 'o' case.
18650         (main): If output_dir is non-NULL use it as a prefix
18651         otherwise use "".
18652         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18654 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18656         [BZ #10060, #10062]
18657         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18658         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18659         fail configure if __sync_val_compare_and_swap is not inlined.
18660         * sysdeps/i386/configure: Regenerate.
18661         * configure.in: Build for i686 when configured for i386.
18662         * configure: Regenerate.
18663         * README: Remove i386 reference.
18665 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18667         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18668         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18670 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18672         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18673         (lmsnanval): New variables.
18674         (F): Add conversion tests.
18675         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18676         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18678         * stdio-common/tstdiomisc.c (F): Properly collect individual
18679         tests' results.
18681         [BZ #14686, #15336]
18682         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18683         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18684         Instead, use input NaN values or generate a qNaN by arithmetic
18685         operation.  Also fix bugs to comply with the standard.
18686         * math/libm-test.inc (remainder_test): Add more tests.
18688         [BZ #15335, #15342]
18689         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18691         input NaN values or generate a qNaN by arithmetic operation.
18693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18694         unreachable code.
18696         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18697         definitions.
18699 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18701         [BZ #14478]
18702         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18703         underflowed result.
18704         * math/s_cexpf.c (__cexpf): Likewise.
18705         * math/s_cexpl.c (__cexpl): Likewise.
18706         * math/libm-test.inc (cexp_test): Add more tests.
18708 2013-04-03  Andreas Schwab  <schwab@suse.de>
18710         [BZ #15330]
18711         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18712         order arrays from heap if bigger than alloca cutoff.
18714 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18716         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18717         (SNAN_TESTS_double): Refer to GCC PR56831.
18718         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18719         GCC PR56828.
18721 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18723         * Rules (bench): Move bench.out after the run is complete.
18725         * Rules (bench): Echo currently running benchmark.
18727         * benchtests/Makefile (bench): Add atan and slowatan.
18728         * benchtests/atan-inputs: New file.
18729         * benchtests/slowatan-inputs: New file.
18730         * benchtests/slowatan.c: New file.
18732         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18733         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18734         its value.
18736         [BZ #15305]
18737         * sysdeps/unix/sysv/linux/kernel-features.h
18738         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18739         __ASSUME_XFS_RESTRICTED_CHOWN.
18740         * sysdeps/unix/sysv/linux/pathconf.c
18741         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18742         Save and restore errno.
18744 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18746         [BZ #15327]
18747         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18748         arguments using __kernel_casinh.
18749         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18750         arguments using __kernel_casinhf.
18751         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18752         arguments using __kernel_casinhl.
18753         * math/libm-test.inc (cacosh_test): Add more tests.
18754         * sysdeps/i386/fpu/libm-test-ulps: Update.
18755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18757 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18759         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18762         * bench/Makefile (bench): Add sin and slowsin.
18763         * benchtests/sin-inputs: New file.
18764         * benchtests/slowsin-inputs: New file.
18765         * benchtests/slowsin.c: New file.
18767         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18768         (bench): Add slowexp and slowpow.
18769         (exp-ITER): Increase iterations.
18770         (pow-ITER): Likewise.
18771         * benchtests/exp-inputs: Change input.
18772         * benchtests/pow-inputs: Likewise.
18773         * benchtests/slowexp-inputs: New file.
18774         * benchtests/slowexp.c: New file.
18775         * benchtests/slowpow-inputs: New file.
18776         * benchtests/slowpow.c: New file.
18778 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18780         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18781         instructions.
18782         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18783         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18784         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18785         * benchtests/Makefile: Add rint benchtest.
18786         * benchtests/rint-inputs: Input for rint benchtest.
18788 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18790         * Versions.def (libm): Add GLIBC_2.18.
18791         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18792         hidden libm prototypes.
18793         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18794         * math/Makefile (libm-calls): Add s_issignaling.
18795         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18796         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18797         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18798         declaration.
18799         * math/math.h [__USE_GNU] (issignaling): New macro.
18800         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18801         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18802         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18803         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18806         * manual/arith.texi (issignaling): New section.
18807         * manual/libm-err-tab.pl (@all_functions): Update comment.
18808         * math/gen-libm-test.pl (parse_args): Apply special handling for
18809         issignaling.
18810         * math/libm-test.inc (print_float, issignaling_test): New
18811         functions.
18812         (check_float_internal): Add issignaling checks.
18813         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18814         default definition.
18815         * sysdeps/powerpc/math-tests.h: New file.
18816         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18817         tests.
18818         * math/test-snan.c (TEST_FUNC): Likewise.
18820 2013-03-30  David S. Miller  <davem@davemloft.net>
18822         * po/de.po: Update from translation team.
18824 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18826         [BZ #10357]
18827         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18828         imaginary part less than 1.0 and real part less than 0.5
18829         specially.
18830         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18831         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18832         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18833         (cacos_test): Add more tests.
18834         (casin_test): Likewise.
18835         (casinh_test): Likewise.
18836         * sysdeps/i386/fpu/libm-test-ulps: Update.
18837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18839 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18842         ONE with its value.
18844         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18845         (__pow_mp): Replace ONE and MONE with their values.
18846         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18848         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18849         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18850         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18851         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18853         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18855         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18856         (__pow_mp): Replace ZERO and MZERO with their values.
18857         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18858         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18859         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18861         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18862         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18863         (__sqr): Likewise.
18865         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18867         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18869 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18871         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18872         Declare with __attribute__ ((weak)).
18873         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18874         Call __call_tls_dtors only if it's not NULL.
18876 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18878         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18879         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18880         magic __ehdr_start linker symbol if it's defined.
18881         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18882         them up here if it was already done.
18884         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18885         (_dl_aux_init): Use const in cast when setting it.
18886         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18887         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18888         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18890         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18891         Declare them here.
18892         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18893         * csu/libc-tls.c: Nor here.
18894         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18896         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18897         (__libc_message): Never call vsyslog.
18899 2013-03-28  Alan Modra  <amodra@gmail.com>
18901         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18902         Define as empty.
18903         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18904         Likewise.
18906 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18908         [BZ #15214]
18909         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18910         underflow.
18911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18913 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18915         [BZ #15304]
18916         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18917         Don't add gid passed as argument.
18919         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18921 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18923         [BZ #15307]
18924         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18925         imaginary part between 1.0 and 1.5 and real part less than 0.5
18926         specially.
18927         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18928         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18929         * math/libm-test.inc (cacos_test): Add more tests.
18930         (casin_test): Likewise.
18931         (casinh_test): Likewise.
18932         * sysdeps/i386/fpu/libm-test-ulps: Update.
18933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18935 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18937         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18938         constants.
18939         (norm): Likewise.
18940         (denorm): Likewise.
18941         (__dbl_mp): Likewise.
18942         (add_magnitudes): Likewise.
18943         (sub_magnitudes): Likewise.
18944         (__add): Likewise.
18945         (__sub): Likewise.
18946         (__mul): Likewise.
18947         (__sqr): Likewise.
18948         (__inv): Likewise.
18949         (__dvd): Likewise.
18951         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18952         commented code.
18953         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18954         (__dubcos): Likewise.
18955         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18956         (__ieee754_acos): Likewise.
18957         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18958         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18959         (__exp1): Likewise.
18960         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18961         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18962         (log1): Likewise.
18963         (my_log2): Likewise.
18964         (checkint): Likewise.
18965         * sysdeps/ieee754/dbl-64/e_remainder.c
18966         (__ieee754_remainder): Likewise.
18967         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18968         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18969         (bsloww): Likewise.
18970         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18972         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18973         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18974         MANTISSA_STORE_T to store computations on mantissa.  Use
18975         macros for rounding and division.
18976         (denorm): Likewise.
18977         (__dbl_mp): Likewise.
18978         (add_magnitudes): Likewise.
18979         (sub_magnitudes): Likewise.
18980         (__mul): Likewise.
18981         (__sqr): Likewise.
18982         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18983         powers of two in terms of TWOPOW macro.
18984         (mp_no): Make type of mantissa as MANTISSA_T.
18985         [!RADIXI]: Define RADIXI.
18986         [!TWO52]: Define TWO52.
18987         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18989 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18991         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18992         llroundl symbol when building for PPC32.
18994 2013-03-24  Mark H Weaver  <mhw@netris.org>
18996         * manual/arith.texi (Normalization Functions): Fix prototypes for
18997         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18999 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001         [BZ #13889]
19002         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19003         high value to check if expl overflow.
19004         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19005         to check for underflow and overflow.
19006         * math/libm-test.inc: Add exp test.
19008 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19010         [BZ #11120]
19011         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19012         with NOT_IN_libc.
19014 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19016         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19017         symbol.
19019 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19021         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19022         wrap blocks consisting of several statements.
19024         * sysdeps/generic/math-tests.h: New file.
19025         * sysdeps/i386/fpu/math-tests.h: Likewise.
19026         * math/test-snan.c: Include it.
19027         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19029 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19031         [BZ #15285]
19032         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19033         (__ieee754_j0l): Do not improve calculations using cos of twice
19034         input for inputs above LDBL_MAX / 2.0L.
19035         (__ieee754_y0l): Likewise.
19036         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19037         (__ieee754_j1l): Do not improve calculations using cos of twice
19038         input for inputs above LDBL_MAX / 2.0L.
19039         (__ieee754_y1l): Likewise.
19040         * math/libm-test.inc (j0_test): Add another test.
19041         (j1_test): Likewise.
19042         (y0_test): Likewise.
19043         (y1_test): Likewise.
19044         * sysdeps/i386/fpu/libm-test-ulps: Update.
19046 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19048         * Rules ($(objpfx)bench-%.c): Include code from a C source
19049         file.
19051 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19053         [BZ #15287]
19054         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19055         imaginary part 1.0 and real part less than 0.5 specially.
19056         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19057         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19058         * math/libm-test.inc (cacos_test): Add more tests.
19059         (casin_test): Likewise.
19060         (casinh_test): Likewise.
19061         * sysdeps/i386/fpu/libm-test-ulps: Update.
19062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19064 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19066         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19067         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19069 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19071         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19072         * config.make.in (config-cflags-sse4): Remove variable.
19073         (config-cflags-avx): Likewise.
19074         (config-cflags-sse2avx): Likewise.
19075         (config-cflags-novzeroupper): Likewise.
19076         (config-asflags-i686): Likewise.
19077         (have-mfma4): Likewise.
19078         (have-as-vis3): Likewise.
19079         (MIG): Likewise.
19080         * configure.in (MIG): Do not AC_SUBST.
19081         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19082         (libc_cv_cc_sse4): Do not AC_SUBST.
19083         (libc_cv_cc_avx): Likewise.
19084         (libc_cv_cc_sse2avx): Likewise.
19085         (libc_cv_cc_novzeroupper): Likewise.
19086         (libc_cv_cc_fma4): Likewise.
19087         (libc_cv_as_i686): Likewise.
19088         (libc_cv_sparc_as_vis3): Likewise.
19089         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19090         LIBC_CONFIG_VAR.
19091         (config-asflags-i686): Likewise.
19092         (config-cflags-avx): Likewise.
19093         (config-cflags-sse2avx): Likewise.
19094         (have-mfma4): Likewise.
19095         (config-cflags-novzeroupper): Likewise.
19096         * sysdeps/mach/configure.in (MIG): Likewise.
19097         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19098         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19099         LIBC_CONFIG_VAR.
19100         (config-cflags-avx): Likewise.
19101         (config-cflags-sse2avx): Likewise.
19102         (have-mfma4): Likewise.
19103         (config-cflags-novzeroupper): Likewise.
19104         * configure: Regenerated.
19105         * sysdeps/i386/configure: Likewise.
19106         * sysdeps/mach/configure: Likewise.
19107         * sysdeps/sparc/configure: Likewise.
19108         * sysdeps/x86_64/configure: Likewise.
19110 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19112         [BZ #14812]
19113         * locale/programs/localedef.c (options): Put N_ translation marker
19114         on argument names, not just descriptions.
19116 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19118         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19120 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19122         [BZ #14176]
19123         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19125 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19127         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19128         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19129         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19130         [!BEFORE_ABORT] (before_abort): New function.
19131         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19132         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19133         (writev_for_fatal): New function.
19134         (WRITEV_FOR_FATAL): New macro; call that.
19135         (backtrace_and_maps): New function.
19136         (BEFORE_ABORT): New macro; call that.
19137         (struct str_list): Type removed.
19138         (__libc_message, __libc_fatal): Functions removed.
19139         Include <sysdeps/posix/libc_fatal.c> instead.
19141 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19143         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19144         constants.
19145         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19146         double constants.
19148 2013-03-19  Andreas Schwab  <schwab@suse.de>
19150         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19151         * sysdeps/gnu/configure: Regenerate.
19153         * configure.in: Substitute libc_cv_rtlddir.
19154         * configure: Regenerate.
19155         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19156         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19157         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19158         * elf/Makefile (install-others, CFLAGS-interp.c)
19159         (ldso_install, common-ldd-rewrite): Likewise.
19160         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19161         $(inst_slibdir)/$(rtld-installed-name).
19162         * scripts/rellns-sh: Add -p option.
19163         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19164         for source.
19166 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19168         * manual/nptl.texi: Renamed to ...
19169         * manual/threads.texi: ... this.
19170         * manual/Makefile (chapters): Update.
19172 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19174         [BZ #14812]
19175         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19176         on argument names, not just descriptions.
19177         * malloc/memusagestat.c (options): Likewise.
19178         * nss/getent.c (options): Likewise.
19180 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19182         [BZ #14812]
19183         * iconv/iconv_prog.c (options): Put N_ translation marker
19184         on argument names, not just descriptions.
19185         * iconv/iconvconfig.c (options): Likewise.
19187 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19189         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19190         implementation which is faster on all x86_64 architectures.
19191         Tested on AMD, Intel Nehalem, SNB, IVB.
19192         * sysdeps/x86_64/strnlen.S: Likewise.
19194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19195         Remove all multiarch strlen and strnlen versions.
19196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19197         Remove strlen and strnlen related parts.
19199         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19200         Inline strlen part.
19201         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19203         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19204         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19205         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19206         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19207         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19208         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19210 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19212         * manual/memory.texi (Malloc Tunable Parameters):
19213         Sort parameters alphabetically. Add comments for missing entries.
19215 2013-03-17  David S. Miller  <davem@davemloft.net>
19217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19219 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19221         [BZ #15283]
19222         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19223         for arguments at most half maximum finite value.
19224         * math/libm-test.inc (j0_test): Add more tests.
19225         (j1_test): Likewise.
19226         (y0_test): Likewise.
19227         (y1_test): Likewise.
19228         * sysdeps/i386/fpu/libm-test-ulps: Update.
19229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19231         [BZ #14155]
19232         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19233         1 / x and functions P and Q for arguments above 0x1p256L.
19234         (__ieee754_y0l): Likewise.
19235         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19236         (__ieee754_y1l): Likewise.
19237         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19238         (j1_test): Likewise.
19239         (y0_test): Likewise.
19240         (y1_test): Likewise.
19242 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19244         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19245         variable.
19247 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19249         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19250         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19251         zero since it's initialized to EXEC_PAGESIZE.
19253         * sysdeps/unix/sysv/linux/ldsodefs.h
19254         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19255         * sysdeps/generic/ldsodefs.h: ... here.
19257 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19259         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19261         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19262         math/test-snan.c.
19263         * math/test-snan.c: Renamed from
19264         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19265         * math/Makefile (tests): Add test-snan.
19266         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19267         test-powerpc-snan.
19269         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19270         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19271         functions.
19272         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19273         __builtin_nan family of functions.
19274         * math/libm-test.inc (initialize): Initialize qnan_value with
19275         __builtin_nan family of functions.
19276         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19277         Remove variables.
19278         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19279         Remove functions.
19280         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19281         storage class.  Initialize qNaN_var and sNaN_var with
19282         __builtin_nan and __builtin_nans families of functions,
19283         respectively.
19285         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19286         (sqrt_test): Remove duplicate test with qNaN input.
19287         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19288         (round_test, signbit_test, significand_test): Note missing +/-Inf
19289         as well as qNaN tests.
19291         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19292         qNaN_var.  Fix a few strings, too.
19293         * math/libm-test.inc (nan_value): Rename to qnan_value.
19294         * math/gen-libm-test.pl (%beautify): Adjust to that.
19295         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19296         * math/test-misc.c (main): Likewise.
19297         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19298         to __qnan_bytes, and __qnan_union, respectively.
19299         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19300         Likewise.
19301         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19302         and lqnanval, respectively.
19303         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19304         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19305         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19306         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19308         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19309         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19310         doubles.
19312         * math/test-misc.c (main): Fix copy'n'pastos.
19313         * misc/tst-efgcvt.c (special): Likewise.
19315         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19316         Remove declarations.
19318 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19320         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19321         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19322         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19323         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19325 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19327         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19328         macro to return vdso values correctly in IFUNC implementations.
19329         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19330         Optimization by using IFUNC.
19332 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19333             Richard Henderson  <rth@redhat.com>
19334             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19336         * Makefile.in (bench): New target.
19337         * NEWS: Mention the benchmark framework.
19338         * Rules (bench): Likewise.
19339         (binaries-bench): Generate binaries for functions to
19340         benchmark.
19341         * benchtests/Makefile: New makefile for benchmark tests.
19342         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19343         programs.
19344         * benchtests/exp-inputs: New input file for EXP function.
19345         * benchtests/pow-inputs: New input file for POW function.
19346         * scripts/bench.pl: New script to generate source files for
19347         benchmark programs.
19349 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19351         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19352         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19353         computations on mantissa.  Use macros for rounding and
19354         division.
19355         (denorm): Likewise.
19356         (__dbl_mp): Likewise.
19357         (add_magnitudes): Likewise.
19358         (sub_magnitudes): Likewise.
19359         (__mul): Likewise.
19360         (__sqr): Likewise.
19361         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19362         powers of two in terms of TWOPOW macro.
19363         (mp_no): Make type of mantissa as MANTISSA_T.
19364         [!RADIXI]: Define RADIXI.
19365         [!TWO52]: Define TWO52.
19366         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19368         * manual/nptl.texi (cindex): Modify threads to pthreads.
19370 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19372         * sysdeps/x86_64/preconfigure: Regenerated.
19374 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19376         [BZ #14155]
19377         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19378         0x1p28 and above.
19379         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19380         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19381         0x1p28 and above.
19382         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19383         * math/libm-test.inc (j0_test): Do not allow one spurious
19384         underflow exception.
19385         (y1_test): Likewise.
19387 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19389         * manual/Makefile (chapters): Add nptl.
19390         * manual/debug.texi (Debugging Support): Add link to Threads
19391         chapter.
19392         * manual/nptl.texi: New file.
19394         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19396 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19398         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19399         for non-NULL pointer before the memory validity test. Pointed
19400         out by Holger Brunck <holger.brunck@keymile.com>.
19402 2013-03-13  Andreas Schwab  <schwab@suse.de>
19404         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19405         instead of .os.
19407 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19409         * timezone/zic.c: Update from tzcode 2013b.
19411 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19413         * manual/install.texi (Configuring and compiling):
19414         Mention i686 and i586.
19415         * INSTALL: Regenerate.
19417 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19419         * sysdeps/init_array/elf-init.c: New file.
19420         * csu/elf-init.c
19421         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19422         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19424         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19425         __gmon_start__ as global, but as static with a .preinit_array pointer.
19426         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19427         * sysdeps/init_array/crti.S: New file, empty except for comments.
19428         * sysdeps/init_array/crtn.S: Likewise.
19430 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19432         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19433         definining bcopy.
19434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19435         Remove Prefer_SSE_for_memop.
19436         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19437         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19438         HAS_PREFER_SSE_FOR_MEMOP.
19439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19440         memset-x86-64.
19441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19442         Remove bzero, memset ifunc support.
19443         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19444         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19445         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19446         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19448 2013-03-11  Andreas Schwab  <schwab@suse.de>
19450         [BZ #15234]
19451         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19452         by SHLIB_COMPAT.
19453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19454         (GLIBC_2.16): Remove pthread_atfork.
19456 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19458         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19459         (ptestcases.h): Likewise.
19461 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19463         * Makeconfig ($(common-objpfx)config.status): Depend on
19464         sysdeps/*/preconfigure{,.in} too.
19466 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19468         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19469         (__free_hook): Use void * instead of __malloc_ptr_t.
19470         (__malloc_hook): Likewise.
19471         (__realloc_hook): Likewise.
19472         (__memalign_hook): Likewise.
19473         (__after_morecore_hook): Likewise.
19474         * malloc/arena.c (save_malloc_hook): Likewise.
19475         (save_free_hook): Likewise.
19476         * malloc/hooks.c (malloc_hook_ini): Likewise.
19477         (realloc_hook_ini): Likewise.
19478         (memalign_hook_ini): Likewise.
19479         * malloc/malloc.c (malloc_hook_ini): Likewise.
19480         (realloc_hook_ini): Likewise.
19481         (memalign_hook_ini): Likewise.
19482         (__free_hook): Likewise.
19483         (__malloc_hook): Likewise.
19484         (__realloc_hook): Likewise.
19485         (__memalign_hook): Likewise.
19486         (__libc_malloc): Likewise.
19487         (__libc_free): Likewise.
19488         (__libc_realloc): Likewise.
19489         (__libc_memalign): Likewise.
19490         (__libc_valloc): Likewise.
19491         (__libc_pvalloc): Likewise.
19492         (__libc_calloc): Likewise.
19493         (__posix_memalign): Likewise.
19494         * malloc/morecore.c (__sbrk): Likewise.
19495         (__default_morecore): Likewise.
19497         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19499         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19500         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19501         __malloc_ptrdiff_t.
19503         * malloc/malloc.h (__malloc_size_t): Remove macro.
19504         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19505         __malloc_size_t.
19506         (old_memalign_hook): Likewise.
19507         (old_realloc_hook): Likewise.
19508         (struct hdr): Likewise.
19509         (flood): Likewise.
19510         (mallochook): Likewise.
19511         (memalignhook): Likewise.
19512         (reallochook): Likewise.
19513         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19514         (tr_old_realloc_hook): Likewise.
19515         (tr_old_memalign_hook): Likewise.
19516         (tr_mallochook): Likewise.
19517         (tr_reallochook): Likewise.
19518         (tr_memalignhook): Likewise.
19520 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19523         default_ldbl_pack and using as default implementation.
19524         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19525         implementation.
19526         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19527         redundant definition.
19528         (ldbl_insert_mantissa): Likewise.
19529         (ldbl_canonicalize): Likewise.
19530         (ldbl_nearbyint): Likewise.
19531         (ldbl_pack): Rename to ldbl_pack_ppc.
19532         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19533         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19534         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19536 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19539         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19540         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19541         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19543         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19544         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19545         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19547 2013-03-07  Andreas Jaeger  <aj@suse.de>
19549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19550         bits/mman-linux.h.
19552 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19554         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19555         Include mpa.h and declare __MPEXP.
19556         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19557         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19558         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19559         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19560         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19561         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19562         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19564         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19565         (__slowpow): Use long double EXPL and LOGL functions to
19566         compute POW.
19567         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19568         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19569         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19570         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19571         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19572         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19575         intermediate variable to calculate exponent.
19576         (__sqr): Likewise.
19577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19578         Likewise.
19579         (__sqr): Likewise.
19581         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19582         [!NO__SQR]: Define __sqr.
19583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19584         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19585         sysdeps/ieee754/dbl-64/mpa.c.
19586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19588         [BZ #12723]
19589         * posix/Makefile (tests): Add tst-pathconf.
19590         * posix/tst-pathconf.c: New test case.
19591         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19592         _PC_PIPE_BUF.
19593         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19595 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19597         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19599 2013-03-06  Andreas Jaeger  <aj@suse.de>
19601         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19602         definition via __MAP_ANONYMOUS.
19604         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19605         it's not part of Linux headers.
19607         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19608         (MAP_HUGE_MASK): Define.
19610         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19611         Define.
19612         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19613         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19614         Define.
19615         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19616         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19617         Define.
19618         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19619         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19620         Define.
19621         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19623         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19624         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19625         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19626         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19627         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19628         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19630         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19631         Handle f2fs.
19633         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19634         Handle f2fs and efivarfs.
19636         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19637         f2fs.
19639         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19640         (EFIVARFS_MAGIC): Add.
19641         (F2FS_LINK_MAX): Add.
19643 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19645         * stdio-common/vfprintf.c: Replace __builtin_expect with
19646         __glibc_unlikely.
19648 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19650         [BZ #13550]
19651         * sysdeps/generic/bp-sym.h: Remove file.
19652         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19653         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19654         <bp-sym.h> and <bp-asm.h>.
19655         (__longjmp): Don't use BP_SYM.
19656         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19657         and <bp-asm.h>.
19658         (memcpy): Don't use BP_SYM.
19659         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19660         <bp-sym.h> and <bp-asm.h>.
19661         (memcpy): Don't use BP_SYM.
19662         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19663         <bp-asm.h>.
19664         (memcpy): Don't use BP_SYM.
19665         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19666         <bp-asm.h>.
19667         (memset): Don't use BP_SYM.
19668         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19669         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19670         (__bzero): Don't use BP_SYM.
19671         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19672         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19673         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19674         <bp-sym.h> and <bp-asm.h>.
19675         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19676         pointers.
19677         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19678         <bp-sym.h> and <bp-asm.h>.
19679         (memcpy): Don't use BP_SYM.
19680         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19681         <bp-sym.h> and <bp-asm.h>.
19682         (memset): Don't use BP_SYM.
19683         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19684         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19685         (__bzero): Don't use BP_SYM.
19686         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19687         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19688         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19689         <bp-sym.h> and <bp-asm.h>.
19690         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19691         pointers.
19692         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19693         <bp-sym.h> and <bp-asm.h>.
19694         (memcpy): Don't use BP_SYM.
19695         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19696         <bp-sym.h> and <bp-asm.h>.
19697         (memset): Don't use BP_SYM.
19698         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19699         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19700         (__bzero): Don't use BP_SYM.
19701         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19702         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19703         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19704         <bp-sym.h> and <bp-asm.h>.
19705         (__memchr): Don't use BP_SYM.
19706         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19707         <bp-sym.h> and <bp-asm.h>.
19708         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19709         pointers.
19710         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19711         <bp-sym.h> and <bp-asm.h>.
19712         (memcpy): Don't use BP_SYM.
19713         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19714         <bp-sym.h> and <bp-asm.h>.
19715         (__mempcpy): Don't use BP_SYM.
19716         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19717         <bp-sym.h> and <bp-asm.h>.
19718         (__memrchr): Don't use BP_SYM.
19719         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19720         <bp-sym.h> and <bp-asm.h>.
19721         (memset): Don't use BP_SYM.
19722         (__bzero): Likewise.
19723         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19724         <bp-sym.h> and <bp-asm.h>.
19725         (__rawmemchr): Don't use BP_SYM.
19726         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19727         <bp-sym.h> and <bp-asm.h>.
19728         (__STRCMP): Don't use BP_SYM.
19729         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19730         <bp-sym.h> and <bp-asm.h>.
19731         (strchr): Don't use BP_SYM.
19732         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19733         <bp-sym.h> and <bp-asm.h>.
19734         (__strchrnul): Don't use BP_SYM.
19735         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19736         <bp-sym.h> and <bp-asm.h>.
19737         (strlen): Don't use BP_SYM.
19738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19739         <bp-sym.h> and <bp-asm.h>.
19740         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19741         pointers.
19742         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19743         <bp-sym.h> and <bp-asm.h>.
19744         (__strnlen): Don't use BP_SYM.
19745         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19746         <bp-sym.h> and <bp-asm.h>.
19747         (__GI__setjmp): Don't use BP_SYM.
19748         (_setjmp): Likewise.
19749         (__sigsetjmp): Likewise.
19750         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19751         (L(start_addresses)): Don't use BP_SYM.
19752         (_start): Likewise.
19753         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19754         <bp-asm.h>.
19755         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19756         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19757         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19758         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19759         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19760         <bp-asm.h>.
19761         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19762         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19763         about bounded pointers.
19764         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19765         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19766         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19767         <bp-asm.h>.
19768         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19769         about bounded pointers.  Remove GKM FIXME comments.
19770         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19771         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19772         <bp-asm.h>.
19773         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19774         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19775         Remove GKM FIXME comments.
19776         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19777         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19778         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19779         <bp-asm.h>.
19780         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19781         about bounded pointers.  Remove GKM FIXME comment.
19782         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19783         and <bp-asm.h>.
19784         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19785         pointers.
19786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19787         <bp-sym.h> and <bp-asm.h>.
19788         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19790         <bp-sym.h> and <bp-asm.h>.
19791         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19792         comment.
19794 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19796         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19797         call free(NULL).
19799 2013-03-05  David S. Miller  <davem@davemloft.net>
19801         * po/es.po: Update from translation team.
19803 2013-03-05  Andreas Jaeger  <aj@suse.de>
19805         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19806         <bits/mman-linux.h>.
19807         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19808         is fine.
19809         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19810         <bits/mman-linux.h> to end of file.
19811         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19812         is fine.
19813         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19814         <bits/mman-linux.h> to end of file.
19815         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19816         is fine.
19817         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19818         <bits/mman-linux.h> to end of file.
19820         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19821         (MCL_CURRENT, MCL_FUTURE): Define here.
19823 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19825         [BZ #15232]
19826         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19827         attribute_hidden.
19828         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19830 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19832         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19833         fourth parameter needed for rt_sigprocmask syscall.
19834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19835         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19836         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19837         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19838         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19839         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19841 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19843         [BZ #13550]
19844         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19845         comment about bounded pointers.
19846         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19847         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19849 2013-03-04  Andreas Jaeger  <aj@suse.de>
19851         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19852         common definitions.
19854         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19855         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19856         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19857         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19858         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19859         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19861 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19863         [BZ #15055]
19864         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19865         __ieee754_sqrl instead of __sqrl.
19867 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19869         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19870         * sysdeps/powerpc/fpu_control.h: ... here.
19871         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19872         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19873         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19874         * sysdeps/powerpc/bits/mathinline.h: ... here.
19876 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19878         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19879         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19880         to just [NEED_DL_SYSINFO_DSO].
19881         * elf/dl-support.c: Likewise.
19882         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19883         * elf/rtld.c (dl_main): Likewise.
19884         * elf/setup-vdso.h (setup_vdso): Likewise.
19885         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19886         * sysdeps/unix/sysv/linux/dl-sysdep.c
19887         (_dl_discover_osversion): Likewise.
19889 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19891         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19892         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19894 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19896         * NEWS: Mention libm performance improvements and non-x86 PI
19897         futex support.
19899         * csu/libc-start.c (__pthread_initialize_minimal): Change
19900         function arguments.
19901         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19903 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19905         [BZ #13550]
19906         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19907         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19908         <bp-sym.h> and <bp-asm.h>.
19909         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19910         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19911         and <bp-asm.h>.
19912         (memcpy): Don't use BP_SYM.
19913         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19914         <bp-asm.h>.
19915         (__mpn_add_n): Don't use BP_SYM.
19916         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19917         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19918         and <bp-asm.h>.
19919         (__mpn_addmul_1): Don't use BP_SYM.
19920         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19921         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19922         <bp-sym.h>.
19923         (_setjmp): Don't use BP_SYM.
19924         (__novmx_setjmp): Likewise.
19925         (__GI__setjmp): Likewise.
19926         (__vmx_setjmp): Likewise.
19927         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19928         <bp-sym.h>.
19929         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19930         (__bzero): Don't use BP_SYM.
19931         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19932         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19933         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19934         <bp-sym.h> and <bp-asm.h>.
19935         (memcpy): Don't use BP_SYM.
19936         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19937         <bp-sym.h> and <bp-asm.h>.
19938         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19939         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19940         <bp-sym.h> and <bp-asm.h>.
19941         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19942         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19943         <bp-asm.h>.
19944         (__mpn_lshift): Don't use BP_SYM.
19945         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19946         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19947         <bp-asm.h>.
19948         (memset): Don't use BP_SYM.
19949         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19950         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19951         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19952         <bp-asm.h>.
19953         (__mpn_mul_1): Don't use BP_SYM.
19954         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19955         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19956         <bp-sym.h> and <bp-asm.h>.
19957         (memcmp): Don't use BP_SYM.
19958         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19959         <bp-sym.h> and <bp-asm.h>.
19960         (memcpy): Don't use BP_SYM.
19961         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19962         <bp-sym.h> and <bp-asm.h>.
19963         (memset): Don't use BP_SYM.
19964         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19965         <bp-sym.h> and <bp-asm.h>.
19966         (strncmp): Don't use BP_SYM.
19967         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19968         <bp-sym.h> and <bp-asm.h>.
19969         (memcpy): Don't use BP_SYM.
19970         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19971         <bp-sym.h> and <bp-asm.h>.
19972         (memset): Don't use BP_SYM.
19973         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19974         <bp-sym.h> and <bp-asm.h>.
19975         (__memchr): Don't use BP_SYM.
19976         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19977         <bp-sym.h> and <bp-asm.h>.
19978         (memcmp): Don't use BP_SYM.
19979         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19980         <bp-sym.h> and <bp-asm.h>.
19981         (memcpy): Don't use BP_SYM.
19982         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19983         <bp-sym.h> and <bp-asm.h>.
19984         (__mempcpy): Don't use BP_SYM.
19985         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19986         <bp-sym.h> and <bp-asm.h>.
19987         (__memrchr): Don't use BP_SYM.
19988         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19989         <bp-sym.h> and <bp-asm.h>.
19990         (memset): Don't use BP_SYM.
19991         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19992         <bp-sym.h> and <bp-asm.h>.
19993         (__rawmemchr): Don't use BP_SYM.
19994         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19995         <bp-sym.h> and <bp-asm.h>.
19996         (__STRCMP): Don't use BP_SYM.
19997         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19998         <bp-sym.h> and <bp-asm.h>.
19999         (strchr): Don't use BP_SYM.
20000         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20001         <bp-sym.h> and <bp-asm.h>.
20002         (__strchrnul): Don't use BP_SYM.
20003         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20004         <bp-sym.h> and <bp-asm.h>.
20005         (strlen): Don't use BP_SYM.
20006         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20007         <bp-sym.h> and <bp-asm.h>.
20008         (strncmp): Don't use BP_SYM.
20009         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20010         <bp-sym.h> and <bp-asm.h>.
20011         (__strnlen): Don't use BP_SYM.
20012         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20013         <bp-asm.h>.
20014         (__mpn_rshift): Don't use BP_SYM.
20015         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20016         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20017         <bp-sym.h> and <bp-asm.h>.
20018         (__sigsetjmp): Don't use BP_SYM.
20019         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20020         (L(start_addresses)): Don't use BP_SYM.
20021         (_start): Likewise.
20022         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20023         <bp-asm.h>.
20024         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20025         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20026         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20027         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20028         <bp-asm.h>.
20029         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20030         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20031         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20032         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20033         <bp-asm.h>.
20034         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20035         comments.
20036         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20037         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20038         <bp-asm.h>.
20039         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20040         FIXME comments.
20041         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20042         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20043         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20044         <bp-asm.h>.
20045         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20046         comment.
20047         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20048         and <bp-asm.h>.
20049         (strncmp): Don't use BP_SYM,
20050         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20051         <bp-asm.h>.
20052         (__mpn_sub_n): Don't use BP_SYM.
20053         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20054         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20055         and <bp-asm.h>.
20056         (__mpn_submul_1): Don't use BP_SYM.
20057         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20059         <bp-sym.h> and <bp-asm.h>.
20060         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20062         <bp-sym.h> and <bp-asm.h>.
20063         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20064         comment.
20066 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20069         Use ZK to minimize writes to Z.
20070         (sub_magnitudes): Simplify code a bit.
20071         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20072         Use ZK to minimize writes to Z.
20073         (sub_magnitudes): Simplify code a bit.
20075 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20077         * csu/gmon-start.c: Add special exception to license text.
20079 2013-02-27  Richard Henderson  <rth@redhat.com>
20081         * scripts/config.guess: Update from config.git.
20082         * scripts/config.sub: Likewise.
20084 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20086         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20088         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20090         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20092         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20094         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20096 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20098         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20099         [$(build-shared = yes].
20101 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20103         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20104         (__mul): Reduce iterations for calculating mantissa.
20106         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20107         MPTWO.
20108         (__mpranred): Likewise.
20110         [BZ #15160]
20111         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20112         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20114 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20116         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20117         Define __attribute__.
20119 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20121         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20122         unused.
20123         * posix/regex_internal.h (__attribute): Remove.
20124         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20125         (re_string_context_at): Likewise.
20126         (bitset_not): Use __attribute__ and mark function as possibly
20127         unused.
20128         (bitset_merge): Likewise.
20129         (bitset_mask): Likewise.
20130         (re_string_char_size_at): Likewise.
20131         (re_string_wchar_at): Likewise.
20132         (re_string_elem_size_at): Likewise.
20134 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20136         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20137         code.
20138         (cc32): Likewise.
20140         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20141         (__acr): Likewise.
20142         (__cpy): Likewise.
20143         (norm): Likewise.
20144         (denorm): Likewise.
20145         (__dbl_mp): Likewise.
20146         (add_magnitudes): Likewise.
20147         (sub_magnitudes): Likewise.
20148         (__mul): Likewise.
20149         (__inv): Likewise.
20151         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20152         style.
20154         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20155         style.
20157         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20158         code.
20160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20161         up changes with default code.
20162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20163         Likewise.
20165 2013-02-24  Allan McRae  <allan@archlinux.org>
20167         * manual/socket.texi (The Internet Namespace): Order menu items
20168         to match that in the file.
20170         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20171         node listing of the info page menu.
20173 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20175         [BZ #13550]
20176         * sysdeps/i386/bp-asm.h: Remove file.
20177         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20178         (PARMS): Do not use macros from bp-asm.h.
20179         (S1): Likewise.
20180         (S2): Likewise.
20181         (SIZE): Likewise.
20182         (__mpn_add_n): Do not use BP_SYM
20183         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20184         "bp-asm.h".
20185         (PARMS): Do not use macros from bp-asm.h.
20186         (S1): Likewise.
20187         (SIZE): Likewise.
20188         (__mpn_addmul_1): Do not use BP_SYM
20189         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20190         "bp-asm.h".
20191         (PARMS): Do not use macros from bp-asm.h.
20192         (SIGMSK): Likewise.
20193         (_setjmp): Likewise.  Do not use BP_SYM.
20194         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20195         "bp-asm.h".
20196         (PARMS): Do not use macros from bp-asm.h.
20197         (SIGMSK): Likewise.
20198         (setjmp): Likewise.  Do not use BP_SYM.
20199         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20200         "bp-asm.h".
20201         (PARMS): Do not use macros from bp-asm.h.
20202         (__frexp): Do not use BP_SYM.
20203         (frexp): Likewise.
20204         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20205         "bp-asm.h".
20206         (PARMS): Do not use macros from bp-asm.h.
20207         (__frexpf): Do not use BP_SYM.
20208         (frexpf): Likewise.
20209         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20210         "bp-asm.h".
20211         (PARMS): Do not use macros from bp-asm.h.
20212         (__frexpl): Do not use BP_SYM.
20213         (frexpl): Likewise.
20214         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20215         "bp-asm.h".
20216         (PARMS): Do not use macros from bp-asm.h.
20217         (__remquo): Do not use BP_SYM.
20218         (remquo): Likewise.
20219         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20220         "bp-asm.h".
20221         (PARMS): Do not use macros from bp-asm.h.
20222         (__remquof): Do not use BP_SYM.
20223         (remquof): Likewise.
20224         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20225         "bp-asm.h".
20226         (PARMS): Do not use macros from bp-asm.h.
20227         (__remquol): Do not use BP_SYM.
20228         (remquol): Likewise.
20229         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20230         "bp-asm.h".
20231         (PARMS): Do not use macros from bp-asm.h.
20232         (DEST): Likewise.
20233         (SRC): Likewise.
20234         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20235         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20236         "bp-asm.h".
20237         (PARMS): Do not use macros from bp-asm.h.
20238         (strlen): Do not use BP_SYM.
20239         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20240         "bp-asm.h".
20241         (PARMS): Do not use macros from bp-asm.h.
20242         (S1): Likewise.
20243         (S2): Likewise.
20244         (SIZE): Likewise.
20245         (__mpn_add_n): Do not use BP_SYM.
20246         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20247         "bp-asm.h".
20248         (PARMS): Do not use macros from bp-asm.h.
20249         (S1): Likewise.
20250         (SIZE): Likewise.
20251         (__mpn_addmul_1): Do not use BP_SYM.
20252         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20253         weak_alias.
20254         (bzero): Likewise.
20255         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20256         "bp-asm.h".
20257         (PARMS): Do not use macros from bp-asm.h.
20258         (S): Likewise.
20259         (SIZE): Likewise.
20260         (__mpn_lshift): Do not use BP_SYM.
20261         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20262         "bp-asm.h".
20263         (PARMS): Do not use macros from bp-asm.h.
20264         (DEST): Likewise.
20265         (SRC): Likewise.
20266         (LEN): Likewise.
20267         (memcpy): Likewise.  Do not use BP_SYM.
20268         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20269         libc_hidden_def and weak_alias.
20270         (mempcpy): Do not use BP_SYM in weak_alias.
20271         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20272         "bp-asm.h".
20273         (PARMS): Do not use macros from bp-asm.h.
20274         (DEST): Likewise.
20275         (LEN): Likewise.
20276         [!BZERO_P] (CHR): Likewise.
20277         (memset): Likewise.  Do not use BP_SYM.
20278         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20279         "bp-asm.h".
20280         (PARMS): Do not use macros from bp-asm.h.
20281         (S1): Likewise.
20282         (SIZE): Likewise.
20283         (__mpn_mul_1): Do not use BP_SYM.
20284         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20285         "bp-asm.h".
20286         (PARMS): Do not use macros from bp-asm.h.
20287         (S): Likewise.
20288         (SIZE): Likewise.
20289         (__mpn_rshift): Do not use BP_SYM.
20290         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20291         "bp-asm.h".
20292         (PARMS): Do not use macros from bp-asm.h.
20293         (STR): Likewise.
20294         (CHR): Likewise.
20295         (strchr): Likewise.  Do not use BP_SYM.
20296         (index): Do not use BP_SYM in weak_alias.
20297         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20298         "bp-asm.h".
20299         (PARMS): Do not use macros from bp-asm.h.
20300         (DEST): Likewise.
20301         (SRC): Likewise.
20302         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20303         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20304         "bp-asm.h".
20305         (PARMS): Do not use macros from bp-asm.h.
20306         (strlen): Do not use BP_SYM.
20307         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20308         "bp-asm.h".
20309         (PARMS): Do not use macros from bp-asm.h.
20310         (S1): Likewise.
20311         (S2): Likewise.
20312         (SIZE): Likewise.
20313         (__mpn_sub_n): Do not use BP_SYM.
20314         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20315         "bp-asm.h".
20316         (PARMS): Do not use macros from bp-asm.h.
20317         (S1): Likewise.
20318         (SIZE): Likewise.
20319         (__mpn_submul_1): Do not use BP_SYM.
20320         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20321         "bp-asm.h".
20322         (PARMS): Do not use macros from bp-asm.h.
20323         (S1): Likewise.
20324         (S2): Likewise.
20325         (SIZE): Likewise.
20326         (__mpn_add_n): Do not use BP_SYM.
20327         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20328         weak_alias.
20329         (bzero): Likewise.
20330         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20331         "bp-asm.h".
20332         (PARMS): Do not use macros from bp-asm.h.
20333         (BLK2): Likewise.
20334         (LEN): Likewise.
20335         (memcmp): Do not use BP_SYM.
20336         (bcmp): Do not use BP_SYM in weak_alias.
20337         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20338         "bp-asm.h".
20339         (PARMS): Do not use macros from bp-asm.h.
20340         (DEST): Likewise.
20341         (SRC): Likewise.
20342         (LEN): Likewise.
20343         (memcpy): Likewise.  Do not use BP_SYM.
20344         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20345         "bp-asm.h".
20346         (PARMS): Do not use macros from bp-asm.h.
20347         (DEST): Likewise.
20348         (SRC): Likewise.
20349         (LEN): Likewise.
20350         (memmove): Likewise.  Do not use BP_SYM.
20351         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20352         "bp-asm.h".
20353         (PARMS): Do not use macros from bp-asm.h.
20354         (DEST): Likewise.
20355         (SRC): Likewise.
20356         (LEN): Likewise.
20357         (__mempcpy): Likewise.  Do not use BP_SYM.
20358         (mempcpy): Do not use BP_SYM in weak_alias.
20359         * sysdeps/i386/i686/memset.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         (LEN): Likewise.
20364         [!BZERO_P] (CHR): Likewise.
20365         (memset): Likewise.  Do not use BP_SYM.
20366         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20367         "bp-asm.h".
20368         (PARMS): Do not use macros from bp-asm.h.
20369         (STR2): Likewise.
20370         (strcmp): Do not use BP_SYM.
20371         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20372         "bp-asm.h".
20373         (PARMS): Do not use macros from bp-asm.h.
20374         (STR): Likewise.
20375         (DELIM): Likewise.
20376         [USE_AS_STRTOK_R] (SAVE): Likewise.
20377         (FUNCTION): Likewise.  Do not use BP_SYM.
20378         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20379         aliases.
20380         (strtok_r): Likewise.
20381         (__GI___strtok_r): Likewise.
20382         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20383         (PARMS): Do not use macros from bp-asm.h.
20384         (S): Likewise.
20385         (SIZE): Likewise.
20386         (__mpn_lshift): Do not use BP_SYM.
20387         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20388         (PARMS): Do not use macros from bp-asm.h.
20389         (STR): Likewise.
20390         (CHR): Likewise.
20391         (__memchr): Do not use BP_SYM.
20392         (memchr): Do not use BP_SYM in weak_alias.
20393         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "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/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20400         (PARMS): Do not use macros from bp-asm.h.
20401         (S1): Likewise.
20402         (SIZE): Likewise.
20403         (__mpn_mul_1): Do not use BP_SYM.
20404         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20405         "bp-asm.h".
20406         (PARMS): Do not use macros from bp-asm.h.
20407         (STR): Likewise.
20408         (CHR): Likewise.
20409         (__rawmemchr): Do not use BP_SYM.
20410         (rawmemchr): Do not use BP_SYM in weak_alias.
20411         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20412         (PARMS): Do not use macros from bp-asm.h.
20413         (S): Likewise.
20414         (SIZE): Likewise.
20415         (__mpn_rshift): Do not use BP_SYM.
20416         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20417         (PARMS): Do not use macros from bp-asm.h.
20418         (SIGMSK): Likewise.
20419         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20420         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20421         (_start): Do not use BP_SYM.
20422         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20423         (PARMS): Do not use macros from bp-asm.h.
20424         (DEST): Likewise.
20425         (SRC): Likewise.
20426         (__stpcpy): Likewise.  Do not use BP_SYM.
20427         (stpcpy): Do not use BP_SYM in weak_alias.
20428         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20429         "bp-asm.h".
20430         (PARMS): Do not use macros from bp-asm.h.
20431         (DEST): Likewise.
20432         (SRC): Likewise.
20433         (LEN): Likewise.
20434         (__stpncpy): Likewise.  Do not use BP_SYM.
20435         (stpncpy): Do not use BP_SYM in weak_alias.
20436         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20437         (PARMS): Do not use macros from bp-asm.h.
20438         (STR): Likewise.
20439         (CHR): Likewise.
20440         (strchr): Likewise.  Do not use BP_SYM.
20441         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20442         "bp-asm.h".
20443         (PARMS): Do not use macros from bp-asm.h.
20444         (STR): Likewise.
20445         (CHR): Likewise.
20446         (__strchrnul): Likewise.  Do not use BP_SYM.
20447         (strchrnul): Do not use BP_SYM in weak_alias.
20448         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20449         "bp-asm.h".
20450         (PARMS): Do not use macros from bp-asm.h.
20451         (STOP): Likewise.
20452         (strcspn): Do not use BP_SYM.
20453         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20454         "bp-asm.h".
20455         (PARMS): Do not use macros from bp-asm.h.
20456         (STR): Likewise.
20457         (STOP): Likewise.
20458         (strpbrk): Likewise.  Do not use BP_SYM.
20459         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20460         "bp-asm.h".
20461         (PARMS): Do not use macros from bp-asm.h.
20462         (STR): Likewise.
20463         (CHR): Likewise.
20464         (strrchr): Likewise.  Do not use BP_SYM.
20465         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20466         (PARMS): Do not use macros from bp-asm.h.
20467         (SKIP): Likewise.
20468         (strspn): Do not use BP_SYM.
20469         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20470         (PARMS): Do not use macros from bp-asm.h.
20471         (STR): Likewise.
20472         (DELIM): Likewise.
20473         (SAVE): Likewise.
20474         (FUNCTION): Likewise.  Do not use BP_SYM.
20475         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20476         aliases.
20477         (strtok_r): Likewise.
20478         (__GI___strtok_r): Likewise.
20479         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20480         (PARMS): Do not use macros from bp-asm.h.
20481         (S1): Likewise.
20482         (S2): Likewise.
20483         (SIZE): Likewise.
20484         (__mpn_sub_n): Do not use BP_SYM.
20485         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20486         "bp-asm.h".
20487         (PARMS): Do not use macros from bp-asm.h.
20488         (S1): Likewise.
20489         (SIZE): Likewise.
20490         (__mpn_submul_1): Do not use BP_SYM.
20491         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20492         <bp-sym.h>.
20493         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20494         and <bp-asm.h>.
20495         (PARMS): Do not use macros from bp-asm.h.
20496         (FLAGS): Likewise.
20497         (PTID): Likewise.
20498         (TLS): Likewise.
20499         (CTID): Likewise.
20500         (__clone): Do not use BP_SYM.
20501         (clone): Do not use BP_SYM in weak_alias.
20502         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20503         and <bp-asm.h>.
20504         (PARMS): Do not use macros from bp-asm.h.
20505         (LEN): Likewise.
20506         (__mmap64): Do not use BP_SYM.
20507         (mmap64): Do not use BP_SYM in weak_alias.
20508         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20509         <bp-sym.h> and <bp-asm.h>.
20510         (PARMS): Do not use macros from bp-asm.h.
20511         (__posix_fadvise64_l64): Do not use BP_SYM.
20512         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20513         (PARMS): Do not use macros from bp-asm.h.
20514         (NSOPS): Likewise.
20515         (semtimedop): Do not use BP_SYM.
20516         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20517         and <bp-asm.h>.
20519 2013-02-21  Allan McRae  <allan@archlinux.org>
20521         * manual/message.texi (Charset conversion in gettext):
20522         Move @end statement to beginning of line.
20524 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20527         static.
20528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20529         Likewise.
20531         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20532         (denorm): Likewise.
20533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20536 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20538         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20539         tail-call to the resolved function if pltexit isn't needed.
20541 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20544         or Y being zero as being unlikely.
20545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20546         Likewise.
20548 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20550         * manual/nss.texi (System Databases and Name Service Switch):
20551         Remove frobnicate @pxref.
20553 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20555         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20556         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20558 2013-02-20  Petr Machata  <pmachata@redhat.com>
20560         * elf/elf.h (R_ARM_TARGET1): New macro.
20561         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20562         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20563         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20564         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20565         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20566         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20567         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20568         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20569         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20570         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20571         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20572         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20573         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20574         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20575         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20576         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20577         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20578         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20579         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20580         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20581         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20582         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20583         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20584         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20585         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20586         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20587         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20588         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20589         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20590         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20591         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20592         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20593         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20594         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20595         (R_ARM_THM_GOT_BREL12): Likewise.
20596         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20597         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20598         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20599         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20600         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20601         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20602         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20603         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20604         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20606 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20608         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20609         __attribute_used__ to __attribute__ ((unused)).
20611 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20613         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20614         powerpc mpa.c.
20615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20616         comment formatting.
20617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20619 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20621         [BZ #13550]
20622         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20623         Remove macro.
20624         (ENTER): Remove both macro definitions.
20625         (LEAVE): Likewise.
20626         (CHECK_BOUNDS_LOW): Likewise.
20627         (CHECK_BOUNDS_HIGH): Likewise.
20628         (CHECK_BOUNDS_BOTH): Likewise.
20629         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20630         (RETURN_BOUNDED_POINTER): Likewise.
20631         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20632         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20633         (POP_ERRNO_LOCATION_RETURN): Likewise.
20634         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20635         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20636         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20637         macros.
20638         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20639         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20640         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20641         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20642         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20643         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20644         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20645         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20646         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20647         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20648         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20649         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20650         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20651         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20652         removed macros.
20653         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20654         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20655         macros.
20656         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20657         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20658         * sysdeps/i386/i586/memset.S (memset): Likewise.
20659         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20660         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20661         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20662         macros.
20663         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20664         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20665         Change uses of L(2) to L(out).
20666         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20667         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20668         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20669         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20670         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20671         removed macros.
20672         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20673         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20674         macros.
20675         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20676         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20677         (RETURN): Do not use macro LEAVE.
20678         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20679         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20680         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20681         * sysdeps/i386/i686/memset.S (memset): Likewise.
20682         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20683         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20684         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20685         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20686         Likewise.
20687         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20688         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20689         L(1_2) and L(1_3) into L(1).
20690         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20691         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20692         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20693         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20694         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20695         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20696         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20697         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20698         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20699         macros.
20700         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20701         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20702         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20703         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20704         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20705         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20706         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20707         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20708         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20709         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20710         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20711         * sysdeps/i386/strspn.S (strspn): Likewise.
20712         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20713         conditional code.
20714         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20715         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20716         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20717         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20718         L(1_3) into L(1_1).
20719         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20720         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20721         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20722         macros.
20723         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20725 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20727         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20728         macro.
20730 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20732         * math/atest-exp.c (exp_mpn): Remove ROUND.
20733         * math/atest-exp2.c (exp_mpn): Likewise.
20734         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20736         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20737         * stdlib/tst-tls-atexit-lib.c: Likewise.
20738         * stdlib/tst-tls-atexit.c: Likewise.
20740 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20742         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20743         and __attribute_alloc_size__.
20745 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20747         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20748         __attribute_alloc_size__.
20749         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20750         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20752 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20754         * include/programs/xmalloc.h: New file.
20755         * catgets/gencat.c: Include it.
20756         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20757         * elf/pldd.c: Likewise.
20758         * iconv/iconv_charmap.c: Likewise.
20759         * iconv/iconvconfig.c: Likewise.
20760         * iconv/strtab.c: Likewise.
20761         * locale/programs/locale.c: Likewise.
20762         * locale/programs/localedef.h: Likewise.
20763         * locale/programs/simple-hash.c: Likewise.
20764         * nscd/nscd.h: Likewise.
20765         * nss/makedb.c: Likewise.
20766         * sysdeps/generic/ldconfig.h: Likewise.
20768 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20770         * Versions.def: Add GLIBC_2.18.
20771         * include/link.h (struct link_map): New member l_tls_dtor_count.
20772         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20773         (__call_tls_dtors): Likewise.
20774         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20775         __cxa_thread_atexit_impl.
20776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20777         Likewise.
20778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20779         Likewise.
20780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20781         Likewise.
20782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20783         Likewise.
20784         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20786         Likewise.
20787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20788         Likewise.
20789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20791         Likewise.
20792         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20793         (tests): Add test case tst-tls-atexit.
20794         (modules-names): Add shared library for tst-tls-atexit.
20795         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20796         (GLIBC_PRIVATE): Add __call_tls_dtors.
20797         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20798         for libstdc++.
20799         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20800         * stdlib/tst-tls-atexit.c: New test case.
20801         * stdlib/tst-tls-atexit-lib.c: New test case.
20803         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20805         * elf/Versions (ld): Add _dl_find_dso_for_object.
20806         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20807         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20808         (dl_open_worker): Use _dl_find_dso_for_object.
20809         * elf/dl-sym.c (do_sym): Likewise.
20810         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20812 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20814         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20815         Syntactic changes only.
20816         (_dl_runtime_profile): Do a tail-call to the resolved function.
20818 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20820         [BZ #13550]
20821         * sysdeps/x86_64/bp-asm.h: Remove file.
20822         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20823         <bp-sym.h> and <bp-asm.h>.
20824         (__clone): Do not use BP_SYM.
20825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20826         <bp-sym.h> and <bp-asm.h>.
20827         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20828         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20829         "bp-asm.h".
20830         (_setjmp): Do not use BP_SYM.
20831         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20832         "bp-asm.h".
20833         (setjmp): Do not use BP_SYM.
20834         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20835         libc_hidden_def.
20836         (mempcpy): Do not use BP_SYM in weak_alias.
20837         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20838         "bp-asm.h".
20839         (strchr): Do not use BP_SYM.
20840         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20841         "bp-asm.h".
20842         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20843         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20844         (_start): Do not use BP_SYM.
20845         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20846         "bp-asm.h".
20847         (strcat): Do not use BP_SYM.
20848         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20849         "bp-asm.h".
20850         (STRCMP): Do not use BP_SYM.
20851         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20852         "bp-asm.h".
20853         (STRCPY): Do not use BP_SYM.
20854         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20855         "bp-asm.h".
20856         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20857         "bp-asm.h".
20858         (FUNCTION): Do not use BP_SYM.
20859         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20860         weak_alias.
20861         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20863 2013-02-17  Andreas Jaeger  <aj@suse.de>
20865         * time/Versions: Sort entries.
20866         * string/Versions: Likewise.
20867         * resolv/Versions: Likewise.
20868         * posix/Versions: Likewise.
20869         * iconv/Versions: Likewise.
20870         * elf/Versions: Likewise.
20871         * wcsmbs/Versions: Likewise.
20873 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20875         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20876         loop termination condition.
20878         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20879         variable to calculate EZ.
20880         (__sqr): Likewise.
20882         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20883         the lower precision input.
20885 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20887         [BZ #13550]
20888         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20889         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20890         (run-via-rtld-prefix): Do not handle %-bp tests.
20891         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20892         (all-object-suffixes): Remove .ob.
20893         (bppfx): Remove variable.
20894         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20895         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20896         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20897         [$(build-bounded) = yes] (libtype.ob): Likewise.
20898         * Makerules (elide-routines.ob): Remove variable.
20899         (do-tests-clean): Do not handle *-bp.out.
20900         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20901         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20902         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20903         (tests): Do not include $(tests-bp.out).
20904         (xtests): Do not include $(xtests-bp.out).
20905         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20906         [$(build-bounded) = yes] ($(addprefix
20907         $(objpfx),$(binaries-bounded))): Remove rule.
20908         ($(objpfx)%-bp.out): Remove rule.
20909         * config.make.in (build-bounded): Remove variable.
20910         * crypt/Makefile [$(build-bounded) = yes]
20911         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20912         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20913         append to variable.
20914         [$(build-bounded) = yes] (install-lib): Likewise.
20915         [$(build-bounded) = yes] (generated): Likewise.
20916         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20917         Remove rule.
20918         * intl/Makefile [$(build-bounded) = yes]
20919         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20920         * math/Makefile [$(build-bounded) = yes]
20921         ($(tests:%=$(objpfx)%-bp): Likewise.
20922         * misc/Makefile [$(build-bounded) = yes]
20923         ($(objpfx)tst-tsearch-bp): Likewise.
20924         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20925         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20926         Remove dependency.
20927         * string/Makefile (o-objects.ob): Remove variable.
20928         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20929         (CFLAGS-.ob): Remove variable.
20930         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20931         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20932         both definitions of variable.
20933         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20934         (ASFLAGS-.ob): Remove variable.
20936 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20938         [BZ #13550]
20939         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20940         Remove __BOUNDED_POINTERS__ from condition.
20941         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20942         * string/bits/string2.h [!__NO_STRING_INLINES &&
20943         !__BOUNDED_POINTERS__]: Likewise.
20944         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20945         Likewise.
20946         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20947         Remove conditional code.
20948         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20949         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20950         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20951         condition.
20953         [BZ #13550]
20954         * csu/libc-start.c: Do not include <bp-sym.h>.
20955         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20956         * elf/dl-open.c: Do not include <bp-sym.h>.
20957         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20958         * math/fegetenv.c: Do not include <bp-sym.h>.
20959         (fegetenv): Do not use BP_SYM in versioned symbols.
20960         * nptl/sysdeps/pthread/bits/libc-lockP.h
20961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20962         <bp-sym.h>.
20963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20964         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20966         (__pthread_mutex_destroy): Likewise.
20967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20968         (__pthread_mutex_lock): Likewise.
20969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20970         (__pthread_mutex_trylock): Likewise.
20971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20972         (__pthread_mutex_unlock): Likewise.
20973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20974         (__pthread_mutexattr_init): Likewise.
20975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20976         (__pthread_mutexattr_destroy): Likewise.
20977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20978         (__pthread_mutexattr_settype): Likewise.
20979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20980         (__pthread_rwlock_init): Likewise.
20981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20982         (__pthread_rwlock_destroy): Likewise.
20983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20984         (__pthread_rwlock_rdlock): Likewise.
20985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20986         (__pthread_rwlock_tryrdlock): Likewise.
20987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20988         (__pthread_rwlock_wrlock): Likewise.
20989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20990         (__pthread_rwlock_trywrlock): Likewise.
20991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20992         (__pthread_rwlock_unlock): Likewise.
20993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20994         (__pthread_key_create): Likewise.
20995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20996         (__pthread_setspecific): Likewise.
20997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20998         (__pthread_getspecific): Likewise.
20999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21000         Likewise.
21001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21002         (_pthread_cleanup_push_defer): Likewise.
21003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21004         (_pthread_cleanup_pop_restore): Likewise.
21005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21006         (pthread_setcancelstate): Likewise.
21007         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21008         <bp-sym.h>.
21009         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21010         (memchr): Do not use BP_SYM in weak_alias.
21011         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21012         (fegetenv): Do not use BP_SYM in versioned symbols.
21013         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21014         (fesetenv): Do not use BP_SYM in versioned symbols.
21015         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21016         (feupdateenv): Do not use BP_SYM in versioned symbols.
21017         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21018         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21019         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21020         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21021         (open64): Do not use BP_SYM in weak_alias.
21022         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21023         (fegetenv): Do not use BP_SYM in versioned symbols.
21024         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21025         (fesetenv): Do not use BP_SYM in versioned symbols.
21026         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21027         (feupdateenv): Do not use BP_SYM in versioned symbols.
21028         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21029         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21030         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21031         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21032         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21033         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21034         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21035         <bp-sym.h>.
21036         (__libc_start_main): Do not use BP_SYM.
21038 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21041         redundant return line.
21042         (norm): Likewise.
21043         (denorm): Likewise.
21044         (dbl_mp): Likewise.
21045         (sub_magnitudes): Likewise.
21046         (__add): Likewise.
21047         (__sub): Likewise.
21048         (__mul): Likewise.
21049         (__inv): Likewise.
21050         (__dvd): Likewise.
21051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21052         (norm): Likewise.
21053         (denorm): Likewise.
21054         (dbl_mp): Likewise.
21055         (sub_magnitudes): Likewise.
21056         (__add): Likewise.
21057         (__sub): Likewise.
21058         (__mul): Likewise.
21059         (__inv): Likewise.
21060         (__dvd): Likewise.
21062         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21063         instead of __mul.
21064         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21065         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21066         (cc32): Likewise.
21068         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21069         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21071         of __mul for squares.
21072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21073         function
21074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21075         Likewise.
21076         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21077         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21079 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21081         [BZ #13550]
21082         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21083         code.
21084         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21085         prototype or function definition.  Rename ubp_* variables and
21086         parameters.  Remove argv definitions conditional on
21087         [__BOUNDED_POINTERS__].
21088         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21089         * elf/dl-runtime.c (_dl_fixup): Likewise.
21090         * include/set-hooks.h (RUN_HOOK): Likewise.
21091         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21092         definition.
21093         * string/strcpy.c (strcpy): Do not use __unbounded.
21094         * sysdeps/generic/frame.h (struct layout): Likewise.
21095         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21096         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21097         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21098         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21099         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21100         (__backtrace): Likewise.
21101         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21102         use __ptrvalue.
21103         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21104         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21105         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21106         Likewise.
21107         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21108         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21109         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21110         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21111         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21112         Do not use __unbounded.
21113         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21114         Rename __unboundedrlimits parameter to rlimits in prototype.
21115         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21116         Do not use __unbounded.
21117         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21118         not use __ptrvalue.
21119         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21120         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21121         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21122         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21123         __ptrvalue or __unbounded.
21124         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21125         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21126         use __unbounded.
21127         (__new_msgctl): Do not use __ptrvalue.
21128         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21129         __unbounded.
21130         (__libc_msgrcv): Do not use __ptrvalue.
21131         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21132         startup_info): Do not use __unbounded.
21133         (__libc_start_main): Likewise.  Rename ubp_* variables and
21134         parameters.  Remove argv definitions conditional on
21135         [__BOUNDED_POINTERS__].
21136         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21137         __ptrvalue.
21138         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21139         use __unbounded.
21140         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21141         or __ptrvalue.
21142         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21143         use __unbounded.
21144         (__new_shmctl): Do not use __ptrvalue.
21145         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21146         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21147         Likewise.
21148         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21149         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21150         (__libc_sigaction): Likewise.
21151         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21152         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21153         Likewise.
21154         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21156 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21158         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21160         * string/mempcpy.c: Implement by calling memcpy.
21162 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21167         evaluation.
21169         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21170         values in the mantissa.
21172         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21173         minimize writes to Z.
21174         (sub_magnitudes): Simplify code a bit.
21176 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21178         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21179         from the message.  The linker prefixes all warnings with that already.
21181 2013-02-12  Andreas Schwab  <schwab@suse.de>
21183         [BZ #15078]
21184         * posix/regexec.c (extend_buffers): Add parameter min_len.
21185         (check_matching): Pass minimum needed length.
21186         (clean_state_log_if_needed): Likewise.
21187         (get_subexp): Likewise.
21188         * posix/Makefile (tests): Add bug-regex34.
21189         (bug-regex34-ENV): Define.
21190         * posix/bug-regex34.c: New file.
21192         [BZ #11561]
21193         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21194         elements compare against the byte sequence of it, not its name.
21195         * posix/Makefile (tests): Add bug-regex35.
21196         (bug-regex35-ENV): Define.
21197         * posix/bug-regex35.c: New file.
21199 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21201         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21202         comment.
21203         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21204         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21205         (CHECK_EOL): Add undef.
21207 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21209         * bits/stdlib-bsearch.h: New file.
21210         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21211         * stdlib/stdlib.h: Likewise.
21213 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21215         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21216         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21217         declaration.
21218         * manual/search.texi (Array Search Function): Add missing const in
21219         lfind prototype.
21220         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21221         declaration to use rlim_t.
21222         (Basic Scheduling Functions): Remove erroneous const from
21223         sched_getparam prototype.  Remove erroneous * from
21224         sched_get_priority_max and sched_get_priority_min prototypes.
21225         (Resource Usage): Fix summary @comment on vtimes to refer to
21226         sys/vtimes.h rather than vtimes.h.
21227         Add missing *s in vtimes prototype.
21228         (Limits on Resources): Fix ulimit prototype to return long int.
21229         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21230         prototypes to use long int rather than double.
21231         (BSD Random): Fix initstate and setstate to use char *, not void *.
21232         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21233         prototype to make second argument 'struct aiocb64 *const[]'.
21234         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21235         (Status of AIO Operations): Remove erroneous const in aio_return and
21236         aio_return64 prototypes.
21237         (Synchronizing I/O): Fix sync prototype to return void.
21238         * manual/startup.texi (Suboptions): Remove an erroneous const in
21239         getsubopt prototype.
21240         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21241         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21242         use size_t rather than int.
21243         (Scanning All Users): Likewise for getpwent_r.
21244         (Setting Groups): Add missing const to setgroups prototype.
21245         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21246         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21247         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21248         'const void *' rather than 'const char *'.
21249         (Host Address Functions): Likewise for inet_ntop.
21250         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21251         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21252         ssize_t for return value.
21253         (Sending Data): Likewise for send, sendto, sendmsg.
21254         (Socket Option Functions): Add a missing const in setsockopt prototype.
21255         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21256         use wchar_t for the argument.
21257         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21258         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21259         take no arguments.
21260         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21261         double/float/long double for second argument.
21262         Fix return types of significand, significandf, significandl.
21263         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21264         argument in fchmod prototype.
21265         (File Owner): Use uid_t and gid_t in fchown prototype.
21266         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21267         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21268         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21269         use 'const struct dirent **' as argument types to CMP function pointer
21270         argument.
21271         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21272         (File Times): Fix summary magic @comment for struct utimbuf and utime
21273         to refer to utime.h, not time.h.
21274         * manual/string.texi (Argz Functions): Add missing const in
21275         argz_extract and argz_next prototypes.
21276         (Finding Tokens in a String): Likewise for basename.
21277         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21278         (Copying and Concatenation): Fix typo in wmemmove prototype.
21279         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21280         (Signal Stack): Remove erroneous const in sigstack prototype.
21281         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21282         prototype.
21283         (Simple Calendar Time): Likewise for stime.
21284         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21285         prototype.
21286         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21287         say sys/sysctl.h instead.
21288         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21289         and vsyslog prototypes.
21291 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21293         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21294         Remove.
21296 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21298         * misc/sys/mman.h: Fix typo in mremap comment.
21300 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21302         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21303         the '\0' terminator.
21305 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21307         [BZ #13550]
21308         * debug/segfault.c: Don't include <bp-checks.h>.
21309         * sysdeps/generic/bp-checks.h: Remove file.
21310         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21311         (__GETDENTS): Don't use CHECK_N.
21312         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21313         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21314         (__getgroups): Don't use CHECK_N.
21315         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21316         (setgroups): Don't use CHECK_N.
21317         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21318         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21319         (__libc_msgrcv): Don't use CHECK_N.
21320         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21321         (__libc_msgsnd): Don't use CHECK_N.
21322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21323         <bp-checks.h>.
21324         (__libc_pread): Don't use CHECK_N.
21325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21326         include <bp-checks.h>.
21327         (__libc_pread64): Don't use CHECK_N.
21328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21329         include <bp-checks.h>.
21330         (__libc_pwrite): Don't use CHECK_N.
21331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21332         include <bp-checks.h>.
21333         (__libc_pwrite64): Don't use CHECK_N.
21334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21335         <bp-checks.h>.
21336         (__libc_pread): Don't use CHECK_N.
21337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21338         include <bp-checks.h>.
21339         (__libc_pread64): Don't use CHECK_N.
21340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21341         include <bp-checks.h>.
21342         (__libc_pwrite): Don't use CHECK_N.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21344         include <bp-checks.h>.
21345         (__libc_pwrite64): Don't use CHECK_N.
21346         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21347         (do_pread): Don't use CHECK_N.
21348         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21349         (do_pread64): Don't use CHECK_N.
21350         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21351         (do_pwrite): Don't use CHECK_N.
21352         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21353         (do_pwrite64): Don't use CHECK_N.
21354         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21355         (__libc_readv): Don't use CHECK_N.
21356         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21357         (semop): Don't use CHECK_N.
21358         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21359         <bp-checks.h>.
21360         (semtimedop): Don't use CHECK_N.
21361         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21362         (__libc_pread): Don't use CHECK_N.
21363         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21364         <bp-checks.h>.
21365         (__libc_pread64): Don't use CHECK_N.
21366         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21367         <bp-checks.h>.
21368         (__libc_pwrite): Don't use CHECK_N.
21369         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21370         <bp-checks.h>.
21371         (__libc_pwrite64): Don't use CHECK_N.
21372         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21373         <bp-checks.h>.
21374         (__libc_msgrcv): Don't use CHECK_N.
21375         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21376         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21377         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21378         (__libc_writev): Don't use CHECK_N.
21380 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21382         * string/strcpy.c: Removed unused variable.
21384         * Makeconfig (+sysdep-includes): Define with := rather than =.
21385         Use an existing include/ subdir of each sysdeps dir before it.
21387 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21389         * nscd/connection.c (register_traced_file): Comment function.
21390         [HAVE_INOTIFY] (union __inev): Define.
21391         [HAVE_INOTIFY] (inotify_check_files): New function.
21392         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21393         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21394         clear_db_cache.
21395         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21397 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21399         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21400         loaded if not already and that a failure is permanent.
21402 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21404         [BZ #15006]
21405         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21406         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21408 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21410         [BZ #13550]
21411         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21412         (CHECK_1_NULL_OK): Likewise.
21413         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21414         (__fxstat): Do not use CHECK_1.
21415         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21416         <bp-checks.h>.
21417         (___fxstat64): Do not use CHECK_1.
21418         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21419         <bp-checks.h>.
21420         (__fxstatat): Do not use CHECK_1.
21421         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21422         <bp-checks.h>.
21423         (__fxstatat64): Do not use CHECK_1.
21424         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21425         <bp-checks.h>.
21426         (__fxstat): Do not use CHECK_1.
21427         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21428         <bp-checks.h>.
21429         (__fxstatat): Do not use CHECK_1.
21430         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21431         <bp-checks.h>.
21432         (__getresgid): Do not use CHECK_1.
21433         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21434         <bp-checks.h>.
21435         (__getresuid): Do not use CHECK_1.
21436         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21437         <bp-checks.h>.
21438         (__lxstat): Do not use CHECK_1.
21439         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21440         <bp-checks.h>.
21441         (__old_msgctl): Do not use CHECK_1.
21442         (__new_msgctl): Likewise.
21443         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21444         <bp-checks.h>.
21445         (__new_setrlimit): Do not use CHECK_1.
21446         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21447         <bp-checks.h>.
21448         (__old_shmctl): Do not use CHECK_1.
21449         (__new_shmctl): Likewise.
21450         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21451         <bp-checks.h>.
21452         (__xstat): Do not use CHECK_1.
21453         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21454         (__lxstat): Do not use CHECK_1.
21455         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21456         <bp-checks.h>.
21457         (___lxstat64): Do not use CHECK_1.
21458         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21459         (__old_msgctl): Do not use CHECK_1.
21460         (__new_msgctl): Likewise.
21461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21462         <bp-checks.h>.
21463         (__gettimeofday): Do not use CHECK_1.
21464         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21465         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21466         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21467         <bp-checks.h>.
21468         (__gettimeofday): Do not use CHECK_1.
21469         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21470         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21471         (__new_shmctl): Do not use CHECK_1.
21472         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21473         <bp-checks.h>.
21474         (do_sigtimedwait): Do not use CHECK_1.
21475         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21476         <bp-checks.h>.
21477         (do_sigwaitinfo): Do not use CHECK_1.
21478         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21479         <bp-checks.h>.
21480         (msgctl): Do not use CHECK_1.
21481         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21482         <bp-checks.h>.
21483         (shmctl): Do not use CHECK_1.
21484         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21485         (ustat): Do not use CHECK_1.
21486         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21487         <bp-checks.h>.
21488         (__fxstat): Do not use CHECK_1.
21489         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21490         <bp-checks.h>.
21491         (__fxstatat): Do not use CHECK_1.
21492         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21493         <bp-checks.h>.
21494         (__lxstat): Do not use CHECK_1.
21495         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21496         <bp-checks.h>.
21497         (__xstat): Do not use CHECK_1.
21498         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21499         (__xstat): Do not use CHECK_1.
21500         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21501         (___xstat64): Do not use CHECK_1.
21503         [BZ #13550]
21504         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21505         definitions.
21506         (CHECK_BOUNDS_HIGH): Likewise.
21507         * string/strcpy.c: Do not include <bp-checks.h>.
21508         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21510 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21512         * nscd/nscd-client.h (__nscd_drop_map_ref):
21513         Add __attribute__ ((unused)).
21514         * nis/nss-nisplus.h (niserr2nss): Likewise.
21516         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21517         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21519         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21520         Remove inline keyword.
21521         * include/rounding-mode.h (round_away): Likewise.
21522         * libio/wfileops.c (adjust_wide_data): Likewise.
21523         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21524         (__m128i_strloadu_tolower): Likewise.
21525         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21526         (__m128i_strloadu_tolower): Likewise.
21527         * time/mktime.c (ydhms_diff): Likewise.
21528         * locale/elem-hash.h (elem_hash): Likewise.
21529         * locale/setlocale.c (setdata): Likewise.
21530         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21531         (re_string_wchar_at): Likewise.
21532         (bitset_not, bitset_merge, bitset_mask): Likewise.
21533         [!(__GNUC__ > 3)] (inline): Remove macro.
21534         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21535         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21536         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21537         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21538         * string/memcmp.c (memcmp_bytes): Likewise.
21539         * locale/programs/locarchive.c (compute_hashval): Likewise.
21540         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21541         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21542         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21543         * nss/getent.c (print_rpc, print_protocols): Likewise.
21544         (print_passwd, print_group, print_aliases): Likewise.
21545         * nis/nss-nisplus.h (niserr2nss): Likewise.
21546         * nscd/connections.c (restart_p): Likewise.
21547         Change return type to bool.
21549 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21551         * Makeconfig (all-Depend-files): Add existing
21552         $(sorted-subdirs:=/Depend) files.
21553         (all-subdirs): Remove nss.
21554         * sysdeps/unix/inet/Subdirs: Add it here instead.
21555         * hesiod/Depend: New file.
21557         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21558         instead of calling alloca.
21560         * io/lseek.c (__lseek): Rename to __libc_lseek.
21561         Define __lseek as an alias.
21563         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21565 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21567         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21568         else clause and remove check for non-standard endianness.
21570 2013-02-04  David S. Miller  <davem@davemloft.net>
21572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21574 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21576         [BZ #13550]
21577         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21578         (__ubp_memchr): Remove prototype.
21579         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21580         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21581         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21582         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21583         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21584         Remove alias.
21585         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21586         (__ubp_memchr): Likewise.
21587         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21588         (__ubp_memchr): Likewise.
21589         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21590         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21591         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21592         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21593         CHECK_STRING.
21594         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21595         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21596         (__getcwd): Do not use CHECK_STRING.
21597         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21598         <bp-checks.h>.
21599         (__real_chown): Do not use CHECK_STRING.
21600         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21601         <bp-checks.h>.
21602         (fchownat): Do not use CHECK_STRING.
21603         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21604         CHECK_STRING.
21605         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21606         <bp-checks.h>.
21607         (__lchown): Do not use CHECK_STRING.
21608         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21609         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21610         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21611         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21613         include <bp-checks.h>.
21614         (truncate64): Do not use CHECK_STRING.
21615         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21616         <bp-checks.h>.
21617         (__real_chown): Do not use CHECK_STRING.
21618         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21619         <bp-checks.h>.
21620         (__lchown): Do not use CHECK_STRING.
21621         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21622         <bp-checks.h>.
21623         (__chown): Do not use CHECK_STRING.
21624         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21625         <bp-checks.h>.
21626         (truncate64): Do not use CHECK_STRING.
21627         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21628         Likewise.
21629         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21630         (__xmknod): Do not use CHECK_STRING.
21631         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21632         <bp-checks.h>.
21633         (__xmknodat): Do not use CHECK_STRING.
21634         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21635         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21637 2013-02-04  Andreas Schwab  <schwab@suse.de>
21639         [BZ #14142]
21640         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21641         * include/netdb.h: Likewise for h_errno.
21642         * elf/tst-stackguard1.c: Include <tls.h>.
21644 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21646         * elf/link.h (struct link_map): Extend the l_addr comment.
21647         * include/link.h (struct link_map): Likewise.
21649 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21651         [BZ #13550]
21652         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21653         (BOUNDED_1): Remove macro.
21654         * debug/backtrace.c: Don't include <bp-checks.h>.
21655         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21656         (__backtrace): Likewise.
21657         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21658         <bp-checks.h>.
21659         (__backtrace): Don't use BOUNDED_1.
21660         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21661         <bp-checks.h>.
21662         (__backtrace): Don't use BOUNDED_1.
21663         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21664         (__backtrace): Don't use BOUNDED_1.
21665         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21666         (shmat): Don't use BOUNDED_N.
21668 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21670         [BZ #13550]
21671         * sysdeps/generic/bp-start.h: Remove file.
21672         * csu/libc-start.c: Don't include <bp-start.h>.
21673         (LIBC_START_MAIN): Set up __environ directly instead of using
21674         INIT_ARGV_and_ENVIRON.
21675         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21676         <bp-start.h>.
21678         [BZ #13550]
21679         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21680         definitions.
21681         (CHECK_FCNTL): Likewise.
21682         (CHECK_N_PAGES): Likewise.
21684         [BZ #13550]
21685         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21686         definitions.
21687         (CHECK_SIGSET_NULL_OK): Likewise.
21688         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21689         <bp-checks.h>.
21690         (sigpending): Don't use CHECK_SIGSET.
21691         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21692         <bp-checks.h>.
21693         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21694         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21695         <bp-checks.h>.
21696         (do_sigsuspend): Don't use CHECK_SIGSET.
21697         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21698         use CHECK_SIGSET.
21699         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21700         (do_sigwait): Don't use CHECK_SIGSET.
21701         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21702         use CHECK_SIGSET.
21703         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21704         include <bp-checks.h>.
21705         (sigpending): Don't use CHECK_SIGSET.
21706         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21707         include <bp-checks.h>.
21708         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21709         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21710         <bp-checks.h>.
21711         (sigpending): Don't use CHECK_SIGSET.
21712         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21713         <bp-checks.h>.
21714         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21716         [BZ #13550]
21717         * sysdeps/generic/bp-semctl.h: Remove file.
21718         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21719         <bp-checks.h> and <bp-semctl.h>.
21720         (__old_semctl): Don't use CHECK_SEMCTL.
21721         (__new_semctl): Likewise.
21722         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21723         and <bp-semctl.h>.
21724         (__old_semctl): Don't use CHECK_SEMCTL.
21725         (__new_semctl): Likewise.
21726         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21727         <bp-checks.h> and <bp-semctl.h>.
21728         (__old_semctl): Don't use CHECK_SEMCTL.
21729         (__new_semctl): Likewise.
21730         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21731         <bp-checks.h> and <bp-semctl.h>.
21732         (semctl): Don't use CHECK_SEMCTL.
21734         [BZ #13550]
21735         * Makerules (elide-bp-thunks): Remove variable.
21736         (elide-routines.oS): Don't use $(elide-bp-thunks).
21737         (elide-routines.os): Likewise.
21738         (elide-routines.o): Likewise.
21739         (elide-routines.op): Likewise.
21740         (elide-routines.og): Likewise.
21741         (objects): Don't use $(bp-thunks).
21742         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21743         include.
21744         (common-generated): Do not add s-proto-bp.d.
21745         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21746         (int): Likewise.
21747         (typ): Likewise.
21748         Do not generate makefile rules for bounded-pointer thunks.
21749         * sysdeps/generic/bp-thunks.h: Remove file.
21750         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21751         * sysdeps/unix/s-proto-bp.S: Likewise.
21753         [BZ #15062]
21754         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21755         parts of result separately when argument is not close to line from
21756         -i to i and one part of argument is small.
21757         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21758         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21759         * math/libm-test.inc (cacos_test): Add more tests.
21760         (casin_test): Likewise.
21761         (casinh_test): Likewise.
21762         * sysdeps/i386/fpu/libm-test-ulps: Update.
21763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21765 2013-01-31  David S. Miller  <davem@davemloft.net>
21767         * po/de.po: Update from translation team.
21769 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21771         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21773 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21775         * configure.in (_AC_PROG_CC_C89): New definition.
21776         * configure: Regenerate.
21778         * configure.in (AC_PROG_CPP): New definition.
21779         * configure: Regenerate.
21781 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21783         * debug/tst-backtrace.h: New file.
21784         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21785         (ret): Remove variable.
21786         (x): Likewise.
21787         (FAIL): Remove macro.
21788         (NO_INLINE): Likewise.
21789         (fn1): Use match function instead of strstr.
21790         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21791         (ret): Remove variable.
21792         (x): Likewise.
21793         (FAIL): Remove macro.
21794         (NO_INLINE): Likewise.
21795         (fn): Use match function instead of strstr.
21796         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21797         (ret): Remove variable.
21798         (x): Likewise.
21799         (FAIL): Remove macro.
21800         (NO_INLINE): Likewise.
21801         (handle_signal): Use match function instead of strstr.
21802         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21803         (ret): Remove variable.
21804         (x): Likewise.
21805         (FAIL): Remove macro.
21806         (NO_INLINE): Likewise.
21807         (handle_signal): Use match function instead of strstr.
21809 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21811         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21813 2013-01-23  David S. Miller  <davem@davemloft.net>
21815         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21816         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21817         argument of CAS if possible.
21818         * sysdeps/sparc/sparc64/bits/atomic.h
21819         (__arch_compare_and_exchange_val_32_acq): Likewise.
21820         (__arch_compare_and_exchange_val_64_acq): Likewise.
21822 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21824         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21825         * sysdeps/posix/ulimit.c: ... this.
21826         Include <limits.h>.
21827         * sysdeps/unix/bsd/ulimit.c: Remove file.
21829 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21831         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21832         (LDFLAGS-tst-array5): Likewise.
21834 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21836         [BZ #15036]
21837         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21838         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21839         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21840         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21842 2013-01-21  David S. Miller  <davem@davemloft.net>
21844         * sysdeps/sparc/backtrace.c: New file.
21845         * sysdeps/sparc/sparc32/backtrace.h: New file.
21846         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21847         * sysdeps/sparc/sparc64/backtrace.h: New file.
21848         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21849         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21850         -funwind-tables.
21852 2013-01-21  Andreas Schwab  <schwab@suse.de>
21854         [BZ #15020]
21855         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21856         closed its stdout.
21858 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21861         "mpa2.h".
21862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21864 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21865             Mark Mitchell  <mark@codesourcery.com>
21866             Tom de Vries  <tom@codesourcery.com>
21867             Paul Pluzhnikov  <ppluzhnikov@google.com>
21869         * debug/tst-backtrace2.c: New file.
21870         * debug/tst-backtrace3.c: Likewise.
21871         * debug/tst-backtrace4.c: Likewise.
21872         * debug/tst-backtrace5.c: Likewise.
21873         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21874         (CFLAGS-tst-backtrace3.c): Likewise.
21875         (CFLAGS-tst-backtrace4.c): Likewise.
21876         (CFLAGS-tst-backtrace5.c): Likewise.
21877         (LDFLAGS-tst-backtrace2): Likewise.
21878         (LDFLAGS-tst-backtrace3): Likewise.
21879         (LDFLAGS-tst-backtrace4): Likewise.
21880         (LDFLAGS-tst-backtrace5): Likewise.
21881         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21882         tst-backtrace4 and tst-backtrace5.
21884 2013-01-18  Anton Blanchard  <anton@samba.org>
21885             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21887         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21888         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21889         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21890         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21892         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21893         "+r" and remove output regs list as redundant.  Add explicit inline
21894         asm to specify register of return val to work around compiler codegen
21895         bug.  Remove (int) cast on return value.  Add return type parameter to
21896         use in macro so that this macro does not truncate return value for
21897         64-bit values.
21898         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21899         pass to INTERNAL_VSYSCALL_NCS.
21900         (INLINE_VSYSCALL): Add 'long int' as return type to
21901         INTERNAL_VSYSCALL_NCS macro invocation.
21902         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21903         INTERNAL_VSYSCALL_NCS macro invocation.
21904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21906 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21908         [BZ #14496]
21909         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21910         Fix application of SIMD FP exception mask.
21912         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21913         mp_no from a power of two.
21914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21915         __mpexp_twomm1.  Use __pow_mp.
21917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21918         multiplication.
21920 2013-01-17  David S. Miller  <davem@davemloft.net>
21922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21924 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21926         [BZ #15023]
21927         * include/complex.h: Condition contents on [!_COMPLEX_H].
21928         (__kernel_casinhf): New prototype.
21929         (__kernel_casinh): Likewise.
21930         (__kernel_casinhl): Likewise.
21931         * math/Makefile (libm_calls): Add k_casinh.
21932         * math/k_casinh.c: New file.
21933         * math/k_casinhf.c: Likewise.
21934         * math/k_casinhl.c: Likewise.
21935         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21936         finite nonzero arguments.
21937         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21938         finite nonzero arguments.
21939         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21940         finite nonzero arguments.
21941         * math/s_casinh.c: Do not include <float.h>.
21942         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21943         * math/s_casinhf.c: Do not include <float.h>.
21944         (__casinhf): Move code for finite nonzero arguments to
21945         k_casinhf.c.
21946         * math/s_casinhl.c: Do not include <float.h>.
21947         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21948         redefine.
21949         (__casinhl): Move code for finite nonzero arguments to
21950         k_casinhl.c.
21951         * math/libm-test.inc (cacos_test): Add more tests.
21952         * sysdeps/i386/fpu/libm-test-ulps: Update.
21953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21957         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21958         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21959         [!HAVE_MREMAP]: Remove [defined linux] case.
21960         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21962 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21964         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21966 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21968         * elf/elf.h (R_386_SIZE32): New relocation.
21969         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21970         R_386_SIZE32.
21971         (elf_machine_rela): Likewise.
21972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21973         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21975 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21977         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21978         (FP_FAST_FMA): Do not define.
21979         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21980         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21981         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21982         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21983         !_SOFT_FLOAT]: Likewise.
21984         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21985         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21986         value.
21987         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21988         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21989         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21990         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21991         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21992         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21993         file.
21995 2013-01-16  Andreas Schwab  <schwab@suse.de>
21997         [BZ #14327]
21998         * include/stdlib.h (__mktemp): Add declaration.
21999         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22000         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22002 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22004         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22005         definitions.
22006         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22007         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22008         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22009         definitions here.
22010         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22011         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22012         definitions.
22013         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22014         and ONE.
22015         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22016         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22017         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22018         definitions.
22019         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22020         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22021         definitions.
22022         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22024         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22026 2013-01-15  David S. Miller  <davem@davemloft.net>
22028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22029         trunc{,f} to libm-sysdep_routes.
22030         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22032         file.
22033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22035         file.
22036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22037         file.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22040         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22041         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22042         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22043         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22044         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22045         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22048         nearbyint{,f} to libm-sysdep_routes.
22049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22051         New file.
22052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22053         file.
22054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22055         New file.
22056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22057         file.
22058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22060         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22061         file.
22062         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22063         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22064         file.
22065         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22066         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22067         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22069         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22070         libc_feholdexcept and libc_fesetenv.
22072 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22074         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22076 2013-01-14  David S. Miller  <davem@davemloft.net>
22078         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22079         (SPARC_ASM_VIS2_IFUNC): Likewise.
22080         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22082         use of 'siam' instruction.
22083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22084         Likewise.
22085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22086         Likewise.
22087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22088         Likewise.
22089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22094         file.
22095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22096         file.
22097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22098         file.
22099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22100         file.
22101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22106         new VIS2 routines.
22107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22110         Likewise.
22111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22116         routines to libm-sysdep_routines.
22117         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22120         fdim/fdimf to libm-sysdep_routines.
22121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22122         file.
22123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22125         file.
22126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22129         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22130         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22131         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22132         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22134 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22136         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22137         to optimize copies.
22139         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22144         local variable MPTWO.
22145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22146         Likewise.
22148 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22150         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22151         GLOB_NOESCAPE.
22153 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22155         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22157 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22159         * manual/pattern.texi (glob_t): Document gl_flags.
22160         (glob64_t): Likewise.
22162 2013-01-11  David S. Miller  <davem@davemloft.net>
22164         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22165         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22166         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22167         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22168         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22169         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22170         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22171         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22172         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22173         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22174         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22175         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22176         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22178         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22179         sparc V9 rather than using V8 code.
22180         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22181         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22183         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22184         Move to...
22185         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22186         Here.
22188 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22190         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22191         not in the main loop.
22192         * configure: Regenerated.
22194 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22196         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22197         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22198         to just #else.
22199         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22200         [!__GLIBC_HAVE_LONG_LONG] case.
22201         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22202         condition to just #else.
22203         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22204         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22205         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22206         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22207         unconditional.
22208         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22209         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22210         #elif condition to just #else.
22211         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22212         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22213         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22214         #elif condition to just #else.
22216 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22218         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22219         (EF_MIPS_ARCH_64): Fix value.
22220         (EF_MIPS_ARCH_32R2): New.
22221         (EF_MIPS_ARCH_64R2): New.
22223 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22225         * Makeconfig (+link-pie-before-libc): New.
22226         (+link-pie-after-libc): Likewise.
22227         (+link-pie-tests): Likewise.
22228         (+link-pie): Rewritten.
22229         (link-before-libc): Remove $(config-LDFLAGS).
22230         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22231         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22232         (config-LDFLAGS): Renamed to ...
22233         (rtld-LDFLAGS): This.
22234         (rtld-tests-LDFLAGS): New macro.
22235         (link-libc-rpath-link): Likewise.
22236         (link-libc-tests-rpath-link): Likewise.
22237         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22238         (link-libc): Prepand $(link-libc-rpath-link).
22239         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22240         (test-program-prefix): New macro.
22241         (test-via-rtld-prefix): Likewise.
22242         (test-program-cmd): Likewise.
22243         (host-test-program-cmd): Likewise.
22244         * Makefile ($(common-objpfx)testrun.sh): Replace
22245         $(run-program-prefix) with $(test-program-prefix).
22246         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22247         $(rtld-LDFLAGS).
22248         ($(common-objpfx)shlib.lds): Likewise.
22249         (build-module-helper): Likewise.
22250         ($(common-objpfx)format.lds): Likewise.
22251         * Rules (binaries-pie-tests): New.
22252         (binaries-pie-notests): Likewise.
22253         (binaries-pie): Rewritten.
22254         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22255         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22256         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22257         (make-test-out): Replace $(host-built-program-cmd) with
22258         $(host-test-program-cmd).
22259         * config.make.in (build-hardcoded-path-in-tests): New variable.
22260         * configure.in (--enable-hardcoded-path-in-tests): New configure
22261         option.
22262         (hardcoded_path_in_tests): New AC_SUBST.
22263         * configure: Regenerated.
22264         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22265         $(built-program-cmd) with $(test-program-cmd).
22266         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22267         (test_program_cmd): This.
22268         * elf/Makefile ($(objpfx)order.out): Run test with
22269         $(test-program-prefix).
22270         ($(objpfx)order2.out): Likewise.
22271         ($(objpfx)tst-initorder.out): Likewise.
22272         ($(objpfx)tst-initorder2.out): Likewise.
22273         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22274         $(test-program-cmd).
22275         ($(objpfx)tst-array1-static.out): Likewise.
22276         ($(objpfx)tst-array2.out): Likewise.
22277         ($(objpfx)tst-array3.out): Likewise.
22278         ($(objpfx)tst-array4.out): Likewise.
22279         ($(objpfx)tst-array5.out): Likewise.
22280         ($(objpfx)tst-array5-static.out): Likewise.
22281         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22282         $(test-program-cmd).
22283         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22284         $(run-program-prefix) with $(test-program-prefix).
22285         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22286         (test_program_prefix): This.
22287         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22288         $(run-program-prefix) with $(test-program-prefix).
22289         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22290         (test_program_prefix): This.
22291         * iconvdata/tst-tables.sh: Likewise.
22292         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22293         $(run-program-prefix) with $(test-program-prefix).
22294         ($(objpfx)tst-translit.out): Likewise.
22295         ($(objpfx)tst-gettext2.out): Likewise.
22296         ($(objpfx)tst-gettext4.out): Likewise.
22297         ($(objpfx)tst-gettext6.out): Likewise.
22298         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22299         (test_program_prefix): This.
22300         * intl/tst-gettext2.sh: Likewise.
22301         * intl/tst-gettext4.sh  Likewise.
22302         * intl/tst-gettext6.sh: Likewise.
22303         * intl/tst-translit.sh: Likewise.
22304         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22305         with $(test-program-cmd).
22306         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22307         $(run-program-prefix) with $(test-program-prefix).
22308         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22309         (test_program_prefix): This.
22310         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22311         $(run-program-prefix) with $(test-program-prefix).
22312         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22313         (test_program_prefix): This.
22314         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22315         * posix/Makefile ($(objpfx)globtest.out): Replace
22316         $(run-via-rtld-prefix) and $(test-wrapper) with
22317         $(test-program-prefix) and $(test-via-rtld-prefix).
22318         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22319         $(test-program-prefix).
22320         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22321         $(host-test-program-cmd).
22322         (tst-spawn-ARGS): Likewise.
22323         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22324         $(test-program-prefix).
22325         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22326         (test_via_rtld_prefix): This.
22327         (test_wrapper): Renamed to ...
22328         (test_program_prefix): This.
22329         (run_program_prefix): Replaced by test_program_prefix.
22330         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22331         (test_program_prefix): This.
22332         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22333         with $(host-test-program-cmd).
22334         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22335         $(run-program-prefix) with $(test-program-prefix).
22336         ($(objpfx)tst-printf.out): Likewise.
22337         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22338         $(test-program-cmd).
22339         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22340         (test_program_prefix): This.
22341         * stdio-common/tst-unbputc.sh: Likewise.
22342         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22343         $(run-program-prefix) with $(test-program-prefix).
22344         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22345         (test_program_prefix): This.
22346         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22347         $(built-program-cmd) with $(test-program-cmd).
22349 2013-01-11  Andreas Jaeger  <aj@suse.de>
22351         [BZ #15003]
22352         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22353         value. Sync with Linux 3.7.
22355 2013-01-10  David S. Miller  <davem@davemloft.net>
22357         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22358         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22359         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22361 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22363         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22364         never set.
22365         * configure: Regenerated.
22367 2013-01-10  David S. Miller  <davem@davemloft.net>
22369         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22370         sparc V9 rather than using V8 code.
22371         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22372         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22374 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22376         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22377         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22378         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22379         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22380         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22381         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22382         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22383         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22384         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22385         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22386         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22387         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22388         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22389         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22390         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22391         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22392         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22393         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22394         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22395         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22396         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22397         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22398         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22399         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22400         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22401         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22402         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22404 2013-01-10  David S. Miller  <davem@davemloft.net>
22406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22408 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22410         * posix/Makefile (tests-static): New variable.
22411         (tests): Add $(tests-static).
22412         (tst-exec-static-ARGS): New variable.
22413         (tst-spawn-static-ARGS): Likewise.
22414         * posix/tst-exec-static.c: New file.
22415         * posix/tst-spawn-static.c: Likewise.
22416         * posix/tst-exec.c: Support run directly.
22417         * posix/tst-spawn.c: Likewise.
22419 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22421         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22422         long.
22423         * math/bits/mathcalls.h (llrint): Likewise.
22424         (llround): Likewise.
22425         * stdlib/stdlib.h (struct drand48_data): Likewise.
22426         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22427         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22428         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22429         Likewise.
22430         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22431         Likewise.
22432         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22433         (elf_greg_t): Likewise.
22434         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22435         (__jmp_buf): Likewise.
22436         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22437         definitions.
22438         (llrint): Likewise, for all definitions.
22439         (llrintl): Likewise.
22441         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22442         Remove [__GNUC__] condition.
22443         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22444         condition to just [__USE_ISOC99].
22445         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22447 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22449         [BZ #14200]
22450         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22451         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22452         defined.
22453         (_POSIX_V6_ILP32_OFF32): Likewise.
22454         (_XBS5_ILP32_OFF32): Likewise.
22455         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22456         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22458 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22460         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22463         doubles __mpexp_twomm1.  Adjust usage.
22464         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22465         Remove.
22467 2013-01-10  Andreas Schwab  <schwab@suse.de>
22469         [BZ #14964]
22470         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22471         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22473 2013-01-09  David S. Miller  <davem@davemloft.net>
22475         [BZ #15003]
22476         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22477         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22478         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22479         (TCP_FASTOPEN): Define.
22480         (tcp_repair_opt): New structure.
22481         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22482         enum values.
22483         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22484         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22485         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22486         (tcp_cookie_transactions): New structure.
22488 2013-01-09  Anton Blanchard  <anton@samba.org>
22490         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22491         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22493         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22495 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22497         * include/features.h (__USE_ANSI): Remove.
22499 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22501         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22503         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22505 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22507         * sysdeps/s390/fpu/libm-test-ulps: Update.
22509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22511         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22512         (__acr): Likewise.
22513         (__cpy): Likewise.
22514         (norm): Likewise.
22515         (denorm): Likewise.
22516         (__mp_dbl): Likewise.
22517         (__dbl_mp): Likewise.
22518         (add_magnitudes): Likewise.
22519         (sub_magnitudes): Likewise.
22520         (__add): Likewise.
22521         (__sub): Likewise.
22522         (__mul): Likewise.
22523         (__inv): Likewise.
22524         (__dvd): Likewise.
22525         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22526         (__acr): Likewise.
22527         (__cpy): Likewise.
22528         (norm): Likewise.
22529         (denorm): Likewise.
22530         (__mp_dbl): Likewise.
22531         (__dbl_mp): Likewise.
22532         (add_magnitudes): Likewise.
22533         (sub_magnitudes): Likewise.
22534         (__add): Likewise.
22535         (__sub): Likewise.
22536         (__mul): Likewise.
22537         (__inv): Likewise.
22538         (__dvd): Likewise.
22539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22540         (__acr): Likewise.
22541         (__cpy): Likewise.
22542         (norm): Likewise.
22543         (denorm): Likewise.
22544         (__mp_dbl): Likewise.
22545         (__dbl_mp): Likewise.
22546         (add_magnitudes): Likewise.
22547         (sub_magnitudes): Likewise.
22548         (__add): Likewise.
22549         (__sub): Likewise.
22550         (__mul): Likewise.
22551         (__inv): Likewise.
22552         (__dvd): Likewise.
22554 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22556         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22557         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22558         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22559         2 && __USE_EXTERN_INLINES]: Likewise.
22561 2013-01-08  Andreas Jaeger  <aj@suse.de>
22563         [BZ# 14985]
22564         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22565         Remove.
22566         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22567         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22569 2013-01-07  Anton Blanchard  <anton@samba.org>
22571         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22572         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22573         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22574         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22575         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22576         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22577         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22578         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22580         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22581         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22582         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22583         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22584         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22585         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22586         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22587         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22588         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22589         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22590         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22591         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22592         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22593         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22594         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22595         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22596         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22597         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22598         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22600         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22601         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22603         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22604         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22605         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22606         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22607         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22608         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22609         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22610         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22611         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22612         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22613         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22615 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22617         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22618         (__MALLOC_PMT): Likewise.
22619         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22620         [__GNUC__], only on [_LIBC].
22621         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22622         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22623         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22624         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22625         forward declaration.
22626         (realloc_hook_ini): Likewise.
22627         (memalign_hook_ini): Likewise.
22628         (__libc_memalign): Do not use __MALLOC_PMT in variable
22629         declaration.
22630         (__libc_valloc): Likewise.
22631         (__libc_pvalloc): Likewise.
22632         (__libc_calloc): Likewise.
22633         (__posix_memalign): Likewise.
22635         [BZ #14996]
22636         * math/s_casinh.c: Include <float.h>.
22637         (__casinh): Do not do computation with squaring and square root
22638         for large arguments.
22639         * math/s_casinhf.c: Include <float.h>.
22640         (__casinhf): Do not do computation with squaring and square root
22641         for large arguments.
22642         * math/s_casinhl.c: Include <float.h>.
22643         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22644         (__casinhl): Do not do computation with squaring and square root
22645         for large arguments.
22646         * math/libm-test.inc (casin_test): Add more tests.
22647         (casinh_test): Likewise.
22648         * sysdeps/i386/fpu/libm-test-ulps: Update.
22649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22651 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22653         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22654         (__x86_64_raw_data_cache_size): Likewise.
22655         (__x86_64_data_cache_size_half): Likewise.
22656         (__x86_64_raw_data_cache_size_half): Likewise.
22657         (__x86_64_shared_cache_size): Likewise.
22658         (__x86_64_raw_shared_cache_size): Likewise.
22659         (__x86_64_shared_cache_size_half): Likewise.
22660         (__x86_64_raw_shared_cache_size_half): Likewise.
22661         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22662         to ...
22663         (__x86_data_cache_size): This.
22664         (__x86_64_raw_data_cache_size): Renamed to ...
22665         (__x86_raw_data_cache_size): This.
22666         (__x86_64_data_cache_size_half): Renamed to ...
22667         (__x86_data_cache_size_half): This.
22668         (__x86_64_raw_data_cache_size_half): Renamed to ...
22669         (__x86_raw_data_cache_size_half): This.
22670         (__x86_64_shared_cache_size): Renamed to ...
22671         (__x86_shared_cache_size): This.
22672         (__x86_64_raw_shared_cache_size): Renamed to ...
22673         (__x86_raw_shared_cache_size): This.
22674         (__x86_64_shared_cache_size_half): Renamed to ...
22675         (__x86_shared_cache_size_half): This.
22676         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22677         (__x86_raw_shared_cache_size_half): This.
22678         * sysdeps/x86_64/memcpy.S: Updated.
22679         * sysdeps/x86_64/memset.S: Likewise.
22680         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22684 2013-01-04  David S. Miller  <davem@davemloft.net>
22686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22688 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22690         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22691         1 to avoid redefinition warning.
22692         (__USE_GNU): Don't define.
22693         (init_signaling_nan): Protoize.
22695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22697 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22699         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22701         (__cpymn): Likewise.
22702         (norm): Remove commented code.
22703         (denorm): Likewise.
22704         (__mp_dbl): Likewise.
22705         (__inv): Likewise.
22706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22707         (__cpymn): Likewise.
22708         (norm): Remove commented code.
22709         (denorm): Likewise.
22710         (__mp_dbl): Likewise.
22711         (__inv): Likewise.
22713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22714         mp_no value for 1.0 and 2.0.
22715         (norm): Use RADIXI instead of radixi.d.
22716         (denorm): Likewise.
22717         (__mul): Use 0.0 instead of zero.d.
22718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22719         mp_no value for 1.0 and 2.0.
22720         (norm): Use RADIXI instead of radixi.d.
22721         (denorm): Likewise.
22722         (__mul): Use 0.0 instead of zero.d.
22724 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22726         [BZ #14994]
22727         * math/s_casinh.c (__casinh): Reduce finite argument to first
22728         quadrant then set signs of results at the end.
22729         * math/s_casinhf.c (__casinhf): Likewise.
22730         * math/s_casinhl.c (__casinhl): Likewise.
22731         * math/libm-test.inc (casin_test): Add more tests.
22732         (casinh_test): Likewise.
22733         * sysdeps/i386/fpu/libm-test-ulps: Update.
22734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22736 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22738         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22740         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22742         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22743         declarations.
22744         (denorm): Likewise.
22745         (__mp_dbl): Likewise.
22746         (__inv): Likewise.
22748         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22749         and adjust the header comment.
22751         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22752         variable name from declaration.
22754 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22757         Initialize COMMON_CPUID_INDEX_7 element.
22758         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22759         (CPUID_RTM): Likewise.
22760         (HAS_RTM): Likewise.
22761         (COMMON_CPUID_INDEX_7): New enum.
22763 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22765         [BZ #14981]
22766         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22767         size is zero, record memory as freed.
22769 2013-01-03  Andreas Jaeger  <aj@suse.de>
22771         * po/ia.po: Add new Interlingua translation.
22773 2012-01-03  Allan McRae  <allan@archlinux.org>
22775         * locale/programs/localedef.c: Fix description of '--posix' flag.
22777 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22779         * NEWS: Update dates in second copyright notice.
22780         * README: Update copyright dates in example.
22781         * manual/libc.texinfo: Update copyright dates.
22782         * scripts/test-installation.pl: Update copyright date in --version
22783         output.
22785         * hurd/ctty-input.c: Fix copyright notice formatting.
22786         * hurd/ctty-output.c: Likewise.
22787         * hurd/dtable.c: Likewise.
22788         * hurd/hurd-raise.c: Likewise.
22789         * hurd/hurdprio.c: Likewise.
22790         * hurd/msgportdemux.c: Likewise.
22791         * misc/sys/file.h: Likewise.
22792         * misc/sys/ioctl.h: Likewise.
22793         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22794         * sysdeps/mach/hurd/chdir.c: Likewise.
22795         * sysdeps/mach/hurd/fchdir.c: Likewise.
22796         * sysdeps/mach/hurd/rename.c: Likewise.
22797         * sysdeps/mach/hurd/rmdir.c: Likewise.
22798         * sysdeps/mach/hurd/seekdir.c: Likewise.
22799         * sysdeps/mach/hurd/setsid.c: Likewise.
22800         * sysdeps/posix/wait3.c: Likewise.
22802         * All files with FSF copyright notices: Update copyright dates
22803         using scripts/update-copyrights.
22804         * intl/plural.c: Regenerated.
22805         * locale/programs/charmap-kw.h: Likewise.
22806         * locale/programs/locfile-kw.h: Likewise.
22808 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22810         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22811         four values.
22813         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22814         calculation loop and add branch prediction.
22816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22817         check access beyond bounds of m1np.
22819         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22820         MPTWO.
22821         (__inv): Remove local variable MPTWO to use the global
22822         constant.
22823         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22825         variable MPTWO.
22826         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22827         MP3HALFS static const.
22829 2013-01-01  David S. Miller  <davem@davemloft.net>
22831         * po/ca.po: Update from translation team.
22833 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22835         * scripts/update-copyrights: New file.
22836         * Makeconfig: Reformat copyright notice.
22837         * ctype/ctype.h: Likewise.
22838         * debug/swprintf_chk.c: Likewise.
22839         * elf/dl-cache.c: Likewise.
22840         * elf/dl-debug.c: Likewise.
22841         * elf/dl-object.c: Likewise.
22842         * grp/initgroups.c: Likewise.
22843         * hurd/Makefile: Likewise.
22844         * hurd/hurd/signal.h: Likewise.
22845         * hurd/hurdfault.c: Likewise.
22846         * hurd/hurdioctl.c: Likewise.
22847         * hurd/hurdlookup.c: Likewise.
22848         * hurd/intr-msg.c: Likewise.
22849         * iconv/gconv_open.c: Likewise.
22850         * libio/swprintf.c: Likewise.
22851         * locale/lc-ctype.c: Likewise.
22852         * locale/nl_langinfo.c: Likewise.
22853         * mach/Machrules: Likewise.
22854         * mach/Makefile: Likewise.
22855         * malloc/obstack.h: Likewise.
22856         * manual/Makefile: Likewise.
22857         * manual/tsort.awk: Likewise.
22858         * misc/bits/stab.def: Likewise.
22859         * nis/nis_print_group_entry.c: Likewise.
22860         * nis/nis_table.c: Likewise.
22861         * nis/nss_compat/compat-pwd.c: Likewise.
22862         * nis/nss_compat/compat-spwd.c: Likewise.
22863         * po/Makefile: Likewise.
22864         * posix/fnmatch.c: Likewise.
22865         * posix/regex.h: Likewise.
22866         * resolv/Makefile: Likewise.
22867         * resolv/nss_dns/dns-network.c: Likewise.
22868         * resolv/res_hconf.c: Likewise.
22869         * scripts/gen-sorted.awk: Likewise.
22870         * soft-fp/soft-fp.h: Likewise.
22871         * stdio-common/printf.h: Likewise.
22872         * stdlib/monetary.h: Likewise.
22873         * stdlib/random.c: Likewise.
22874         * stdlib/random_r.c: Likewise.
22875         * sysdeps/generic/Makefile: Likewise.
22876         * sysdeps/gnu/Makefile: Likewise.
22877         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22879         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22884         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22885         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22886         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22887         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22888         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22889         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22890         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22891         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22892         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22893         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22895         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22896         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22897         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22898         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22899         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22900         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22901         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22902         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22903         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22904         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22905         * sysdeps/mach/hurd/errnos.awk: Likewise.
22906         * sysdeps/mach/hurd/fork.c: Likewise.
22907         * sysdeps/mach/hurd/getcwd.c: Likewise.
22908         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22909         * sysdeps/mach/hurd/mmap.c: Likewise.
22910         * sysdeps/mach/hurd/utimes.c: Likewise.
22911         * sysdeps/mach/hurd/xmknod.c: Likewise.
22912         * sysdeps/posix/profil.c: Likewise.
22913         * sysdeps/posix/readdir_r.c: Likewise.
22914         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22915         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22916         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22917         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22919         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22920         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22921         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22923         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22924         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22925         * sysdeps/pthread/lio_listio.c: Likewise.
22926         * sysdeps/sparc/dl-procinfo.h: Likewise.
22927         * sysdeps/unix/i386/sysdep.S: Likewise.
22928         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22929         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22930         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22931         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22933         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22934         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22935         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22936         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22937         * sysdeps/wordsize-32/divdi3.c: Likewise.
22938         * time/sys/time.h: Likewise.
22939         * wcsmbs/Makefile: Likewise.
22941 2013-01-01  David S. Miller  <davem@davemloft.net>
22943         * po/fr.po: Update from translation team.
22945         * catgets/gencat.c: Update copyright year.
22946         * csu/version.c: Likewise.
22947         * debug/catchsegv.sh: Likewise.
22948         * debug/pcprofiledump.c: Likewise.
22949         * debug/xtrace.sh: Likewise.
22950         * elf/ldconfig.c: Likewise.
22951         * elf/ldd.bash.in: Likewise.
22952         * elf/pldd.c: Likewise.
22953         * elf/sotruss.ksh: Likewise.
22954         * elf/sprof.c: Likewise.
22955         * iconv/iconv_prog.c: Likewise.
22956         * iconv/iconvconfig.c: Likewise.
22957         * locale/programs/locale.c: Likewise.
22958         * locale/programs/localedef.c: Likewise.
22959         * login/programs/pt_chown.c: Likewise.
22960         * malloc/memusage.sh: Likewise.
22961         * malloc/memusagestat.c: Likewise.
22962         * malloc/mtrace.pl: Likewise.
22963         * nscd/nscd.c: Likewise.
22964         * nss/getent.c: Likewise.
22965         * nss/makedb.c: Likewise.
22966         * posix/getconf.c: Likewise.
22968 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22970         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22971         numbers.
22973 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22975         * math/bits/mathcalls.h (modf): Use __nonnull.
22977 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22979         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22980         (split): Use macro CN instead of the bare value.
22981         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22982         could be used.
22983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22984         instead of the bare value.
22985         (power1): Likewise.
22987 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22990         __ATAN_TWOM.
22991         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22993         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22994         their values.
22995         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22996         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22997         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22998         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23000 2012-12-28  Andreas Jaeger  <aj@suse.de>
23002         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23003         values are from Linux 3.7.
23005         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23006         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23008 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23010         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23011         TRUE case.
23013         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23014         (norm): Likewise.
23015         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23016         variables with preprocessor constants.
23017         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23018         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23019         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23021 2012-12-27  Bruno Haible  <bruno@clisp.org>
23023         [BZ #14317]
23024         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23025         only if needed.
23027 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23030         and use variable directly.
23031         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23033         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23034         MPONE.
23035         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23036         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23037         variable MPONE.
23038         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23040         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23041         include directive.  Remove local variable MPONE.
23042         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23043         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23044         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23046 2012-12-25  David S. Miller  <davem@davemloft.net>
23048         * version.h (RELEASE): Set to "development".
23049         (VERSION): Set to "2.17.90".
23050         * NEWS: Add 2.18 section.
23052 2012-12-21  David S. Miller  <davem@davemloft.net>
23054         * po/hr.po: Update from translation team.
23056 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23058         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23060 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23062         * NEWS:  Mention new memcpy for MIPS.
23064 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23066         * manual/contrib.texi (Contributors): Spelling correction.
23068 2012-12-15  David S. Miller  <davem@davemloft.net>
23070         * po/ru.po: Update from translation team.
23072 2012-12-13  David S. Miller  <davem@davemloft.net>
23074         * NEWS: Mention IFUNC testsuite enhancements.
23076         * po/pl.po: Update from translation team.
23077         * po/bg.po: Likewise.
23079         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23080         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23082 2012-12-11  David S. Miller  <davem@davemloft.net>
23084         * po/sv.po: Update from translation team.
23086         * po/vi.po: Update from translation team.
23088         * po/cs.po: Update from translation team.
23090         * po/de.po: Update from translation team.
23091         * po/eo.po: Likewise.
23092         * po/nl.po: Likewise.
23094 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23096         [BZ #14246]
23097         * manual/argp.texi (Argp Helper Functions): Move node to follow
23098         Argp Parsing State.
23100         [BZ #14872]
23101         * manual/conf.texi (Limits on File System Capacity): Mention if
23102         terminating null is included in the max size.
23104 2012-12-10  Andreas Jaeger  <aj@suse.de>
23106         * po/cs.po: Update from translation team.
23108 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23110         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23111         void pointer and cast to uintptr_t.
23112         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23113         path.
23114         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23115         * sysdeps/s390/s390-64/memset.S: Likewise.
23117 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23119         [BZ #14833]
23120         * menual/message.texi (Message Translation): Fix typos.
23121         (Helper programs for gettext): Likewise.
23123 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23125         [BZ #14898]
23126         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23127         Change to -1.
23129 2012-12-07  David S. Miller  <davem@davemloft.net>
23131         * po/libc.pot: Update.
23133 2012-12-07  Richard Henderson  <rth@redhat.com>
23135         [BZ #10114]
23136         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23137         normal/normal case to before the switch.
23138         (_FP_DIV): Likewise.
23140 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23141             Mike Frysinger  <vapier@gentoo.org>
23143         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23144         check for __NR_fadvise64_64.
23146 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23148         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23149         0, not just to plain "0" as a statement.
23150         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23151         with cw.
23153 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23155         * NEWS: Use sourceware.org in Bugzilla URL.
23157 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23160         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23162         * stdio-common/tst-put-error.c (do_test): Add newline to the
23163         padded test to ensure flush.
23165 2012-12-05  Jeff Law  <law@redhat.com>
23167         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23169 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23171         * README: Don't refer to ports add-on as distributed separately.
23172         Mention AArch64 in list of systems supported in the ports add-on.
23174         * LICENSES: Add more non-FSF copyright and license notices.
23176         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23177         ((unused)).
23179         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23181         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23182         10000 as width of padded output.
23184 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23186         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23188         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23189         variable LX with __attribute__ ((unused)).
23190         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23191         Likewise.
23192         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23194         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23195         with __attribute__ ((unused)).
23197 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23199         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23201 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23203         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23204         (CFLAGS-nldbl-acos.c): New variable.
23205         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23213         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23214         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23215         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23219         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23220         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23221         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23222         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23223         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23224         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23225         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23226         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23227         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23228         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23229         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23230         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23231         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23232         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23233         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23234         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23235         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23236         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23237         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23238         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23239         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23240         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23241         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23242         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23243         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23244         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23245         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23246         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23247         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23248         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23249         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23250         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23251         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23252         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23253         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23254         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23255         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23256         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23257         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23258         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23259         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23260         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23261         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23262         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23263         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23264         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23265         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23266         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23267         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23268         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23269         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23281         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23282         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23283         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23284         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23285         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23286         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23287         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23288         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23289         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23290         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23291         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23292         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23293         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23294         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23295         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23296         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23297         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23298         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23299         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23300         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23301         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23304         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23306         [BZ #14914]
23307         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23308         whole low double instead of just low 47 bits when splitting values
23309         into two parts.
23311 2012-12-03  Allan McRae  <allan@archlinux.org>
23313         * manual/stdio.texi (Predefined Printf Handlers): Remove
23314         @hsep and @vsep usage.
23316 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23318         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23319         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23321 2012-12-03  Jeff Law  <law@redhat.com>
23323         * time/sys/time.h (settimeofday): Do not mark TV argument
23324         as __nonnull.
23326 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23328         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23329         when currently writing and seek to current position when not.
23330         * libio/Makefile (tests): Remove bug-fclose1.
23331         * libio/bug-fclose1.c: Delete.
23333 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23335         * manual/arith.texi (feenableexcept): Fix typo.
23336         (fedisableexcept): Likewise.
23338 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23340         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23341         second, differently-typed declaration, rather than a cast.
23343 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23345         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23346         * include/rpc/svc.h: ... here.
23348 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23350         [BZ #13013]
23351         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23352         depending n and resplen2 to catch cases where answer
23353         equals answerp2.
23355 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23357         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23358         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23360 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23362         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23364 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23366         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23368 2012-11-28  Jeff Law  <law@redhat.com>
23370         [BZ #13761]
23371         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23372         dataset_temporary.  Track alloca usage into alloca_used.
23373         If dataset is large allocate and release it via malloc/free.
23375 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23377         [BZ #14197]
23378         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23380 2012-11-28  David S. Miller  <davem@davemloft.net>
23382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23384 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23386         [BZ #14803]
23387         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23388         of pi/2 rounded to nearest to 64 bits.
23389         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23390         nearest to 64 bits.
23391         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23392         bits.
23394 2012-11-28  Jeff Law <law@redhat.com>
23395             Martin Osvald <mosvald@redhat.com>
23397         [BZ #14889]
23398         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23399         * sunrpc/svc.c: Include time.h.
23400         (__svc_accept_failed): New function.
23401         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23402         any reason other than EINTR, call __svc_accept_failed.
23403         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23404         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23406 2012-11-28  Andreas Schwab  <schwab@suse.de>
23408         * scripts/abilist.awk: Also handle indirect functions in .opd
23409         section.
23411 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23413         [BZ #13881]
23414         * sysdeps/x86/fpu/powl_helper.c: New file.
23415         * sysdeps/x86/fpu/Makefile: Likewise.
23416         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23417         (p3): New object.
23418         (__ieee754_powl): Use __powl_helper for finite arguments except
23419         integer exponents below 8.
23420         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23421         (p3): New object.
23422         (__ieee754_powl): Use __powl_helper for finite arguments except
23423         integer exponents below 8.
23424         * math/libm-test.inc (pow_test): Add more tests and enable some
23425         previously disabled tests.
23426         * sysdeps/i386/fpu/libm-test-ulps: Update.
23427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23429 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23430             Carlos O'Donell  <carlos_odonell@mentor.com>
23432         * nss/makedb.c (is_prime): Assert that input is odd and greater
23433         than 4.  Note that fact in a comment too.
23434         (next_prime): Add 4 to input.
23436 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23438         [BZ #11741]
23439         * libio/Makefile (tests): Add test case tst-fwrite-error.
23440         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23441         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23442         * libio/tst-fwrite-error.c: New test case.
23444 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23446         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23447         before casting to void *.
23448         * include/libc-internal.h (__pointer_type): New macro.
23449         (__integer_if_pointer_type_sub): Likewise.
23450         (__integer_if_pointer_type): Likewise.
23451         (cast_to_integer): Likewise.
23452         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23453         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23454         before casting to atomic64_t.
23455         (atomic_exchange_acq): Likewise.
23456         (__arch_exchange_and_add_body): Likewise.
23457         (__arch_add_body): Likewise.
23458         (atomic_add_negative): Likewise.
23459         (atomic_add_zero): Likewise.
23461 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23463         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23464         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23465         (add_fdes): Likewise.
23466         (linear_search_fdes): Likewise.
23467         (binary_search_unencoded_fdes): Likewise.
23469 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23471         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23473 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23475         * configure.in: Autodetect C++ header directories.
23476         * configure: Regenerated.
23478 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23480         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23482 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23486 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23488         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23489         LDBL_MANT_DIG == 106]: Disable some tests.
23490         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23491         Likewise.
23492         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23493         Likewise.
23495         [BZ #14871]
23496         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23497         input for small inputs.  Return +/- pi/2 for large inputs.
23498         * math/libm-test.inc (atan_test): Add more tests.
23500         * sysdeps/generic/unwind-dw2-fde-glibc.c
23501         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23502         __attribute__ ((unused)).
23504         [BZ #14645]
23505         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23506         x * y if x and y are nonzero and z is zero.
23508         [BZ #14811]
23509         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23510         nonzero exponents with absolute value below 0x1p-117 to +/-
23511         0x1p-117.
23513         [BZ #14869]
23514         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23515         up arguments below 2**-450, not just those below 2**-500.
23516         * math/libm-test.inc (hypot_test): Add another test.
23518         [BZ #14868]
23519         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23520         Return a+b for ratio over 2**120, not 2**60.
23521         * math/libm-test.inc (hypot_test): Add another test.
23523         * math/libm-test.inc (clog_test): Use
23524         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23525         (clog10_test): Likewise.
23527         [BZ #6778]
23528         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23530 2012-11-22  Andreas Schwab  <schwab@suse.de>
23532         * sysdeps/i386/fpu/libm-test-ulps: Update.
23534 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23536         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23537         printf output with newline.
23539 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23541         [BZ #14865]
23542         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23543         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23544         -z nodlopen, -z initfirst and -z execstack support.
23545         * configure: Regenerated.
23547         * elf/elf.h (DF_1_NODIRECT): New macro.
23548         (DF_1_IGNMULDEF): Likewise.
23549         (DF_1_NOKSYMS): Likewise.
23550         (DF_1_NOHDR): Likewise.
23551         (DF_1_EDITED): Likewise.
23552         (DF_1_NORELOC): Likewise.
23553         (DF_1_SYMINTPOSE): Likewise.
23554         (DF_1_GLOBAUDIT): Likewise.
23555         (DF_1_SINGLETON): Likewise.
23556         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23557         DT_1_SUPPORTED_MASK bits.
23558         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23560 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23562         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23564 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23566         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23567         macro.
23569         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23570         (sendmmsg): Move declarations...
23571         * socket/sys/socket.h: ... here.
23572         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23573         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23574         include it from...
23575         * socket/recvmmsg.c: ... this new file.
23576         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23577         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23578         definition of __sendmmsg hidden.
23579         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23580         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23581         Move ENOSYS stub into and include it from...
23582         * socket/sendmmsg.c: ... this new file.
23583         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23584         (sysdep_routines): Move recvmmsg and sendmmsg...
23585         * socket/Makefile (routines): ... here.
23586         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23587         (GLIBC_PRIVATE): Add __sendmmsg.
23588         * include/sys/socket.h (__sendmmsg): Add declarations.
23589         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23590         sendmmsg.
23592 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23594         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23595         variable I1 with __attribute__ ((unused)).
23596         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23598 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23600         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23601         DUMMY variables with __attribute__ ((unused)).
23603         * bits/byteswap.h: Include <bits/types.h>.
23604         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23606 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23608         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23609         string_t.  Do not manually set errno.
23610         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23611         length with __strnlen.  Make sure to both set errno and return it on
23612         failure.
23614 2012-11-19  David S. Miller  <davem@davemloft.net>
23616         With help from Joseph Myers.
23617         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23618         very large arguments properly.
23619         * math/libm-test.inc (atan_test): New tests.
23620         (atan2_test): New tests.
23621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23624 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23626         [BZ #14856]
23627         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23628         Define to 3.
23630         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23631         [POSIX] (EADDRNOTAVAIL): Likewise.
23632         [POSIX] (EAFNOSUPPORT): Likewise.
23633         [POSIX] (EALREADY): Likewise.
23634         [POSIX] (ECONNABORTED): Likewise.
23635         [POSIX] (ECONNREFUSED): Likewise.
23636         [POSIX] (ECONNRESET): Likewise.
23637         [POSIX] (EDESTADDRREQ): Likewise.
23638         [POSIX] (EDQUOT): Likewise.
23639         [POSIX] (EHOSTUNREACH): Likewise.
23640         [POSIX] (EIDRM): Likewise.
23641         [POSIX] (EISCONN): Likewise.
23642         [POSIX] (ELOOP): Likewise.
23643         [POSIX] (EMULTIHOP): Likewise.
23644         [POSIX] (ENETDOWN): Likewise.
23645         [POSIX] (ENETUNREACH): Likewise.
23646         [POSIX] (ENOBUFS): Likewise.
23647         [POSIX] (ENODATA): Likewise.
23648         [POSIX] (ENOLINK): Likewise.
23649         [POSIX] (ENOMSG): Likewise.
23650         [POSIX] (ENOPROTOOPT): Likewise.
23651         [POSIX] (ENOSR): Likewise.
23652         [POSIX] (ENOSTR): Likewise.
23653         [POSIX] (ENOTCONN): Likewise.
23654         [POSIX] (ENOTSOCK): Likewise.
23655         [POSIX] (EOPNOTSUPP): Likewise.
23656         [POSIX] (EOVERFLOW): Likewise.
23657         [POSIX] (EPROTO): Likewise.
23658         [POSIX] (EPROTONOSUPPORT): Likewise.
23659         [POSIX] (EPROTOTYPE): Likewise.
23660         [POSIX] (ESTALE): Likewise.
23661         [POSIX] (ETIME): Likewise.
23662         [POSIX] (ETXTBSY): Likewise.
23663         [POSIX] (EWOULDBLOCK): Likewise.
23664         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23665         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23666         [POSIX] (SEEK_CUR): Likewise.
23667         [POSIX] (SEEK_END): Likewise.
23668         [POSIX || UNIX98] (mode_t): Do not require.
23669         [POSIX] (off_t): Likewise.
23670         [POSIX] (pid_t): Likewise.
23671         [POSIX] (sys/stat.h): Do not allow header.
23672         [POSIX] (unistd.h): Likewise.
23673         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23674         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23675         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23676         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23677         require.
23678         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23679         sigevent): Specify elements.
23680         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23681         entry.
23682         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23683         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23685         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23686         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23687         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23688         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23689         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23690         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23691         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23692         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23693         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23694         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23695         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23696         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23697         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23698         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23699         Likewise.
23700         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23701         Likewise.
23702         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23703         Likewise.
23704         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23705         Likewise.
23706         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23707         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23708         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23709         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23710         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23711         Specify lower bound on value.
23712         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23713         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23714         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23715         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23716         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23717         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23718         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23719         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23720         value.
23721         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23722         as optional.
23723         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23724         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23725         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23726         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23727         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23728         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23729         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23730         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23731         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23732         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23733         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23734         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23735         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23736         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23737         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23738         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23739         entry.
23740         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23741         optional.
23742         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23743         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23744         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23745         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23746         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23747         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23748         Likewise.
23749         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23750         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23751         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23752         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23753         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23754         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23755         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23756         as optional.
23757         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23758         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23759         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23760         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23761         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23762         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23763         specify as optional.
23764         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23765         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23766         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23767         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23768         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23769         [XPG3] (NL_LANGMAX): Likewise.
23770         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23771         [POSIX || XPG3] (NL_NMAX): Likewise.
23772         [POSIX || XPG3] (NL_SETMAX): Likewise.
23773         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23774         [XPG3] (NZERO): Likewise.
23775         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23776         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23777         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23778         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23779         (REG_ERANGE): Expect.
23780         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23781         optional-constant.
23782         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23783         Use (void) in prototype.
23784         [POSIX] (*_t): Allow.
23785         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23786         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23787         (WRDE_BADVAL): Expect.
23789         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23790         expect.
23791         [XPG3 || XPG4] (O_RSYNC): Likewise.
23792         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23793         Likewise.
23794         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23795         [XPG3 || XPG4] (sigqueue): Likewise.
23796         [XPG3 || XPG4] (sigtimedwait): Likewise.
23797         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23798         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23799         [XPG3 || XPG4] (vsnprintf): Likewise.
23800         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23801         Likewise.
23802         [XPG3 || XPG4] (blksize_t): Likewise.
23803         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23804         Likewise.
23805         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23806         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23807         [XPG3 || XPG4] (struct itimerspec): Likewise.
23808         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23809         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23810         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23811         [XPG3 || XPG4] (clockid_t): Likewise.
23812         [XPG3 || XPG4] (timer_t): Likewise.
23813         [XPG3 || XPG4] (clock_getres): Likewise.
23814         [XPG3 || XPG4] (clock_gettime): Likewise.
23815         [XPG3 || XPG4] (clock_settime): Likewise.
23816         [XPG3 || XPG4] (nanosleep): Likewise.
23817         [XPG3 || XPG4] (timer_create): Likewise.
23818         [XPG3 || XPG4] (timer_delete): Likewise.
23819         [XPG3 || XPG4] (timer_gettime): Likewise.
23820         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23821         [XPG3 || XPG4] (timer_settime): Likewise.
23822         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23823         [XPG3 || XPG4] (getlogin_r): Likewise.
23824         [XPG3 || XPG4] (pread): Likewise.
23825         [XPG3 || XPG4] (pthread_atfork): Likewise.
23826         [XPG3 || XPG4] (pwrite): Likewise.
23828         [BZ #14835]
23829         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23830         <bits/siginfo.h>.
23832 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23834         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23835         finalizing MALLSTREAM.
23837         * sysdeps/mach/hurd/syncfs.c: New file.
23839 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23841         [BZ #14719]
23842         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23843         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23844         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23845         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23846         (_nss_dns_gethostbyname4_r): Likewise.
23847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23848         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23850 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23852         [BZ #13763]
23853         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23855 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23857         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23858         * elf/cache.c (print_entry): Print ",AArch64" for
23859         FLAG_AARCH64_LIB64
23861         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23862         * elf/cache.c (print_entry): Print ",hard-float" for
23863         FLAG_ARM_LIBHF.
23865 2012-11-18  David S. Miller  <davem@davemloft.net>
23867         With help from Joseph Myers.
23868         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23869         cutoff to 2**-13.
23870         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23871         cutoff to 2**-25.
23872         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23873         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23874         small.
23875         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23876         * math/libm-test.inc (y0_test): New tests.
23877         (y1_test): New tests.
23878         * sysdeps/i386/fpu/libm-test-ulps: Update.
23879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23882 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23884         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23885         64-bit targets.
23886         * configure: Regenerated.
23888 2012-11-17  David S. Miller  <davem@davemloft.net>
23890         [BZ #14811]
23891         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23892         nonzero exponents with absolute value below 0x1p-128 to +/-
23893         0x1p-128.
23895 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23897         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23899         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23901         * posix/getconf-speclist.c: New file.
23902         * posix/posix-envs.def: Likewise.
23903         * posix/confstr.c (START_ENV_GROUP): New macro.
23904         (END_ENV_GROUP): Likewise.
23905         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23906         (KNOWN_PRESENT_ENV_STRING): Likewise.
23907         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23908         (UNKNOWN_ENVIRONMENT): Likewise.
23909         (confstr): Include posix-envs.def instead of handling
23910         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23911         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23912         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23913         (END_ENV_GROUP): Likewise.
23914         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23915         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23916         (UNKNOWN_ENVIRONMENT): Likewise.
23917         (__sysconf): Include posix-envs.def instead of handling associated
23918         cases directly here.
23919         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23920         preprocessing getconf-speclist.c rather than running getconf or
23921         generating empty file.
23923 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23925         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23927 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23929         [BZ #14672]
23930         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23932 2012-11-16  David S. Miller  <davem@davemloft.net>
23934         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23935         smaller than LDBL_EPSILON/2.0L, just return xm1.
23937 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23939         * elf/tst-array1.c (init): Set constructor priority to 1000.
23940         (fini): Set destructor priority to 1000.
23941         * elf/tst-array2dep.c: Likewise.
23943 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23945         [BZ #11741]
23946         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23947         (_IO_new_file_xsputn): Also return EOF if none of the input
23948         data was written when overflow failed.
23949         * libio/iopadn.c (_IO_padn): Likewise.
23950         * libio/iowpadn.c (_IO_wpadn): Likewise.
23951         * stdio-common/tst-put-error.c: Add copyright notice.
23952         (do_test): Add case for printing padded string.
23953         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23954         _IO_padn returned error.
23955         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23956         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23957         return EOF.
23959 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23961         * libio/libioP.h: Add comment note that the references to C++
23962         bits are now obsolete.
23964 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23966         * math/libm-test.inc (check_complex): Use asprintf.
23968 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23970         * debug/pcprofiledump.c (print_version): Update copyright year.
23971         * malloc/memusagestat.c (print_version): Likewise.
23973 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23975         [BZ #14831]
23976         * elf/Makefile (tests): Add tst-audit8.
23977         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23978         ($(objpfx)tst-audit8.out): New target.
23979         (tst-audit8-ENV): New variable.
23980         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23981         audit if l_reloc_result is NULL.
23982         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23983         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23984         * elf/tst-audit8.c: New file.
23986 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23988         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23989         * misc/Makefile (CFLAGS-select.c): Define.
23990         * posix/Makefile (CFLAGS-pause.c): Define.
23992 2012-11-13  David S. Miller  <davem@davemloft.net>
23994         * crypt/Makefile: Move test targets after toplevel Rules
23995         inclusion.  Grab any necessary sysdep routines when linking.
23996         * crypt/md5.c (md5_process_block): Remove define, we will always
23997         name it __md5_process_block.
23998         (md5_finish_ctx): Update md5_process_block call.
23999         (md5_stream): Likewise.
24000         (md5_process_bytes): Likewise.
24001         (md5_process_block): Rename to __md5_process_block and move to ...
24002         * crypt/md5-block.c: ... here.
24003         * crypt/sha256.c (sha256_process_block): Move to ...
24004         * crypt/sha256-block.c: ... here.
24005         * crypt/sha512.c (sha512_process_block): Move to ...
24006         * crypt/sha512-block.c: ... here.
24007         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24008         path.
24009         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24010         * sysdeps/sparc/sparc64/multiarch/Makefile
24011         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24012         crypt subdir.
24013         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24014         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24015         multiarch changes.
24016         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24017         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24018         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24019         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24020         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24021         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24022         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24023         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24024         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24025         file.
24026         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24027         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24028         file.
24029         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24031 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24033         * timezone/tzselect.ksh: Update from tzcode git revision
24034         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24035         * timezone/zdump.c: Likewise.
24036         * timezone/zic.c: Likewise.
24037         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24038         in TZVERSION setting, not $(PKGVERSION).
24039         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24040         REPORT_BUGS_TO settings.
24042         [BZ #14838]
24043         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24044         macro.
24046 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24048         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24049         detection to immediately after _FP_ROUND().
24050         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24051         bits are 0.
24053 2012-11-11  David S. Miller  <davem@davemloft.net>
24055         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24056         inttypes.h
24057         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24058         __close rather than their public counterparts.
24060 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24062         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24063         file.
24064         [UNIX98] (sem_timedwait): Do not expect.
24065         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24066         [XPG4 || UNIX98] (sockatmark): Do not expect.
24067         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24068         (clock_getcpuclockid): Do not expect.
24069         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24070         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24071         Do not expect.
24072         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24073         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24074         [UNIX98] (vwscanf): Likewise.
24075         [UNIX98] (vswscanf): Likewise.
24077 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24079         * timezone/version.h: Remove file.
24080         * timezone/README: Do not refer to version.h.
24081         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24082         $(objpfx)version.h.
24083         ($(objpfx)zdump.o): Likewise.
24084         ($(objpfx)version.h): New target.
24086         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24087         2012i.
24088         * timezone/README: Don't mention modification to tzselect.ksh.
24089         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24090         work on unmodified tzselect.ksh.  Substitute version numbers in
24091         tzselect.ksh.
24093         * Makefile (format-me): Remove.
24094         (INSTALL): Adjust indentation.  Use commands directly instead of
24095         using $(format-me).
24097         * aclocal.m4 (ACX_PKGVERSION): New macro.
24098         (ACX_BUGURL): Likewise.
24099         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24100         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24101         (REPORT_BUGS_TO): Likewise.
24102         * configure: Regenerated.
24103         * config.h.in (PKGVERSION): New macro.
24104         (REPORT_BUGS_TO): Likewise.
24105         * config.make.in (PKGVERSION): New variable.
24106         (PKGVERSION_TEXI): Likewise.
24107         (REPORT_BUGS_TO): Likewise.
24108         (REPORT_BUGS_TEXI): Likewise.
24109         * Makefile (format-me): Use -I$(common-objpfx)manual.
24110         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24111         ($(common-objpfx)manual/%): New target.
24112         (manual/%): Remove target.
24113         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24114         (print_version): Use PKGVERSION.
24115         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24116         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24117         and REPORT_BUGS_TO.
24118         ($(objpfx)xtrace): Likewise.
24119         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24120         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24121         (print_version): Use PKGVERSION.
24122         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24123         (do_version): Use PKGVERSION.
24124         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24125         REPORT_BUGS_TO.
24126         (common-ldd-rewrite): Likewise.
24127         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24128         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24129         (print_version): Use PKGVERSION.
24130         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24131         * elf/pldd.c (argp_program_bug_address): Remove variable.
24132         (more_help): New function.
24133         (argp): Use more_help.
24134         (print_version): Use PKGVERSION.
24135         * elf/sln.c (main): Use PKGVERSION.
24136         (usage): Use REPORT_BUGS_TO.
24137         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24138         (top level): Use PKGVERSION.
24139         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24140         (print_version): Use PKGVERSION.
24141         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24142         (print_version): Use PKGVERSION.
24143         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24144         (print_version): Use PKGVERSION.
24145         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24146         (print_version): Use PKGVERSION.
24147         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24148         (print_version): Use PKGVERSION.
24149         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24150         (print_version): Use PKGVERSION.
24151         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24152         and BUGURL.
24153         ($(objpfx)memusage): Likewise.
24154         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24155         (do_version): Use PKGVERSION.
24156         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24157         (print_version): Use PKGVERSION.
24158         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24159         ($PKGVERSION): New variable.
24160         ($REPORT_BUGS_TO): Likewise.
24161         (usage): Use $REPORT_BUGS_TO.
24162         (top level): Use $PKGVERSION.
24163         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24164         ($(objpfx)pkgvers.texi): New rule.
24165         ($(objpfx)stamp-pkgvers): Likewise.
24166         * manual/install.texi: Include pkgvers.texi.
24167         (--with-pkgversion): Document new configure option.
24168         (--with-bugurl): Likewise.
24169         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24170         than necessarily for this particular distribution.  Use
24171         REPORT_BUGS_TO for where to report bugs.
24172         * INSTALL: Regenerated.
24173         * manual/libc.texinfo: Include pkgvers.texi.
24174         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24175         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24176         (print_version): Use PKGVERSION.
24177         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24178         (print_version): Use PKGVERSION.
24179         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24180         (print_version): Use PKGVERSION.
24181         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24182         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24183         macro.
24184         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24185         (print_version): Use PKGVERSION.
24186         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24187         (print_version): Use PKGVERSION.
24188         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24189         and PKGVERSION.
24191         * timezone/checktab.awk: Update from tzcode 2012i.
24192         * timezone/ialloc.c: Likewise.
24193         * timezone/private.h: Likewise.
24194         * timezone/scheck.c: Likewise.
24195         * timezone/tzfile.h: Likewise.
24196         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24197         (TZVERSION): Hardcode tzcode version number.
24198         * timezone/zdump.c: Update from tzcode 2012i.
24199         * timezone/zic.c: Likewise.
24200         * timezone/version.h: New file.
24201         * timezone/README: Describe version.h.  Update upstream location.
24203         [BZ #14824]
24204         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24205         (mktemp): Enable declaration.
24206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24207         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24208         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24209         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24210         Likewise.
24211         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24212         Likewise.
24213         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24214         Likewise.
24215         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24216         Likewise.
24217         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24218         Likewise.
24219         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24220         Likewise.
24222         [BZ #14821]
24223         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24224         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24225         for copies of such integer values.
24226         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24227         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24229 2012-11-09  Andreas Jaeger  <aj@suse.de>
24231         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24232         definitions and declarations that are provided by
24233         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24235 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24237         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24238         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24239         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24240         definition.
24242 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24244         * elf/elf.h: Update comment before AArch64 relocations.
24246 2012-11-07  David S. Miller  <davem@davemloft.net>
24248         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24249         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24250         (__start_context): Declare.
24251         (__makecontext_ret): Delete.
24252         (__makecontext): Hook up __start_context instead of
24253         __makecontext_ret.
24254         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24255         (sysdep_routines): Add __start_context when in stdlib.
24257 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24259         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24260         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24261         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24262         hardcoded "nm".
24263         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24264         (READELF): New variable.  Use it instead of hardcoded "readelf".
24266 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24268         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24269         * sysdeps/x86/Makefile: Here.
24270         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24271         * sysdeps/x86/tst-xmmymm.sh: This.
24273 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24275         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24276         expectations.
24277         [UNIX98] (pthread_barrier_t): Do not expect.
24278         [UNIX98] (pthread_barrierattr_t): Likewise.
24279         [UNIX98] (pthread_spinlock_t): Likewise.
24280         [UNIX98] (pthread_barrier_destroy): Likewise.
24281         [UNIX98] (pthread_barrier_init): Likewise.
24282         [UNIX98] (pthread_barrier_wait): Likewise.
24283         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24284         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24285         [UNIX98] (pthread_barrierattr_init): Likewise.
24286         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24287         [UNIX98] (pthread_getcpuclockid): Likewise.
24288         [UNIX98] (pthread_mutex_timedlock): Likewise.
24289         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24290         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24291         [UNIX98] (pthread_sigmask): Likewise.
24292         [UNIX98] (pthread_spin_destroy): Likewise.
24293         [UNIX98] (pthread_spin_init): Likewise.
24294         [UNIX98] (pthread_spin_lock): Likewise.
24295         [UNIX98] (pthread_spin_trylock): Likewise.
24296         [UNIX98] (pthread_spin_unlock): Likewise.
24297         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24298         Do not expect.
24299         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24300         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24301         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24302         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24303         [XPG3 || XPG4] (pthread_key_t): Likewise.
24304         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24305         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24306         [XPG3 || XPG4] (pthread_once_t): Likewise.
24307         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24308         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24309         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24310         [XPG3 || XPG4] (pthread_t): Likewise.
24312         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24313         not expect.
24314         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24316         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24317         Change function return type to int.
24319         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24320         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24321         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24322         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24323         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24324         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24325         [!POSIX] (posix_madvise): Likewise.
24326         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24327         && !UNIX98].
24328         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24329         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24330         (mode_t): Likewise.
24331         (posix_mem_offset): Likewise.
24332         (posix_typed_mem_get_info): Likewise.
24333         (posix_typed_mem_open): Likewise.
24335         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24336         Change condition to [XOPEN2K8].
24338         * conform/conformtest.pl: Preprocess allow-header data with -x c
24339         instead of from stdin.
24340         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24341         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24342         [C99-based standards] (cerfc): Likewise.
24343         [C99-based standards] (cexp2): Likewise.
24344         [C99-based standards] (cexpm1): Likewise.
24345         [C99-based standards] (clog10): Likewise.
24346         [C99-based standards] (clog1p): Likewise.
24347         [C99-based standards] (clog2): Likewise.
24348         [C99-based standards] (clgamma): Likewise.
24349         [C99-based standards] (ctgamma): Likewise.
24350         [C99-based standards] (cerff): Likewise.
24351         [C99-based standards] (cerfcf): Likewise.
24352         [C99-based standards] (cexp2f): Likewise.
24353         [C99-based standards] (cexpm1f): Likewise.
24354         [C99-based standards] (clog10f): Likewise.
24355         [C99-based standards] (clog1pf): Likewise.
24356         [C99-based standards] (clog2f): Likewise.
24357         [C99-based standards] (clgammaf): Likewise.
24358         [C99-based standards] (ctgammaf): Likewise.
24359         [C99-based standards] (cerfl): Likewise.
24360         [C99-based standards] (cerfcl): Likewise.
24361         [C99-based standards] (cexp2l): Likewise.
24362         [C99-based standards] (cexpm1l): Likewise.
24363         [C99-based standards] (clog10l): Likewise.
24364         [C99-based standards] (clog1pl): Likewise.
24365         [C99-based standards] (clog2l): Likewise.
24366         [C99-based standards] (clgammal): Likewise.
24367         [C99-based standards] (ctgammal): Likewise.
24368         * conform/data/inttypes.h-data [C99-based standards]: Include
24369         stdint.h-data.  Remove all expectations for stdint.h contents.
24370         [C99-based standards] (PRI*): Do not allow.
24371         [C99-based standards] (SCN*): Likewise.
24372         [C99-based standards] (*_t): Likewise.
24373         [C99-based-standards] (PRId8): Expect macro.
24374         [C99-based-standards] (PRIi8): Likewise.
24375         [C99-based-standards] (PRIo8): Likewise.
24376         [C99-based-standards] (PRIu8): Likewise.
24377         [C99-based-standards] (PRIx8): Likewise.
24378         [C99-based-standards] (PRIX8): Likewise.
24379         [C99-based-standards] (SCNd8): Likewise.
24380         [C99-based-standards] (SCNi8): Likewise.
24381         [C99-based-standards] (SCNo8): Likewise.
24382         [C99-based-standards] (SCNu8): Likewise.
24383         [C99-based-standards] (SCNx8): Likewise.
24384         [C99-based-standards] (PRIdLEAST8): Likewise.
24385         [C99-based-standards] (PRIiLEAST8): Likewise.
24386         [C99-based-standards] (PRIoLEAST8): Likewise.
24387         [C99-based-standards] (PRIuLEAST8): Likewise.
24388         [C99-based-standards] (PRIxLEAST8): Likewise.
24389         [C99-based-standards] (PRIXLEAST8): Likewise.
24390         [C99-based-standards] (SCNdLEAST8): Likewise.
24391         [C99-based-standards] (SCNiLEAST8): Likewise.
24392         [C99-based-standards] (SCNoLEAST8): Likewise.
24393         [C99-based-standards] (SCNuLEAST8): Likewise.
24394         [C99-based-standards] (SCNxLEAST8): Likewise.
24395         [C99-based-standards] (PRIdFAST8): Likewise.
24396         [C99-based-standards] (PRIiFAST8): Likewise.
24397         [C99-based-standards] (PRIoFAST8): Likewise.
24398         [C99-based-standards] (PRIuFAST8): Likewise.
24399         [C99-based-standards] (PRIxFAST8): Likewise.
24400         [C99-based-standards] (PRIXFAST8): Likewise.
24401         [C99-based-standards] (SCNdFAST8): Likewise.
24402         [C99-based-standards] (SCNiFAST8): Likewise.
24403         [C99-based-standards] (SCNoFAST8): Likewise.
24404         [C99-based-standards] (SCNuFAST8): Likewise.
24405         [C99-based-standards] (SCNxFAST8): Likewise.
24406         [C99-based-standards] (PRId16): Likewise.
24407         [C99-based-standards] (PRIi16): Likewise.
24408         [C99-based-standards] (PRIo16): Likewise.
24409         [C99-based-standards] (PRIu16): Likewise.
24410         [C99-based-standards] (PRIx16): Likewise.
24411         [C99-based-standards] (PRIX16): Likewise.
24412         [C99-based-standards] (SCNd16): Likewise.
24413         [C99-based-standards] (SCNi16): Likewise.
24414         [C99-based-standards] (SCNo16): Likewise.
24415         [C99-based-standards] (SCNu16): Likewise.
24416         [C99-based-standards] (SCNx16): Likewise.
24417         [C99-based-standards] (PRIdLEAST16): Likewise.
24418         [C99-based-standards] (PRIiLEAST16): Likewise.
24419         [C99-based-standards] (PRIoLEAST16): Likewise.
24420         [C99-based-standards] (PRIuLEAST16): Likewise.
24421         [C99-based-standards] (PRIxLEAST16): Likewise.
24422         [C99-based-standards] (PRIXLEAST16): Likewise.
24423         [C99-based-standards] (SCNdLEAST16): Likewise.
24424         [C99-based-standards] (SCNiLEAST16): Likewise.
24425         [C99-based-standards] (SCNoLEAST16): Likewise.
24426         [C99-based-standards] (SCNuLEAST16): Likewise.
24427         [C99-based-standards] (SCNxLEAST16): Likewise.
24428         [C99-based-standards] (PRIdFAST16): Likewise.
24429         [C99-based-standards] (PRIiFAST16): Likewise.
24430         [C99-based-standards] (PRIoFAST16): Likewise.
24431         [C99-based-standards] (PRIuFAST16): Likewise.
24432         [C99-based-standards] (PRIxFAST16): Likewise.
24433         [C99-based-standards] (PRIXFAST16): Likewise.
24434         [C99-based-standards] (SCNdFAST16): Likewise.
24435         [C99-based-standards] (SCNiFAST16): Likewise.
24436         [C99-based-standards] (SCNoFAST16): Likewise.
24437         [C99-based-standards] (SCNuFAST16): Likewise.
24438         [C99-based-standards] (SCNxFAST16): Likewise.
24439         [C99-based-standards] (PRId32): Likewise.
24440         [C99-based-standards] (PRIi32): Likewise.
24441         [C99-based-standards] (PRIo32): Likewise.
24442         [C99-based-standards] (PRIu32): Likewise.
24443         [C99-based-standards] (PRIx32): Likewise.
24444         [C99-based-standards] (PRIX32): Likewise.
24445         [C99-based-standards] (SCNd32): Likewise.
24446         [C99-based-standards] (SCNi32): Likewise.
24447         [C99-based-standards] (SCNo32): Likewise.
24448         [C99-based-standards] (SCNu32): Likewise.
24449         [C99-based-standards] (SCNx32): Likewise.
24450         [C99-based-standards] (PRIdLEAST32): Likewise.
24451         [C99-based-standards] (PRIiLEAST32): Likewise.
24452         [C99-based-standards] (PRIoLEAST32): Likewise.
24453         [C99-based-standards] (PRIuLEAST32): Likewise.
24454         [C99-based-standards] (PRIxLEAST32): Likewise.
24455         [C99-based-standards] (PRIXLEAST32): Likewise.
24456         [C99-based-standards] (SCNdLEAST32): Likewise.
24457         [C99-based-standards] (SCNiLEAST32): Likewise.
24458         [C99-based-standards] (SCNoLEAST32): Likewise.
24459         [C99-based-standards] (SCNuLEAST32): Likewise.
24460         [C99-based-standards] (SCNxLEAST32): Likewise.
24461         [C99-based-standards] (PRIdFAST32): Likewise.
24462         [C99-based-standards] (PRIiFAST32): Likewise.
24463         [C99-based-standards] (PRIoFAST32): Likewise.
24464         [C99-based-standards] (PRIuFAST32): Likewise.
24465         [C99-based-standards] (PRIxFAST32): Likewise.
24466         [C99-based-standards] (PRIXFAST32): Likewise.
24467         [C99-based-standards] (SCNdFAST32): Likewise.
24468         [C99-based-standards] (SCNiFAST32): Likewise.
24469         [C99-based-standards] (SCNoFAST32): Likewise.
24470         [C99-based-standards] (SCNuFAST32): Likewise.
24471         [C99-based-standards] (SCNxFAST32): Likewise.
24472         [C99-based-standards] (PRId64): Likewise.
24473         [C99-based-standards] (PRIi64): Likewise.
24474         [C99-based-standards] (PRIo64): Likewise.
24475         [C99-based-standards] (PRIu64): Likewise.
24476         [C99-based-standards] (PRIx64): Likewise.
24477         [C99-based-standards] (PRIX64): Likewise.
24478         [C99-based-standards] (SCNd64): Likewise.
24479         [C99-based-standards] (SCNi64): Likewise.
24480         [C99-based-standards] (SCNo64): Likewise.
24481         [C99-based-standards] (SCNu64): Likewise.
24482         [C99-based-standards] (SCNx64): Likewise.
24483         [C99-based-standards] (PRIdLEAST64): Likewise.
24484         [C99-based-standards] (PRIiLEAST64): Likewise.
24485         [C99-based-standards] (PRIoLEAST64): Likewise.
24486         [C99-based-standards] (PRIuLEAST64): Likewise.
24487         [C99-based-standards] (PRIxLEAST64): Likewise.
24488         [C99-based-standards] (PRIXLEAST64): Likewise.
24489         [C99-based-standards] (SCNdLEAST64): Likewise.
24490         [C99-based-standards] (SCNiLEAST64): Likewise.
24491         [C99-based-standards] (SCNoLEAST64): Likewise.
24492         [C99-based-standards] (SCNuLEAST64): Likewise.
24493         [C99-based-standards] (SCNxLEAST64): Likewise.
24494         [C99-based-standards] (PRIdFAST64): Likewise.
24495         [C99-based-standards] (PRIiFAST64): Likewise.
24496         [C99-based-standards] (PRIoFAST64): Likewise.
24497         [C99-based-standards] (PRIuFAST64): Likewise.
24498         [C99-based-standards] (PRIxFAST64): Likewise.
24499         [C99-based-standards] (PRIXFAST64): Likewise.
24500         [C99-based-standards] (SCNdFAST64): Likewise.
24501         [C99-based-standards] (SCNiFAST64): Likewise.
24502         [C99-based-standards] (SCNoFAST64): Likewise.
24503         [C99-based-standards] (SCNuFAST64): Likewise.
24504         [C99-based-standards] (SCNxFAST64): Likewise.
24505         [C99-based-standards] (PRIdMAX): Likewise.
24506         [C99-based-standards] (PRIiMAX): Likewise.
24507         [C99-based-standards] (PRIoMAX): Likewise.
24508         [C99-based-standards] (PRIuMAX): Likewise.
24509         [C99-based-standards] (PRIxMAX): Likewise.
24510         [C99-based-standards] (PRIXMAX): Likewise.
24511         [C99-based-standards] (SCNdMAX): Likewise.
24512         [C99-based-standards] (SCNiMAX): Likewise.
24513         [C99-based-standards] (SCNoMAX): Likewise.
24514         [C99-based-standards] (SCNuMAX): Likewise.
24515         [C99-based-standards] (SCNxMAX): Likewise.
24516         [C99-based-standards] (PRIdPTR): Likewise.
24517         [C99-based-standards] (PRIiPTR): Likewise.
24518         [C99-based-standards] (PRIoPTR): Likewise.
24519         [C99-based-standards] (PRIuPTR): Likewise.
24520         [C99-based-standards] (PRIxPTR): Likewise.
24521         [C99-based-standards] (PRIXPTR): Likewise.
24522         [C99-based-standards] (SCNdPTR): Likewise.
24523         [C99-based-standards] (SCNiPTR): Likewise.
24524         [C99-based-standards] (SCNoPTR): Likewise.
24525         [C99-based-standards] (SCNuPTR): Likewise.
24526         [C99-based-standards] (SCNxPTR): Likewise.
24527         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24528         allow.
24529         * conform/data/stdint.h-data: Update comments to clarify
24530         requirements.
24531         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24532         type.
24533         [C99-based standards] (INT8_MAX): Likewise.
24534         [C99-based standards] (INT16_MIN): Likewise.
24535         [C99-based standards] (INT16_MAX): Likewise.
24536         [C99-based standards] (INT32_MIN): Likewise.
24537         [C99-based standards] (INT32_MAX): Likewise.
24538         [C99-based standards] (INT64_MIN): Likewise.
24539         [C99-based standards] (INT64_MAX): Likewise.
24540         [C99-based standards] (UINT8_MAX): Likewise.
24541         [C99-based standards] (UINT16_MAX): Likewise.
24542         [C99-based standards] (UINT32_MAX): Likewise.
24543         [C99-based standards] (UINT64_MAX): Likewise.
24544         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24545         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24546         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24547         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24548         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24549         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24550         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24551         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24552         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24553         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24554         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24555         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24556         [C99-based standards] (INT_FAST8_MIN): Likewise.
24557         [C99-based standards] (INT_FAST8_MAX): Likewise.
24558         [C99-based standards] (INT_FAST16_MIN): Likewise.
24559         [C99-based standards] (INT_FAST16_MAX): Likewise.
24560         [C99-based standards] (INT_FAST32_MIN): Likewise.
24561         [C99-based standards] (INT_FAST32_MAX): Likewise.
24562         [C99-based standards] (INT_FAST64_MIN): Likewise.
24563         [C99-based standards] (INT_FAST64_MAX): Likewise.
24564         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24565         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24566         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24567         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24568         [C99-based standards] (INTPTR_MIN): Likewise.
24569         [C99-based standards] (INTPTR_MAX): Likewise.
24570         [C99-based standards] (UINTPTR_MAX): Likewise.
24571         [C99-based standards] (INTMAX_MIN): Likewise.
24572         [C99-based standards] (INTMAX_MAX): Likewise.
24573         [C99-based standards] (UINTMAX_MAX): Likewise.
24574         [C99-based standards] (PTRDIFF_MIN): Likewise.
24575         [C99-based standards] (PTRDIFF_MAX): Likewise.
24576         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24577         [C99-based standards] (SIZE_MAX): Likewise.
24578         [C99-based standards] (WCHAR_MAX): Likewise.
24579         [C99-based standards] (WINT_MAX): Likewise.
24580         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24581         constraint on value.
24582         [C99-based standards] (WCHAR_MIN): Likewise.
24583         [C99-based standards] (WINT_MIN): Likewise.
24584         [C99-based standards] (*_t): Allow.
24585         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24586         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24587         Include math.h-data and complex.h-data.  Remove all expectations
24588         of math.h and complex.h contents.
24589         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24590         at end of line.
24591         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24592         (struct tm): Expect tag.
24593         [C99-based-standards] (wcstof): Expect function.
24594         [C99-based-standards] (wcstold): Likewise.
24595         [C99-based-standards] (wcstoll): Likewise.
24596         [C99-based-standards] (wcstoull): Likewise.
24597         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24598         macro-int-constant.  Specify type.
24599         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24600         constraint on value.
24601         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24602         Specify type.
24603         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24604         Specify value.
24605         [ISO C standards]: Do not allow headers.
24606         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24607         wcs[abcdefghijklmnopqrstuvwxyz]*.
24608         [ISO C standards] (*_t): Do not allow.
24609         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24610         Expect function.
24611         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24612         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24613         Specify type.
24614         [ISO C standards]: Do not allow headers.
24615         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24616         is[abcdefghijklmnopqrstuvwxyz]*.
24617         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24618         to[abcdefghijklmnopqrstuvwxyz]*.
24619         [ISO C standards] (*_t): Do not allow.
24620         * conform/data/stdalign.h-data: New file.
24621         * conform/data/stdbool.h-data: Likewise.
24622         * conform/data/stdnoreturn.h-data: Likewise.
24624 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24626         [BZ #14815]
24627         * manual/filesys.texi (Directory Entries): Typo fix.
24628         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24630 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24632         * elf/elf.h (EM_AARCH64): New macro.
24633         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24634         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24635         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24636         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24637         (R_AARCH64_TLSDESC): Likewise.
24638         (NT_ARM_TLS): Likewise.
24639         (NT_ARM_HW_BREAK): Likewise.
24640         (NT_ARM_HW_WATCH): Likewise.
24642 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24644         [BZ #14811]
24645         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24646         (__ieee754_powl): Saturate nonzero exponents with absolute value
24647         below 0x1p-79 to +/- 0x1p-79.
24648         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24649         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24650         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24651         nonzero exponents with absolute value below 0x1p-32 to +/-
24652         0x1p-32.
24653         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24654         (__ieee754_powl): Saturate nonzero exponents with absolute value
24655         below 0x1p-79 to +/- 0x1p-79.
24656         * math/libm-test.inc (pow_test): Add more tests.
24658 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24660         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24661         _dl_s390_cap_flags with kernel. Increase string length.
24662         (_dl_s390_platforms): Add z196 and zEC12.
24664 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24666         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24667         Change XOPEN21K to XOPEN2K.
24669 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24671         * string/memmove.c: Use memcpy when possible.
24673 2012-11-06  Andreas Jaeger  <aj@suse.de>
24675         * po/eo.po: Update from translation team.
24677 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #14793]
24680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24681         exponent and small x and y exponents, scale x or y up.  Increase
24682         by 2 the exponent used in scaling up.
24683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24685         * math/libm-test.inc (fma_test): Add more tests.
24686         (fma_test_towardzero): Likewise.
24687         (fma_test_downward): Likewise.
24688         (fma_test_upward): Likewise.
24690 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24692         [BZ #14805]
24693         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24694         fenv_t *.
24696         [BZ #14801]
24697         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24698         namespace for names of struct fields.
24699         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24700         fenv_t fields.
24701         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24702         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24704 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24706         [BZ #3665]
24707         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24709 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24711         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24712         PTR_DEMANGLE.
24714         [BZ #5246]
24715         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24716         PTR_DEMANGLE.
24718 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24720         [BZ #14797]
24721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24722         definitely overflow as x * y not x * y + z.
24723         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24725         * math/libm-test.inc (fma_test): Add more tests.
24726         (fma_test_towardzero): Likewise.
24727         (fma_test_downward): Likewise.
24728         (fma_test_upward): Likewise.
24730 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24732         [BZ #157]
24734         * include/stub-tag.h: Remove file.
24735         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24736         '#include' of it.
24737         * manual/maint.texi (Porting): Don't reference it.
24738         * Makerules ($(objpfx)stubs): Likewise.
24739         * dirent/closedir.c: Don't include <stub-tag.h>.
24740         * dirent/dirfd.c: Likewise.
24741         * dirent/fdopendir.c: Likewise.
24742         * dirent/getdents.c: Likewise.
24743         * dirent/getdents64.c: Likewise.
24744         * dirent/opendir.c: Likewise.
24745         * dirent/readdir.c: Likewise.
24746         * dirent/readdir64.c: Likewise.
24747         * dirent/readdir64_r.c: Likewise.
24748         * dirent/readdir_r.c: Likewise.
24749         * dirent/rewinddir.c: Likewise.
24750         * dirent/seekdir.c: Likewise.
24751         * dirent/telldir.c: Likewise.
24752         * gmon/profil.c: Likewise.
24753         * grp/setgroups.c: Likewise.
24754         * inet/if_index.c: Likewise.
24755         * io/access.c: Likewise.
24756         * io/chdir.c: Likewise.
24757         * io/chmod.c: Likewise.
24758         * io/chown.c: Likewise.
24759         * io/close.c: Likewise.
24760         * io/dup.c: Likewise.
24761         * io/dup2.c: Likewise.
24762         * io/dup3.c: Likewise.
24763         * io/euidaccess.c: Likewise.
24764         * io/faccessat.c: Likewise.
24765         * io/fchdir.c: Likewise.
24766         * io/fchmod.c: Likewise.
24767         * io/fchmodat.c: Likewise.
24768         * io/fchown.c: Likewise.
24769         * io/fchownat.c: Likewise.
24770         * io/fcntl.c: Likewise.
24771         * io/flock.c: Likewise.
24772         * io/fstatfs.c: Likewise.
24773         * io/fstatfs64.c: Likewise.
24774         * io/fstatvfs.c: Likewise.
24775         * io/fstatvfs64.c: Likewise.
24776         * io/futimens.c: Likewise.
24777         * io/fxstat.c: Likewise.
24778         * io/fxstat64.c: Likewise.
24779         * io/fxstatat.c: Likewise.
24780         * io/fxstatat64.c: Likewise.
24781         * io/getcwd.c: Likewise.
24782         * io/isatty.c: Likewise.
24783         * io/lchmod.c: Likewise.
24784         * io/lchown.c: Likewise.
24785         * io/link.c: Likewise.
24786         * io/linkat.c: Likewise.
24787         * io/lseek.c: Likewise.
24788         * io/lseek64.c: Likewise.
24789         * io/lxstat64.c: Likewise.
24790         * io/mkdir.c: Likewise.
24791         * io/mkdirat.c: Likewise.
24792         * io/mkfifo.c: Likewise.
24793         * io/mkfifoat.c: Likewise.
24794         * io/open.c: Likewise.
24795         * io/open64.c: Likewise.
24796         * io/openat.c: Likewise.
24797         * io/openat64.c: Likewise.
24798         * io/pipe.c: Likewise.
24799         * io/pipe2.c: Likewise.
24800         * io/poll.c: Likewise.
24801         * io/posix_fadvise.c: Likewise.
24802         * io/posix_fadvise64.c: Likewise.
24803         * io/posix_fallocate.c: Likewise.
24804         * io/posix_fallocate64.c: Likewise.
24805         * io/read.c: Likewise.
24806         * io/readlink.c: Likewise.
24807         * io/readlinkat.c: Likewise.
24808         * io/rmdir.c: Likewise.
24809         * io/sendfile.c: Likewise.
24810         * io/sendfile64.c: Likewise.
24811         * io/statfs.c: Likewise.
24812         * io/statfs64.c: Likewise.
24813         * io/statvfs.c: Likewise.
24814         * io/statvfs64.c: Likewise.
24815         * io/symlink.c: Likewise.
24816         * io/symlinkat.c: Likewise.
24817         * io/ttyname.c: Likewise.
24818         * io/ttyname_r.c: Likewise.
24819         * io/umask.c: Likewise.
24820         * io/unlink.c: Likewise.
24821         * io/unlinkat.c: Likewise.
24822         * io/utime.c: Likewise.
24823         * io/utimensat.c: Likewise.
24824         * io/write.c: Likewise.
24825         * io/xmknod.c: Likewise.
24826         * io/xmknodat.c: Likewise.
24827         * io/xstat.c: Likewise.
24828         * io/xstat64.c: Likewise.
24829         * login/getpt.c: Likewise.
24830         * login/grantpt.c: Likewise.
24831         * login/unlockpt.c: Likewise.
24832         * math/e_acoshl.c: Likewise.
24833         * math/e_acosl.c: Likewise.
24834         * math/e_asinl.c: Likewise.
24835         * math/e_atan2l.c: Likewise.
24836         * math/e_atanhl.c: Likewise.
24837         * math/e_coshl.c: Likewise.
24838         * math/e_expl.c: Likewise.
24839         * math/e_fmodl.c: Likewise.
24840         * math/e_gammal_r.c: Likewise.
24841         * math/e_hypotl.c: Likewise.
24842         * math/e_j0l.c: Likewise.
24843         * math/e_j1l.c: Likewise.
24844         * math/e_jnl.c: Likewise.
24845         * math/e_lgammal_r.c: Likewise.
24846         * math/e_log10l.c: Likewise.
24847         * math/e_log2l.c: Likewise.
24848         * math/e_logl.c: Likewise.
24849         * math/e_powl.c: Likewise.
24850         * math/e_rem_pio2l.c: Likewise.
24851         * math/e_sinhl.c: Likewise.
24852         * math/e_sqrtl.c: Likewise.
24853         * math/fclrexcpt.c: Likewise.
24854         * math/fedisblxcpt.c: Likewise.
24855         * math/feenablxcpt.c: Likewise.
24856         * math/fegetenv.c: Likewise.
24857         * math/fegetexcept.c: Likewise.
24858         * math/fegetround.c: Likewise.
24859         * math/feholdexcpt.c: Likewise.
24860         * math/fesetenv.c: Likewise.
24861         * math/fesetround.c: Likewise.
24862         * math/feupdateenv.c: Likewise.
24863         * math/fgetexcptflg.c: Likewise.
24864         * math/fraiseexcpt.c: Likewise.
24865         * math/fsetexcptflg.c: Likewise.
24866         * math/ftestexcept.c: Likewise.
24867         * math/k_cosl.c: Likewise.
24868         * math/k_rem_pio2l.c: Likewise.
24869         * math/k_sinl.c: Likewise.
24870         * math/k_tanl.c: Likewise.
24871         * math/s_asinhl.c: Likewise.
24872         * math/s_atanl.c: Likewise.
24873         * math/s_cbrtl.c: Likewise.
24874         * math/s_erfl.c: Likewise.
24875         * math/s_expm1l.c: Likewise.
24876         * math/s_log1pl.c: Likewise.
24877         * math/s_tanhl.c: Likewise.
24878         * misc/acct.c: Likewise.
24879         * misc/brk.c: Likewise.
24880         * misc/chflags.c: Likewise.
24881         * misc/chroot.c: Likewise.
24882         * misc/fchflags.c: Likewise.
24883         * misc/fgetxattr.c: Likewise.
24884         * misc/flistxattr.c: Likewise.
24885         * misc/fremovexattr.c: Likewise.
24886         * misc/fsetxattr.c: Likewise.
24887         * misc/fsync.c: Likewise.
24888         * misc/ftruncate.c: Likewise.
24889         * misc/futimes.c: Likewise.
24890         * misc/futimesat.c: Likewise.
24891         * misc/getdomain.c: Likewise.
24892         * misc/getdtsz.c: Likewise.
24893         * misc/gethostid.c: Likewise.
24894         * misc/gethostname.c: Likewise.
24895         * misc/getloadavg.c: Likewise.
24896         * misc/getpagesize.c: Likewise.
24897         * misc/getsysstats.c: Likewise.
24898         * misc/getxattr.c: Likewise.
24899         * misc/gtty.c: Likewise.
24900         * misc/ioctl.c: Likewise.
24901         * misc/lgetxattr.c: Likewise.
24902         * misc/listxattr.c: Likewise.
24903         * misc/llistxattr.c: Likewise.
24904         * misc/lremovexattr.c: Likewise.
24905         * misc/lsetxattr.c: Likewise.
24906         * misc/lutimes.c: Likewise.
24907         * misc/madvise.c: Likewise.
24908         * misc/mincore.c: Likewise.
24909         * misc/mlock.c: Likewise.
24910         * misc/mlockall.c: Likewise.
24911         * misc/mmap.c: Likewise.
24912         * misc/mprotect.c: Likewise.
24913         * misc/msync.c: Likewise.
24914         * misc/munlock.c: Likewise.
24915         * misc/munlockall.c: Likewise.
24916         * misc/munmap.c: Likewise.
24917         * misc/preadv.c: Likewise.
24918         * misc/preadv64.c: Likewise.
24919         * misc/ptrace.c: Likewise.
24920         * misc/pwritev.c: Likewise.
24921         * misc/pwritev64.c: Likewise.
24922         * misc/readv.c: Likewise.
24923         * misc/reboot.c: Likewise.
24924         * misc/remap_file_pages.c: Likewise.
24925         * misc/removexattr.c: Likewise.
24926         * misc/revoke.c: Likewise.
24927         * misc/select.c: Likewise.
24928         * misc/setdomain.c: Likewise.
24929         * misc/setegid.c: Likewise.
24930         * misc/seteuid.c: Likewise.
24931         * misc/sethostid.c: Likewise.
24932         * misc/sethostname.c: Likewise.
24933         * misc/setregid.c: Likewise.
24934         * misc/setreuid.c: Likewise.
24935         * misc/setxattr.c: Likewise.
24936         * misc/sstk.c: Likewise.
24937         * misc/stty.c: Likewise.
24938         * misc/swapoff.c: Likewise.
24939         * misc/swapon.c: Likewise.
24940         * misc/sync.c: Likewise.
24941         * misc/syncfs.c: Likewise.
24942         * misc/syscall.c: Likewise.
24943         * misc/truncate.c: Likewise.
24944         * misc/ualarm.c: Likewise.
24945         * misc/usleep.c: Likewise.
24946         * misc/ustat.c: Likewise.
24947         * misc/utimes.c: Likewise.
24948         * misc/vhangup.c: Likewise.
24949         * misc/writev.c: Likewise.
24950         * posix/_exit.c: Likewise.
24951         * posix/alarm.c: Likewise.
24952         * posix/execve.c: Likewise.
24953         * posix/fexecve.c: Likewise.
24954         * posix/fork.c: Likewise.
24955         * posix/fpathconf.c: Likewise.
24956         * posix/getaddrinfo.c: Likewise.
24957         * posix/getegid.c: Likewise.
24958         * posix/geteuid.c: Likewise.
24959         * posix/getgid.c: Likewise.
24960         * posix/getgroups.c: Likewise.
24961         * posix/getlogin.c: Likewise.
24962         * posix/getlogin_r.c: Likewise.
24963         * posix/getpgid.c: Likewise.
24964         * posix/getpid.c: Likewise.
24965         * posix/getppid.c: Likewise.
24966         * posix/getresgid.c: Likewise.
24967         * posix/getresuid.c: Likewise.
24968         * posix/getsid.c: Likewise.
24969         * posix/getuid.c: Likewise.
24970         * posix/glob64.c: Likewise.
24971         * posix/nanosleep.c: Likewise.
24972         * posix/pathconf.c: Likewise.
24973         * posix/pause.c: Likewise.
24974         * posix/posix_madvise.c: Likewise.
24975         * posix/pread.c: Likewise.
24976         * posix/pread64.c: Likewise.
24977         * posix/pwrite.c: Likewise.
24978         * posix/pwrite64.c: Likewise.
24979         * posix/sched_getaffinity.c: Likewise.
24980         * posix/sched_getp.c: Likewise.
24981         * posix/sched_gets.c: Likewise.
24982         * posix/sched_primax.c: Likewise.
24983         * posix/sched_primin.c: Likewise.
24984         * posix/sched_rr_gi.c: Likewise.
24985         * posix/sched_setaffinity.c: Likewise.
24986         * posix/sched_setp.c: Likewise.
24987         * posix/sched_sets.c: Likewise.
24988         * posix/sched_yield.c: Likewise.
24989         * posix/setgid.c: Likewise.
24990         * posix/setlogin.c: Likewise.
24991         * posix/setpgid.c: Likewise.
24992         * posix/setresgid.c: Likewise.
24993         * posix/setresuid.c: Likewise.
24994         * posix/setsid.c: Likewise.
24995         * posix/setuid.c: Likewise.
24996         * posix/sleep.c: Likewise.
24997         * posix/spawni.c: Likewise.
24998         * posix/sysconf.c: Likewise.
24999         * posix/times.c: Likewise.
25000         * posix/wait.c: Likewise.
25001         * posix/wait3.c: Likewise.
25002         * posix/wait4.c: Likewise.
25003         * posix/waitpid.c: Likewise.
25004         * resolv/gai_sigqueue.c: Likewise.
25005         * resource/getpriority.c: Likewise.
25006         * resource/getrlimit.c: Likewise.
25007         * resource/getrusage.c: Likewise.
25008         * resource/nice.c: Likewise.
25009         * resource/setpriority.c: Likewise.
25010         * resource/setrlimit.c: Likewise.
25011         * resource/ulimit.c: Likewise.
25012         * rt/aio_cancel.c: Likewise.
25013         * rt/aio_fsync.c: Likewise.
25014         * rt/aio_read.c: Likewise.
25015         * rt/aio_sigqueue.c: Likewise.
25016         * rt/aio_suspend.c: Likewise.
25017         * rt/aio_write.c: Likewise.
25018         * rt/clock_getres.c: Likewise.
25019         * rt/clock_gettime.c: Likewise.
25020         * rt/clock_nanosleep.c: Likewise.
25021         * rt/clock_settime.c: Likewise.
25022         * rt/lio_listio.c: Likewise.
25023         * rt/mq_close.c: Likewise.
25024         * rt/mq_getattr.c: Likewise.
25025         * rt/mq_notify.c: Likewise.
25026         * rt/mq_open.c: Likewise.
25027         * rt/mq_receive.c: Likewise.
25028         * rt/mq_send.c: Likewise.
25029         * rt/mq_setattr.c: Likewise.
25030         * rt/mq_timedreceive.c: Likewise.
25031         * rt/mq_timedsend.c: Likewise.
25032         * rt/mq_unlink.c: Likewise.
25033         * rt/shm_open.c: Likewise.
25034         * rt/shm_unlink.c: Likewise.
25035         * rt/timer_create.c: Likewise.
25036         * rt/timer_delete.c: Likewise.
25037         * rt/timer_getoverr.c: Likewise.
25038         * rt/timer_gettime.c: Likewise.
25039         * rt/timer_settime.c: Likewise.
25040         * setjmp/__longjmp.c: Likewise.
25041         * setjmp/setjmp.c: Likewise.
25042         * signal/kill.c: Likewise.
25043         * signal/killpg.c: Likewise.
25044         * signal/raise.c: Likewise.
25045         * signal/sigaction.c: Likewise.
25046         * signal/sigaltstack.c: Likewise.
25047         * signal/sigblock.c: Likewise.
25048         * signal/sigignore.c: Likewise.
25049         * signal/sigintr.c: Likewise.
25050         * signal/signal.c: Likewise.
25051         * signal/sigpause.c: Likewise.
25052         * signal/sigpending.c: Likewise.
25053         * signal/sigqueue.c: Likewise.
25054         * signal/sigreturn.c: Likewise.
25055         * signal/sigset.c: Likewise.
25056         * signal/sigsetmask.c: Likewise.
25057         * signal/sigstack.c: Likewise.
25058         * signal/sigsuspend.c: Likewise.
25059         * signal/sigtimedwait.c: Likewise.
25060         * signal/sigvec.c: Likewise.
25061         * signal/sigwait.c: Likewise.
25062         * signal/sigwaitinfo.c: Likewise.
25063         * signal/sysv_signal.c: Likewise.
25064         * socket/accept.c: Likewise.
25065         * socket/accept4.c: Likewise.
25066         * socket/bind.c: Likewise.
25067         * socket/connect.c: Likewise.
25068         * socket/getpeername.c: Likewise.
25069         * socket/getsockname.c: Likewise.
25070         * socket/getsockopt.c: Likewise.
25071         * socket/isfdtype.c: Likewise.
25072         * socket/listen.c: Likewise.
25073         * socket/recv.c: Likewise.
25074         * socket/recvfrom.c: Likewise.
25075         * socket/recvmsg.c: Likewise.
25076         * socket/send.c: Likewise.
25077         * socket/sendmsg.c: Likewise.
25078         * socket/sendto.c: Likewise.
25079         * socket/setsockopt.c: Likewise.
25080         * socket/shutdown.c: Likewise.
25081         * socket/sockatmark.c: Likewise.
25082         * socket/socket.c: Likewise.
25083         * socket/socketpair.c: Likewise.
25084         * stdio-common/ctermid.c: Likewise.
25085         * stdio-common/cuserid.c: Likewise.
25086         * stdio-common/remove.c: Likewise.
25087         * stdio-common/rename.c: Likewise.
25088         * stdio-common/renameat.c: Likewise.
25089         * stdio-common/tempname.c: Likewise.
25090         * stdlib/getcontext.c: Likewise.
25091         * stdlib/makecontext.c: Likewise.
25092         * stdlib/setcontext.c: Likewise.
25093         * stdlib/swapcontext.c: Likewise.
25094         * stdlib/system.c: Likewise.
25095         * streams/fattach.c: Likewise.
25096         * streams/fdetach.c: Likewise.
25097         * streams/getmsg.c: Likewise.
25098         * streams/getpmsg.c: Likewise.
25099         * streams/putmsg.c: Likewise.
25100         * streams/putpmsg.c: Likewise.
25101         * sysdeps/unix/bsd/getpt.c: Likewise.
25102         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25103         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25104         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25106         Likewise.
25107         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25108         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25109         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25110         * sysvipc/msgctl.c: Likewise.
25111         * sysvipc/msgget.c: Likewise.
25112         * sysvipc/msgrcv.c: Likewise.
25113         * sysvipc/msgsnd.c: Likewise.
25114         * sysvipc/semctl.c: Likewise.
25115         * sysvipc/semget.c: Likewise.
25116         * sysvipc/semop.c: Likewise.
25117         * sysvipc/semtimedop.c: Likewise.
25118         * sysvipc/shmat.c: Likewise.
25119         * sysvipc/shmctl.c: Likewise.
25120         * sysvipc/shmdt.c: Likewise.
25121         * sysvipc/shmget.c: Likewise.
25122         * termios/tcdrain.c: Likewise.
25123         * termios/tcflow.c: Likewise.
25124         * termios/tcflush.c: Likewise.
25125         * termios/tcgetattr.c: Likewise.
25126         * termios/tcgetpgrp.c: Likewise.
25127         * termios/tcsendbrk.c: Likewise.
25128         * termios/tcsetattr.c: Likewise.
25129         * termios/tcsetpgrp.c: Likewise.
25130         * time/adjtime.c: Likewise.
25131         * time/clock.c: Likewise.
25132         * time/getitimer.c: Likewise.
25133         * time/gettimeofday.c: Likewise.
25134         * time/setitimer.c: Likewise.
25135         * time/settimeofday.c: Likewise.
25136         * time/stime.c: Likewise.
25137         * time/time.c: Likewise.
25139 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25141         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25142         /usr/old/bin.
25144         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25145         instead of spaces.
25146         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25148 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25150         [BZ #14796]
25151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25152         FE_TONEAREST before applying Dekker multiplication and Knuth
25153         addition.  Clear inexact exceptions and check for exact zero
25154         results afterwards.
25155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25156         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25157         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25158         * math/libm-test.inc (fma_test): Add more tests.
25159         (fma_test_towardzero): Likewise.
25160         (fma_test_downward): Likewise.
25161         (fma_test_upward): Likewise.
25162         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25163         function.
25164         (libc_fesetround): New macro.
25165         (libc_fesetroundf): Likewise.
25166         (libc_fesetroundl): Likewise.
25167         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25168         function.
25169         (libc_fesetround_387): Likewise.
25170         (libc_fesetroundf): New macro.
25171         (libc_fesetround): Likewise.
25172         (libc_fesetroundl): Likewise.
25173         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25174         function.
25175         (libc_fesetroundf): New macro.
25176         (libc_fesetround): Likewise.
25177         (libc_fesetroundl): Likewise.
25178         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25179         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25180         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25181         libm_hidden_ver.
25182         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25183         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25184         libm_hidden_def.
25185         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25186         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25187         libm_hidden_ver.
25188         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25189         libm_hidden_def.
25191         [BZ #3439]
25192         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25193         integer constant usable in #if and use that to give value to enum
25194         constant.
25195         (FE_DIVBYZERO): Likewise.
25196         (FE_UNDERFLOW): Likewise.
25197         (FE_OVERFLOW): Likewise.
25198         (FE_INVALID): Likewise.
25199         (FE_INVALID_SNAN): Likewise.
25200         (FE_INVALID_ISI): Likewise.
25201         (FE_INVALID_IDI): Likewise.
25202         (FE_INVALID_ZDZ): Likewise.
25203         (FE_INVALID_IMZ): Likewise.
25204         (FE_INVALID_COMPARE): Likewise.
25205         (FE_INVALID_SOFTWARE): Likewise.
25206         (FE_INVALID_SQRT): Likewise.
25207         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25208         (FE_TONEAREST): Likewise.
25209         (FE_TOWARDZERO): Likewise.
25210         (FE_UPWARD): Likewise.
25211         (FE_DOWNWARD): Likewise.
25212         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25213         (FE_DIVBYZERO): Likewise.
25214         (FE_OVERFLOW): Likewise.
25215         (FE_UNDERFLOW): Likewise.
25216         (FE_INEXACT): Likewise.
25217         (FE_TONEAREST): Likewise.
25218         (FE_DOWNWARD): Likewise.
25219         (FE_UPWARD): Likewise.
25220         (FE_TOWARDZERO): Likewise.
25221         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25222         (FE_UNDERFLOW): Likewise.
25223         (FE_OVERFLOW): Likewise.
25224         (FE_DIVBYZERO): Likewise.
25225         (FE_INVALID): Likewise.
25226         (FE_TONEAREST): Likewise.
25227         (FE_TOWARDZERO): Likewise.
25228         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25229         (FE_OVERFLOW): Likewise.
25230         (FE_UNDERFLOW): Likewise.
25231         (FE_DIVBYZERO): Likewise.
25232         (FE_INEXACT): Likewise.
25233         (FE_TONEAREST): Likewise.
25234         (FE_TOWARDZERO): Likewise.
25235         (FE_UPWARD): Likewise.
25236         (FE_DOWNWARD): Likewise.
25237         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25238         (FE_DIVBYZERO): Likewise.
25239         (FE_OVERFLOW): Likewise.
25240         (FE_UNDERFLOW): Likewise.
25241         (FE_INEXACT): Likewise.
25242         (FE_TONEAREST): Likewise.
25243         (FE_DOWNWARD): Likewise.
25244         (FE_UPWARD): Likewise.
25245         (FE_TOWARDZERO): Likewise.
25247 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25249         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25251 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25253         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25254         commands.  Quote $PWD.
25255         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25256         -x" by "export".
25257         (remove_newlines): Remove.
25259 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25261         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25262         * stdlib/stdlib.h (atof): Moved to ...
25263         * include/bits/stdlib-float.h: Here.  New file.
25264         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25265         * stdlib/bits/stdlib-float.h: New file.
25266         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25267         -mno-sse -mno-mmx.
25268         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25269         <xmmintrin.h>.
25271 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25273         * conform/conformtest.pl (@headers): Add fenv.h.
25274         * conform/data/fenv.h-data: New file.
25275         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25276         include of <math/fenv.h>.
25278         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25279         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25280         && !UNIX98].  Enables tests for XOPEN2K8.
25281         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25282         POSIX2008]: Likewise.
25284         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25285         (struct rusage): Do not expect type or its members.
25287         [BZ #3439]
25288         * math/math.h (FP_NAN): Define macro to integer constant usable in
25289         #if and use that to give value to enum constant.
25290         (FP_INFINITE): Likewise.
25291         (FP_ZERO): Likewise.
25292         (FP_SUBNORMAL): Likewise.
25293         (FP_NORMAL): Likewise.
25295 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25297         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25298         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25299         arguments.
25301 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25303         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25304         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25305         autoconf-time if not.
25306         * configure.in: Remove AC_PREREQ.
25308 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25310         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25311         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25312         of the internal implementation.
25314 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25316         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25317         except include of <misc/sys/syslog.h>.
25319 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25322         function returns with a NULL context exit with zero.
25324 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25326         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25328 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25330         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25331         (run_program_cmd): This.
25332         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25333         (tst_langinfo): New variable.  Use it.
25335 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25337         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25338         floating point opcodes.
25340 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25342         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25343         variable.
25345         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25347         * sysdeps/mach/hurd/powerpc: Remove directory.
25348         * sysdeps/mach/powerpc: Likewise.
25350 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25352         * scripts/check-local-headers.sh: Ignore c++ headers.
25354 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25356         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25357         __libc_cleanup_region_start argument.
25359 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25361         [BZ #14784]
25362         [BZ #14785]
25363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25364         x * y using scaling, not as x * y + z.
25365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25367         * math/libm-test.inc (fma_test): Add more tests.
25368         (fma_test_towardzero): Likewise.
25369         (fma_test_downward): Likewise.
25370         (fma_test_upward): Likewise.
25372 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25374         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25376 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25378         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25379         New variable.
25381 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25383         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25385 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25388         Fix sort order.
25389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25390         Likewise.
25392 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25395         Fix the order of the list for glibc 2.17.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25397         Likewise.
25399 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25403 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25405         [BZ #14610]
25406         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25407         for low part of x being zero before using __atanl (y).
25408         * math/libm-test.inc (atan2_test): Add another test.
25410         * manual/install.texi (Configuring and compiling): Document
25411         general use of test-wrapper and test-wrapper-env.
25412         * INSTALL: Regenerated.
25414         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25415         (__fma): Do not extract and scale down low bits on after-rounding
25416         systems when result rounded to normal precision would have normal
25417         exponent.
25418         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25419         (__fmal): Do not extract and scale down low bits on after-rounding
25420         systems when result rounded to normal precision would have normal
25421         exponent.
25422         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25423         (__fmal): Do not extract and scale down low bits on after-rounding
25424         systems when result rounded to normal precision would have normal
25425         exponent.
25426         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25427         macro.
25428         (fma_test): Add more tests.
25429         (fma_test_towardzero): Likewise.
25430         (fma_test_downward): Likewise.
25431         (fma_test_upward): Likewise.
25433 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25435         * sysdeps/i386/tininess.h: Renamed to ...
25436         * sysdeps/x86/tininess.h: This.
25437         * sysdeps/x86_64/tininess.h: Removed.
25439 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25441         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25442         input.  Use $(build-program-cmd).
25443         ($(objpfx)tst-array1-static.out): Likewise.
25444         ($(objpfx)tst-array2.out): Likewise.
25445         ($(objpfx)tst-array3.out): Likewise.
25446         ($(objpfx)tst-array4.out): Likewise.
25447         ($(objpfx)tst-array5.out): Likewise.
25448         ($(objpfx)tst-array5-static.out): Likewise.
25450 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25452         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25453         if defined.
25455         * nss/nsswitch.h (nss_interface_function): Provide new
25456         macro for use with NSS functions.
25457         * grp/initgroups.c: Use new macro.
25458         * nss/getXXbyYY.c: Likewise.
25459         * nss/getXXbyYY_r.c: Likewise.
25460         * nss/getXXent.c: Likewise.
25461         * nss/getXXent_r.c: Likewise.
25462         * sysdeps/posix/getaddrinfo.c: Likewise.
25464 2012-10-30  Andreas Jaeger  <aj@suse.de>
25466         * po/ru.po: Update Russion translation from translation project.
25468 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25470         [BZ #14152]
25471         [BZ #14783]
25472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25473         result and shift together with sticky bit instead of replicating
25474         round-to-nearest rounding.
25475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25477         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25478         missing underflow exceptions.
25479         (fma_test_towardzero): Add more tests.
25480         (fma_test_downward): Likewise.
25481         (fma_test_upward): Likewise.
25483         [BZ #14047]
25484         * sysdeps/generic/tininess.h: New file.
25485         * sysdeps/i386/tininess.h: Likewise.
25486         * sysdeps/sh/tininess.h: Likewise.
25487         * sysdeps/x86_64/tininess.h: Likewise.
25488         * stdlib/tst-strtod-underflow.c: Likewise.
25489         * stdlib/tst-tininess.c: Likewise.
25490         * stdlib/strtod_l.c: Include <tininess.h>.
25491         (round_and_return): Do not set errno for exact underflow cases.
25492         Force an underflow exception when setting errno for underflow.
25493         Determine underflow based on rounding to normal precision if
25494         TININESS_AFTER_ROUNDING.
25495         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25496         ERANGE for exact underflow cases.
25497         * stdlib/Makefile (tests): Add tst-tininess and
25498         tst-strtod-underflow.
25499         ($(objpfx)tst-tininess): Use $(link-libm).
25500         ($(objpfx)tst-strtod-underflow): Likewise.
25502 2012-10-30  Andreas Jaeger  <aj@suse.de>
25504         [BZ#14767]
25505         * elf/Makefile (tests): Remove conditional for have-initfini-array
25506         since this is now always required and the variable does not exist
25507         anymore.
25508         (tests-static): Likewise.
25509         (modules-names): Likewise.
25511         * po/eo.po: Add Esperanto translation from translation project.
25513         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25514         merged with constructor/destructor.
25515         (init_array): Likewise.
25516         * elf/tst-array2dep.c (fini_array): Likewise.
25517         (init_array): Likewise.
25519 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25521         * manual/message.texi: Delete @cartouche tags.
25523 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25525         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25526         EOPNOTSUPP.
25527         * sysdeps/mach/hurd/fsync.c: Likewise.
25529         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25530         [_POSIX_REALTIME_SIGNALS]: Change condition to
25531         [_POSIX_REALTIME_SIGNALS > 0].
25533 2012-10-27  Andreas Jaeger  <aj@suse.de>
25535         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25536         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25538         [__WORDSIZE != 64]: Likewise.
25540 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25542         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25543         *  iconvdata/tst-tables.sh: Likewise.
25545 2012-10-25  David S. Miller  <davem@davemloft.net>
25547         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25548         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25549         of strtoull.
25551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25552         ifunc-impl-list.c
25553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25554         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25555         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25556         file.
25558 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25561         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25562         __getdirentries.
25564 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25565             Jim Blandy  <jimb@codesourcery.com>
25567         * scripts/cross-test-ssh.sh: New file.
25568         * manual/install.texi (Configuring and compiling): Document use of
25569         cross-test-ssh.sh.
25570         * INSTALL: Regenerated.
25572 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25574         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25575         EOPNOTSUPP.
25577 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25579         * Makeconfig (run-program-prefix): Fix comment.
25581 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25582             Jim Blandy  <jimb@codesourcery.com>
25584         * Makeconfig (test-wrapper): New variable,
25585         (test-wrapper-env): Likewise.
25586         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25587         (run-built-tests): Define to yes.
25588         (run-program-prefix): Use $(test-wrapper).
25589         (built-program-cmd): Likewise.
25590         * Rules (make-test-out): Use $(test-wrapper-env) and
25591         $(host-built-program-cmd).
25592         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25593         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25594         tst-pathopt.sh.
25595         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25596         $(test-wrapper-env) to tst-rtld-load-self.sh.
25597         ($(objpfx)order2.out): Use $(test-wrapper).
25598         ($(objpfx)tst-initorder.out): Likewise.
25599         ($(objpfx)tst-initorder2.out): Likewise.
25600         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25601         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25602         (test_wrapper_env): New variable.  Use it to run ld.so.
25603         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25604         Use it to run ld.so.
25605         (test_wrapper_env): Likewise.
25606         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25607         $(test-wrapper) to run-iconv-test.sh.
25608         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25609         (ICONV): Use $test_wrapper.
25610         * posix/Makefile ($(objpfx)globtest.out): Pass
25611         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25612         globtest.sh, not $(run-program-prefix).
25613         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25614         (test_wrapper): Likewise.
25615         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25616         set together with run_via_rtld_prefix.
25617         (run_program_prefix): Define in terms of test_wrapper and
25618         run_via_rtld_prefix.
25620 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25622         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25623         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25624         Targets removed.
25626         [BZ #14743]
25627         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25628         Declare __clock_getres, __clock_gettime, __clock_settime,
25629         __clock_nanosleep, and __clock_getcpuclockid.
25630         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25631         Remove librt_hidden_def (clock_gettime).
25632         * sysdeps/unix/clock_gettime.c: Likewise.
25633         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25634         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25635         * rt/clock_getres.c: Define __clock_getres as an alias.
25636         * sysdeps/posix/clock_getres.c: Likewise.
25637         * rt/clock_settime.c: Define __clock_settime as an alias.
25638         * sysdeps/unix/clock_settime.c: Likewise.
25639         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25640         * sysdeps/unix/clock_nanosleep.c: Likewise.
25641         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25642         * rt/clock-compat.c: New file.
25643         * rt/Makefile (librt-routines): Add clock-compat and move
25644         $(clock-routines) to ...
25645         (routines): ... here, new variable.
25646         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25647         Don't add get_clockfreq here.
25648         * rt/Versions (libc: GLIBC_2.17): New version set.
25649         Add clock_* symbols here.
25650         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25651         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25652         (GLIBC_2.17): Add clock_* symbols.
25653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25655         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25657         Likewise.
25658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25659         Likewise.
25660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25664         * NEWS: Mention the move.
25666         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25667         Use __open, __read, __close rather than their public counterparts.
25668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25669         (__get_clockfreq_via_cpuinfo): Likewise.
25670         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25671         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25673         * config.h.in (HAVE_IFUNC): New #undef.
25674         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25675         was successful.
25676         * configure: Regenerated.
25678 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25680         * configure.in: Move READELF check to start of file.
25681         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25682         libc_cv_asm_gnu_indirect_function in the process.
25683         * configure: Regenerated.
25685 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25687         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25688         send the output to /dev/null.
25689         (libc_cv_cc_with_libunwind): Likewise.
25690         (libc_cv_as_noexecstack): Likewise.
25691         * configure: Regenerate.
25693 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25695         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25697         * posix/globtest.sh (TMPDIR): Do not set.
25698         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25699         (testout): Likewise.
25701 2012-10-24  Andreas Jaeger  <aj@suse.de>
25703         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25704         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25705         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25706         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25707         posix_fadvise64, posix_fallocate64.
25709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25710         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25711         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25712         Likewise.
25713         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25714         Likewise.
25715         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25718         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25719         <bits/fcntl-linux.h>.
25720         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25723         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25724         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25725         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25726         [__WORDSIZE != 64]: Likewise.
25728 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25730         * Makeconfig (run-built-tests): New variable.
25731         * Rules [$(cross-compiling) = yes]: Change condition to
25732         [$(run-built-tests) = no].
25733         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25734         to [$(run-built-tests) = yes].
25735         * elf/Makefile [$(cross-compiling) = no]: Likewise
25736         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25737         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25738         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25739         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25740         * io/Makefile [$(cross-compiling) = no]: Likewise.
25741         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25742         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25743         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25744         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25745         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25746         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25747         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25748         * string/Makefile [$(cross-compiling) = no]: Likewise.
25750         * posix/Makefile ($(objpfx)globtest.out): Pass
25751         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25752         $(rtld-installed-name).
25753         * posix/globtest.sh (elf_objpfx): Remove variable.
25754         (rtld_installed_name): Likewise.
25755         (library_path): Likewise.
25756         (run_program_prefix): New variable.  Use for running globtest
25757         binary.
25759 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25760             Joseph Myers  <joseph@codesourcery.com>
25762         * Makeconfig (host-built-program-cmd): New variable.
25763         * elf/Makefile (tst-stackguard1-ARGS): Use
25764         $(host-built-program-cmd).
25765         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25766         (tst-spawn-ARGS): Likewise.
25767         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25769 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25770             Jim Blandy  <jimb@codesourcery.com>
25772         * Makeconfig (run-via-rtld-prefix): New variable.
25773         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25774         (built-program-cmd): Likewise.
25776 2012-10-22  Andreas Jaeger  <aj@suse.de>
25778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25779         __O_RSYNC if it exists, otherwise to O_SYNC.
25781 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25782             Joseph Myers  <joseph@codesourcery.com>
25784         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25785         /dev/null.
25786         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25787         from /dev/null
25788         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25789         /dev/null.
25791 2012-10-22  Andreas Jaeger  <aj@suse.de>
25793         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25794         Define always.
25795         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25798         bits/fcntl-linux.h.
25800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25801         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25804         to __O_LARGEFILE.
25805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25806         to __O_LARGEFILE.
25808 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25809             Joseph Myers  <joseph@codesourcery.com>
25811         * config.make.in (NM): New variable.
25813 2012-10-21  Andreas Jaeger  <aj@suse.de>
25815         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25816         definitions and declarations that are provided by
25817         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25819 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25821         [BZ #14683]
25822         * elf/Makefile (tests-static): Add tst-leaks1-static.
25823         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25824         ($(objpfx)tst-leaks1-static): New rule.
25825         ($(objpfx)tst-leaks1-static-mem): Likewise.
25826         (tst-leaks1-static-ENV): New macro.
25827         * elf/dl-open.c (dl_open_worker): Check the main application
25828         only if SHARED is defined.
25829         * elf/tst-leaks1-static.c: New file.
25831 2012-10-20  Andreas Jaeger  <aj@suse.de>
25833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25834         generic values for Linux.
25835         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25836         and declarations that are provided by <bits/fcntl-linux.h> and
25837         include <bits/fcntl-linux.h>.
25838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25841 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25843         * io/fcntl.h: Move include of <bits/types.h> to the top and
25844         include it unconditionally.
25846 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25848         * wcsmbs/Makefile (tests-ifunc): New variable.
25849         (tests): Add $(tests-ifunc).
25850         * wcsmbs/test-wcschr-ifunc.c: New file.
25851         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25852         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25853         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25854         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25855         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25857         * string/Makefile (tests-ifunc): New variable.
25858         (tests): Add $(tests-ifunc).
25859         * string/test-memccpy.c (TEST_NAME): New macro.
25860         * string/test-memchr.c (TEST_NAME): Likewise.
25861         * string/test-memcmp.c (TEST_NAME): Likewise.
25862         * string/test-memcpy.c (TEST_NAME): Likewise.
25863         * string/test-memmem.c (TEST_NAME): Likewise.
25864         * string/test-memmove.c (TEST_NAME): Likewise.
25865         * string/test-memset.c (TEST_NAME): Likewise.
25866         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25867         * string/test-stpcpy.c (TEST_NAME): Likewise.
25868         * string/test-stpncpy.c (TEST_NAME): Likewise.
25869         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25870         * string/test-strcasestr.c (TEST_NAME): Likewise.
25871         * string/test-strcat.c (TEST_NAME): Likewise.
25872         * string/test-strchr.c (TEST_NAME): Likewise.
25873         * string/test-strcmp.c(TEST_NAME): Likewise.
25874         * string/test-strcpy.c (TEST_NAME): Likewise.
25875         * string/test-strcspn.c (TEST_NAME): Likewise.
25876         * string/test-strlen.c (TEST_NAME): Likewise.
25877         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25878         * string/test-strncmp.c (TEST_NAME): Likewise.
25879         * string/test-strncpy.c (TEST_NAME): Likewise.
25880         * string/test-strnlen.c (TEST_NAME): Likewise.
25881         * string/test-strpbrk.c (TEST_NAME): Likewise.
25882         * string/test-strrchr.c (TEST_NAME): Likewise.
25883         * string/test-strspn.c (TEST_NAME): Likewise.
25884         * string/test-strstr.c (TEST_NAME): Likewise.
25885         * string/test-bcopy-ifunc.c: New file.
25886         * string/test-bzero-ifunc.c: Likewise.
25887         * string/test-memccpy-ifunc.c: Likewise.
25888         * string/test-memchr-ifunc.c: Likewise.
25889         * string/test-memcmp-ifunc.c: Likewise.
25890         * string/test-memcpy-ifunc.c: Likewise.
25891         * string/test-memmem-ifunc.c: Likewise.
25892         * string/test-memmove-ifunc.c: Likewise.
25893         * string/test-mempcpy-ifunc.c: Likewise.
25894         * string/test-memset-ifunc.c: Likewise.
25895         * string/test-rawmemchr-ifunc.c: Likewise.
25896         * string/test-stpcpy-ifunc.c: Likewise.
25897         * string/test-stpncpy-ifunc.c: Likewise.
25898         * string/test-strcasecmp-ifunc.c: Likewise.
25899         * string/test-strcasestr-ifunc.c: Likewise.
25900         * string/test-strcat-ifunc.c: Likewise.
25901         * string/test-strchr-ifunc.c: Likewise.
25902         * string/test-strchrnul-ifunc.c: Likewise.
25903         * string/test-strcmp-ifunc.c: Likewise.
25904         * string/test-strcpy-ifunc.c: Likewise.
25905         * string/test-strcspn-ifunc.c: Likewise.
25906         * string/test-strlen-ifunc.c: Likewise.
25907         * string/test-strncasecmp-ifunc.c: Likewise.
25908         * string/test-strncat-ifunc.c: Likewise.
25909         * string/test-strncmp-ifunc.c: Likewise.
25910         * string/test-strncpy-ifunc.c: Likewise.
25911         * string/test-strnlen-ifunc.c: Likewise.
25912         * string/test-strpbrk-ifunc.c: Likewise.
25913         * string/test-strrchr-ifunc.c: Likewise.
25914         * string/test-strspn-ifunc.c: Likewise.
25915         * string/test-strstr-ifunc.c: Likewise.
25917         * debug/Makefile (tests-ifunc): New variable.
25918         (tests): Add $(tests-ifunc).
25919         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25920         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25921         * debug/test-stpcpy_chk-ifunc.c: New file.
25922         * debug/test-strcpy_chk-ifunc.c: Likewise.
25924 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25926         [BZ #13601]
25927         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25928         header is not read in.
25930 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25932         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25933         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25934         directly.  Pass built executable to script as
25935         $(built-program-cmd).
25936         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25937         $testprogram without using LD_LIBRARY_PATH and $ldso.
25939         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25940         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25941         $(rtld-installed-name).
25942         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25943         (rtld_installed_name): Likewise.
25944         (library_path): Likewise.
25945         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25946         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25947         $(run-program-prefix) to tst-tables.sh.
25948         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25949         it to run tst-table-from and tst-table-to.
25950         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25951         Pass it to tst-table.sh.
25952         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25953         $(run-program-prefix) to tst-gettext.sh.
25954         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25955         tst-translit.sh.
25956         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25957         tst-gettext2.sh.
25958         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25959         to run tst-gettext.
25960         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25961         to run tst-gettext2.
25962         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25963         to run tst-translit.
25964         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25965         $(run-program-prefix) to tst-mtrace.sh.
25966         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25967         to run tst-mtrace.
25968         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25969         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25970         $(rtld-installed-name).
25971         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25972         (rtld_installed_name): Likewise.
25973         (run_program_prefix): New variable.  Use it to run wordexp-test.
25975         * Makeconfig (ARCH): Remove all definitions.
25976         (machine): Likewise.
25977         [ARCH]: Remove conditional code.
25978         [!objdir]: Give error.
25979         [!objdir] (objpfx): Remove.
25980         [!objdir] (common-objpfx): Likewise.
25981         [!objdir] (common-objdir): Likewise.
25982         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25983         AC_CONFIG_FILES call.
25984         * configure: Regenerated.
25986         [BZ #13888]
25987         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25988         or TMPDIR.
25989         (testout): Likewise.
25991         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25992         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25993         $(rtld-installed-name).
25994         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25995         (rtld_installed_name): Likwise.
25996         (runit): Remove function.
25997         (run_getconf): New variable,  Use it for running getconf binary.
25999 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26001         [BZ #14716]
26002         * string/test-memmem.c (check_result): New function.
26003         (do_one_test): Use it.
26004         (check1): New function.
26005         (test_main): Use it.
26007 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26009         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26011 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26013         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26014         (_G_LSEEK64): Likewise.
26015         (_G_MMAP64): Likewise.
26016         (_G_FSTAT64): Likewise.
26017         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26018         (_G_LSEEK64): Likewise.
26019         (_G_MMAP64): Likewise.
26020         (_G_FSTAT64): Likewise.
26021         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26022         unconditional.  Call __mmap64 directly.
26023         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26024         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26025         __lseek64 directly.
26026         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26027         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26028         __mmap64 directly.
26029         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26030         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26031         __lseek64 directly.
26032         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26033         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26034         __lseek64 directly.
26035         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26036         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26037         __lseek64 directly.
26038         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26039         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26040         __fxstat64 directly.
26041         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26042         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26043         unconditional.
26044         (freopen64) [!_G_OPEN64]: Remove conditional code.
26045         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26046         unconditional.
26047         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26048         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26049         unconditional.
26050         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26051         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26052         unconditional.
26053         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26054         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26055         unconditional.
26056         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26057         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26058         unconditional.
26059         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26060         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26061         unconditional.
26062         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26063         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26064         unconditional.
26065         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26067 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26069         [BZ #12140]
26070         * manual/memory.texi (Malloc Tunable Parameters): Add note
26071         about free list pointers overwriting some perturb bytes.
26072         Wording suggested by Roland McGrath.
26074 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26076         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26077         (lgamma_test): Likewise.
26078         (tgamma_test): Likewise.
26080 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26082         [BZ #14700]
26083         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26084         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26086 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26088         * NEWS: Mention BZ #14716.
26089         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26090         when removing AVAILABLE1_USES_J macro.
26092 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26094         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26095         (__bswap_64): __uint64_t for unsigned 64-bit int.
26097 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26099         * include/string.h (memmem): Declare libc hidden alias.
26100         * string/memmem.c (memmem): Define libc hidden alias.
26101         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26102         __read, __close instead of open, read, close.
26104 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26107         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26108         global and hidden.
26109         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26110         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26111         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26112         Likewise.
26113         (__rawmemchr_sse2): Likewise.
26114         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26115         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26116         (__strchr_sse2): Likewise.
26117         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26118         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26119         (__strcasecmp_sse2): Likewise.
26120         (__strncasecmp_sse2): Likewise.
26121         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26122         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26123         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26124         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26125         (__strrchr_sse2): Likewise.
26126         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26127         ifunc-impl-list.c.
26128         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26129         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26130         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26131         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26132         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26134         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26135         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26136         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26137         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26138         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26139         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26140         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26141         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26142         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26143         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26144         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26145         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26146         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26147         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26148         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26149         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26150         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26151         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26152         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26153         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26154         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26155         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26156         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26157         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26159         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26160         global and hidden.
26161         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26162         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26163         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26164         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26165         Likewise.
26166         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26167         Likewise.
26168         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26169         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26170         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26171         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26172         ifunc-impl-list.c.
26173         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26185         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26188         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26191         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26192         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26193         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26194         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26195         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26196         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26197         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26198         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26199         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26200         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26201         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26202         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26203         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26204         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26205         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26206         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26207         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26208         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26209         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26210         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26211         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26212         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26213         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26215         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26216         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26217         * include/ifunc-impl-list.h: New file.
26218         * misc/ifunc-impl-list.c: Likewise.
26219         * misc/Makefile (routines): Add ifunc-impl-list.
26220         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26221         * string/test-string.h: Include <ifunc-impl-list.h>.
26222         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26223         TEST_NAME]: New variables.
26224         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26225         are defined.
26226         (test_init): Call __libc_ifunc_impl_list to initialize
26227         func_list if TEST_IFUNC and TEST_NAME are defined.
26229         * string/Makefile (strop-tests): Add bcopy and bzero.
26230         * string/test-bcopy.c: New file.
26231         * string/test-bzero.c: Likewise.
26232         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26233         defined.
26234         * string/test-memset.c: Support bzero test if TEST_BZERO is
26235         defined.
26236         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26237         __libc_memmove.
26238         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26239         __libc_memset.
26240         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26241         of memset.
26243 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26245         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26246         * configure: Regenerated.
26248         * Makeconfig (+link-static-before-libc): Don't include
26249         $(link-static-libc).
26251         * libio/libio.h (_IO_pos_t): Remove.
26253 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26255         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26256         McGrath.
26258 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26260         * crypt/crypt-entry.c: Include fips-private.h.
26261         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26262         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26263         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26264         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26266 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26268         * crypt/crypt-private.h: Include stdbool.h.
26269         (_ufc_setup_salt_r): Return bool.
26270         * crypt/crypt-entry.c: Include errno.h.
26271         (__crypt_r): Return NULL with EINVAL for bad salt.
26272         * crypt/crypt_util.c (bad_for_salt): New.
26273         (_ufc_setup_salt_r): Check that salt is long enough and within
26274         the specified alphabet.
26275         * crypt/badsalttest.c: New file.
26276         * crypt/Makefile (tests): Add it.
26277         ($(objpfx)badsalttest): New.
26279 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26281         * NEWS: Add entry for BZ #14602.
26283 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26285         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26286         type-generic.
26287         * math/libm-test.inc: Update comment listing what functions and
26288         macros are tested.
26289         (isgreater_test): New function.
26290         (isgreaterequal_test): Likewise.
26291         (isless_test): Likewise.
26292         (islessequal_test): Likewise.
26293         (islessgreater_test): Likewise.
26294         (isunordered_test): Likewise.
26295         (main): Call the new functions.
26297 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26299         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26300         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26301         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26302         * sysdeps/i386/configure: Regenerated.
26303         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26304         * sysdeps/mach/configure: Regenerated.
26305         * sysdeps/mach/hurd/configure: Regenerated.
26306         * sysdeps/powerpc/configure: Regenerated.
26307         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26308         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26309         * sysdeps/s390/s390-32/configure: Regenerated.
26310         * sysdeps/s390/s390-64/configure: Regenerated.
26311         * sysdeps/sh/configure: Regenerated.
26312         * sysdeps/sparc/configure: Regenerated.
26313         * sysdeps/unix/sysv/linux/configure: Regenerated.
26314         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26315         * sysdeps/x86_64/configure: Regenerated.
26317         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26318         defined.  Don't check if MAP is NULL.
26320 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26322         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26323         (_G_stat64): Likewise.
26324         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26325         (_G_stat64): Likewise.
26326         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26327         instead of struct _G_stat64.
26328         * libio/fileops.c (mmap_remap_check): Likewise.
26329         (decide_maybe_mmap): Likewise.
26330         (_IO_new_file_seekoff): Likewise.
26331         (_IO_file_stat): Likewise.
26332         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26333         _G_off64_t.
26334         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26335         instead of struct _G_stat64.
26336         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26338 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26340         [BZ #14602]
26341         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26342         Replace with ...
26343         (CHECK_EOL): New macro.
26344         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26345         CHECK_EOL.
26346         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26347         Replace with CHECK_EOL.
26348         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26349         Replace with CHECK_EOL.
26351 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26353         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26354         type-generic.
26355         * math/libm-test.inc: Update comment listing what functions and
26356         macros are tested.
26357         (finite_test): New function.
26358         (isinf_test): Likewise.
26359         (isnan_test): Likewise.
26360         (fpclassify_test): Test subnormal input.
26361         (isfinite_test): Likewise.
26362         (isnormal_test): Likewise.
26363         (main): Call the new functions.
26365 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26367         [BZ #14660]
26368         * Makerules (%.dynsym): Force C locale when running
26369         $(OBJDUMP) --dynamic-syms.
26371 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26373         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26374         <stdint.h>.
26376 2012-10-06  David S. Miller  <davem@davemloft.net>
26378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26379         upper 32-bits of the length value in %o2 since we use branch-on-register
26380         tests which consider the entire 64-bit register.
26382 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26384         * string/test-strstr.c (check2): Add a test for page boundary.
26386 2012-10-05  David S. Miller  <davem@davemloft.net>
26388         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26389         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26390         file.
26391         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26392         sysdep_routines.
26393         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26394         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26395         and bzero when HWCAP_SPARC_CRYPTO is present.
26397 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26399         [BZ #14602]
26400         * string/test-strstr.c (check2): New function.
26401         (test_main): Call check2.
26403         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26404         and bug-strchr1.
26405         * string/bug-strcasestr1.c (do_test): Moved to ...
26406         * string/test-strcasestr.c (check1): Here.  New function.
26407         (do_one_test): Break out result checking code into ...
26408         (check_result): This.  New function.
26409         (do_one_test): Call check_result.
26410         (test_main): Call check1.
26411         * string/bug-strchr1.c (do_test): Moved to ...
26412         * string/test-strchr.c (check1): Here.  New function.
26413         (do_one_test): Break out result checking code into ...
26414         (check_result): This.  New function.
26415         (do_one_test): Call check_result.
26416         (test_main): Call check1.
26417         * string/bug-strstr1.c (main): Moved to ...
26418         * string/test-strstr.c (check1): Here.  New function.
26419         (do_one_test): Break out result checking code into ...
26420         (check_result): This.  New function.
26421         (do_one_test): Call check_result.
26422         (test_main): Call check1.
26423         * string/bug-strcasestr1.c: Removed.
26424         * string/bug-strchr1.c: Likewise.
26425         * string/bug-strstr1.c: Likewise.
26427         * elf/Makefile (dl-routines): Add hwcaps.
26428         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26429         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26430         (_dl_important_hwcaps): Moved to ...
26431         * elf/dl-hwcaps.c: Here.  New file.
26432         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26434         [BZ #14557]
26435         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26436         if IS_IN_rtld isn't defined.
26438         * elf/dl-support.c (_dl_sysinfo_map): New.
26439         Include "get-dynamic-info.h" and "setup-vdso.h".
26440         (_dl_non_dynamic_init): Call setup_vdso.
26441         * elf/dynamic-link.h: Don't include <assert.h>.
26442         (elf_get_dynamic_info): Moved to ...
26443         * elf/get-dynamic-info.h: Here.  New file.
26444         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26445         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26446         * elf/setup-vdso.h: Here.  New file.
26447         * elf/rtld.c: Include "setup-vdso.h".
26448         (dl_main): Call setup_vdso.
26450 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26452         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26453         creal in comment listing functions tested.  List finite, isinf,
26454         isnan, isless, islessequal, isgreater, isgreaterequal,
26455         islessgreater, isunordered, lgamma_r and pow10 as functions and
26456         macros not tested.  Mention which functions not tested are aliases
26457         for other functions.  Fix typo.  Note that signs of NaNs are not
26458         tested.
26460         * scripts/config.guess: Update from config.git.
26461         * scripts/config.sub: Likewise.
26463 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26465         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26466         * misc/madvise.c (madvise): Renamed to __madvise.
26467         Make madvise a weak alias.
26468         * include/sys/mman.h: Declare __madvise.
26469         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26470         * sysdeps/unix/syscalls.list
26471         (madvise): Make __madvise the strong name, and madvise a weak alias.
26472         * sysdeps/unix/sysv/linux/syscalls.list
26473         (madvise, mmap): Remove redundant entries.
26474         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26475         * malloc/malloc.c (mtrim): Likewise.
26476         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26478 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26480         * sysdeps/mach/hurd/dl-cache.c: File removed.
26481         * config.h.in (USE_LDCONFIG): New #undef.
26482         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26483         * configure: Regenerated.
26484         * elf/Makefile (dl-routines): Add dl-cache only under
26485         [$(use-ldconfig) = yes].
26486         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26487         cache on [USE_LDCONFIG].
26488         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26489         [USE_LDCONFIG].
26490         * elf/rtld.c (dl_main): Likewise.
26492 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26494         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26495         _SC_LEVEL4_CACHE_LINESIZE.
26497 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26499         * sysdeps/unix/bsd/confstr.h: File removed.
26501 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26503         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26504         sys/sdt-config.h.
26506 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26508         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26509         Make 'mapoff' field ElfW(Off) rather than off_t.
26511 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26513         * nscd/Makefile: Remove nscd-cflags and all its users.
26514         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26515         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26517         [BZ #10631]
26518         * malloc.c (malloc_printerr): Clarify error message.
26520 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26522         [BZ #14648]
26523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26524         Set bit_FMA_Usable if FMA is supported.
26525         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26526         macro.
26527         (bit_FMA4_Usable): Updated.
26528         (index_FMA_Usable): New macro.
26529         (CPUID_FMA): Likewise
26530         (HAS_FMA): Defined with bit_FMA_Usable.
26532 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26534         * bits/types.h (__swblk_t): Type removed.
26535         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26536         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26537         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26538         (__SWBLK_T_TYPE): Likewise.
26539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26540         (__SWBLK_T_TYPE): Likewise.
26541         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26542         (__SWBLK_T_TYPE): Likewise.
26543         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26544         (__SWBLK_T_TYPE): Likewise.
26546 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26547             Honza Horak <hhorak@redhat.com>
26549         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26550         (xdr_mapname): Use YPMAXMAP as maxsize.
26551         (xdr_peername): Use YPMAXPEER as maxsize.
26552         (xdr_keydat): Use YPAXRECORD as maxsize.
26553         (xdr_valdat): Use YPMAXRECORD as maxsize.
26555 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26557         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26559         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26560         * csu/init-first.c: ... here.
26561         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26562         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26563         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26564         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26565         * sysdeps/i386/init-first.c: File removed.
26566         * sysdeps/sh/init-first.c: File removed.
26568 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26570         [BZ #14645]
26571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26572         if x * y might underflow to zero and z is zero.
26573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26574         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26575         * math/libm-test.inc (min_subnorm_value): New variable.
26576         (fma_test): Add more tests.
26577         (fma_test_towardzero): Likewise.
26578         (fma_test_downward): Likewise
26579         (fma_test_upward): Likewise.
26580         (initialize): Set min_subnorm_value.
26582 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26584         [BZ #14638]
26585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26586         0 + 0.
26587         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26588         mode for addition resulting in exact zero.
26589         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26591         exact 0 + 0.
26592         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26593         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26594         * math/libm-test.inc (fma_test): Add more tests.
26595         (fma_test_towardzero): New function.
26596         (fma_test_downward): Likewise.
26597         (fma_test_upward): Likewise.
26598         (main): Call the new functions.
26600 2012-09-28  David S. Miller  <davem@davemloft.net>
26602         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26604 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26606         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26607         instead of SIGALRM.
26609         * sysdeps/gnu/_G_config.h: Moved to ...
26610         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26611         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26612         * sysdeps/generic/_G_config.h: ... here.
26614         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26616         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26618         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26619         Conditionalize target on [libnss_test1.so-version].
26621         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26623         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26624         (elfobjdir): Move out of conditionals.
26626         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26627         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26628         (__nss_lookup_function): Conditionalize label remove_from_tree on
26629         [!DO_STATIC_NSS || SHARED], matching its only use.
26631 2012-09-28  David S. Miller  <davem@davemloft.net>
26633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26634         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26635         file.
26636         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26637         sysdep_routines.
26638         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26640         when HWCAP_SPARC_CRYPTO is present.
26642 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26644         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26646 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26648         [BZ #6530]
26649         * stdio-common/vfprintf.c (process_string_arg): Revert
26650         2000-07-22 change.
26652 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26654         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26655         for testcase.
26656         * stdio-common/tst-sprintf.c: Include <locale.h>
26657         (main): Test sprintf's handling of incomplete multibyte
26658         characters.
26660 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26662         * elf/dl-runtime.c (VERSYMIDX): Removed.
26663         * elf/dl-version.c (VERSYMIDX): Likewise.
26664         * elf/do-rel.h (VERSYMIDX): Likewise.
26665         (VALIDX): Likewise.
26666         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26667         * elf/rtld.c (VALIDX): Likewise.
26668         (ADDRIDX): Likewise.
26669         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26670         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26671         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26672         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26673         (VALIDX): Likewise.
26674         (ADDRIDX): Likewise.
26676 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26678         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26680 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26682         [BZ #11438]
26683         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26684         to global scope.
26685         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26686         addresses are in the same scope as 192.0.2/24.
26687         * posix/gai.conf: Document new scope table defaults.
26689 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26691         [BZ #5298]
26692         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26693         for ftell.  Compute offsets from write pointers instead.
26694         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26696 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26698         [BZ #14543]
26699         * libio/Makefile (tests): New test case tst-fseek.
26700         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26701         combination works in wide mode.
26702         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26703         state when the external buffer state changes.
26705 2012-09-27  David S. Miller  <davem@davemloft.net>
26707         [BZ #14376]
26708         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26709         pass reloc->r_addend in as the 'high' argument to
26710         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26714 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26716         * rt/tst-aio2.c: Include <pthread.h>.
26717         * rt/tst-aio3.c: Likewise.
26719 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26721         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26723 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26725         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26726         contents on [SHARED].
26728 2012-09-26  Marek Polacek  <polacek@redhat.com>
26730         [BZ #14530]
26731         [BZ #13741]
26732         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26733         for C++ and GCC <4.3 as well as for non GCC compilers.
26735 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26739 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26741         * Makefile.in (all, install): Declare with .PHONY.
26742         Reported by Michael Hope <michael.hope@linaro.org>.
26744 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26746         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26747         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26748         system header.
26749         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26750         Likewise.
26751         (sydep_routines): Add the new and the internal functions.
26752         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26753         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26755         (GLIBC_2.17): Add the new function.
26756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26757         (GLIBC_2.17): Likewise.
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26759         (GLIBC_2.17): Likewise.
26760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26761         (GLIBC_2.17): Likewise.
26762         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26764 2012-09-25  Alan Modra  <amodra@gmail.com>
26766         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26767         Add release barrier before setting once_control to say
26768         initialisation is done.  Add hints on lwarx.  Use macro in
26769         place of isync.
26770         (clear_once_control): Add release barrier.
26772 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26774         [BZ #13629]
26775         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26776         specially.
26777         * math/s_clog10.c (__clog10): Likewise.
26778         * math/s_clog10f.c (__clog10f): Likewise.
26779         * math/s_clog10l.c (__clog10l): Likewise.
26780         * math/s_clogf.c (__clogf): Likewise.
26781         * math/s_clogl.c (__clogl): Likewise.
26782         * math/Makefile (libm-calls): Add x2y2m1.
26783         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26784         (__x2y2m1): Likewise.
26785         (__x2y2m1l): Likewise.
26786         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26787         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26788         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26789         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26790         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26791         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26792         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26793         * sysdeps/i386/fpu/libm-test-ulps: Update.
26794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26796         [BZ #14621]
26797         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26798         int as type of variable DEPTH.
26799         (glob): Use size_t instead of int as type of variables NEWCOUNT
26800         and OLD_PATHC.
26802 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26804         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26805         Add s_sincosf-sse2.
26806         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26807         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26808         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26809         macros for using routine as __sincosf_ia32.
26810         Use macro for function declaration and weak_alias.
26811         * sysdeps/i386/fpu/libm-test-ulps: Update.
26813         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26816         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26817         subnormal argument.
26818         * math/s_cexpf.c (__cexpf): Likewise.
26819         * math/s_csinf.c (__csinf): Likewise.
26820         * math/s_csinhf.c (__csinhf): Likewise.
26821         * math/s_ctanf.c (__ctanf): Likewise.
26822         * math/s_ctanhf.c (__ctanhf): Likewise.
26823         * math/s_ccosh.c (__ccoshf): Likewise.
26824         * math/s_cexp.c (__cexpl): Likewise.
26825         * math/s_csin.c (__csin): Likewise.
26826         * math/s_csinh.c (__csinh): Likewise.
26827         * math/s_ctan.c (__ctan): Likewise.
26828         * math/s_ctanh.c (ctanh): Likewise.
26829         * math/s_ccoshl.c (__ccoshl): Likewise.
26830         * math/s_cexpl.c (__cexpl): Likewise.
26831         * math/s_csinl.c (__csinl): Likewise.
26832         * math/s_csinhl.c (__csinhl): Likewise.
26833         * math/s_ctanl.c (__ctanl): Likewise.
26834         * math/s_ctanhl.c (__ctanhl): Likewise.
26836 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26838         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26839         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26840         (_IO_off_t): Define to __off_t, not _G_off_t.
26841         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26842         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26843         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26844         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26845         type of __dummy and __dummy2 fields.
26846         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26847         (_G_ssize_t): Likewise.
26848         (_G_off_t): Likewise.
26849         (_G_pid_t): Likewise.
26850         (_G_uid_t): Likewise.
26851         (_G_wchar_t): Likewise.
26852         (_G_wint_t): Likewise.
26853         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26854         (_G_ssize_t): Likewise.
26855         (_G_off_t): Likewise.
26856         (_G_pid_t): Likewise.
26857         (_G_uid_t): Likewise.
26858         (_G_wchar_t): Likewise.
26859         (_G_wint_t): Likewise.
26860         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26861         (_G_ssize_t): Likewise.
26862         (_G_off_t): Likewise.
26863         (_G_pid_t): Likewise.
26864         (_G_uid_t): Likewise.
26865         (_G_wchar_t): Likewise.
26866         (_G_wint_t): Likewise.
26868 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870         * malloc/arena.c: Include malloc-sysdep.h.
26871         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26872         is sufficient to shrink the heap or an unmap is needed.
26873         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26874         new function check_may_shrink_heap.
26875         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26876         new function check_may_shrink_heap.
26878 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26881         comments.
26883 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26885         * catgets/test-gencat.sh: Add "set -e".
26886         * elf/tst-pathopt.sh: Likewise.
26887         * grp/tst_fgetgrent.sh: Likewise.
26888         * iconvdata/run-iconv-test.sh: Likewise.
26889         * intl/tst-gettext.sh: Likewise.
26890         * intl/tst-gettext2.sh: Likewise.
26891         * intl/tst-gettext4.sh: Likewise.
26892         * intl/tst-gettext6.sh: Likewise.
26893         * intl/tst-translit.sh: Likewise.
26894         * io/ftwtest-sh: Likewise.
26895         * libio/test-freopen.sh: Likewise.
26896         * malloc/tst-mtrace.sh: Likewise.
26897         * posix/globtest.sh: Likewise.
26898         * posix/tst-getconf.sh: Likewise.
26899         * posix/wordexp-tst.sh: Likewise.
26900         * stdio-common/tst-printf.sh: Likewise.
26901         * stdio-common/tst-unbputc.sh: Likewise.
26902         * stdlib/tst-fmtmsg.sh: Likewise.
26903         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26904         * catgets/Makefile: Do not specify -e option when running
26905         testsuite shell scripts.
26906         * elf/Makefile: Likewise.
26907         * grp/Makefile: Likewise.
26908         * iconvdata/Makefile: Likewise.
26909         * intl/Makefile: Likewise.
26910         * io/Makefile: Likewise.
26911         * libio/Makefile: Likewise.
26912         * malloc/Makefile: Likewise.
26913         * posix/Makefile: Likewise.
26914         * stdio-common/Makefile: Likewise.
26915         * stdlib/Makefile: Likewise.
26916         * sysdeps/x86_64/Makefile: Likewise.
26918         * io/ftwtest-sh: Add copyright header.
26919         * posix/globtest.sh: Likewise.
26920         * posix/tst-getconf.sh: Likewise.
26921         * posix/wordexp-tst.sh: Likewise.
26922         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26924 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26926         [BZ #13679]
26927         * Makeconfig (+link): Defined as $(+link-static) if
26928         $(build-shared) isn't yes.
26929         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26930         isn't yes.
26931         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26933         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26935         [BZ #14562]
26936         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26937         new chunk size with MALLOC_ALIGN_MASK.
26939 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26941         [BZ #5044]
26942         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26943         <rounding-mode.h>.
26944         (__printf_fphex): Determine rounding using get_rounding_mode and
26945         round_away.
26946         * stdio-common/tst-printf-round.c (struct hex_test): New
26947         structure.
26948         (hex_tests): New variable.
26949         (test_hex_in_one_mode): New function.
26950         (do_test): Also run tests for hex float output.
26952 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26954         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26955         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26956         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26957         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26958         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26959         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26960         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26961         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26963 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26965         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26966         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26967         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26968         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26970 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26972         [BZ #14579]
26973         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26974         mode only.
26975         * elf/tst-rtld-load-self.sh: New test.
26976         * elf/Makefile: Run it.
26978 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26980         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26981         (tst-writev-ENV): Remove.
26982         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26984 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26986         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26988 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26990         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26991         unconditional.
26992         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26993         Likewise.
26994         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26995         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26996         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26997         Likewise.
26999 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27001         [BZ #14587]
27002         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27003         * config.make.in (have-cpp-asm-debuginfo): Removed.
27004         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27005         * configure: Regenerated.
27007 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27009         [BZ #5044]
27010         * stdio-common/printf_fp.c: Include <stdbool.h> and
27011         <rounding-mode.h>.
27012         (___printf_fp): Determine rounding using get_rounding_mode and
27013         round_away.
27014         * stdio-common/tst-printf-round.c: New file.
27015         * stdio-common/Makefile (tests): Add tst-printf-round.
27016         (link-libm): New variable.
27017         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27019 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27021         [BZ #14576]
27022         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27023         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27024         Likewise.
27025         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27026         Likewise.
27028 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27030         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27031         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27032         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27033         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27035 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27037         [BZ #14518]
27038         * include/rounding-mode.h: New file.
27039         * sysdeps/generic/get-rounding-mode.h: Likewise.
27040         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27041         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27042         (MAX_VALUE): New macro.
27043         (MIN_VALUE): Likewise.
27044         (overflow_value): New function.
27045         (underflow_value): Likewise.
27046         (round_and_return): Use overflow_value and underflow_value to
27047         determine return values in overflow and underflow cases.  Use
27048         round_away to determine rounding depending on rounding mode.
27049         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27050         determine return values in overflow and underflow cases.
27051         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27052         (struct test_results): New structure.
27053         (struct test): Use struct test_results to store expected results
27054         for all rounding modes.
27055         (TEST): Include expected results for all rounding modes.
27056         (test_in_one_mode): New function.
27057         (do_test): Use test_in_one_mode to compute and check results.
27058         Check results for all rounding modes.
27059         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27060         $(link-libm).
27062 2012-12-09  Allan McRae  <allan@archlinux.org>
27064         * sysdeps/i386/fpu/libm-test-ulps: Update
27066 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27068         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27069         (_G_int32_t): Likewise.
27070         (_G_uint16_t): Likewise.
27071         (_G_uint32_t): Likewise.
27072         (_G_HAVE_BOOL): Likewise.
27073         (_G_HAVE_ATEXIT): Likewise.
27074         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27075         (_G_HAVE_IO_FILE_OPEN): Likewise.
27076         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27077         (_G_int32_t): Likewise.
27078         (_G_uint16_t): Likewise.
27079         (_G_uint32_t): Likewise.
27080         (_G_HAVE_BOOL): Likewise.
27081         (_G_HAVE_ATEXIT): Likewise.
27082         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27083         (_G_HAVE_IO_FILE_OPEN): Likewise.
27084         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27085         (_G_int32_t): Likewise.
27086         (_G_uint16_t): Likewise.
27087         (_G_uint32_t): Likewise.
27088         (_G_HAVE_BOOL): Likewise.
27089         (_G_HAVE_ATEXIT): Likewise.
27090         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27091         (_G_HAVE_IO_FILE_OPEN): Likewise.
27093 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27095         * csu/libc-tls.c: Update copyright years.
27097 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27099         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27100         [!_G_USING_THUNKS]: Remove conditional code.
27101         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27102         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27104         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27105         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27106         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27107         (_G_VTABLE_LABEL_PREFIX): Likewise.
27108         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27109         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27110         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27111         (_G_VTABLE_LABEL_PREFIX): Likewise.
27112         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27113         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27114         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27115         (_G_VTABLE_LABEL_PREFIX): Likewise.
27116         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27118 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27120         * libio/Makefile: Include ../Makeconfig before tests.
27121         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27122         only if $(build-shared) is yes.
27124         * iconv/gconv_db.c: Update copyright years.
27126 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27128         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27129         unwind info if defined PIC. Fix special cases description.
27130         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27132         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27133         DP_HI_MASK entry.
27134         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27136 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27138         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27140         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27141         is NULL.
27143         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27144         (LDLIBS-tst-chk4): This.
27145         (LDFLAGS-tst-chk5): Renamed to ...
27146         (LDLIBS-tst-chk5): This.
27147         (LDFLAGS-tst-chk6): Renamed to ...
27148         (LDLIBS-tst-chk6): This.
27149         (LDFLAGS-tst-lfschk4): Renamed to ...
27150         (LDLIBS-tst-lfschk4): This.
27151         (LDFLAGS-tst-lfschk5): Renamed to ...
27152         (LDLIBS-tst-lfschk5): This.
27153         (LDFLAGS-tst-lfschk6): Renamed to ...
27154         (LDLIBS-tst-lfschk6): This.
27156         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27157         on $(common-objpfx)soversions.mk.
27159 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27161         [BZ #10014]
27162         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27163         example host name.
27165 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27167         * malloc/arena.c (arena_get_retry): New function that gets
27168         another arena for the caller to try its request on.
27169         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27170         current arena cannot fulfill the request.
27171         (__libc_memalign): Likewise.
27172         (__libc_memalign): Likewise.
27173         (__libc_pvalloc): Likewise.
27174         (__libc_calloc): Likewise.
27176 2012-09-05  John Tobey  <john.tobey@gmail.com>
27178         [BZ #13542]
27179         * manual/arith.texi (Operations on Complex): Fix description
27180         of carg branch cut.
27182 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27184         [BZ #10014]
27185         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27186         host name.
27188         [BZ #10038]
27189         * manual/memory.texi (Memory): Make order of menu items match
27190         order of sections.
27192 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27194         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27195         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27196         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27198 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27200         * csu/libc-tls.c (static_dtv): Renamed to ...
27201         (_dl_static_dtv): This.  Make it global.
27202         (_dl_initial_dtv): Removed.
27203         (__libc_setup_tls): Updated.
27204         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27205         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27206         DL_INITIAL_DTV.
27208 2012-09-06  Petr Machata  <pmachata@redhat.com>
27210         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27211         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27212         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27213         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27215 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27217         [BZ #14545]
27218         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27219         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27220         freeing dtv[-1].
27222 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27224         [BZ #14544]
27225         * Makeconfig (link-static-before-libc): Replace $(+prector)
27226         with $(+prectorT).
27227         (link-static-after-libc): Replace $(+postctor) with
27228         $(+postctorT).
27229         (link-bounded): Replace $(+prector)/$(+postctor) with
27230         $(+prectorT)/$(+postctorT).
27231         (+prectorT): New macro.
27232         (+postctorT): Likewise.
27234 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27236         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27237         (round_str): Handle values above the maximum for IBM long double
27238         as inexact.
27239         * stdlib/tst-strtod-round.c (tests): Regenerated.
27241 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27243         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27244         assembler flag.
27245         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27246         zarch_nohighgprs around the zarch optimized routines.
27247         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27248         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27249         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27250         for zarch.
27252 2012-09-05  David S. Miller  <davem@davemloft.net>
27254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27256         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27257         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27258         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27259         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27260         entries.
27262 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27264         * malloc/arena.c: Fold copyright years.
27265         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27267 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27269         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27271 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27273         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27275 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27277         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27278         change internal state upon failure.
27280 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27282         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27283         * malloc/memusage.c (mmap): Likewise.
27284         (mmap64, mremap): Likewise.  Adjust name in comment.
27286 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27288         * libio/fileops.c: Fix typos in comments.
27289         * libio/oldfileops.c: Likewise.
27290         * libio/wfileops.c: Likewise.
27292 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27294         [BZ #1349]
27295         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27296         (tst-malloc-usable-ENV): Set environment for test case.
27297         * malloc/hooks.c (malloc_check_get_size): New function to get
27298         requested size.
27299         * malloc/malloc.c (musable): Use malloc_check_get_size.
27300         * malloc/tst-malloc-usable.c: New test case.
27302 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27304         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27306 2012-09-05  Allan McRae  <allan@archlinux.org>
27308         [BZ #13966]
27309         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27310         determine header location.
27311         * configure: Regenerated.
27313 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27315         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27316         float format.
27317         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27318         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27319         format.
27320         (test): Regenerate.
27322 2012-09-04  David S. Miller  <davem@davemloft.net>
27324         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27325         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27326         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27328 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27330         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27331         failures.
27333         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27335 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27337         [BZ #9914]
27338         * libio/iogetdelim.c: Include <limits.h>.
27339         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27340         + len + 1 would overflow.
27342 2012-09-03  Andreas Jaeger  <aj@suse.de>
27344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27345         * sysdeps/i386/fpu/libm-test-ulps: Update.
27347 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27349         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27350         Add s_sinf-sse2, s_conf-sse2.
27352         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27353         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27354         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27355         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27357         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27358         for using routine as __sinf_ia32.
27359         Use macro for function declaration and weak_alias.
27360         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27361         for using routine as __cosf_ia32.
27362         Use macro for function declaration and weak_alias.
27364         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27365         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27367         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27368         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27371         * math/libm-test.inc (cos_test): Add more test cases.
27372         (sin_test): Likewise.
27373         (sincos_test): Likewise.
27375 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27377         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27378         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27379         hidden.
27380         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27382 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27384         [BZ #14538]
27385         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27386         first element of the GOT.
27387         (elf_machine_load_address): Return the difference between
27388         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27390 2012-09-01  Allan McRae  <allan@archlinux.org>
27392         [BZ #13412]
27393         * configure.in (AWK): Require gawk version 3.0 or later.
27394         * configure: Regenerated.
27396 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27398         * sysdeps/unix/sysv/linux/kernel-features.h
27399         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27401         [__NR_clock_getres]: Make code unconditional.
27402         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27403         (clock_getcpuclockid): Remove code left unreachable by removal of
27404         conditionals.
27405         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27406         code unconditional.
27407         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27408         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27409         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27410         Make code unconditional.
27411         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27412         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27413         * sysdeps/unix/sysv/linux/clock_settime.c
27414         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27415         conditional code.
27416         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27417         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27419 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27421         [BZ #14476]
27422         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27423         scripts/test-installation.pl.
27425         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27426         and $ld_so_version if it is set.
27428 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27430         [BZ #14516]
27431         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27432         failure if reading from procfs failed.
27433         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27435 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27437         * sysdeps/unix/sysv/linux/kernel-features.h
27438         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27439         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27440         Remove conditional code.
27441         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27442         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27443         Remove conditional code.
27444         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27445         * sysdeps/unix/sysv/linux/i386/fxstat.c
27446         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27447         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27448         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27449         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27450         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27451         * sysdeps/unix/sysv/linux/i386/lxstat.c
27452         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27454         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27455         Remove conditional code.
27456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27457         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27458         Remove conditional code.
27459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27460         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27461         <kernel-features.h>.
27462         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27463         Remove.
27464         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27465         Remove conditional code.
27466         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27467         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27468         Remove conditional.
27470 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27472         [BZ #5400]
27473         * NEWS: Add fixed bug number.
27475 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27477         [BZ #14519]
27478         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27479         underflowing exponent in case of negative sign.
27480         * stdlib/tst-strtod-round-data: Add more tests.
27481         * stdlib/tst-strtod-round.c (tests): Regenerated.
27483         [BZ #3479]
27484         * stdlib/strtod_l.c (NDIG): Remove.
27485         (HEXNDIG): Likewise.
27486         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27487         smallest representable value.
27488         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27489         lie within an exact representation of 1/2 ulp of the result.
27490         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27491         unconditionally.
27492         (TENS_P9_IDX): Define unconditionally.
27493         (TENS_P9_SIZE): Likewise.
27494         (TENS_P10_IDX): Likewise.
27495         (TENS_P10_SIZE): Likewise.
27496         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27497         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27498         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27499         entries for 10^2^13 and 10^2^14.
27500         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27501         (TENS_P13_IDX): Define.
27502         (TENS_P13_SIZE): Likewise.
27503         (TENS_P14_IDX): Likewise.
27504         (TENS_P14_SIZE): Likewise.
27505         (_fpioconst_pow10): Change array size to
27506         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27507         unconditional.
27508         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27509         1024]: Add entries for 10^2^13 and 10^2^14.
27510         [LAST_POW10 > _LAST_POW10]: Remove #error.
27511         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27512         (_fpioconst_pow10): Change array size to
27513         FPIOCONST_POW10_ARRAY_SIZE.
27514         * stdlib/gen-fpioconst.c: New file.
27515         * stdlib/gen-tst-strtod-round.c: Likewise.
27516         * stdlib/tst-strtod-round-data: Likewise.
27517         * stdlib/tst-strtod-round.c: Likewise.
27518         * stdlib/Makefile (tests): Add tst-strtod-round.
27520         [BZ #14459]
27521         * stdlib/strtod_l.c: Include <stdint.h>.
27522         (NDEBUG): Do not define.
27523         (round_and_return): Change EXPONENT parameter to type intmax_t.
27524         Rearrange calculations to avoid internal overflow possibilities.
27525         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27526         Rearrange calculations to avoid internal overflow possibilities.
27527         Assert that number fits inside MPNSIZE limbs.
27528         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27529         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27530         calculations and add assertions to avoid internal overflow
27531         possibilities.  Add casts to avoid signed/unsigned operations.
27532         * stdlib/tst-strtod-overflow.c: New file.
27533         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27535 2012-08-25  Marek Polacek  <polacek@redhat.com>
27537         * time/time.h: Fix some typos in comments.
27539 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27541         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27542         * posix/tst-rfc3484-2.c: Likewise.
27543         * posix/tst-rfc3484-3.c: Likewise.
27545 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27547         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27548         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27550 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27552         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27553         #include of fxstatat64.c.
27555 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27557         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27558         * shadow/getspent_r.c: Likewise.
27559         * shadow/getspnam.c: Likewise.
27560         * shadow/getspnam_r.c: Likewise.
27561         * gshadow/getsgent.c: Likewise.
27562         * gshadow/getsgent_r.c: Likewise.
27563         * gshadow/getsgnam.c: Likewise.
27564         * gshadow/getsgnam_r.c: Likewise.
27565         * inet/getnetbyad.c: Likewise.
27566         * inet/getnetbyad_r.c: Likewise.
27567         * inet/getnetbynm.c: Likewise.
27568         * inet/getnetbynm_r.c: Likewise.
27569         * inet/getnetent.c: Likewise.
27570         * inet/getnetent_r.c: Likewise.
27571         * inet/getproto.c: Likewise.
27572         * inet/getproto_r.c: Likewise.
27573         * inet/getprtent.c: Likewise.
27574         * inet/getprtent_r.c: Likewise.
27575         * inet/getprtname.c: Likewise.
27576         * inet/getprtname_r.c: Likewise.
27577         * inet/getrpcbyname.c: Likewise.
27578         * inet/getrpcbyname_r.c: Likewise.
27579         * inet/getrpcbynumber.c: Likewise.
27580         * inet/getrpcbynumber_r.c: Likewise.
27581         * inet/getrpcent.c: Likewise.
27582         * inet/getrpcent_r.c: Likewise.
27583         * inet/getaliasent.c: Likewise.
27584         * inet/getaliasent_r.c: Likewise.
27585         * inet/getaliasname.c: Likewise.
27586         * inet/getaliasname_r.c: Likewise.
27587         * nscd/getgrgid_r.c: Likewise.
27588         * nscd/getgrnam_r.c: Likewise.
27589         * nscd/gethstbyad_r.c: Likewise.
27590         * nscd/gethstbynm3_r.c: Likewise.
27591         * nscd/getpwnam_r.c: Likewise.
27592         * nscd/getpwuid_r.c: Likewise.
27593         * nscd/getsrvbynm_r.c: Likewise.
27594         * nscd/getsrvbypt_r.c: Likewise.
27595         * nscd/gai.c: Likewise.
27597         * configure.in (build_nscd): New substituted variable, set
27598         by --disable-build-nscd and defaults to $use_nscd.
27599         * configure: Regenerated.
27600         * config.make.in (build-nscd): New substituted variable.
27601         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27602         Change conditional to require [$(build-nscd) = yes] as well.
27603         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27605         [BZ# 13696]
27606         * configure.in (use_nscd): New substituted variable, set by
27607         --disable-nscd.  If enabled, define USE_NSCD.
27608         * configure: Regenerated.
27609         * config.h.in: Add USE_NSCD.
27610         * config.make.in (use-nscd): New substituted variable.
27611         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27612         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27613         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27614         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27615         (CFLAGS-getgrnam_r.c): Likewise.
27616         (CFLAGS-initgroups.c): Likewise.
27617         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27618         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27619         Variables removed.
27620         * inet/getnetgrent_r.c
27621         (nscd_setnetgrent): New function, broken out of ...
27622         (setnetgrent): ... here.  Call it.
27623         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27624         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27625         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27626         * nscd/Makefile (routines, aux): Move definitions after include of
27627         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27628         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27629         Conditionalize on [USE_NSCD].
27630         (is_nscd, nscd_init_cb): Likewise.
27631         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27632         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27633         * nss/nss_db/db-init.c: Likewise.
27634         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27635         [USE_NSCD].
27636         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27637         (make_request): Use it.
27638         (cache_valid_p): New function.
27639         (__check_pf): Use it.
27640         * NEWS: Add item for --disable-nscd.
27642 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27644         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27645         to support sed >= 4.2.1-20-ga9bf076.
27646         * configure: Regenerated.
27648 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27650         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27651         Conditionalize whole body on [IREL].
27653 2012-08-22  Jeff Law <law@redhat.com>
27655         [BZ #14505]
27656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27657         if the family is PF_UNSPEC.
27659 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27661         * Makerules (lib-version): Rename from V.
27662         (install-lib-nosubdir): Change V to lib-version.
27664 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27666         [BZ #14252]
27667         * powerpc32/power6/wcschr.c: New file.
27668         * powerpc32/power6/wcscpy.c: New file.
27669         * powerpc32/power6/wcsrchr.c: New file.
27670         * powerpc64/power6/wcschr.c: New file.
27671         * powerpc64/power6/wcscpy.c: New file.
27672         * powerpc64/power6/wcsrchr.c: New file.
27674 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27676         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27677         (two_way_short_needle): Use it.
27678         * string/strstr.c (AVAILABLE1_USES_J): Define.
27679         * string/strcasestr.c: Likewise.
27681         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27682         array references.
27683         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27685         [BZ #11607]
27686         * NEWS: Add an entry.
27687         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27688         define their defaults.
27689         (two_way_short_needle): Detect end-of-string on-the-fly.
27690         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27691         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27692         * string/bug-strcasestr1.c: New test.
27693         * string/Makefile: Run it.
27695 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27697         [BZ #11607]
27698         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27699         the first character.
27701 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27703         * csu/elf-init.c (__libc_csu_irel): Function removed.
27704         * csu/libc-start.c (apply_irel): New function.
27705         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27707 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27709         * sysdeps/unix/sysv/linux/kernel-features.h
27710         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27711         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27712         <kernel-features.h>.
27713         [__NR_fadvise64_64]: Make code unconditional.
27714         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27715         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27716         !__NR_fadvise64_64)]: Likewise.
27717         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27718         !__NR_fadvise64_64))]: Likewise.
27719         [__NR_fadvise64]: Make code unconditional.
27720         [!__NR_fadvise64]: Remove conditional code.
27721         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27722         <kernel-features.h>.
27723         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27724         unconditional.
27725         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27726         conditional code.
27727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27728         not include <kernel-features.h>.
27729         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27730         unconditional.
27731         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27732         conditional code.
27733         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27734         include <kernel-features.h>.
27735         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27736         unconditional.
27737         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27738         conditional code.
27740 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27742         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27743         slight instruction rearrangements per scrollpipe analysis.
27744         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27746 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27748         * manual/syslog.texi (syslog; vsyslog, closelog):
27749         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27750         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27752         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27753         DSOCAPS to match condition on defining it.
27755 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27757         * sysdeps/unix/sysv/linux/kernel-features.h
27758         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27760         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27761         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27763         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27764         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27766         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27767         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27769         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27770         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27772         * sysdeps/unix/sysv/linux/kernel-features.h
27773         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27774         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27775         unconditional.
27776         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27777         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27778         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27779         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27780         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27781         Make code unconditional.
27782         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27783         (__mmap64) [!__NR_mmap2]: Likewise.
27784         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27785         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27786         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27787         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27788         [__NR_mmap2]: Make code unconditional.
27789         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27790         (__mmap64) [!__NR_mmap2]: Likewise.
27792 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27794         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27796 2012-08-18  Andreas Jaeger  <aj@suse.de>
27798         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27800 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27802         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27803         * include/unistd.h (__have_sock_cloexec): Likewise.
27804         (__have_pipe2): Likewise.
27805         (__have_dup3): Likewise.
27807 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27809         [BZ #9685]
27810         * include/unistd.h (__have_pipe2): Change define into an extern int.
27811         (__have_dup3): Likewise.
27812         * socket/have_sock_cloexec.c: Include fcntl.h.
27813         (__have_pipe2): New variable.
27814         (__have_dup3): Likewise.
27816 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27818         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27820 2012-08-17  Marek Polacek  <polacek@redhat.com>
27822         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27823         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27825 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27827         * configure.in: Add AC_SUBST for sysheaders.
27828         * configure: Regenerated.
27829         * config.make.in (sysheaders): New substituted variable.
27831         * sysdeps/unix/mkfifo.c: Moved ...
27832         * sysdeps/posix/mkfifo.c: ... here.
27833         * sysdeps/unix/mkfifoat.c: Moved ...
27834         * sysdeps/posix/mkfifoat.c: ... here.
27836         * sysdeps/unix/utime.c: Moved ...
27837         * sysdeps/posix/utime.c: ... here.
27839         * sysdeps/unix/time.c: Moved ...
27840         * sysdeps/posix/time.c: ... here.
27841         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27842         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27844         * sysdeps/unix/nice.c: Moved ...
27845         * sysdeps/posix/nice.c: ... here.
27847         * sysdeps/unix/alarm.c: Moved ...
27848         * sysdeps/posix/alarm.c: ... here.
27850         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27852 2012-08-17  Jeff Law <law@redhat.com>
27854         * intl/Makefile (codeset_mo): New variable.
27855         ($(codeset_mo)): New target.
27856         (tst-codeset.out): Depend on that.  Remove explicit rule.
27857         (tst-gettext3.out, tst-gettext5.out): Likewise.
27858         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27859         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27860         * intl/tst-codeset.sh: Remove.
27861         * intl/tst-gettext3.sh: Likewise.
27862         * intl/tst-gettext5.sh: Likewise.
27864 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27866         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27867         * sysdeps/unix/syscalls.list: ... here.
27869         * sysdeps/posix/getaddrinfo.c
27870         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27871         (gaiconf_init, gaiconf_reload): Use them.
27872         [!_STATBUF_ST_NSEC]
27873         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27874         Define using time_t rather than struct timespec.
27876         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27877         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27878         Macros removed.
27879         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27880         [!NO_THREADS].
27881         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27882         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27883         Likewise.
27885         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27886         __libc_cleanup_push argument.
27888         * bits/param.h: New file.
27889         * misc/sys/param.h: New file.
27890         * include/sys/param.h: New file.
27891         * misc/Makefile (headers): Add bits/param.h.
27892         * sysdeps/generic/sys/param.h: File removed.
27893         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27894         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27895         * sysdeps/mach/hurd/bits/param.h: New file.
27896         * sysdeps/mach/hurd/sys/param.h: File removed.
27898         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27899         last change.
27901         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27902         [_IO_MTSAFE_IO].
27903         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27904         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27905         New macros.
27907         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27908         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27909         rather than -D_IO_MTSAFE_IO conditionally.
27910         * stdio-common/Makefile (CPPFLAGS): Likewise.
27911         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27912         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27913         Use $(libio-mtsafe).
27914         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27915         of -D_IO_MTSAFE_IO.
27916         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27917         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27918         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27919         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27920         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27921         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27922         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27923         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27924         (CFLAGS-fread_u_chk.c): Likewise.
27925         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27926         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27927         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27928         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27929         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27930         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27931         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27932         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27933         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27935         * libio/Makefile: Test [$(libc-reentrant) = yes]
27936         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27938         * Makeconfig
27939         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27940         * sysdeps/pthread/configure: File removed.
27941         * sysdeps/pthread/Makeconfig: New file.
27942         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27943         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27945 2012-08-16  Gary Benson  <gbenson@redhat.com>
27947         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27948         unmapping the first object in a namespace.
27950 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27952         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27953         (__internal_setnetgrent): ... this.  Add internal_function to
27954         definition.  Add libc_hidden_def.
27955         (setnetgrent): Update caller.
27956         (internal_endnetgrent): Renamed to ...
27957         (__internal_endnetgrent): ... this.  Add internal_function to
27958         definition.  Add libc_hidden_def.
27959         (endnetgrent): Update caller.
27960         (internal_getnetgrent_r): Renamed to ...
27961         (__internal_getnetgrent_r): ... this.  Add internal_function to
27962         definition.  Add libc_hidden_def.
27963         (__getnetgrent_r): Update caller.
27964         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27966 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27968         * stdlib/longlong.h: Update from GCC.
27970 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27972         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27973         on _QL, which is set by umul_ppmm but never used.
27974         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27975         variables, which are set by GMP macros but never used.
27976         * stdio-common/_itowa.c (_itowa): Likewise.
27977         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27978         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27980 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27982         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27983         struct La_sh_regs is not constant.
27984         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27985         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27986         and struct La_sparc64_regs are not constant.
27988 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27990         * sysdeps/unix/sysv/linux/kernel-features.h
27991         (__ASSUME_POSIX_TIMERS): Remove.
27992         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27993         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27994         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27995         Make code unconditional.
27996         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27997         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27998         Make code unconditional.
27999         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28000         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28001         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28002         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28003         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28004         Make code unconditional.
28005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28006         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28007         (__libc_missing_posix_timers): Remove.
28009 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28011         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28012         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28014         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28016         * elf/dl-sym.c: Include <stdlib.h>.
28018         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28019         constants, which avoids warnings in 32-bit builds.
28021         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28022         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28024         * misc/lseek.c: File moved to ...
28025         * io/lseek.c: ... here.
28027         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28029         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28030         shifting LEN more than 31 bits at once.
28032 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28034         [BZ #14195]
28035         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28036         segmentation fault for a case of two empty input strings.
28037         * string/test-strncasecmp.c (check1): Renamed to...
28038         (bz12205): ...this.
28039         (bz14195): Add new testcase for two empty input strings and N > 0.
28040         (test_main): Call new testcase, adapt for renamed function.
28042 2012-08-15  Andreas Jaeger  <aj@suse.de>
28044         [BZ #14090]
28045         * crypt/md5test2.c: New test, based on test supplied by Serge
28046         Belyshev <belyshev@depni.sinp.msu.ru>.
28047         * crypt/Makefile (xtests): Add md5test-giant..
28048         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28050 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28052         [BZ #14090]
28053         * crypt/md5.c (md5_process_block): Don't assume the buffer
28054         length is less than 2**32.
28055         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28056         length is less than 2**64.
28058 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28060         * string/str-two-way.h: Include <sys/param.h>.
28061         (MAX): Macro removed.
28063         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28064         Move #define and #undef of memmove to just before and after
28065         including <string.h>.
28067         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28068         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28069         and after including <string.h>.  Move declarations of
28070         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28071         to before #include "string/memmove.c".
28073         * include/dirent.h: Declare __getdirentries.
28075         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28076         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28078 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28080         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28081         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28082         * sysdeps/i386/configure: Regenerated.
28083         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28084         STABS_CURRENT_FILE, and STABS_FUN.
28085         (END): Remove call to STABS_FUN_END.
28086         (STABS_CURRENT_FILE1): Delete.
28087         (STABS_CURRENT_FILE): Likewise.
28088         (STABS_FUN): Likewise.
28089         (STABS_FUN_END): Likewise.
28090         (STABS_FUN2): Likewise.
28091         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28092         * sysdeps/x86_64/configure: Regenerated.
28094 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28096         * elf/dl-open.c: Include <atomic.h>.
28097         * elf/dl-lookup.c: Likewise.
28099 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28101         * sysdeps/unix/sysv/linux/kernel-features.h
28102         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28103         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28104         unconditionally.
28105         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28106         unconditionally.
28107         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28108         condition on __ASSUME_CLONE_THREAD_FLAGS.
28110 2012-08-14  Andreas Jaeger  <aj@suse.de>
28112         * sysdeps/i386/fpu/libm-test-ulps: Update.
28114 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28116         * include/atomic.h (atomic_exchange_and_add): Split into ...
28117         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28118         New atomic macros.
28120 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28124 2012-08-13  Jeff Law <law@redhat.com>
28126         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28127         null byte in the output string.
28129 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28131         * sysdeps/unix/sysv/linux/kernel-features.h
28132         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28133         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28134         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28135         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28136         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28137         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28138         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28140 2012-08-09  Jeff Law <law@redhat.com>
28142         [BZ #13939]
28143         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28144         When avoid_arena is set, don't retry in the that arena.  Pick the
28145         next one, whatever it might be.
28146         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28147         (arena_lock): Pass in new parameter to arena_get2.
28148         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28149         arena_get2.
28150         (__libc_malloc): Unify retrying after main arena failure with
28151         __libc_memalign version.
28152         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28154 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28156         [BZ #14166]
28157         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28158         to __redirect_strstr.
28159         (__strstr_sse42): Use typeof __redirect_strstr.
28160         (__strstr_ia32): Likewise.
28161         (__libc_strstr): New prototype.
28162         (strstr): Renamed to ...
28163         (__libc_strstr): This.
28164         (strstr): New strong alias of __libc_strstr.
28165         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28166         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28167         __redirect_time.
28168         Include <time.h>.
28169         (__libc_time): New prototype.
28170         (time_ifunc): Replace time with __libc_time.
28171         (time): New strong alias and hidden definition of __libc_time.
28172         (__GI_time): Remove strong alias.
28173         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28174         Include <stddef.h>.
28175         (memmove): Redefined to __redirect_memmove.
28176         (__memmove_sse2): Use typeof __redirect_memmove.
28177         (__memmove_ssse3): Likewise.
28178         (__memmove_ssse3_back): Likewise.
28179         (__libc_memmove): New prototype.
28180         (memmove): Renamed to ...
28181         (__libc_memmove): This.
28182         (memmove): New strong alias of __libc_memmove.
28184 2012-08-08  Mark Salter  <msalter@redhat.com>
28186         * elf/elf.h
28187         (R_MN10300_TLS_GD): Define.
28188         (R_MN10300_TLS_LD): Likewise.
28189         (R_MN10300_TLS_LDO): Likewise.
28190         (R_MN10300_TLS_GOTIE): Likewise.
28191         (R_MN10300_TLS_IE): Likewise.
28192         (R_MN10300_TLS_LE): Likewise.
28193         (R_MN10300_TLS_DTPMOD): Likewise.
28194         (R_MN10300_TLS_DTPOFF): Likewise.
28195         (R_MN10300_TLS_TPOFF): Likewise.
28196         (R_MN10300_SYM_DIFF): Likewise.
28197         (R_MN10300_ALIGN): Likewise.
28198         (R_MN10300_NUM): Update.
28200 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28202         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28203         Remove.
28205 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28207         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28209         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28210         sysdeps/unix -> sysdeps/posix move.
28211         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28213 2012-08-07      Allan McRae     <allan@archlinux.org>
28215         [BZ #14303]
28216         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28217         (SUNOS_CPP): Likewise.
28218         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28219         not found.
28220         (open_input): Call CPP using execvp.
28222 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28224         * sysdeps/unix/sysv/linux/kernel-features.h
28225         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28226         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28227         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28228         (__ASSUME_WAITID_SYSCALL): Likewise.
28229         * sysdeps/unix/sysv/linux/dl-execstack.c
28230         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28231         code unconditional.
28232         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28233         conditional code.
28234         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28235         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28236         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28237         code.
28238         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28239         unconditional.
28240         [__ASSUME_WAITID_SYSCALL]: Likewise.
28241         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28243 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28245         * sysdeps/unix/closedir.c: Renamed to ...
28246         * sysdeps/posix/closedir.c: ... here.
28247         * sysdeps/unix/dirfd.c: Renamed to ...
28248         * sysdeps/posix/dirfd.c: ... here.
28249         * sysdeps/unix/dirstream.h: Renamed to ...
28250         * sysdeps/posix/dirstream.h: ... here.
28251         * sysdeps/unix/fdopendir.c: Renamed to ...
28252         * sysdeps/posix/fdopendir.c: ... here.
28253         * sysdeps/unix/opendir.c: Renamed to ...
28254         * sysdeps/posix/opendir.c: ... here.
28255         * sysdeps/unix/readdir.c: Renamed to ...
28256         * sysdeps/posix/readdir.c: ... here.
28257         * sysdeps/unix/readdir_r.c: Renamed to ...
28258         * sysdeps/posix/readdir_r.c: ... here.
28259         * sysdeps/unix/rewinddir.c: Renamed to ...
28260         * sysdeps/posix/rewinddir.c: ... here.
28261         * sysdeps/unix/seekdir.c: Renamed to ...
28262         * sysdeps/posix/seekdir.c: ... here.
28263         * sysdeps/unix/telldir.c: Renamed to ...
28264         * sysdeps/posix/telldir.c: ... here.
28265         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28266         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28267         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28268         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28270         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28271         * bits/fcntl.h: ... here.
28273         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28274         not 0.
28275         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28276         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28277         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28278         (struct flock): Move l_start, l_len to the beginning.
28279         Use __pid_t for l_pid.
28280         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28281         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28282         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28283         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28284         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28285         [__USE_LARGEFILE64] (struct flock64): New type.
28286         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28288         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28289         * bits/dirent.h: ... here.
28291         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28292         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28294 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28296         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28297         Change from 2.6.0 to 2.6.16.
28298         * sysdeps/unix/sysv/linux/configure: Regenerated.
28299         * sysdeps/unix/sysv/linux/kernel-features.h
28300         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28301         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28302         version.
28303         (__ASSUME_UTIMES): Likewise.
28304         (__ASSUME_CLONE_STOPPED): Remove.
28305         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28306         architectures, not kernel version.
28307         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28308         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28309         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28310         (__ASSUME_WAITID_SYSCALL): Likewise.
28311         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28312         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28313         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28314         refer to older versions.
28316 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28318         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28319         Define alphasort64 as an alias.
28320         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28321         Define versionsort64 as an alias.
28322         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28323         Define scandir64 as an alias.
28324         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28325         Define scandirat64 as an alias.
28326         * dirent/alphasort64.c (alphasort64):
28327         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28328         * dirent/versionsort64.c: Likewise.
28329         * dirent/scandir64.c: Likewise.
28330         * dirent/scandirat64.c: Likewise.
28331         * sysdeps/wordsize-64/alphasort.c: File removed.
28332         * sysdeps/wordsize-64/alphasort64.c: File removed.
28333         * sysdeps/wordsize-64/scandir.c: File removed.
28334         * sysdeps/wordsize-64/scandir64.c: File removed.
28335         * sysdeps/wordsize-64/scandirat.c: File removed.
28336         * sysdeps/wordsize-64/scandirat64.c: File removed.
28337         * sysdeps/wordsize-64/versionsort.c: File removed.
28338         * sysdeps/wordsize-64/versionsort64.c: File removed.
28339         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28340         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28341         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28342         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28343         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28344         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28345         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28346         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28348         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28349         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28350         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28351         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28352         [defined __arch64__ || defined __sparcv9]
28353         (__INO_T_MATCHES_INO64_T): New macro.
28354         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28355         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28356         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28357         * sysdeps/unix/sysv/linux/bits/dirent.h
28358         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28359         (_DIRENT_MATCHES_DIRENT64): New macro.
28361         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28362         Define lockf64 as an alias.
28363         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28364         Define fseeko64 as an alias.
28365         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28366         Define ftello64 as an alias.
28367         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28368         Define _IO_fgetpos64 and fgetpos64 as aliases.
28369         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28370         Define _IO_fsetpos64 and fsetpos64 as aliases.
28371         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28372         Conditionalize body on this.
28373         * libio/fseeko64.c: Likewise.
28374         * libio/ftello64.c: Likewise.
28375         * libio/iofgetpos64.c: Likewise.
28376         * libio/iofsetpos64.c: Likewise.
28377         * sysdeps/wordsize-64/lockf.c: File removed.
28378         * sysdeps/wordsize-64/lockf64.c: File removed.
28379         * sysdeps/wordsize-64/fseeko.c: File removed.
28380         * sysdeps/wordsize-64/fseeko64.c: File removed.
28381         * sysdeps/wordsize-64/ftello.c: File removed.
28382         * sysdeps/wordsize-64/ftello64.c: File removed.
28383         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28384         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28385         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28386         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28387         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28388         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28389         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28390         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28391         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28392         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28393         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28394         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28395         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28396         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28398         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28399         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28400         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28401         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28402         [defined __arch64__ || defined __sparcv9]
28403         (__OFF_T_MATCHES_OFF64_T): New macro.
28404         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28405         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28407         (__OFF_T_MATCHES_OFF64_T): New macro.
28409 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28411         * stdlib/secure-getenv.c (__secure_getenv): Replace
28412         GLIBC_2_16 with GLIBC_2_17.
28414 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28416         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28417         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28419 2012-08-03  David S. Miller  <davem@davemloft.net>
28421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28423 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28425         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28426         Remove.
28427         (__ASSUME_CORRECT_SI_PID): Likewise.
28428         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28429         (__ASSUME_TMPFS_NAME): Likewise.
28430         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28431         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28432         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28433         (HAVE_AUX_SECURE): Make definition unconditional.
28434         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28435         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28437 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28439         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28440         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28441         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28442         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28443         __eloop_threshold instead of SYMLOOP_MAX.
28445         * sysdeps/generic/eloop-threshold.h: New file.
28446         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28447         of MAXSYMLINKS.
28448         * elf/chroot_canon.c (chroot_canon): Likewise.
28450 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28452         [BZ #13717]
28453         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28454         Change to 2.6.0 everywhere.
28455         * sysdeps/unix/sysv/linux/configure: Regenerated.
28456         * sysdeps/unix/sysv/linux/kernel-features.h
28457         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28458         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28459         kernel versions.
28460         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28461         (__ASSUME_FUTEX_REQUEUE): Remove.
28462         (__ASSUME_STATFS64): Define unconditionally.
28463         (__ASSUME_AT_SECURE): Likewise.
28464         (__ASSUME_CORRECT_SI_PID): Likewise.
28465         (__ASSUME_TGKILL): Define without depending on kernel version for
28466         i386.
28467         (__ASSUME_UTIMES): Likewise.
28468         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28469         kernel version.
28470         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28471         (__ASSUME_TMPFS_NAME): Likewise.
28472         * README: Update reference to Linux kernel versions.
28474 2012-08-02  Marek Polacek  <polacek@redhat.com>
28476         [BZ# 14150]
28477         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28478         libc_cv_asm_type_prefix with %.
28479         * configure: Regenerated.
28480         * include/libc-symbols.h: Remove comment about
28481         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28482         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28483         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28484         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28485         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28486         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28487         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28488         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28489         * elf/tst-unique2mod1.c: Likewise.
28490         * elf/tst-unique1mod2.c: Likewise.
28491         * elf/tst-unique1mod1.c: Likewise.
28492         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28493         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28494         Replace ASM_TYPE_DIRECTIVE with .type.
28495         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28496         * sysdeps/i386/sysdep.h: Likewise.
28497         * sysdeps/x86_64/sysdep.h: Likewise.
28498         * sysdeps/sh/sysdep.h: Likewise.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28500         Do not define ASM_TYPE_DIRECTIVE.
28501         * sysdeps/powerpc/sysdep.h: Likewise.
28502         * sysdeps/powerpc/powerpc32/sysdep.h:
28503         Replace ASM_TYPE_DIRECTIVE with .type.
28504         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28505         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28506         * sysdeps/i386/fpu/e_powf.S: Likewise.
28507         * sysdeps/i386/fpu/e_expl.S: Likewise.
28508         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28509         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28510         * sysdeps/i386/fpu/e_pow.S: Likewise.
28511         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28512         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28513         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28514         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28515         * sysdeps/i386/fpu/e_log2.S: Likewise.
28516         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28517         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28518         * sysdeps/i386/fpu/e_powl.S: Likewise.
28519         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28520         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28521         * sysdeps/i386/fpu/e_logl.S: Likewise.
28522         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28523         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28524         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28525         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28526         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28527         * sysdeps/i386/fpu/e_log.S: Likewise.
28528         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28529         * sysdeps/i386/fpu/e_logf.S: Likewise.
28530         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28531         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28532         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28533         * sysdeps/i386/fpu/e_log10.S: Likewise.
28534         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28535         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28536         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28537         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28538         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28539         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28540         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28541         * sysdeps/i386/i686/strtok.S: Likewise.
28542         * sysdeps/i386/i386-mcount.S: Likewise.
28543         * sysdeps/i386/strtok.S: Likewise.
28544         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28545         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28546         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28547         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28548         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28549         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28550         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28551         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28552         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28553         * sysdeps/x86_64/_mcount.S: Likewise.
28554         * sysdeps/x86_64/strtok.S: Likewise.
28555         * sysdeps/sh/_mcount.S: Likewise.
28557 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28559         * libio/iofopen.c: Include <fcntl.h>.
28560         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28561         (_IO_fopen64, fopen64): Define as aliases.
28562         * libio/iofopen64.c: Include <fcntl.h>.
28563         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28564         Conditionalize body on this.
28565         * sysdeps/wordsize-64/iofopen.c: File removed.
28566         * sysdeps/wordsize-64/iofopen64.c: File removed.
28568 2012-08-01  Marek Polacek  <polacek@redhat.com>
28570         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28571         Use dlfcn directly instead of a variable.
28572         (binfmt-subdir): Do not define.
28573         (dlfcn): Likewise.
28575 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28577         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28578         Remove all definitions.
28579         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28580         <kernel-features.h>.
28581         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28582         (miss_F_GETOWN_EX): Remove all definitions.
28583         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28584         macro definition.
28585         [!__ASSUME_FCNTL64]: Remove conditional code.
28586         [__ASSUME_FCNTL64]: Make code unconditional.
28587         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28588         <kernel-features.h>.
28589         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28590         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28591         (lockf64) [__NR_fcntl64]: Make code unconditional.
28592         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28594         * sysdeps/unix/sysv/linux/kernel-features.h
28595         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28596         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28597         Make code unconditional.
28598         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28599         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28601         [__NR_vfork]: Make code unconditional.
28602         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28603         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28605         [__NR_vfork]: Make code unconditional.
28606         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28607         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28609 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28611         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28612         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28614         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28615         Define mkstemp64 as an alias.
28616         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28617         Define mkstemps64 as an alias.
28618         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28619         Define mkostemp64 as an alias.
28620         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28621         Define mkostemps64 as an alias.
28622         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28623         Conditionalize body on this.
28624         * misc/mkostemp64.c: Likewise.
28625         * misc/mkostemps64.c: Likewise.
28626         * misc/mkstemps64.c: Likewise.
28627         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28628         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28629         * sysdeps/wordsize-64/mkostemp.c: File removed.
28630         * sysdeps/wordsize-64/mkstemp.c: File removed.
28631         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28632         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28633         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28634         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28636         [BZ #14138]
28637         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28638         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28639         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28640         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28642         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28643         compat_symbol macros from <shlib-compat.h> rather than the underlying
28644         default_symbol_version and symbol_version macros, so that DEFAULT
28645         lines in shlib-versions are respected.
28646         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28648 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28650         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28651         Declare with warn_unused_result.
28652         (setgid, setregid, setegid, setresgid): Likewise.
28653         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28654         Likewise.
28655         * WUR-REPORT: Remove set*id functions.
28657 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28659         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28661 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28663         [BZ #10191]
28664         * include/sys/socket.h (__libc_accept, __libc_accept4):
28665         Add attribute_hidden.
28666         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28668         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28669         use of PTR_MANGLE.
28670         * inet/getnetgrent_r.c (setup): Likewise.
28672         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28674 2012-07-31  David S. Miller  <davem@davemloft.net>
28676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28678 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28680         [BZ #13629]
28681         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28682         value between 1.0 and 2.0 and smaller part has absolute value less
28683         than 1.0.
28684         * math/s_clog10.c (__clog10): Likewise.
28685         * math/s_clog10f.c (__clog10f): Likewise.
28686         * math/s_clog10l.c (__clog10l): Likewise.
28687         * math/s_clogf.c (__clogf): Likewise.
28688         * math/s_clogl.c (__clogl): Likewise.
28689         * math/libm-test.inc (clog_test): Add more tests.
28690         (clog10_test): Likewise.
28691         * sysdeps/i386/fpu/libm-test-ulps: Update.
28692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28694 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28696         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28697         Exit with zero in case no suitable GID is found, and write a
28698         message to standard error.
28700 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28702         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28703         rather than to 1.
28704         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28705         (MAXPATHLEN): Removed.
28706         (NOGROUP, NODEV): New macros.
28707         (setbit, clrbit, isset, isclr): New macros.
28708         (howmany, roundup, powerof2): New macros.
28709         (DEV_BSIZE): New macro.
28711         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28712         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28714         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28715         definition on [!__NO_LONG_DOUBLE_MATH].
28717         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28718         PTR_MANGLE and PTR_DEMANGLE.
28720         * socket/accept4.c (accept4): Rename to __libc_accept4.
28721         Define accept4 as a weak alias.
28723         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28724         on [_DIRENT_HAVE_D_TYPE].
28725         * io/ftw.c (ftw_dir): Likewise.
28727         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28729         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28731         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28732         Use the BSD numbers rather than the arbitrary ones we had.
28733         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28734         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28735         (SIGXCPU, SIGXFSZ): New macros.
28736         (_NSIG): Now 32.
28738         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28739         initializer on [_LIBC_REENTRANT].
28741         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28742         definitions inside [_POSIX_MAPPED_FILES].
28744         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28746         * dirent/opendir.c: Include <fcntl.h>.
28748         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28749         (__libc_getspecific): Likewise.
28750         (__libc_key_create): Likewise.
28752         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28753         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28754         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28755         (tmpfile64): Define as alias.
28756         * sysdeps/wordsize-64/tmpfile.c: File removed.
28757         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28758         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28759         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28761         * stdio-common/vfscanf.c: Include <stdbool.h>.
28762         * nss/makedb.c: Likewise.
28763         * stdio-common/_i18n_number.h: Likewise.
28764         * argp/argp-help.c: Likewise.
28765         * posix/wordexp.c: Likewise.
28766         * sysdeps/posix/spawni.c: Likewise.
28767         * nss/nss_files/files-initgroups.c: Likewise.
28768         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28769         * nss/nss_files/files-initgroups.c: Likewise.
28770         * nss/nss_db/db-netgrp.c: Likewise.
28771         * nss/nss_db/db-initgroups.c: Likewise.
28772         * io/fchmodat.c: Include <sys/stat.h>.
28774         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28775         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28777         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28778         [HAVE_MMAP].
28780         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28781         Add multiple inclusion protection.
28783 2012-07-27  David S. Miller  <davem@davemloft.net>
28785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28787 2012-07-27  Gary Benson  <gbenson@redhat.com>
28789         [BZ #14298]
28790         * elf/rtld.c: Include <stap-probe.h>.
28791         (dl_main): Added static probes "init_start" and "init_complete".
28792         * elf/dl-load.c: Include <stap-probe.h>.
28793         (lose): Take new parameter "nsid".
28794         Added static probe "map_failed".
28795         (_dl_map_object_from_fd): Pass namespace id to lose.
28796         Added static probe "map_start".
28797         (open_verify): Pass namespace id to lose.
28798         * elf/dl-open.c: Include <stap-probe.h>.
28799         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28800         and "reloc_complete".
28801         * elf/dl-close.c: Include <stap-probe.h>.
28802         (_dl_close_worker): Added static probes "unmap_start" and
28803         "unmap_complete".
28804         * elf/rtld-debugger-interface.txt: New file documenting the above.
28806 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28808         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28809         rather than a string variable.
28810         * sunrpc/rpc_main.c (h_output): Likewise.
28811         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28813 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28815         * inet/check_native.c: New file.
28817 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28819         [BZ #13629]
28820         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28821         if larger part has absolute value 1.0.
28822         * math/s_clog10.c (__clog10): Likewise.
28823         * math/s_clog10f.c (__clog10f): Likewise.
28824         * math/s_clog10l.c (__clog10l): Likewise.
28825         * math/s_clogf.c (__clogf): Likewise.
28826         * math/s_clogl.c (__clogl): Likewise.
28827         * math/libm-test.inc (clog_test): Add more tests.
28828         (clog10_test): Likewise.
28829         * sysdeps/i386/fpu/libm-test-ulps: Update.
28830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28832         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28833         (pltexit): Likewise.
28834         (La_regs): Likewise.
28835         (La_retval): Likewise.
28836         (int_retval): Likewise.
28837         Update #error for removed macros to refer only to definitions in
28838         tst-audit.h.
28839         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28840         macro.
28841         (pltexit): Likewise.
28842         (La_regs): Likewise.
28843         (La_retval): Likewise.
28844         (int_retval): Likewise.
28845         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28846         macro.
28847         (pltexit): Likewise.
28848         (La_regs): Likewise.
28849         (La_retval): Likewise.
28850         (int_retval): Likewise.
28851         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28852         macro.
28853         (pltexit): Likewise.
28854         (La_regs): Likewise.
28855         (La_retval): Likewise.
28856         (int_retval): Likewise.
28857         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28858         macro.
28859         (pltexit): Likewise.
28860         (La_regs): Likewise.
28861         (La_retval): Likewise.
28862         (int_retval): Likewise.
28863         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28864         macro.
28865         (pltexit): Likewise.
28866         (La_regs): Likewise.
28867         (La_retval): Likewise.
28868         (int_retval): Likewise.
28869         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28870         macro.
28871         (pltexit): Likewise.
28872         (La_regs): Likewise.
28873         (La_retval): Likewise.
28874         (int_retval): Likewise.
28875         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28876         macro definitions in tst-audit.h.
28877         * sysdeps/i386/tst-audit.h: New file.
28878         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28879         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28880         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28881         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28882         * sysdeps/sh/tst-audit.h: Likewise.
28883         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28884         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28885         * sysdeps/x86_64/tst-audit.h: Likewise.
28887 2012-07-26  Andreas Jaeger  <aj@suse.de>
28889         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28890         ptrace.
28892         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28893         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28894         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28895         PTRACE_O_MASK.
28896         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28897         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28898         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28900         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28901         value.
28903         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28904         _sigsys.
28905         (si_call_addr, si_syscall, si_arch): Define new macro.
28906         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28907         _sigsys.
28908         (si_call_addr, si_syscall, si_arch): Define new marcro.
28909         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28910         _sigsys.
28911         (si_call_addr, si_syscall, si_arch): Define new macro.
28912         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28913         _sigsys.
28914         (si_call_addr, si_syscall, si_arch): Define new macro.
28916 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28918         [BZ #13717]
28919         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28920         Change to 2.4.21 where previously 2.4.1.
28921         * sysdeps/unix/sysv/linux/configure: Regenerated.
28922         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28923         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28924         Linux kernel version.
28925         (__ASSUME_STD_AUXV): Remove.
28926         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28927         kernel version.
28928         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28929         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28930         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28931         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28932         (__ASSUME_NETLINK_SUPPORT): Likewise.
28933         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28934         (__no_netlink_support): Remove conditional definition.
28935         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28936         Remove.
28937         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28938         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28939         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28940         (if_nameindex_ioctl): Remove.
28941         (if_nameindex_netlink): Do not handle __no_netlink_support.
28942         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28943         code.
28944         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28945         Remove conditional code.
28946         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28947         code.
28948         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28949         unconditional.
28950         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28951         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28952         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28953         Remove.
28954         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28955         [!__ASSUME_STD_AUXV]: Remove conditional code.
28956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28957         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28958         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28960         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28961         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28962         code.
28963         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28965         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28966         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28967         conditional code.
28968         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28970         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28971         code.
28972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28973         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28974         conditional code.
28975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28976         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28977         code unconditional.
28978         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28979         conditional code.
28980         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28981         unconditional.
28982         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28983         conditional code.
28984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28985         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28986         unconditional.
28987         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28988         conditional code.
28989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28990         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28991         code unconditional.
28992         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28993         conditional code.
28994         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28995         unconditional.
28996         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28997         conditional code.
28998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28999         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29000         code unconditional.
29001         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29002         conditional code.
29003         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29004         unconditional.
29005         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29006         conditional code.
29008 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29010         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29011         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29012         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29013         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29014         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29015         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29016         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29017         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29018         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29019         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29020         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29021         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29022         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29023         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29024         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29025         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29026         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29027         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29028         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29030         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29031         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29032         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29034 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29036         * Versions.def: Add GLIBC_2.17.
29037         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29038         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29039         Introduce __libc_secure_getenv.
29040         * stdlib/Versions (2.17): Add secure_getenv
29041         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29042         * stdlib/secure-getenv.c: Rename __secure_getenv to
29043         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29044         symbol __secure_getenv for GLIBC_2.0.
29045         * stdlib/tst-secure-getenv.c: New.
29046         * stdlib/Makefile (tests): Add testcase.
29047         * manual/startup.texi (Environment Access): Document
29048         secure_getenv.
29049         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29050         __libc_secure_getenv.
29051         * inet/ruserpass.c (ruserpass): Likewise.
29052         * malloc/mtrace.c (mtrace): Likewise.
29053         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29054         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29055         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29056         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29057         HAVE_SECURE_GETENV.
29058         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29059         __secure_getenv to __libc_secure_getenv.
29060         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29062         Likewise.
29063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29064         Likewise.
29065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29067         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29073 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29075         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29076         (struct La_i86_retval): Likewise.
29077         (struct La_x86_64_regs): Likewise.
29078         (struct La_x86_64_retval): Likewise.
29079         (struct La_x32_regs): Likewise.
29080         (struct La_x32_retval): Likewise.
29081         (struct La_ppc32_regs): Likewise.
29082         (struct La_ppc32_retval): Likewise.
29083         (struct La_ppc64_regs): Likewise.
29084         (struct La_ppc64_retval): Likewise.
29085         (struct La_sh_regs): Likewise.
29086         (struct La_sh_retval): Likewise.
29087         (struct La_s390_32_regs): Likewise.
29088         (struct La_s390_32_retval): Likewise.
29089         (struct La_s390_64_regs): Likewise.
29090         (struct La_s390_64_retval): Likewise.
29091         (struct La_sparc32_regs): Likewise.
29092         (struct La_sparc32_retval): Likewise.
29093         (struct La_sparc64_regs): Likewise.
29094         (struct La_sparc64_retval): Likewise.
29095         (struct audit_ifaces): Remove architecture-specific pltenter and
29096         pltexit members.
29097         * sysdeps/i386/ldsodefs.h: New file.
29098         * sysdeps/powerpc/ldsodefs.h: Likewise.
29099         * sysdeps/s390/ldsodefs.h: Likewise.
29100         * sysdeps/sh/ldsodefs.h: Likewise.
29101         * sysdeps/sparc/ldsodefs.h: Likewise.
29102         * sysdeps/x86_64/ldsodefs.h: Likewise.
29104 2012-07-25  Marek Polacek  <polacek@redhat.com>
29106         [BZ #6808]
29107         * math/libm-test.inc (yn_test): Add another test.
29108         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29109         to ERANGE when the result is +-Inf.
29110         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29111         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29112         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29113         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29115 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29117         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29118         equal to 0.
29119         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29120         clock_t.
29121         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29123 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29125         * configure.in <sysdeps resolving>: Correct printing
29126         Implies_before.
29127         * configure: Regenerate.
29129 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29131         * math/w_ilogb.c: Include <limits.h>.
29132         * math/w_ilogbl.c: Likewise.
29134 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29136         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29137         va_copy.  Document allowing for unavailable va_copy only as
29138         pre-C99 compatibility.
29139         * manual/string.texi (Copying and Concatenation): Use va_copy
29140         instead of __va_copy in concat example.
29142 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29144         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29145         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29146         it if not null.
29148         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29149         with O_NOLINK passed to __file_name_lookup.
29151         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29152         with O_NOLINK passed to __file_name_lookup.
29154         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29155         negative N or less than NGIDS.
29157         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29158         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29159         enough.  Use memcpy instead of strncpy.
29161 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29163         * elf/Makefile (check-data): Remove.
29164         (localplt.data): New vpath directive.
29165         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29166         instead of $(check-data).
29167         * scripts/data/localplt-generic.data: Move to ...
29168         * sysdeps/generic/localplt.data: ... here.
29169         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29170         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29171         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29173         ... here.
29174         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29176         ... here.
29177         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29179         ... here.
29180         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29182         ... here.
29183         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29185         ... here.
29186         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29188         ... here.
29190 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29192         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29193         PPC32 and PPC64 files.
29194         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29195         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29197 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29199         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29200         __makecontext_ret to ...
29201         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29202         ... here and call exit if uc_link is NULL.  New file.
29203         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29204         __makecontext_ret.S.
29205         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29206         __makecontext_ret to ...
29207         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29208         ... here and call exit if uc_link is NULL.  New file.
29209         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29210         __makecontext_ret.S.
29212 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29214         * elf/elf.h (R_390_IRELATIVE): New definition.
29215         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29216         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29217         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29218         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29219         (elf_machine_lazy_rel): Likewise.
29220         * sysdeps/s390/dl-irel.h: New file.
29221         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29222         * sysdeps/s390/s390-64/memset.S: New asm code.
29223         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29224         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29225         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29226         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29227         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29228         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29229         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29230         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29231         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29232         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29233         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29234         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29235         * sysdeps/s390/s390-32/memset.S: New asm code.
29236         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29238 2012-07-17  Marek Polacek  <polacek@redhat.com>
29240         [BZ #14349]
29241         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29242         * sysdeps/s390/s390-64/configure.in: Likewise.
29243         * sysdeps/sparc/configure.in: Likewise.
29244         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29245         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29246         * sysdeps/i386/configure.in: Likewise.
29247         * sysdeps/x86_64/configure.in: Likewise.
29248         * sysdeps/sh/configure.in: Likewise.
29249         * sysdeps/s390/s390-32/configure: Regenerated.
29250         * sysdeps/s390/s390-64/configure: Likewise.
29251         * sysdeps/x86_64/configure: Likewise.
29252         * sysdeps/sh/configure: Likewise.
29253         * sysdeps/powerpc/powerpc64/configure: Likewise.
29254         * sysdeps/powerpc/powerpc32/configure: Likewise.
29255         * sysdeps/sparc/configure: Likwise.
29256         * sysdeps/i386/configure: Likewise.
29258         * elf/dl-open.c: Comment fixes.
29260 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29262         * Makefile [CXX] (check-data): Remove.
29263         [CXX] (c++-types.data): New vpath directive.
29264         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29265         vpath.  Do not allow for C++ type data being missing.
29266         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29267         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29268         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29269         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29270         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29271         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29272         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29274         ... here.
29275         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29277         ... here.
29278         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29280         ... here.
29281         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29283         ... here.
29284         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29286         ... here.
29287         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29289         ... here.
29290         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29292         ... here.
29293         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29296         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29297         definitions to architecture-specific files.
29298         (TLS_IE): Likewise.
29299         (TLS_LD): Likewise.
29300         (TLS_GD): Likewise.
29301         * sysdeps/i386/tls-macros.h: New file.
29302         * sysdeps/powerpc/tls-macros.h: Likewise.
29303         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29304         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29305         * sysdeps/sh/tls-macros.h: Likewise.
29306         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29307         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29308         * sysdeps/x86_64/tls-macros.h: Likewise.
29310 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29312         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29313         zero value for regular exit case.
29315         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29316         (__start_context): Preserve zero value for regular exit case.
29318 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29319             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29321         * manual/setjmp.texi (setcontext): Clarify normal process
29322         termination when uc_link is the null pointer.
29323         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29324         exit call.
29326 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29328         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29329         preprocessor.  Test for each exception mask separately.
29331 2012-07-16  Andreas Jaeger  <aj@suse.de>
29333         * po/ru.po: Update from translation team.
29335 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29337         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29338         equal to 0.
29339         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29340         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29341         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29342         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29343         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29345 2012-07-13  Andreas Jaeger  <aj@suse.de>
29347         * po/fr.po: Update from translation team.
29349 2012-07-12  Marek Polacek  <polacek@redhat.com>
29351         [BZ #14173]
29352         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29354         loop condition.
29356 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29358         [BZ #13717]
29359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29360         Change to 2.4.1 where previously 2.4.0.
29361         * sysdeps/unix/sysv/linux/configure: Regenerated.
29362         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29363         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29364         version.
29365         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29366         (__ASSUME_AT_CLKTCK): Remove.
29367         (__ASSUME_AT_PAGESIZE): Likewise.
29368         (__ASSUME_AT_XID): Likewise.
29369         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29370         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29371         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29372         unconditionally.
29373         (HAVE_AUX_PAGESIZE): Likewise.
29374         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29375         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29376         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29378 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29380         [BZ #14307]
29381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29382         the temporary buffer used to invoke __gethostbyname2_r,
29383         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29384         host_data / struct gaih_addrtuple.
29385         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29386         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29387         header file nss/nsswitch.h.
29388         * nss/nsswitch.h (global scope): Add definition of implementation
29389         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29390         resolv/nss_dns/dns-host.c).
29392 2012-07-11  Andreas Jaeger  <aj@suse.de>
29394         * po/fr.po: Update from translation team.
29396         * po/sv.po: Update from translation team
29397         * po/fr.po: Another update from translation team.
29399 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29401         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29402         for subnormals or multiply small sinh result by itself.
29403         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29406 2012-07-11  David S. Miller  <davem@davemloft.net>
29408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29410 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29412         [BZ #14347]
29413         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29414         (INTERNAL_MARK): Shift it here.
29416 2012-07-10  Marek Polacek  <polacek@redhat.com>
29418         [BZ #14151]
29419         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29420         libc_cv_asm_global_directive with .globl.
29421         * configure: Regenerated.
29422         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29423         with .globl.
29424         * sysdeps/i386/configure: Regenerated.
29425         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29426         with .globl.
29427         * sysdeps/x86_64/configure: Regenerated.
29428         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29429         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29430         * elf/tst-unique2mod2.c: Likewise.
29431         * elf/tst-unique2mod1.c: Likewise.
29432         * elf/tst-unique1mod2.c: Likewise.
29433         * elf/tst-unique1mod1.c: Likewise.
29434         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29435         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29436         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29437         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29438         * sysdeps/mach/sysdep.h: Likewise.
29439         * sysdeps/i386/sysdep.h: Likewise.
29440         * sysdeps/i386/i386-mcount.S: Likewise.
29441         * sysdeps/x86_64/_mcount.S: Likewise.
29442         * sysdeps/x86_64/sysdep.h: Likewise.
29443         * sysdeps/sh/_mcount.S: Likewise.
29444         * sysdeps/sh/sysdep.h: Likewise.
29445         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29446         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29447         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29448         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29449         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29450         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29451         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29452         * locale/localeinfo.h: Likewise.
29453         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29454         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29456 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29458         [BZ #14336]
29459         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29460         system".
29461         * manual/message.texi (The Uniforum approach): Likewise.
29462         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29463         (glibc iconv Implementation): Likewise.
29465 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29467         [BZ #14337]
29468         * math/s_clog.c (__clog): Avoid scaling a value down where that
29469         could result in underflow.
29470         * math/s_clog10.c (__clog10): Likewise.
29471         * math/s_clog10f.c (__clog10f): Likewise.
29472         * math/s_clog10l.c (__clog10l): Likewise.
29473         * math/s_clogf.c (__clogf): Likewise.
29474         * math/s_clogl.c (__clogl): Likewise.
29475         * math/libm-test.inc (clog_test): Add more tests.
29476         (clog10_test): Likewise.
29477         * sysdeps/i386/fpu/libm-test-ulps: Update.
29478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29480 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29482         [BZ #14283]
29483         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29484         by 7 not 8 to examine high bit of fractional part.
29486         [BZ #14042]
29487         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29488         for call to __mcount_internal.
29489         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29490         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29491         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29493 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29495         [BZ #14154]
29496         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29497         approximation for values within 0x1p-13f of an odd multiple of
29498         pi/4.
29499         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29500         exception.  Add more tests.
29501         * sysdeps/i386/fpu/libm-test-ulps: Update.
29503         [BZ #6778]
29504         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29505         inputs and return -1 for them.  Do not check for +Inf in case not
29506         reachable for +Inf.
29507         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29508         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29509         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29510         and return -1 for them.  Do not check for +Inf in case not
29511         reachable for +Inf.
29512         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29513         define.
29514         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29515         and return -1 for them.  Do not check for +Inf in case not
29516         reachable for +Inf.
29517         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29518         spurious underflow.
29519         * sysdeps/i386/fpu/libm-test-ulps: Update.
29520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29522 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29524         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29526 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29528         [BZ #14157]
29529         [BZ #14331]
29530         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29531         could result in spurious underflow.  Scale down values above
29532         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29533         * math/s_csqrtf.c (__csqrtf): Likewise.
29534         * math/s_csqrtl.c (__csqrtl): Likewise.
29535         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29536         spurious underflow.
29537         * sysdeps/i386/fpu/libm-test-ulps: Update.
29538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29540 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29542         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29543         xopen-msg.sed.
29544         * catgets/xopen-msg.awk: New file.
29545         * catgets/xopen-msg.sed: Removed.
29547         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29548         po2text.sed.
29549         * intl/po2test.awk: New file.
29550         * intl/po2test.sed: Removed.
29552 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29554         [BZ #14328]
29555         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29556         or multiply small sinh result by itself.
29557         * math/s_ctanf.c (__ctanf): Likewise.
29558         * math/s_ctanh.c (__ctanh): Likewise.
29559         * math/s_ctanhf.c (__ctanhf): Likewise.
29560         * math/s_ctanhl.c (__ctanhl): Likewise.
29561         * math/s_ctanl.c (__ctanl): Likewise.
29562         * math/libm-test.inc (ctan_test_tonearest): New function.
29563         (ctan_test_towardzero): Likewise.
29564         (ctan_test_downward): Likewise.
29565         (ctan_test_upward): Likewise.
29566         (ctanh_test_tonearest): Likewise.
29567         (ctanh_test_towardzero): Likewise.
29568         (ctanh_test_downward): Likewise.
29569         (ctanh_test_upward): Likewise.
29570         (main): Call these new functions.
29571         * sysdeps/i386/fpu/libm-test-ulps: Update.
29572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29574 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29576         * .gitignore: Delete /ports entry.
29578 2012-07-03  Andreas Jaeger  <aj@suse.de>
29580         * po/bg.po: Update from translation team.
29581         * po/cs.po: Likewise.
29582         * po/de.po: Likewise.
29583         * po/hr.po: Likewise.
29584         * po/nl.pl: Likewise.
29585         * po/pl.po: Likewise.
29586         * po/vi.po: Likewise.
29588 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29590         * Makeconfig [!+link] (+link-before-libc): New variable.
29591         [!+link] (+link-after-libc): Likewise.
29592         [!+link] (+link-tests): Likewise.
29593         [!+link] (+link): Define in terms of $(+link-before-libc) and
29594         $(+link-after-libc).
29595         [!+link-static] (+link-static-before-libc): New variable.
29596         [!+link-static] (+link-static-after-libc): Likewise.
29597         [!+link-static] (+link-static-tests): Likewise.
29598         [!+link-static] (+link-static): Define in terms of
29599         $(+link-static-before-libc) and $(+link-static-after-libc).
29600         [build-shared] (link-libc-before-gnulib): New variable.
29601         [build-shared] (link-libc-tests): Likewise.
29602         [build-shared] (link-libc): Define in terms of
29603         $(link-libc-before-gnulib).
29604         [!build-shared] (link-libc-tests): New variable.
29605         (link-libc-static-tests): New variable.
29606         [!gnulib] (gnulib-arch): New variable.
29607         [!gnulib] (gnulib-tests): Likewise.
29608         [!gnulib] (static-gnulib-arch): Likewise.
29609         [!gnulib] (static-gnulib-tests): Likewise.
29610         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29611         Define with "=" instead of ":=".
29612         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29613         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29614         * Rules (binaries-all-notests): New variable.
29615         (binaries-all-tests): Likewise.
29616         (binaries-static-notests): Likewise.
29617         (binaries-static-tests): Likewise.
29618         (binaries-all): Define using $(binaries-all-notests) and
29619         $(binaries-all-tests).
29620         (binaries-static): Define using $(binaries-static-notests) and
29621         $(binaries-static-tests).
29622         (binaries-shared-tests): New variable.
29623         (binaries-shared-notests): Likewise.
29624         (binaries-shared): Remove variable.
29625         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29626         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29627         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29628         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29629         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29630         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29631         * elf/Makefile (sln-modules): New variable.
29632         (extra-objs): Add $(sln-modules:=.o).
29633         (ldconfig-modules): Add static-stubs.
29634         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29635         * elf/static-stubs.c: New file.
29637         [BZ #14283]
29638         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29639         by 7 not 8 to examine high bit of fractional part.  Use volatile
29640         variables when splitting into final array of floats if
29641         __FLT_EVAL_METHOD__ != 0.
29642         * math/libm-test.inc (cos_test): Add another test.
29643         (sin_test): Likewise.
29644         * sysdeps/i386/fpu/libm-test-ulps: Update.
29646         [BZ #14273]
29647         * math/libm-test.inc (cosh_test): Add more tests.
29649         * version.h (RELEASE): Set to "development".
29650         (VERSION): Set to "2.16.90".
29652 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29654         * NEWS: Update copyright. Remove last-updated date.
29655         Mention math library bug fixes and timezone data changes.
29656         * README: Mention GNU/Hurd, x32, and HPPA support status.
29658 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29660         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29662 2012-06-27  Andreas Jaeger  <aj@suse.de>
29664         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29666 2012-06-25  Andreas Jaeger  <aj@suse.de>
29668         * sysdeps/s390/fpu/libm-test-ulps: Update.
29670 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29671             Thomas Schwinge  <thomas@codesourcery.com>
29673         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29674         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29676         fanotify_mark.
29678 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29680         * sysdeps/mach/start.c: Remove file.
29681         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29682         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29683         * sysdeps/sh/init-first.c: Likewise.
29685         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29686         registers for frame unwinding purposes, add CFI directives.
29687         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29688         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29689         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29690         Likewise.
29692         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29693         __fortify_fail returning.
29694         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29696         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29697         sysdeps/sh/____longjmp_chk.S.
29698         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29699         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29700         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29701         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29703         * sysdeps/sh/abort-instr.h: New file.
29704         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29705         process in case exit returns.
29707         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29708         initialize the GOT register before use.
29710         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29711         calculation of ARGC > 4.
29713         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29714         meaningful names to some local labels.
29716 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29717             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29719         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29720         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29721         (__arch_compare_and_exchange_val_16_acq): Likewise.
29722         (__arch_compare_and_exchange_val_32_acq): Likewise.
29723         (atomic_exchange_and_add): Fix gUSA sequence.
29724         (atomic_add): Likewise.
29725         (atomic_add_negative): Likewise.
29726         (atomic_add_zero): Likewise.
29727         (atomic_bit_test_set): Likewise.
29729 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29731         [BZ #13579]
29732         * include/link.h (struct link_map): Add l_free_initfini.
29733         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29734         l_initfini.
29735         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29736         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29737         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29738         set.
29740 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29742         * configure.in: Use AC_LANG_SOURCE.
29743         * configure: Regenerate.
29745 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29747         * configure.in (libc_cv_localstatedir): New substituted variable.
29748         * configure: Regenerated.
29749         * config.make.in (localstatedir): New variable, substituted from
29750         libc_cv_localstatedir.
29751         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29752         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29753         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29754         * sysdeps/gnu/configure: Regenerated.
29756 2012-06-21  Jeff Law  <law@redhat.com>
29758         [BZ #14277]
29759         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29760         free.  Simplify list management for _LIBC case.
29762 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29764         [BZ #14273]
29765         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29766         Clear sign bit of 64-bit integer value before comparing against
29767         overflow value.
29769         * sysdeps/mach/configure: Regenerated.
29771 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29773         [BZ #14278]
29774         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29776 2012-06-21  Jeff Law  <law@redhat.com>
29778         [BZ #13882]
29779         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29780         uint16_t for elements in the "seen" array to avoid char overflows.
29781         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29782         * elf/dl-open.c (dl_open_worker): Likewise.
29784 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29786         * scripts/list-sources.sh: Scan PORTS for translations.
29787         * po/libc.pot: Regenerated.
29789 2012-06-21  Andreas Jaeger  <aj@suse.de>
29791         [BZ #12194]
29792         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29793         warning.
29794         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29795         * bits/byteswap-16.h (__bswap_16): Likewise.
29796         * bits/byteswap.h (__bswap_constant_16): Likewise.
29798 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29800         [BZ #14117]
29801         * sysdeps/i386/fpu_control.h: Removed.
29802         * sysdeps/x86_64/fpu_control.h: Moved to ...
29803         * sysdeps/x86/fpu_control.h: Here.
29805         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29806         (_FPU_SETCW): Likewise.
29808 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29810         [BZ #14117]
29811         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29812         * sysdeps/x86/fpu/bits/mathinline.h: This.
29813         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29815         [BZ #14050]
29816         [BZ #14117]
29817         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29818         functions if __x86_64__ is defined.
29820 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29822         * string/endian.h: Add !__ASSEMBLER__ condition for including
29823         conversion interfaces.
29825 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29827         [BZ #14241]
29828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29829         of ABS(x) in calculating zero to negative powers other than odd
29830         integers.
29831         * math/libm-test.inc (pow_test): Add more tests.
29833 2012-06-15  Andreas Jaeger  <aj@suse.de>
29835         * manual/contrib.texi (Contributors): Update entry of Liubov
29836         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29837         Machado Filho.
29839 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29841         * string/string.h: Add __wur to GNU version of strerror_r.
29843 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29845         [BZ #14229]
29846         * string/Makefile (tests): Add tst-strtok_r.
29847         * string/tst-strtok_r.c: New file.
29848         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29849         RAX_LP/RDX_LP on SAVE_PTR.
29851 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29853         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29855 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29857         * libm_test.inc (csqrt_test): Allow more spurious underflow
29858         exceptions.
29859         (j0_test): Likewise.
29860         (j1_test): Likewise.
29861         (y0_test): Likewise.
29862         (y1_test): Likewise.
29864 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29866         * po/Makefile (libc.pot): Use UTF-8 charset.
29868 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29870         [BZ #14210]
29871         Suppress sign-conversion warning from FD_SET.
29872         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29873         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29874         not unsigned long int.
29875         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29877 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29879         [BZ #14050]
29880         [BZ #14117]
29881         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29882         __extern_always_inline instead of __extern_inline.
29883         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29884         (__signbit): Likewise.
29885         (__signbitl): Support C++ namespace.
29886         (lrintf): New inline function.
29887         (lrint): Likewise.
29888         (llrintf): Likewise.
29889         (llrint): Likewise.
29890         (fmaxf): Likewise.
29891         (fmax): Likewise.
29892         (fminf): Likewise.
29893         (fmin): Likewise.
29894         (rint): Likewise.
29895         (rintf): Likewise.
29896         (ceil): Likewise.
29897         (ceilf): Likewise.
29898         (floor): Likewise.
29899         (floorf): Likewise.
29900         (nearbyint): Likewise.
29901         (nearbyintf): Likewise.
29903 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29905         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29906         non-default versions.
29908 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29910         [BZ #14218]
29911         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29913 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29915         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29916         (FE_UPWARD, FE_DOWNWARD): Don't define.
29917         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29918         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29920         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29921         reading it.
29922         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29923         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29925 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29927         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29928         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29929         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29930         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29932 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29934         [BZ #14117]
29935         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29936         * sysdeps/i386/fpu/Implies: New file.
29937         * sysdeps/x86_64/fpu/Implies: Likewise.
29938         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29939         * sysdeps/x86/fpu/bits/fenv.h: This.
29941         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29942         __SSE_MATH__.
29944 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29946         [BZ #14134]
29947         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29948         character 0xffff that matches the last element of the
29949         conversion table.
29951 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29953         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29954         fmodl commit.
29956 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29958         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29959         values higher than 25.6283.
29961 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29963         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29964         subnormal exponent extraction and add some __builtin_expect.
29965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29966         Fix for subnormal mantissa calculation.
29968 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29970         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29971         cpu2 is -1 and errno is not ENOSYS.
29973 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29975         [BZ #14117]
29976         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29977         * sysdeps/x86/bits/string.h: This.
29978         * sysdeps/x86_64/bits/string.h: Removed.
29980         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29981         if not compiling for x86-64, but compiling for >= i486.
29983         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29984         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29986         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29987         New macro from Linux kernel 3.4.0.
29988         (FP_XSTATE_MAGIC2): Likewise.
29989         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29990         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29991         (struct _fpx_sw_bytes): New struct.
29992         (struct _xsave_hdr): Likewise.
29993         (struct _ymmh_state): Likewise.
29994         (struct _xstate): Likewise.
29996         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29997         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29998         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29999         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30000         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30001         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30003         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30004         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30005         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30006         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30007         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30008         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30010 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30012         [BZ #13743]
30013         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30014         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30015         (sysdep_headers): Include sys/platform/ppc.h.
30016         * sysdeps/powerpc/test-gettimebase.c: Test for
30017         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30018         * manual/Makefile (appendices): Include platform.texi.
30019         * manual/contrib.texi (Contributors): Update @node pointers.
30020         * manual/maint.texi (Maintenance): Likewise.
30021         (Platform): New node.
30022         * manual/platform.texi: New file.  Document the new features.
30024 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30025             Jakub Jelinek  <jakub@redhat.com>
30027         [BZ #14188]
30028         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30029         where __builtin_expect is unavailable.
30031 2012-06-03  David S. Miller  <davem@davemloft.net>
30033         * stdlib/longlong.h: Updated from GCC.
30035 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30037         [BZ #14042]
30038         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30039         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30040         __mcount_internal.
30041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30042         (GLIBC_2.16): Likewise.
30044 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30046         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30048 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30051         (default-abi): New variable.
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30053         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30054         variable.
30055         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30056         Likewise.
30057         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30058         Likewise.
30059         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30060         Likewise.
30062         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30063         definition.  Document in comment.
30065 2012-06-01  David S. Miller  <davem@davemloft.net>
30067         * stdlib/longlong.h: Updated from GCC.
30069 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30071         [BZ #14117]
30072         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30073         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30074         sys/debugreg.h sys/io.h here.
30075         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30076         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30077         sys/io.h.
30078         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30079         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30080         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30081         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30082         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30083         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30085         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30086         Define only if __x86_64__ is defined.
30088 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30090         [BZ #14048]
30091         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30092         Use int64_t for variable i.
30093         * math/libm-test.inc (fmod_test): Add more tests.
30095         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30096         z computation is not scheduled after fetestexcept.
30097         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30098         Use math_force_eval instead of asm to ensure calculation scheduled
30099         before exception test.
30100         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30101         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30103 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30106         computation is not scheduled after fetestexcept.
30108 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30110         [BZ #14117]
30111         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30112         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30114 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30116         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30117         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30119 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30121         [BZ #14117]
30122         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30123         <bits/wordsize.h>.
30124         (__WCHAR_MIN): Support __WORDSIZE == 64.
30125         (__WCHAR_MAX): Likewise.
30127         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30128         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30130         [BZ #14183]
30131         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30132         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30134         [BZ #14117]
30135         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30136         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30138         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30139         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30141         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30142         Defined to 1 if __x86_64__ isn't defined.
30143         (_STAT_VER_LINUX_OLD): New.
30144         (st_atime): Remove duplicate.
30145         (st_mtime): Likewise.
30146         (st_ctime): Likewise.
30148 2012-05-31  David S. Miller  <davem@davemloft.net>
30150         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30151         entries.
30153 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30155         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30156         gen-libm-test.pl.
30158         [BZ #14132]
30159         * elf/dl-reloc.c: Include <_itoa.h>.
30160         (_dl_reloc_bad_type): Remove use of INTUSE.
30161         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30162         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30163         * stdio-common/psiginfo.c (psiginfo): Likewise.
30164         * stdio-common/psignal.c (psignal): Likewise.
30165         * string/strsignal.c (strsignal): Likewise.
30166         * include/signal.h (_sys_siglist): Declare hidden proto.
30167         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30168         INTVARDEF with libc_hidden_data_def.
30169         * stdio-common/itoa-udigits.c: Likewise.
30170         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30171         (_itoa_lower_digits_internal): Remove declaration.
30172         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30173         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30174         (_sys_sigabbrev_internal): Remove aliases.
30175         (_sys_siglist): Define hidden alias.
30177 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30180         bits/sysctl.h.
30182 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30184         [BZ #14117]
30185         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30186         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30188         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30189         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30190         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30191         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30192         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30193         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30195         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30196         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30197         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30199         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30200         with __addr.
30201         (insw): Likewise.
30202         (insl): Likewise.
30203         (outsb): Likewise.
30204         (outsw): Likewise.
30205         (outsl): Likewise.
30207         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30208         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30209         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30211         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30212         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30213         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30214         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30215         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30216         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30218         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30219         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30221         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30222         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30224         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30225         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30226         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30228         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30229         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30230         to ...
30231         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30233         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30234         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30235         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30237         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30238         for x86-64.
30239         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30241 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30243         * math/math.h (M_El): Use two more decimal places.
30244         (M_LOG2El): Likewise.
30245         (M_LOG10El): Likewise.
30246         (M_LN2l): Likewise.
30247         (M_LN10l): Likewise.
30248         (M_PIl): Likewise.
30249         (M_PI_2l): Likewise.
30250         (M_PI_4l): Likewise.
30251         (M_1_PIl): Likewise.
30252         (M_2_PIl): Likewise.
30253         (M_2_SQRTPIl): Likewise.
30254         (M_SQRT2l): Likewise.
30255         (M_SQRT1_2l): Likewise.
30257 2012-05-31  David S. Miller  <davem@davemloft.net>
30259         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30260         values between float registers.
30261         * sysdeps/sparc/sparc64/memset.S: Likewise.
30262         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30264 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30266         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30267         -D_FORTIFY_SOURCE=1.
30268         (CPPFLAGS-tst-longjmp_chk.c): Define.
30269         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30270         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30271         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30272         CFLAGS-tst-wchar-h.c.
30274 2012-05-31  Marek Polacek  <polacek@redhat.com>
30276         [BZ #14132]
30277         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30278         __endmntent_internal): Remove declaration.
30279         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30280         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30281         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30283 2012-05-30  David S. Miller  <davem@davemloft.net>
30285         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30286         (___Q_simulate_exceptions): Use real FP ops rather than writing
30287         into the %fsr.
30288         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30289         Likewise.
30291 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30293         [BZ #14117]
30294         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30295         * sysdeps/x86/bits/xtitypes.h: This.
30297         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30298         * sysdeps/x86/bits/wordsize.h: This.
30300         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30301         * sysdeps/x86/bits/huge_vall.h: This.
30303         * sysdeps/i386/bits/select.h: Removed.
30304         * sysdeps/x86_64/bits/select.h: Renamed to ...
30305         * sysdeps/x86/bits/select.h: This.
30307         * sysdeps/i386/bits/setjmp.h: Removed.
30308         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30309         * sysdeps/x86/bits/setjmp.h: This.
30311         * sysdeps/i386/bits/mathdef.h: Removed.
30312         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30313         * sysdeps/x86/bits/mathdef.h: This.
30315 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30317         [BZ #14132]
30318         * include/sys/socket.h (__connect_internal)
30319         (__libc_sa_len_internal): Remove declaration.
30320         (__connect, __libc_sa_len): Declare hidden_proto.
30321         (SA_LEN): Remove use of INTUSE.
30322         * socket/connect.c: Add libc_hidden_def.
30323         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30324         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30325         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30326         alias.
30327         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30328         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30329         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30330         of adding _internal alias.
30332 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30334         [BZ #14117]
30335         * sysdeps/i386/bits/link.h: Removed.
30336         * sysdeps/i386/bits/linkmap.h: Likewise.
30337         * sysdeps/x86_64/bits/link.h: Renamed to ...
30338         * sysdeps/x86/bits/link.h: This.
30339         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30340         * sysdeps/x86/bits/linkmap.h: This.
30342         * sysdeps/i386/bits/endian.h: Removed.
30343         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30344         * sysdeps/x86/bits/endian.h: This.
30346         * sysdeps/i386/bits/byteswap.h: Removed.
30347         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30348         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30349         * sysdeps/x86/bits/byteswap.h: This.
30350         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30351         * sysdeps/x86/bits/byteswap-16.h: This.
30352         * sysdeps/i386/Implies: Add x86.
30353         * sysdeps/x86_64/Implies: Likewise.
30355 2012-05-30  David S. Miller  <davem@davemloft.net>
30357         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30358         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30359         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30360         (FP_TRAPPING_EXCEPTIONS): Define.
30361         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30362         (FP_TRAPPING_EXCEPTIONS): Define.
30363         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30364         subnormals only when inexact has been signalled or underflow
30365         exceptions are enabled.
30366         (_FP_PACK_CANONICAL): Likewise.
30368 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30370         [BZ #14183]
30371         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30372         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30374 2012-05-30  Richard Henderson  <rth@twiddle.net>
30376         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30377         with #ifndef NOT_IN_libc.
30379         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30380         marked to avoid plt entry.
30382 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30384         [BZ #14112]
30385         * Makeconfig (default-abi): New macro.
30386         (abi-includes): Likewise.
30387         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30388         $(abi-$(default-abi)-lib-soname) for soname if defined.
30389         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30390         abi-variants.
30391         * Makefile (installed-stubs): Likewise.
30392         * include/stubs-biarch.h: Removed.
30393         * scripts/lib-names.awk: Only handle one library at a time.
30394         * scripts/soversions.awk: Remove WORDSIZE support.
30395         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30396         entries.
30397         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30398         Removed.
30399         (syscall-list-default-condition): Likewise.
30400         (syscall-list-default-condition): Likewise.
30401         (syscall-list-includes): Likewise.
30402         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30403         syscall-list-* with abi-*.  Handle undefined abi-variants.
30404         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30405         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30406         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30407         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30408         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30409         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30410         Removed.
30411         (syscall-list-32-options): Likewise.
30412         (syscall-list-32-condition): Likewise.
30413         (syscall-list-64-options): Likewise.
30414         (syscall-list-64-condition): Likewise.
30415         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30416         macro.
30417         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30418         Renamed to ...
30419         (abi-*): This.
30420         (abi-64-ld-soname): New macro.
30421         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30422         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30423         Renamed to ...
30424         (abi-*): This.
30425         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30426         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30428 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30430         * sysdeps/unix/sysv/linux/kernel-features.h
30431         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30432         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30433         include <kernel-features.h>.
30434         [!__NR_ftruncate64]: Remove conditional code.
30435         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30436         [__NR_ftruncate64]: Make code unconditional.
30437         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30438         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30439         include <kernel-features.h>.
30440         [!__NR_ftruncate64]: Remove conditional code.
30441         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30442         [__NR_ftruncate64]: Make code unconditional.
30443         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30445         include <kernel-features.h>.
30446         [!__NR_ftruncate64]: Remove conditional code.
30447         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30448         [__NR_ftruncate64]: Make code unconditional.
30449         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30451         include <kernel-features.h>.
30452         [!__NR_ftruncate64]: Remove conditional code.
30453         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30454         [__NR_ftruncate64]: Make code unconditional.
30455         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30457         * configure.in (libc_cv_fpie): Weaken to a compile test using
30458         LIBC_TRY_CC_OPTION.
30459         * configure: Regenerated.
30461 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30467         Refreshed.
30468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30474         Refreshed.
30476 2012-05-27  David S. Miller  <davem@davemloft.net>
30478         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30479         (___Q_zero): New.
30480         (__Q_simulate_exceptions): Return void.  Change to simulate
30481         exceptions by writing into the %fsr.
30482         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30483         (__Qp_handle_exceptions): Likewise.
30484         (numbers): Delete.
30485         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30486         __Qp_handle_exceptions.
30487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30488         __Qp_handle_exceptions.
30489         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30490         as unused and give dummy FP_RND_NEAREST initializer.
30491         (FP_INHIBIT_RESULTS): Define.
30492         (___Q_simulate_exceptions): Update declaration.
30493         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30494         formatting.
30495         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30496         as unused and give dummy FP_RND_NEAREST initializer.
30497         (__Qp_handle_exceptions): Update declaration.
30498         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30499         formatting.
30501 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30503         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30504         the temporary FPU control word.
30505         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30506         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30507         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30508         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30509         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30510         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30511         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30512         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30513         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30514         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30515         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30517 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30519         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30520         fields.
30522 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30524         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30525         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30526         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30527         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30528         Likewise.
30529         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30530         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30531         Likewise.
30533 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30535         * po/h.po: Update from translation team.
30537 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30539         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30541         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30542         handling of denormals.
30543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30544         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30545         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30546         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30549         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30550         Likewise.
30552 2012-05-26  Marek Polacek  <polacek@redhat.com>
30554         [BZ #14152]
30555         * math/libm-test.inc (fma_test): Don't always expect underflow
30556         exception.
30558 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30560         [BZ #12416]
30561         * elf/tst-execstack.c: Include stackinfo.h.
30562         (do_test): Adjust test case to ensure that pthread_getattr_np
30563         behaviour remains the same after marking stack executable.
30565 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30567         * sysdeps/unix/sysv/linux/kernel-features.h
30568         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30569         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30570         kernel-features.h.
30571         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30572         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30573         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30574         kernel-features.h.
30575         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30576         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30578 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30580         * configure.in: Define the default includes to being none.
30581         * configure: Regenerated.
30583 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30585         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30586         * sysdeps/x86_64/setjmp.S: Likewise.
30587         * sysdeps/i386/bsd-setjmp.S: Likewise.
30588         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30589         * sysdeps/i386/setjmp.S: Likewise.
30590         * sysdeps/i386/__longjmp.S: Likewise.
30591         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30592         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30594         * include/stap-probe.h: New file.
30595         * configure.in: Handle --enable-systemtap.
30596         * configure: Regenerated.
30597         * config.h.in (USE_STAP_PROBE): New #undef.
30598         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30599         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30600         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30602 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30604         [BZ #13717]
30605         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30606         to 2.4.0 where earlier.
30607         * sysdeps/unix/sysv/linux/configure: Regenerated.
30608         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30609         <kernel-features.h>.
30610         [__ASSUME_32BITUIDS]: Make code unconditional.
30611         [!__ASSUME_32BITUIDS]: Remove conditional code.
30612         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30613         <kernel-features.h>.
30614         [__ASSUME_32BITUIDS]: Make code unconditional.
30615         [!__ASSUME_32BITUIDS]: Remove conditional code.
30616         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30617         [__ASSUME_32BITUIDS]: Make code unconditional.
30618         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30619         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30620         <kernel-features.h>.
30621         [__ASSUME_32BITUIDS]: Make code unconditional.
30622         [!__ASSUME_32BITUIDS]: Remove conditional code.
30623         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30624         <kernel-features.h>.
30625         [__ASSUME_32BITUIDS]: Make code unconditional.
30626         [!__ASSUME_32BITUIDS]: Remove conditional code.
30627         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30628         <kernel-features.h>.
30629         [__ASSUME_32BITUIDS]: Make code unconditional.
30630         [!__ASSUME_32BITUIDS]: Remove conditional code.
30631         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30632         <kernel-features.h>.
30633         [__ASSUME_32BITUIDS]: Make code unconditional.
30634         [!__ASSUME_32BITUIDS]: Remove conditional code.
30635         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30636         <kernel-features.h>.
30637         [__ASSUME_32BITUIDS]: Make code unconditional.
30638         [!__ASSUME_32BITUIDS]: Remove conditional code.
30639         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30640         <kernel-features.h>.
30641         [__ASSUME_32BITUIDS]: Make code unconditional.
30642         [!__ASSUME_32BITUIDS]: Remove conditional code.
30643         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30644         <kernel-features.h>.
30645         [__ASSUME_32BITUIDS]: Make code unconditional.
30646         [!__ASSUME_32BITUIDS]: Remove conditional code.
30647         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30648         <kernel-features.h>.
30649         [__ASSUME_32BITUIDS]: Make code unconditional.
30650         [!__ASSUME_32BITUIDS]: Remove conditional code.
30651         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30652         <kernel-features.h>.
30653         [__ASSUME_32BITUIDS]: Make code unconditional.
30654         [!__ASSUME_32BITUIDS]: Remove conditional code.
30655         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30656         <kernel-features.h>.
30657         [__ASSUME_32BITUIDS]: Make code unconditional.
30658         [!__ASSUME_32BITUIDS]: Remove conditional code.
30659         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30660         <kernel-features.h>.
30661         [__NR_setresgid] (__setresgid): Do not declare.
30662         [__ASSUME_32BITUIDS]: Make code unconditional.
30663         [!__ASSUME_32BITUIDS]: Remove conditional code.
30664         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30665         <kernel-features.h>.
30666         [__NR_setresuid] (__setresuid): Do not declare.
30667         [__ASSUME_32BITUIDS]: Make code unconditional.
30668         [!__ASSUME_32BITUIDS]: Remove conditional code.
30669         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30670         <kernel-features.h>.
30671         [__ASSUME_32BITUIDS]: Make code unconditional.
30672         [!__ASSUME_32BITUIDS]: Remove conditional code.
30673         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30674         <kernel-features.h>.
30675         [__ASSUME_32BITUIDS]: Make code unconditional.
30676         [!__ASSUME_32BITUIDS]: Remove conditional code.
30677         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30678         <kernel-features.h>.
30679         [__ASSUME_32BITUIDS]: Make code unconditional.
30680         [!__ASSUME_32BITUIDS]: Remove conditional code.
30681         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
30710         (__ASSUME_SETRESUID_SYSCALL): Remove.
30711         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30712         (__ASSUME_32BITUIDS): Likewise.
30713         (__ASSUME_LDT_WORKS): Likewise.
30714         (__ASSUME_O_DIRECTORY): Likewise.
30715         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30716         architecture but not kernel version.
30717         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30718         (__ASSUME_MMAP2_SYSCALL): Likewise.
30719         (__ASSUME_STAT64_SYSCALL): Likewise.
30720         (__ASSUME_IPC64): Likewise.
30721         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30722         <kernel-features.h>.
30723         [__ASSUME_32BITUIDS]: Make code unconditional.
30724         [!__ASSUME_32BITUIDS]: Remove conditional code.
30725         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30726         <kernel-features.h>.
30727         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30728         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30729         132096]: Remove conditional code.
30730         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30731         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
30740         <kernel-features.h>.
30741         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30742         unconditional.
30743         (__setresgid): Do not declare.
30744         [__ASSUME_32BITUIDS]: Make code unconditional.
30745         [!__ASSUME_32BITUIDS]: Remove conditional code.
30746         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30747         <kernel-features.h>.
30748         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30749         unconditional.
30750         (__setresuid): Do not declare.
30751         [__ASSUME_32BITUIDS]: Make code unconditional.
30752         [!__ASSUME_32BITUIDS]: Remove conditional code.
30753         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30754         <kernel-features.h>.
30755         [__ASSUME_32BITUIDS]: Make code unconditional.
30756         [!__ASSUME_32BITUIDS]: Remove conditional code.
30757         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30758         <kernel-features.h>.
30759         [__ASSUME_32BITUIDS]: Make code unconditional.
30760         [!__ASSUME_32BITUIDS]: Remove conditional code.
30762 2012-05-25  Richard Henderson  <rth@twiddle.net>
30764         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30765         dl_hwcap to ifunc resolver.
30766         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30767         elf_ifunc_invoke.
30768         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30769         dl_hwcap to ifunc resolver.
30770         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30772 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30774         [BZ #14153]
30775         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30776         for |x| <= 2**-26, not 2**-57.
30777         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30778         exception.
30780 2012-05-24  Jeff Law  <law@redhat.com>
30782         * stdio-common/Makefile (tests): Add bug25.
30783         * stdio-common/bug25.c: New test.
30785 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30787         [BZ #13576]
30788         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30789         multiple of MALLOC_ALIGNMENT in size.
30790         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30792 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30794         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30795         Require >= 256.
30796         (FILENAME_MAX): Use macro-int-constant.
30797         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30798         (_IOFBF): Use macro-int-constant.
30799         (_IOLBF): Likewise.
30800         (_IONBF): Likewise.
30801         (SEEK_CUR): Likewise.
30802         (SEEK_END): Likewise.
30803         (SEEK_SET): Likewise.
30804         (TMP_MAX): Likewise.
30805         (EOF): Use macro-int-constant.  Require < 0.
30806         (NULL): Use macro-constant.  Require == 0.
30807         (stdin): Require type to be FILE *.
30808         (stdout): Likewise.
30809         (stderr): Likewise.
30810         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30811         macro-int-constant.
30812         (EXIT_SUCCESS): Likewise.
30813         (NULL): Use macro-constant.  Require == 0.
30814         (RAND_MAX): Use macro-int-constant.
30815         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30816         [C99-based standards] (strtof): Require function.
30817         [C99-based standards] (strtold): Likewise.
30818         [C99-based standards] (strtoll): Likewise.
30819         [C99-based standards] (strtoull): Likewise.
30820         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30821         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30822         [ISO || ISO99 || ISO11] (math.h): Likewise.
30823         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30824         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30825         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30827 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30829         [BZ #14132]
30830         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30831         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30832         * intl/dgettext.c (DCGETTEXT): Likewise.
30833         * intl/gettext.c (DCGETTEXT): Likewise.
30834         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30835         * posix/regex_internal.h (gettext): Likewise.
30836         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30837         Remove declaration.
30838         * include/argz.h (__argz_count_internal)
30839         (__argz_stringify_internal): Remove declaration.
30840         (__argz_count, __argz_stringify): Declare hidden proto.
30841         * intl/dcgettext.c: Remove use of INTDEF.
30842         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30843         * string/argz-stringify.c: Likewise.
30844         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30845         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30846         Declare hidden proto.
30847         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30848         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30849         Declare hidden proto.
30850         * include/stdio.h (__asprintf_internal): Don't declare.
30851         (__asprintf): Don't define as macro.  Declare hidden proto.
30852         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30853         (__fsetlocking): Declare hidden proto.
30854         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30855         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30856         hidden proto.
30857         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30858         (_IO_setlinebuf): Remove use of INTUSE.
30859         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30860         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30861         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30862         Remove declaration.
30863         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30864         (_IO_do_flush): Remove use of INTUSE.
30865         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30866         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30867         (_IO_adjust_column, _IO_least_wmarker)
30868         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30869         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30870         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30871         (_IO_default_doallocate, _IO_wdefault_doallocate)
30872         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30873         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30874         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30875         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30876         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30877         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30878         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30879         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30880         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30881         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30882         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30883         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30884         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30885         proto.
30886         (_IO_flush_all_internal, _IO_adjust_column_internal)
30887         (_IO_default_uflow_internal, _IO_default_finish_internal)
30888         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30889         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30890         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30891         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30892         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30893         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30894         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30895         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30896         (_IO_file_close_internal, _IO_file_close_it_internal)
30897         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30898         (_IO_file_init_internal, _IO_file_attach_internal)
30899         (_IO_file_fopen_internal, _IO_file_read_internal)
30900         (_IO_file_sync_internal, _IO_file_seek_internal)
30901         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30902         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30903         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30904         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30905         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30906         (_IO_list_all_internal, _IO_link_in_internal)
30907         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30908         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30909         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30910         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30911         (_IO_do_write_internal, _IO_padn_internal)
30912         (_IO_getline_info_internal, _IO_getline_internal)
30913         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30914         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30915         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30916         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30917         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30918         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30919         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30920         with libc_hidden_ver, remove use of INTUSE.
30921         * libio/genops.c: Likewise.
30922         * libio/freopen.c: Likewise.
30923         * libio/freopen64.c: Likewise.
30924         * libio/iofclose.c: Likewise.
30925         * libio/iofdopen.c: Likewise.
30926         * libio/iofflush.c: Likewise.
30927         * libio/iofflush_u.c: Likewise.
30928         * libio/iofgets.c: Likewise.
30929         * libio/iofgets_u.c: Likewise.
30930         * libio/iofopen.c: Likewise.
30931         * libio/iofopncook.c: Likewise.
30932         * libio/iofread.c: Likewise.
30933         * libio/iofread_u.c: Likewise.
30934         * libio/ioftell.c: Likewise.
30935         * libio/iofwrite.c: Likewise.
30936         * libio/iogetline.c: Likewise.
30937         * libio/iogets.c: Likewise.
30938         * libio/iogetwline.c: Likewise.
30939         * libio/iopadn.c: Likewise.
30940         * libio/iopopen.c: Likewise.
30941         * libio/ioseekoff.c: Likewise.
30942         * libio/ioseekpos.c: Likewise.
30943         * libio/iosetbuffer.c: Likewise.
30944         * libio/iosetvbuf.c: Likewise.
30945         * libio/ioungetc.c: Likewise.
30946         * libio/ioungetwc.c: Likewise.
30947         * libio/iovdprintf.c: Likewise.
30948         * libio/iovsprintf.c: Likewise.
30949         * libio/iovsscanf.c: Likewise.
30950         * libio/memstream.c: Likewise.
30951         * libio/obprintf.c: Likewise.
30952         * libio/oldfileops.c: Likewise.
30953         * libio/oldiofclose.c: Likewise.
30954         * libio/oldiofdopen.c: Likewise.
30955         * libio/oldiofopen.c: Likewise.
30956         * libio/oldiopopen.c: Likewise.
30957         * libio/oldstdfiles.c: Likewise.
30958         * libio/putc.c: Likewise.
30959         * libio/setbuf.c: Likewise.
30960         * libio/setlinebuf.c: Likewise.
30961         * libio/stdfiles.c: Likewise.
30962         * libio/strops.c: Likewise.
30963         * libio/vasprintf.c: Likewise.
30964         * libio/vscanf.c: Likewise.
30965         * libio/vsnprintf.c: Likewise.
30966         * libio/vswprintf.c: Likewise.
30967         * libio/wfiledoalloc.c: Likewise.
30968         * libio/wfileops.c: Likewise.
30969         * libio/wgenops.c: Likewise.
30970         * libio/wmemstream.c: Likewise.
30971         * libio/wstrops.c: Likewise.
30972         * libio/__fpurge.c: Likewise.
30973         * libio/__fsetlocking.c: Likewise.
30974         * assert/assert.c: Likewise.
30975         * debug/fgets_chk.c: Likewise.
30976         * debug/fgets_u_chk.c: Likewise.
30977         * debug/fread_chk.c: Likewise.
30978         * debug/fread_u_chk.c: Likewise.
30979         * debug/gets_chk.c: Likewise.
30980         * debug/obprintf_chk.c: Likewise.
30981         * debug/vasprintf_chk.c: Likewise.
30982         * debug/vdprintf_chk.c: Likewise.
30983         * debug/vsnprintf_chk.c: Likewise.
30984         * debug/vsprintf_chk.c: Likewise.
30985         * malloc/mtrace.c: Likewise.
30986         * misc/error.c: Likewise.
30987         * misc/syslog.c: Likewise.
30988         * stdio-common/asprintf.c: Likewise.
30989         * stdio-common/fxprintf.c: Likewise.
30990         * stdio-common/getw.c: Likewise.
30991         * stdio-common/isoc99_fscanf.c: Likewise.
30992         * stdio-common/isoc99_scanf.c: Likewise.
30993         * stdio-common/isoc99_vfscanf.c: Likewise.
30994         * stdio-common/isoc99_vscanf.c: Likewise.
30995         * stdio-common/isoc99_vsscanf.c: Likewise.
30996         * stdio-common/printf-prs.c: Likewise.
30997         * stdio-common/printf_fp.c: Likewise.
30998         * stdio-common/printf_fphex.c: Likewise.
30999         * stdio-common/printf_size.c: Likewise.
31000         * stdio-common/putw.c: Likewise.
31001         * stdio-common/scanf.c: Likewise.
31002         * stdio-common/sprintf.c: Likewise.
31003         * stdio-common/tmpfile.c: Likewise.
31004         * stdio-common/vfprintf.c: Likewise.
31005         * stdio-common/vfscanf.c: Likewise.
31006         * stdlib/strfmon_l.c: Likewise.
31007         * sunrpc/openchild.c: Likewise.
31008         * sunrpc/xdr_stdio.c: Likewise.
31009         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31010         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31012 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31014         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31016         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31017         in the third column, to generate for the shared library an IFUNC
31018         that uses _dl_vdso_vsym.
31019         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31020         * Makeconfig (object-suffixes-noshared): New variable.
31022         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31023         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31024         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31025         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31027         [BZ #14132]
31028         * include/sys/time.h (__gettimeofday): Remove macro.
31029         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31030         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31031         Remove INTDEF.
31032         (__gettimeofday): Add libc_hidden_def.
31033         (gettimeofday): Add libc_hidden_weak.
31034         * sysdeps/mach/gettimeofday.c: Likewise.
31035         * sysdeps/posix/gettimeofday.c: Likewise.
31036         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31037         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31038         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31039         (__gettimeofday_internal): Remove strong_alias.
31040         (__gettimeofday): Add libc_hidden_def.
31041         (gettimeofday): Add libc_hidden_weak.
31042         * sysdeps/unix/syscalls.list (gettimeofday):
31043         Remove __gettimeofday_internal alias.
31045 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31046             H.J. Lu  <hongjiu.lu@intel.com>
31048         [BZ #12495]
31049         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31050         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31051         (largebin_index_32_big): New.
31052         (largebin_index): Use it for 16-byte alignment.
31053         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31054         correction with front_misalign.
31056 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31060         Likewise.
31061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31062         Likewise.
31063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31064         Likewise.
31065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31066         Likewise.
31067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31068         Likewise.
31069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31070         Likewise.
31071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31072         Likewise.
31073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31074         Likewise.
31075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31076         Likewise.
31077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31078         Likewise.
31079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31080         Likewise.
31081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31082         Likewise.
31084         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31085         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31087 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31089         [BZ #10846]
31090         [BZ #14036]
31091         * math/libm-test.inc (exp_test): Add test from bug 14036.
31092         (pow_test): Add test from bug 10846.
31094         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31095         and other flags.
31096         (special_function): Do not include flags in test name.
31097         (parse_args): Likewise.
31098         * sysdeps/i386/fpu/libm-test-ulps: Update.
31099         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31100         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31101         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31104         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31105         exceptions.
31106         * math/libm-test.inc ("Philosophy"): Update comment about
31107         exception testing.
31108         (UNDERFLOW_EXCEPTION): New macro.
31109         (UNDERFLOW_EXCEPTION_OK): Likewise.
31110         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31111         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31112         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31113         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31114         (INVALID_EXCEPTION_OK): Update value.
31115         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31116         (OVERFLOW_EXCEPTION_OK): Likewise.
31117         (IGNORE_ZERO_INF_SIGN): Likewise.
31118         (test_exceptions): Handle underflow exceptions.
31119         (acos_test): Update for underflow exception expectations.
31120         (cexp_test): Likewise.
31121         (clog_test): Likewise.
31122         (clog10_test): Likewise.
31123         (csqrt_test): Likewise.
31124         (ctan_test): Likewise.
31125         (ctanh_test): Likewise.
31126         (exp_test): Likewise.
31127         (exp10_test): Likewise.
31128         (exp2_test): Likewise.
31129         (expm1_test): Likewise.
31130         (fma_test): Likewise.
31131         (j0_test): Likewise.
31132         (jn_test): Likewise.
31133         (nexttoward_test): Likewise.
31134         (pow_test): Likewise.
31135         (scalbn_test): Likewise.
31136         (scalbln_test): Likewise.
31137         (tan_test): Likewise.
31138         (y1_test): Likewise.
31139         * sysdeps/i386/fpu/libm-test-ulps: Update.
31140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31142 2012-05-23  David S. Miller  <davem@davemloft.net>
31144         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31145         (__libc_sigaction): Remove unused local variables.
31147 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31149         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31151 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31153         mktime: avoid signed integer overflow
31154         * time/mktime.c (__mktime_internal): Do not mishandle the case
31155         where diff == INT_MIN.
31157         mktime: simplify computation of average
31158         * time/mktime.c (ranged_convert): Use new time_t_avg function
31159         instead of rolling our own (probably-slower) code.
31161         mktime: do not assume signed right shift propagates sign bit
31162         * time/mktime.c (isdst_differ): New static function.
31163         (__mktime_internal): No need to normalize tm_isdst now.
31164         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31165         tm_isdst values.
31167         mktime: merge another wrapv change from gnulib
31168         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31169         from some compilers.
31171         mktime: remove incorrect attempt at unusual arithmetics
31172         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31173         The code didn't really work on such machines anyway.
31174         (TYPE_MINIMUM): Assume two's complement.
31175         (twos_complement_arithmetic): Verify that long_int and time_t
31176         are two's complement (or unsigned, in the latter case).
31178         mktime: check signed shifts on long_int and time_t, too
31179         * time/mktime.c (SHR): Check that shifts work as desired
31180         on the types long_int and time_t too, as SHR is used on
31181         such types.
31183         mktime: do not assume 'long' is wide enough
31184         * time/mktime.c (verify): Move decl up.
31185         (long_int): New type.
31186         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31187         to remove assumption in the code that 'long' is wide enough to
31188         store year values.  This assumption is not true on x32 and on
31189         some non-glibc platforms.
31191         mktime: merge wrapv change from gnulib
31192         * time/mktime.c (WRAPV): New macro.
31193         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31194         (guess_time_tm, __mktime_internal): Do not assume that signed
31195         integer overflow wraps around; modern compilers generate code
31196         where this assumption is no longer valid.
31198 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31200         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31201         Replace "jmp L(pseudo_end)" with "ret".
31202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31203         Likewise.
31205 2012-05-23  Andreas Jaeger  <aj@suse.de>
31207         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31208         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31210 2012-05-23  Andreas Jaeger  <aj@suse.de>
31211             Maximilian Attems  <max@stro.at>
31213         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31214         New macros.
31216 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31219         code so that pseudo_end is just ret and the stack pointer is
31220         correct also for static library in error case.
31222 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31224         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31225         move to syscalls.list.
31226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31231         * manual/install.texi (Running make install): Do not mention Linux
31232         kernel version for which pt_chown is not needed.
31233         (Linux): Do not mention problems with nscd with 2.0 kernels.
31234         * INSTALL: Regenerated.
31236 2012-05-23  Andreas Jaeger  <aj@suse.de>
31238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31239         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31240         macro.
31241         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31242         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31243         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31244         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31245         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31246         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31247         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31248         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31249         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31250         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31251         * sysdeps/unix/sysv/linux/bits/in.h
31252         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31254 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31256         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31257         (PREPARE_VERSION): Just use assert instead, it will be elided
31258         under [NDEBUG] anyway.
31260 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31262         * sysdeps/unix/sysv/linux/Makefile: Include
31263         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31264         (sysdep_routines): Remove sysctl.
31265         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31266         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31267         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31268         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31269         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31271 2012-05-22  Andreas Jaeger  <aj@suse.de>
31273         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31274         that pseudo_end is just ret and the stack pointer is correct also
31275         for static library in error case.
31277 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31279         [BZ #14122]
31280         * nss/nsswitch.c (defconfig_entries): New variable.
31281         (__nss_database_lookup): Don't leak defconfig entries.
31282         (nss_parse_service_list): Don't leak on error paths.
31283         (free_database_entries): New function.
31284         (free_defconfig): New function.
31285         (free_mem): Move common code to free_database_entries.
31287 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31289         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31290         Add arch_prctl.
31291         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31293         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31294         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31296         New macro.
31297         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31298         (INTERNAL_SYSCALL_TYPES): Likewise.
31299         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31300         (LOAD_REGS_TYPES_[1-6]): Likewise.
31301         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31302         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31304 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31306         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31307         copysignl for GLIBC_2_0.
31308         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31309         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31310         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31311         logbl for GLIBC_2_0.
31312         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31313         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31315 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31318         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31320         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31321         Use "neg %eax".
31323         * time/mktime.c: Update copyright years.
31325 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31327         mktime: merge comment-quoting-style change from gnulib
31328         * time/mktime.c: Quote 'like this' in comments.
31329         The GNU coding standards suggest that we no longer quote `like this',
31330         as "`" and "'" are typically rendered asymmetrically nowadays.
31331         The typical gnulib style is to quote 'like this' when quoting
31332         code, and "like this" when quoting English.
31334         * time/mktime.c (compile-command): Add "-I.".
31336         mktime: merge mktime-internal.h change from gnulib
31337         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31339         mktime: merge time_r change from gnulib
31340         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31342         mktime: merge DEBUG change from gnulib
31343         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31344         case system <time.h> has a #define.
31346         mktime: merge <sys/types.h> change from gnulib
31347         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31348         since <time.t> is now guaranteed to define time_t.
31350         mktime: merge HAVE_CONFIG_H change from gnulib
31351         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31353 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31356         Use "neg %eax".
31358         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31359         __rlim_t cast.
31360         (struct rusage): Use anonymous union to pad each field to
31361         __syscall_slong_t.
31363 2012-05-21  David S. Miller  <davem@davemloft.net>
31365         * Makefules (o-iterator): Remove .s cases.
31366         (compile-command.s): Delete.
31367         (COMPILE.s): Delete.
31368         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31370 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31372         * configure.in (libc_cv_predef_stack_protector): Only consider
31373         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31374         * configure: Regenerated.
31376 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31379         New macro.  Use R*LP on int and pointer.
31380         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31381         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31382         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31383         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31385         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31386         [__WORDSIZE_TIME64_COMPAT32] instead of
31387         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31388         (struct utmp): Likewise.
31389         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31390         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31391         Renamed to ...
31392         (__WORDSIZE_TIME64_COMPAT32): This.
31393         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31394         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31395         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31396         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31397         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31398         (__WORDSIZE_TIME64_COMPAT32): New macro.
31400 2012-05-21  Andreas Jaeger  <aj@suse.de>
31402         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31403         only if [SHARED]. Add prototype for __wcschr_ia32.
31405 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31407         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31408         of %rbp unmolested in the jmp_buf while mangling the low bits.
31409         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31410         unmolested high bits of %rbp while demangling the low bits.
31411         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31413 2012-05-21  Andreas Jaeger  <aj@suse.de>
31415         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31416         * sunrpc/svc_simple.c: Use it for registerrpc.
31417         * sunrpc/xcrypt.c: Use it for passwd2des.
31419         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31421 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31423         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31424         Don't define if [__SYSCALL_WORDSIZE != 32].
31425         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31426         New macro.
31428 2012-05-21  Bruno Haible  <bruno@clisp.org>
31429             Andreas Jaeger  <aj@suse.de>
31431         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31432         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31433         inptr and inend for must_buffer_ch.
31434         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31435         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31436         * stdio-common/Makefile (tests): Remove bug15.
31437         (bug15-ENV): Remove macro.
31438         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31439         anymore.
31441 2012-05-19  Andreas Jaeger  <aj@suse.de>
31442             Roland McGrath  <roland@hack.frob.com>
31444         * manual/contrib.texi: Completely rewritten. It contains now an
31445         alphabetical list of contributors and their contributions.
31447 2012-05-21  Richard Henderson  <rth@twiddle.net>
31449         * misc/getauxval.c (__getauxval): Use unsigned long int.
31450         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31451         (getauxval): Use unsigned long int.
31453 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31455         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31457 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31459         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31460         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31461         __alignof__ (long double).
31463 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31467 2012-05-20  Richard Henderson  <rth@twiddle.net>
31469         * misc/getauxval.c: New file.
31470         * misc/sys/auxv.h: New file.
31471         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31472         (routines): Add getauxval.
31473         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31474         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31475         * elf/dl-sysdep.c (_dl_auxv): Remove.
31476         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31477         * elf/dl-support.c (_dl_auxv): New variable.
31478         (_dl_aux_init): Initialize it.
31479         * manual/startup.texi (Auxiliary Vector): New node.
31480         * sysdeps/generic/bits/hwcap.h: New file.
31481         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31482         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31483         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31484         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31485         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31486         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31488         Update.
31489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31492         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31498 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31502 2012-05-19  David S. Miller  <davem@davemloft.net>
31504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31506 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31508         [BZ #14123]
31509         * math/s_ccosh.c: Include <float.h>
31510         (__ccosh): Avoid internal overflow calculating sinh and cosh
31511         values before multiplying by sin and cos values.
31512         * math/s_ccoshf.c: Likewise.
31513         * math/s_ccoshl.c: Likewise.
31514         * math/s_csin.c: Likewise.
31515         * math/s_csinf.c: Likewise.
31516         * math/s_csinl.c: Likewise.
31517         * math/s_csinh.c: Likewise.
31518         * math/s_csinhf.c: Likewise.
31519         * math/s_csinhl.c: Likewise.
31520         * math/libm-test.inc (ccos_test): Add more tests.
31521         (ccosh_test): Likewise.
31522         (csin_test): Likewise.
31523         (csinh_test): Likewise.
31524         * sysdeps/i386/fpu/libm-test-ulps: Update.
31525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31527 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31529         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31530         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31532         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31534 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31536         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31537         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31538         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31539         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31540         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31541         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31542         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31543         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31544         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31545         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31546         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31547         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31548         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31549         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31550         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31551         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31552         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31553         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31554         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31555         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31556         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31557         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31558         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31559         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31560         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31561         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31562         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31563         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31564         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31565         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31566         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31568 2012-05-18  Andreas Jaeger  <aj@suse.de>
31570         * csu/.gitignore: Delete.
31572 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31574         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31575         (timex): Use __syscall_slong_t.
31577 2012-05-18  Andreas Jaeger  <aj@suse.de>
31578             Carlos O'Donell  <carlos_odonell@mentor.com>
31580         * manual/install.texi (Configuring and compiling): Update
31581         description about files modified in the source directory.
31582         * INSTALL: Regenerated.
31584 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31586         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31587         value.  Use "or" to set return value to -1.
31588         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31589         negate return value.
31591 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31593         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31594         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31595         failure if the compiler has Graphite support disabled.
31596         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31597         Likewise.
31598         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31599         (CFLAGS-memmove.c): Likewise.
31600         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31601         Likewise.
31603 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31605         * sysdeps/x86_64/x32/_itoa.h: New file.
31607         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31608         getdents system call only if kernel and user dirents have the
31609         same d_ino and d_off.
31611         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31612         LLONG_MAX != LONG_MAX.
31613         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31614         (_fitoa_word): Likewise.
31616         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31617         years.
31618         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31619         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31620         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31622         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31623         include <bits/wordsize.h>.  Check __x86_64__ instead of
31624         __WORDSIZE.
31625         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31626         if __x86_64__ is defined.  Use anonymous union on fpstate.
31628         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31629         anonymous union.
31631 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31633         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31634         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31635         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31636         Refer to _rtld_local_ro instead of _rtld_global_ro.
31637         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31638         Likewise.
31639         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31640         Likewise.
31641         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31642         Likewise.
31643         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31644         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31645         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31647         * sysdeps/powerpc/powerpc32/dl-machine.c
31648         (__elf_machine_runtime_setup) [PROF]: Don't reference
31649         _dl_prof_resolve.
31651 2012-05-18  Andreas Jaeger  <aj@suse.de>
31653         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31654         function only available for GCCs before 3.4 since GCC 3.4
31655         introduced a builtin.
31656         (lrint): Likewise.
31657         (llrintf): Likewise.
31658         (llrint): Likewise.
31659         (fmaxf): Likewise.
31660         (fmax): Likewise.
31661         (fminf): Likewise.
31662         (fmin): Likewise.
31663         (rint): Likewise.
31664         (rintf): Likewise.
31665         (nearbyint): Likewise.
31666         (nearbyintf): Likewise.
31667         (ceil): Likewise.
31668         (ceilf): Likewise.
31669         (floor): Likewise.
31670         (floorf): Likewise.
31672 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31674         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31675         on both fields and cast pointer to __syscall_ulong_t.
31677         * bits/types.h (__fsword_t): New type.
31678         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31679         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31681         (__FSWORD_T_TYPE): Likewise.
31682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31683         (__FSWORD_T_TYPE): Likewise.
31684         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31685         (__FSWORD_T_TYPE): Likewise.
31686         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31687         (__FSWORD_T_TYPE): Likewise.
31688         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31689         __SWORD_TYPE with __fsword_t.
31690         (statfs64): Likewise.
31692 2012-05-17  David S. Miller  <davem@davemloft.net>
31694         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31696 2012-05-17  Andreas Jaeger  <aj@suse.de>
31698         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31699         warning.
31701 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31703         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31705 2012-05-17  Andreas Jaeger  <aj@suse.de>
31707         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31708         when it is used.
31710 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31712         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31714 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31716         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31717         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31719 2012-05-17  Andreas Jaeger  <aj@suse.de>
31720             Carlos O'Donell  <carlos_odonell@mentor.com>
31722         [BZ #14059]
31723         * sysdeps/x86_64/multiarch/init-arch.h
31724         (bit_YMM_Usable): Rename to...
31725         (bit_AVX_Usable): ... this.
31726         (bit_FMA4_Usable): New macro.
31727         (bit_XMM_state): New macro.
31728         (bit_YMM_state): New macro.
31729         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31730         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31731         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31732         (CPUID_OSXSAVE): New macro.
31733         (CPUID_AVX): New macro.
31734         (CPUID_FMA4): New macro.
31735         (index_YMM_Usable): Rename to...
31736         (index_AVX_Usable): ... this.
31737         (HAS_AVX): Use HAS_ARCH_FEATURE.
31738         (HAS_FMA4): Likewise.
31739         (HAS_YMM_USABLE): Remove.
31740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31741         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31742         are present.
31743         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31744         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31745         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31746         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31747         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31749 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31751         * math/libm-test.c: Support platforms without multiple rounding modes.
31752         * math/bug-nextafter.c: Support platforms without FP exceptions.
31753         * math/bug-nexttoward.c: Likewise.
31754         * math/test-fenv.c: Likewise.
31755         * math/test-misc.c: Likewise.
31756         * stdlib/bug-getcontext.c: Likewise.
31758 2012-05-17  Andreas Jaeger  <aj@suse.de>
31760         * manual/examples/search.c (critter_cmp): Change signature to
31761         avoid warnings.
31762         * manual/string.texi (Collation Functions): Likewise.
31764 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31766         * bits/types.h: Fold copyright years.
31767         * bits/typesizes.h: Likewise.
31768         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31771         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31772         * time/time.h: Likewise.
31774 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31776         [BZ #208]
31777         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31778         in instead of returning them.  Return void.
31779         (__libc_mallinfo): Accumulate over all arenas.
31780         (__malloc_stats): Adjust for change in int_mallinfo interface.
31782 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31784         [BZ #10375]
31785         * configure.in (NM): Add AC_CHECK_TOOL for it.
31786         (libc_extra_cflags): New substituted variable.
31787         Check for -fstack-protector being used implicitly.
31788         * configure: Regenerated.
31789         * config.make.in (config-extra-cflags): New variable,
31790         gets @libc_extra_cflags@.
31791         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31793         [BZ #10375]
31794         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31795         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31796         * configure: Regenerated.
31797         * config.make.in (CPPUNDEFS): New substituted variable.
31798         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31799         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31800         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31804         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31805         (mq_attr): Use __syscall_slong_t.
31807 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31809         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31810         Check __x86_64__ instead of __WORDSIZE.
31811         (_STAT_VER_LINUX): Likewise.
31812         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31813         __syscall_ulong_t and __syscall_slong_t.
31814         (stat64): Likewise.
31816 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31820 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31822         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31826         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31827         __syscall_ulong_t.
31829         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31830         include <bits/wordsize.h>.  Check __x86_64__ instead of
31831         __WORDSIZE.
31832         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31833         defined.
31834         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31836         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31837         include <bits/wordsize.h>.  Check __x86_64__ instead of
31838         __WORDSIZE.
31839         (user_regs_struct): Use "__extension__ unsigned long long"
31840         instead of "unsigned long" if __x86_64__ is defined.
31841         (user): Likewise.  Pad after pointer field if __ILP32__ is
31842         defined.
31844 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31846         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31847         versions 5 to 9.
31848         * configure: Regenerated.
31849         * manual/install.texi (texinfo): Increase version requirement to
31850         4.5 or later.
31851         * INSTALL: Regenerated.
31853         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31857         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31859         * sysdeps/x86_64/x32/ffs.c: New file.
31861         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31862         __syscall_ulong_t.
31863         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31864         defined.  Use __syscall_ulong_t.
31865         (shminfo): Use __syscall_ulong_t.
31866         (shm_info): Likewise.
31868         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31869         __syscall_ulong_t.
31871         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31872         <bits/wordsize.h>.
31873         (msgqnum_t): Use __syscall_ulong_t.
31874         (msglen_t): Likewise.
31875         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31876         __syscall_ulong_t.
31878         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31879         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31881         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31883         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31884         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31886         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31887         __syscall_slong_t.
31889         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31890         include <bits/wordsize.h>.  Check __x86_64__ instead of
31891         __WORDSIZE.
31893         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31894         "unsigned long long int" if __x86_64__ is defined.
31895         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31897         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31898         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31899         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31901         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31902         <stdint.h>.
31903         (GET_PC): Cast to uintptr_t first.
31904         (GET_FRAME): Likewise.
31905         (GET_STACK): Likewise.
31907         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31908         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31909         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31912         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31913         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31914         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31915         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31916         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31917         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31918         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31919         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31920         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31921         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31922         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31923         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31924         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31925         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31926         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31927         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31928         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31929         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31930         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31931         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31932         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31933         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31934         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31935         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31937 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31939         * Makerules (+depfiles): Also collect depfiles from .oS in
31940         $(extra-objs).
31941         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31942         .oS, $(libnldbl-routines)).
31944         * Makerules (native-compile-mkdep-flags): Define.
31945         * sunrpc/Makefile (extra-objs): Add $(addprefix
31946         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31947         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31948         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31949         calling $(make-target-directory).
31951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31953         * bits/types.h (__snseconds_t): Removed.
31954         * time/time.h (struct timespec): Replace __snseconds_t with
31955         __syscall_slong_t.
31956         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31957         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31958         Likewise.
31959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31960         (__SNSECONDS_T_TYPE): Likewise.
31961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31962         (__SNSECONDS_T_TYPE): Likewise.
31963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31964         (__SNSECONDS_T_TYPE): Likewise.
31966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31968         * sysdeps/mach/hurd/bits/typesizes.h
31969         (__SYSCALL_SLONG_TYPE): New macro.
31970         (__SYSCALL_ULONG_TYPE): Likewise.
31972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31974         * bits/types.h (__syscall_slong_t): New type.
31975         (__syscall_ulong_t): Likewise.
31977         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31978         (__SYSCALL_ULONG_TYPE): Likewise.
31979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31980         (__SYSCALL_SLONG_TYPE): Likewise.
31981         (__SYSCALL_ULONG_TYPE): Likewise.
31982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31983         (__SYSCALL_SLONG_TYPE): Likewise.
31984         (__SYSCALL_ULONG_TYPE): Likewise.
31985         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31986         (__SYSCALL_SLONG_TYPE): Likewise.
31987         (__SYSCALL_ULONG_TYPE): Likewise.
31989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31991         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31992         Add sigaltstack-offsets.sym.
31993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31994         <sigaltstack-offsets.h>.
31995         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31996         longjmp_msg pointer.
31997         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31998         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31999         signal stack.
32000         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32002 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32004         * elf/stackguard-macros.h: Remove file.
32005         * sysdeps/generic/stackguard-macros.h: New file.
32006         * sysdeps/i386/stackguard-macros.h: Likewise.
32007         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32008         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32009         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32010         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32011         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32012         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32013         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32014         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32015         <elf/stackguard-macros.h>.
32017         [BZ #14109]
32018         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32019         __aligned__ in attribute.
32020         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32021         (gregset_t): Likewise.
32023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32025         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32026         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32027         * sysdeps/x86_64/x32/Implies-after: New file.
32029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32031         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32032         and access return value for _dl_profile_fixup.  Use R10_LP to
32033         load frame size.
32035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32037         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32041         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32042         * sysdeps/x86_64/x32/sysdep.h: New file.
32044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32046         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32047         * sysdeps/x86_64/setjmp.S: Likewise.
32049 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32051         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32052         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32053         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32054         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32055         remove unused global constant.
32057 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32059         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32060         include of <not-cancel.h>.
32062 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32064         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32066 2012-05-15  Jeff Law  <law@redhat.com>
32067             Andreas Jaeger  <aj@suse.de>
32069         [BZ #13594]
32070         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32071         out from...
32072         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32073         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32074         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32075         code changing __hst_map_handle.map.
32077 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32079         * configure.in (sysnames): Look for Implies-before and Implies-after
32080         files.
32081         * configure: Regenerated.
32083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32085         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32086         8-byte data alignment with LP_SIZE alignment.
32088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32090         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32091         into R10_LP.
32093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32095         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32099         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32100         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32101         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32102         Likewise.
32103         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32107         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32108         (stackinfo_sub_sp): Likewise.
32110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32112         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32113         RAX_LP.
32115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32117         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32118         into R*_LP.
32120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32123         sizes into R*_LP.
32125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32127         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32131         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32132         into R11_LP and load __x86_64_shared_cache_size_half into
32133         R8_LP.
32135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32137         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32138         R8_LP.
32140 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32142         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32143         logb for POWER7.
32144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32145         logbf for POWER7.
32146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32147         logbl for POWER7.
32148         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32149         powerpc32/power7/fpu/s_logb.c via #include.
32150         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32151         powerpc32/power7/fpu/s_logbf.c via #include.
32152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32153         powerpc32/power7/fpu/s_logbl.c via #include.
32155 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32157         * README.libm: Remove file.
32159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32161         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32162         count for x32.  Use R*_LP and omit operand-size suffix.
32164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32166         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32167         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32168         * sysdeps/x86_64/x32/shlib-versions: New file.
32170 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32172         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32173         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32174         Use _dl_fatal_printf instead.
32176 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32178         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32179         set if not set by the user.  Do not allow for being unset.
32180         * sysdeps/unix/sysv/linux/configure: Regenerated.
32182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32184         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32185         the `q' suffix from lea and replace .quad with ASM_ADDR.
32187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32190         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32191         instead of $17.
32192         (PTR_DEMANGLE): Likewise.
32194 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32196         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32197         (LP_OP): Likewise.
32198         (ASM_ADDR): Likewise.
32199         (RAX_LP): Likewise.
32200         (RBP_LP): Likewise.
32201         (RBX_LP): Likewise.
32202         (RCX_LP): Likewise.
32203         (RDI_LP): Likewise.
32204         (RSI_LP): Likewise.
32205         (RSP_LP): Likewise.
32206         (R8_LP): Likewise.
32207         (R9_LP): Likewise.
32208         (R10_LP): Likewise.
32209         (R10_LP): Likewise.
32210         (R11_LP): Likewise.
32211         (R12_LP): Likewise.
32212         (R13_LP): Likewise.
32213         (R14_LP): Likewise.
32214         (R15_LP): Likewise.
32216 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32218         * sysdeps/x86_64/x32/dl-machine.h: New file.
32220 2012-05-14  Andreas Jaeger  <aj@suse.de>
32222         * manual/Makefile (subdir): Remove export of subdir.
32223         (all): Remove target.
32224         (.PHONY): Remove all from list.
32225         (mkinstalldirs): Remove.
32226         (.PHONY): Remove installdirs from list.
32227         ($(inst_infodir)/libc.info): Use make-target-directory.
32228         (installdirs): Remove.
32229         (subdir_%): Remove.
32230         (glibc-targets): Remove.
32231         (lib): Remove.
32232         (stubs): Remove.
32233         ($(objpfx)stubs ../po/manual.pot): Remove.
32234         ($(objpfx)stamp%): Remove.
32235         (make-target-directory): Remove.
32236         (subdir_install): Remove.
32237         (routines): Remove.
32238         (aux): Remove.
32239         (sources): Remove.
32240         (objects): Remove.
32241         (headers): Remove.
32243         [BZ #13750]
32244         * manual/.gitignore: Remove, it's not needed anymore.
32245         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32246         all files in it.
32247         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32248         directory.
32249         (texis): Renamed to $(objpfx)texis.
32250         (texis-path): New, contains path to generated files.
32251         (chapters.%): Use texis-path for complete path, add extra argument
32252         libc-texinfo.sh.
32253         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32254         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32255         (summary,texi, stamp-summary): Use complete path of
32256         files. Generate files in build dir.
32257         (dir-add.texi): Build in build dir.
32258         (libm-err.texi,stamp-libm-err): Likewise.
32259         (version.texi, stamp-version): Likewise.
32260         (.%c.texi): Likewise.
32261         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32262         (mostlyclean): Remove target.
32263         (realclean): Remove target.
32264         (generated): Add new variable with contents from mostlyclean and
32265         realclean, remove entries duplicated in common-mostlyclean, add
32266         stamp-libm-err and stamp-version.
32267         (generated-dirs): Add libc directory.
32268         ($(inst_infodir)/libc.info): Install files from build dir.
32270         * manual/install.texi (Configuring and compiling): Adjust since
32271         the info files are not part of the tar ball anymore.
32273 2012-05-14  Andreas Jaeger  <aj@suse.de>
32275         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32276         variable.
32278 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32280         [BZ #13717]
32281         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32282         to 2.2.0 where earlier.
32283         * sysdeps/unix/sysv/linux/configure: Regenerated.
32284         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32285         Remove conditional code.
32286         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32287         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32288         Remove conditional code.
32289         [!__NR_lchown]: Likewise.
32290         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32291         [__NR_lchown]: Likewise.
32292         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32293         comment referencing __ASSUME_LCHOWN_SYSCALL.
32294         * sysdeps/unix/sysv/linux/i386/sigaction.c
32295         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32296         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32297         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32298         Remove conditional code.
32299         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32300         (__protocol_available): Remove #if 0 code.
32301         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32302         conditional code.
32303         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32304         * sysdeps/unix/sysv/linux/kernel-features.h
32305         (__ASSUME_GETCWD_SYSCALL): Don't define.
32306         (__ASSUME_REALTIME_SIGNALS): Likewise.
32307         (__ASSUME_PREAD_SYSCALL): Likewise.
32308         (__ASSUME_PWRITE_SYSCALL): Likewise.
32309         (__ASSUME_POLL_SYSCALL): Likewise.
32310         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32311         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32312         non-SPARC.
32313         (__ASSUME_SIOCGIFNAME): Don't define.
32314         (__ASSUME_MSG_NOSIGNAL): Likewise.
32315         (__ASSUME_SENDFILE): Define unconditionally.
32316         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32317         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32318         conditional code.
32319         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32320         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32321         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32322         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32323         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32324         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32325         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32327         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32330         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32333         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32334         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32336         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32337         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32339         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32340         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32342         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32343         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32345         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32346         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32348         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32349         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32350         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32351         Remove conditional code.
32352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32353         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32354         Remove conditional code.
32355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32356         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32357         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32358         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32359         Remove conditional code.
32360         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32361         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32362         Remove conditional code.
32363         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32364         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32365         Remove conditional code.
32366         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32367         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32368         Remove conditional code.
32369         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32370         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32371         Remove conditional code.
32372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32373         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32374         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32375         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32376         * sysdeps/unix/sysv/linux/sigaction.c
32377         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32378         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32379         * sysdeps/unix/sysv/linux/sigpending.c
32380         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32381         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32382         * sysdeps/unix/sysv/linux/sigprocmask.c
32383         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32384         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32385         * sysdeps/unix/sysv/linux/sigsuspend.c
32386         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32387         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32388         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32389         (__libc_missing_rt_sigs): Remove.
32390         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32391         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32392         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32393         Remove conditional code.
32394         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32395         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32396         return 1.
32397         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32398         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32399         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32400         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32402 2012-05-14  Andreas Jaeger  <aj@suse.de>
32404         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32405         it's not used in glibc.
32406         (__coshm1): Likewise.
32407         (__acosh1p): Likewise.
32408         (__sgn): Likewise.
32410         * manual/string.texi (Copying and Concatenation): Add missing
32411         variable in concat example.
32412         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32414 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32416         [BZ #14103]
32417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32418         __builtin_clzl with __builtin_clzll.
32420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32422         [BZ #14104]
32423         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32424         libc_freeres_ptr.
32426 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32428         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32429         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32430         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32431         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32433 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32435         * NEWS: Update ia64 info.
32437 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32439         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32440         used as bcopy.
32442 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32444         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32445         * sysdeps/unix/syscalls.list (dup3): Likewise.
32446         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32447         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32449 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32451         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32452         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32454 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32456         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32457         thread pointer.
32458         (TLS_IE): Use mov/add instead of movq/addq to load thread
32459         pointer.
32460         (TLS_GD_PREFIX): New.
32461         (TLS_GD): Use it.
32463 2012-05-11  David S. Miller  <davem@davemloft.net>
32465         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32466         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32467         (_FPU_SETCW): Likewise.
32469 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32471         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32472         is 32-byte aligned.
32474 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32476         [BZ #11837]
32477         * iconvdata/gb18030.c: Update tables.
32478         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32479         characters specially.
32480         (BODY for TO_LOOP): Add encoding of missing ranges.
32482 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32484         [BZ #13673]
32485         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32486         * sysdeps/mach/hurd/dup3.c: Likewise.
32487         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32488         * sysdeps/powerpc/memmove.c:: Likewise.
32490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32492         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32493         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32495 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32497         * elf/elf.h (R_X86_64_RELATIVE64): New.
32498         (R_X86_64_NUM): Updated.
32499         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32500         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32501         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32502         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32503         tst-quad1pie tst-quad2pie
32504         (modules-names): Add tst-quadmod1 tst-quadmod2.
32505         ($(objpfx)tst-quad1): New dependency.
32506         ($(objpfx)tst-quad2): Likewise.
32507         ($(objpfx)tst-quad1pie): Likewise.
32508         ($(objpfx)tst-quad2pie): Likewise.
32509         * sysdeps/x86_64/tst-quad1.c: New file.
32510         * sysdeps/x86_64/tst-quad1pie.c: New file.
32511         * sysdeps/x86_64/tst-quad2.c: Likewise.
32512         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32513         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32514         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32515         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32516         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32520         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32521         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32522         * streams/stropts.h (t_scalar_t): Define type.
32524         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32525         (_PATH_PRESERVE): Set to "/var/lib".
32526         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32528         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32529         instead of int.
32531         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32532         if __dir_mkfile succeeded.
32534         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32535         checking for _hurd_dtablesize.  Unlock it right after having
32536         finished _hurd_dtable allocation.
32538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32540         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32541         * sysdeps/mach/hurd/configure: Regenerated.
32542         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32543         special-casing to...
32544         * sysdeps/gnu/configure.in: ... this new file.
32545         * sysdeps/unix/sysv/linux/configure: Regenerated.
32546         * sysdeps/gnu/configure: New generated file.
32548         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32549         for Linux: use nsec instead of usec, as well as:
32550         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32551         members of type struct timespec.
32552         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32553         New macros.
32554         (struct stat64): Likewise.
32555         (_STATBUF_ST_NSEC): New macro.
32556         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32558         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32559         __strtoul_internal rather than strtoul.
32561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32563         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32564         and reject them.
32566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32568         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32569         which preserves existing values.
32570         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32572 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32574         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32575         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32576         greater than FD_SETSIZE.
32578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32580         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32581         allocated, call __vm_protect to finish enabling the existing space, and
32582         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32583         allocate the remainder.
32585 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32587         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32588         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32592         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32593         sysdeps/mach/hurd/readlink.c.
32595         * posix/tst-sysconf.c (posix_options): Only use
32596         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32597         _POSIX_SYNCHRONIZED_IO when they are defined
32598         * sysdeps/mach/hurd/bits/posix_opt.h:
32599         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32600         (_XOPEN_REALTIME): Undefine macro.
32601         (_XOPEN_REALTIME_THREADS): Undefine macro.
32602         (_XOPEN_SHM): Undefine macro.
32603         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32604         macro to -1.
32605         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32606         macro to -1.
32607         (_POSIX_ASYNC_IO): Undefine macro.
32608         (_POSIX_PRIORITIZED_IO): Undefine macro.
32609         (_POSIX_SPIN_LOCKS): Define macro to -1.
32611         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32612         SA_NODEFER, SA_RESETHAND.
32613         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32614         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32615         F_DUPFD_CLOEXEC.
32617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32619         * elf/Makefile (pldd-modules): Define unconditionally.
32621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32623         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32627         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32628         Return ENOENT when name is empty.
32629         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32631 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32633         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32635         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32639         Fix mlock in all cases except non-readable pages.
32640         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32641         instead of VM_PROT_ALL as parameter to __vm_wire function.
32643         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32644         (__mkdir): When path is `/', just fail with EEXIST.
32645         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32649         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32650         <sys/uio.h> (for writev).
32651         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32652         and <sys/param.h> (for MIN).
32654 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32656         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32657         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32658         if interrupted.
32660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32662         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32663         Depend on against $(link-rpcuserlibs).
32665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32667         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32668         (__libc_stack_end): Do not use attribute_relro.
32669         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32670         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32671         to libthread-provided value.
32672         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32673         attribute_relro.
32675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32677         [BZ #3748]
32678         * bits/libc-lock.h (__libc_once_get): New macro.
32679         * sysdeps/mach/bits/libc-lock.h: Likewise.
32680         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32682         instead of using implementation details.
32684         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32685         * libio/freopen.c: Likewise.
32686         * libio/freopen64.c: Likewise.
32687         * misc/syslog.c: Likewise.
32688         * nscd/connections.c: Likewise.
32689         * nscd/netgroupcache.c: Likewise.
32690         * sysdeps/posix/getcwd.c: Likewise.
32692 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32694         * math/w_ilogbf.c: Add #include <limits.h>.
32696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32698         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32699         path instead of returning without unlocking.
32701         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32702         immediate-write ioctls.
32703         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32707         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32708         __builtin_frame_address instead of making assumptions about the
32709         location of the return address relative to DATA.  Force early load of
32710         the return address.
32711         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32712         __builtin_frame_address.
32714         dup3 for GNU Hurd.
32715         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32716         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32717         implement dup3 and do some further code clean-ups.
32718         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32719         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32723         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32725         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32726         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32727         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32728         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32729         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32730         d->port.lock.
32732         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32733         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32734         when handler == SIG_ERR, not when handler != SIG_ERR.
32736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32738         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32739         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32740         definitions.
32742         accept4 for GNU Hurd.
32743         * include/sys/socket.h (__libc_accept4): New prototype.
32744         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32745         to implement __libc_accept4.
32746         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32747         __libc_accept4.
32748         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32750         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32751         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32752         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32753         signal-defines.sym.
32755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32757         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32761         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32762         assertion on O_CLOEXEC flag.
32763         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32764         * hurd/intern-fd.c: Likewise.
32765         * hurd/port2fd.c: Likewise.
32767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32769         [BZ #3906]
32770         * bits/in.h (IPV6_PKTINFO): Define new macro.
32771         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32773 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32775         [BZ #13954]
32776         [BZ #13955]
32777         [BZ #13956]
32778         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32780         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32781         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32783         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32784         * math/libm-test.inc (logb_test) : Additional logb tests.
32786 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32787             Andreas Jaeger  <aj@suse.de>
32789         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32790         * configure: Regenerated.
32791         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32792         * config.make.in (link-obsolete-rpc): New substituted variable.
32793         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32794         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32795         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32796         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32797         so that libc.a contains the symbols.
32798         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32799         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32800         * sunrpc/auth_none.c: Likewise.
32801         * sunrpc/auth_unix.c: Likewise.
32802         * sunrpc/authdes_prot.c: Likewise.
32803         * sunrpc/authuxprot.c: Likewise.
32804         * sunrpc/clnt_gen.c: Likewise.
32805         * sunrpc/clnt_perr.c: Likewise.
32806         * sunrpc/clnt_raw.c: Likewise.
32807         * sunrpc/clnt_simp.c: Likewise.
32808         * sunrpc/clnt_tcp.c: Likewise.
32809         * sunrpc/clnt_udp.c: Likewise.
32810         * sunrpc/clnt_unix.c: Likewise.
32811         * sunrpc/des_crypt.c: Likewise.
32812         * sunrpc/des_soft.c: Likewise.
32813         * sunrpc/get_myaddr.c: Likewise.
32814         * sunrpc/key_call.c: Likewise.
32815         * sunrpc/key_prot.c: Likewise.
32816         * sunrpc/netname.c: Likewise.
32817         * sunrpc/pm_getmaps.c: Likewise.
32818         * sunrpc/pm_getport.c: Likewise.
32819         * sunrpc/pmap_clnt.c: Likewise.
32820         * sunrpc/pmap_prot.c: Likewise.
32821         * sunrpc/pmap_prot2.c: Likewise.
32822         * sunrpc/pmap_rmt.c: Likewise.
32823         * sunrpc/publickey.c: Likewise.
32824         * sunrpc/rpc_cmsg.c: Likewise.
32825         * sunrpc/rpc_common.c: Likewise.
32826         * sunrpc/rpc_dtable.c: Likewise.
32827         * sunrpc/rpc_prot.c: Likewise.
32828         * sunrpc/rpc_thread.c: Likewise.
32829         * sunrpc/rtime.c: Likewise.
32830         * sunrpc/svc.c: Likewise.
32831         * sunrpc/svc_auth.c: Likewise.
32832         * sunrpc/svc_raw.c: Likewise.
32833         * sunrpc/svc_run.c: Likewise.
32834         * sunrpc/svc_tcp.c: Likewise.
32835         * sunrpc/svc_udp.c: Likewise.
32836         * sunrpc/svc_unix.c: Likewise.
32837         * sunrpc/svcauth_des.c: Likewise.
32838         * sunrpc/xcrypt.c: Likewise.
32839         * sunrpc/xdr.c: Likewise.
32840         * sunrpc/xdr_array.c: Likewise.
32841         * sunrpc/xdr_float.c: Likewise.
32842         * sunrpc/xdr_intXX_t.c: Likewise.
32843         * sunrpc/xdr_mem.c: Likewise.
32844         * sunrpc/xdr_rec.c: Likewise.
32845         * sunrpc/xdr_ref.c: Likewise.
32846         * sunrpc/xdr_sizeof.c: Likewise.
32847         * sunrpc/xdr_stdio.c: Likewise.
32849 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32851         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32852         change.  Update copyright years.
32854 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32856         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32858 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32859             Joseph Myers  <joseph@codesourcery.com>
32860             Paul Pluzhnikov  <ppluzhnikov@google.com>
32862         [BZ #14012]
32863         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32864         requiring rpcgen.
32865         [cross-compiling] (extra-libs): Likewise.
32866         [cross-compiling] (extra-libs-others): Likewise.
32867         [cross-compiling] (librpcsvc-routines): Likewise.
32868         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32869         [cross-compiling] (omit-deps): Likewise.
32870         (sunrpc-CPPFLAGS): New variable.
32871         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32872         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32873         (cross-rpcgen-objs): New variable.
32874         (extra-objs): Append $(cross-rpcgen-objs).
32875         ($(cross-rpcgen-objs)): New rule.
32876         ($(objpfx)cross-rpcgen): Likewise.
32877         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32878         comment.
32879         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32880         ($(objpfx)x%.stmp): Likewise.
32881         * sunrpc/proto.h [IS_IN_build] (_): Define.
32882         [IS_IN_build] (_libc_intl_domainname): Likewise.
32884 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32886         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32887         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32888         and R_X86_64_TPOFF64.
32890 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32892         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32893         sysdeps/unix/sysv/syscalls.list.
32894         (stime): Likewise.
32895         (utime): Likewise.
32896         * sysdeps/unix/sysv/syscalls.list: Remove file.
32898 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32900         [BZ #3440]
32901         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32902         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32903         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32904         (__LC_IDENTIFICATION): Make these macros useful in #if
32905         expressions, as required by C99.
32907 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32909         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32910         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32911         after this.
32913 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32915         * stdlib/longlong.h: Updated from GCC.
32917 2012-05-09  Andreas Jaeger  <aj@suse.de>
32919         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32920         default is first entry.
32921         (run_mode): Set type.
32922         (main): Remove informal message about syslog.
32923         (options): Fix typo.
32925         [BZ #14053]
32926         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32927         to asm.
32928         (lrint): Likewise.
32929         (llrintf): Likewise.
32930         (llrint): Likewise.
32931         (rint): Likewise.
32932         (rintf): Likewise.
32933         (nearbyint): Likewise.
32934         (nearbyintf): Likewise.
32936 2012-05-09  Andreas Jaeger  <aj@suse.de>
32937             Pedro Alves  <palves@redhat.com>
32939         * nscd/nscd.c (run_mode): Use enum.
32940         (main): Cleanup coding style issue.
32942 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32943             Andreas Jaeger  <aj@suse.de>
32945         * nscd/nscd.c (go_background): Replaced with...
32946         (run_mode): ... this.
32947         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32948         (options): Add -F --foreground.
32949         (main): Implement it.
32950         (parse_opt): Parse it.
32952 2012-05-09  Andreas Jaeger  <aj@suse.de>
32954         [BZ #14083]
32955         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32956         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32957         -Wconversion warning.
32958         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32959         Likewise.
32961 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32963         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32964         == 0.
32965         (LC_ALL): Use macro-int-constant.
32966         (LC_COLLATE): Likewise.
32967         (LC_CTYPE): Likewise.
32968         (LC_MESSAGES): Likewise.
32969         (LC_MONETARY): Likewise.
32970         (LC_NUMERIC): Likewise.
32971         (LC_TIME): Likewise.
32972         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32973         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32974         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32975         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32976         Specify type.
32977         [C99-based standards] (float_t): Expect type.
32978         [C99-based standards] (double_t): Expect type.
32979         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32980         type.
32981         [C99-based standards] (HUGE_VALL): Likewise.
32982         [C99-based standards] (INFINITY): Likewise.
32983         [C99-based standards] (NAN): Likewise.
32984         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32985         [C99-based standards] (FP_NAN): Likewise.
32986         [C99-based standards] (FP_NORMAL): Likewise.
32987         [C99-based standards] (FP_SUBNORMAL): Likewise.
32988         [C99-based standards] (FP_ZERO): Likewise.
32989         [C99-based standards] (FP_FAST_FMA): Use
32990         optional-macro-int-constant.  Specify type.  Require == 1.
32991         [C99-based standards] (FP_FAST_FMAF): Likewise.
32992         [C99-based standards] (FP_FAST_FMAL): Likewise.
32993         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32994         [C99-based standards] (FP_ILOGBNAN): Likewise.
32995         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32996         Specify type.
32997         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32998         [C99-based standards] (math_errhandling): Specify type.
32999         [ISO99 || ISO11] (signgam): Do not allow.
33000         [non-C99-based standards] (copysignf): Do not allow.
33001         [non-C99-based standards] (exp2f): Likewise.
33002         [non-C99-based standards] (log2f): Likewise.
33003         [non-C99-based standards] (modff): Allow.
33004         [non-C99-based standards] (erff): Do not allow.
33005         [non-C99-based standards] (erfcf): Likewise.
33006         [non-C99-based standards] (gammaf): Likewise.
33007         [non-C99-based standards] (hypotf): Likewise.
33008         [non-C99-based standards] (j0f): Likewise.
33009         [non-C99-based standards] (j1f): Likewise.
33010         [non-C99-based standards] (jnf): Likewise.
33011         [non-C99-based standards] (lgammaf): Likewise.
33012         [non-C99-based standards] (tgammaf): Likewise.
33013         [non-C99-based standards] (y0f): Likewise.
33014         [non-C99-based standards] (y1f): Likewise.
33015         [non-C99-based standards] (ynf): Likewise.
33016         [non-C99-based standards] (isnanf): Likewise.
33017         [non-C99-based standards] (acoshf): Likewise.
33018         [non-C99-based standards] (asinhf): Likewise.
33019         [non-C99-based standards] (atanhf): Likewise.
33020         [non-C99-based standards] (cbrtf): Likewise.
33021         [non-C99-based standards] (expm1f): Likewise.
33022         [non-C99-based standards] (ilogbf): Likewise.
33023         [non-C99-based standards] (log1pf): Likewise.
33024         [non-C99-based standards] (logbf): Likewise.
33025         [non-C99-based standards] (nextafterf): Likewise.
33026         [non-C99-based standards] (remainderf): Likewise.
33027         [non-C99-based standards] (rintf): Likewise.
33028         [non-C99-based standards] (scalbf): Likewise.
33029         [non-C99-based standards] (copysignl): Likewise.
33030         [non-C99-based standards] (exp2l): Likewise.
33031         [non-C99-based standards] (log2l): Likewise.
33032         [non-C99-based standards] (modfl): Allow.
33033         [non-C99-based standards] (erfl): Do not allow.
33034         [non-C99-based standards] (erfcl): Likewise.
33035         [non-C99-based standards] (gammal): Likewise.
33036         [non-C99-based standards] (hypotl): Likewise.
33037         [non-C99-based standards] (j0l): Likewise.
33038         [non-C99-based standards] (j1l): Likewise.
33039         [non-C99-based standards] (jnl): Likewise.
33040         [non-C99-based standards] (lgammal): Likewise.
33041         [non-C99-based standards] (tgammal): Likewise.
33042         [non-C99-based standards] (y0l): Likewise.
33043         [non-C99-based standards] (y1l): Likewise.
33044         [non-C99-based standards] (ynl): Likewise.
33045         [non-C99-based standards] (isnanl): Likewise.
33046         [non-C99-based standards] (acoshl): Likewise.
33047         [non-C99-based standards] (asinhl): Likewise.
33048         [non-C99-based standards] (atanhl): Likewise.
33049         [non-C99-based standards] (cbrtl): Likewise.
33050         [non-C99-based standards] (expm1l): Likewise.
33051         [non-C99-based standards] (ilogbl): Likewise.
33052         [non-C99-based standards] (log1pl): Likewise.
33053         [non-C99-based standards] (logbl): Likewise.
33054         [non-C99-based standards] (nextafterl): Likewise.
33055         [non-C99-based standards] (remainderl): Likewise.
33056         [non-C99-based standards] (rintl): Likewise.
33057         [non-C99-based standards] (scalbl): Likewise.
33058         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33059         [non-C99-based standards] (FP_*): Do not allow.
33060         [C99-based standards] (FP_*): Change to
33061         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33062         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33063         allow.
33064         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33065         (SIG_ERR): Likewise.
33066         [X/Open-based standards] (SIG_HOLD): Likewise.
33067         (SIG_IGN): Likewise.
33068         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33069         positive value.
33070         (SIGFPE): Likewise.
33071         (SIGILL): Likewise.
33072         (SIGINT): Likewise.
33073         (SIGSEGV): Likewise.
33074         (SIGTER): Likewise.
33075         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33076         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33077         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33078         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33079         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33080         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33081         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33082         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33083         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33084         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33085         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33086         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33087         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33088         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33089         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33090         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33091         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33092         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33093         [X/Open-based standards] (SIGTRAP): Likewise.
33094         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33095         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33096         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33097         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33098         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33099         allow.
33101 2012-05-08  Ian Wienand  <ianw@vmware.com>
33103         [BZ #14080]
33104         * time/tzset.c (__tzset_parse_tz): Update default rules for
33105         daylight time changes in the Energy Policy Act of 2005.
33107 2012-05-09  Andreas Jaeger  <aj@suse.de>
33109         [BZ #13983]
33110         * elf/ldconfig.c (parse_conf): Change string to make clear that
33111         ldconfig only issued a warning if ld.so.conf does not exist.
33113 2012-05-08  David S. Miller  <davem@davemloft.net>
33115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33116         movxtod instead of popping the value on the stack.
33118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33120 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33122         * config.h.in: Add HAVE_ARM_PCS_VFP.
33124 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33126         [BZ #13979]
33127         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33128         checking but the checks are disabled for any reason.
33130 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33132         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33133         and ELF64_R_TYPE with ELFW(R_TYPE).
33135 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33137         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33138         (ulimit): Likewise.
33140         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33141         (settimeofday): Likewise.
33143 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33145         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33146         a struct th_u2 inside the union, and move tu_block/tu_code into
33147         a new th_u3 union of tu_block/tu_code inside of that.  Move
33148         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33149         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33150         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33151         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33152         (th_stuff): Change to th_u1.tu_stuff.
33153         (th_data): Define.
33154         (th_msg): Change to th_u1.th_u2.tu_data.
33156 2012-05-07  David S. Miller  <davem@davemloft.net>
33158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33160         [BZ #14074]
33161         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33162         (SETUP_PIC_REG): Use it.
33163         (SETUP_PIC_REG_LEAF): Use it.
33165 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33167         [BZ #13885]
33168         [BZ #13923]
33169         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33170         USE_AS_EXPM1L.
33171         (EXPL_FINITE): Likewise.
33172         (FLDLOG): Likewise.
33173         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33174         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33175         e_expl.S.
33176         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33177         USE_AS_EXPM1L.
33178         (EXPL_FINITE): Likewise.
33179         (FLDLOG): Likewise.
33180         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33181         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33182         e_expl.S.
33183         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33184         test of -max_value argument for long double.
33185         * sysdeps/i386/fpu/libm-test-ulps: Update.
33186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33188 2012-05-06  David S. Miller  <davem@davemloft.net>
33190         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33191         quad soft-float symbols whose references which are compiler
33192         generated.
33193         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33195 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33197         [BZ #13884]
33198         [BZ #13914]
33199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33200         USE_AS_EXP10L.
33201         (EXPL_FINITE): Likewise.
33202         (FLDLOG): Likewise.
33203         (c0): Likewise.
33204         (c1): Likewise.
33205         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33206         Adjust comments for base varying.
33207         (__expl_finite): Change alias to EXPL_FINITE.
33208         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33209         e_expl.S.
33210         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33211         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33212         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33213         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33215         USE_AS_EXP10L.
33216         (EXPL_FINITE): Likewise.
33217         (FLDLOG): Likewise.
33218         (c0): Likewise.
33219         (c1): Likewise.
33220         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33221         Adjust comments for base varying.
33222         (__expl_finite): Change alias to EXPL_FINITE.
33223         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33224         tests for bugs.
33225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33227         [BZ #14064]
33228         * math/libm-test.inc (check_float_internal): Correct ulp
33229         calculation for subnormal expected results.
33231 2012-05-06  Andreas Jaeger  <aj@suse.de>
33233         * Makeconfig (+math-flags): New, set to -frounding-math.
33234         (+cflags): Add +math-flags so that all of glibc gets compiled with
33235         it.
33237         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33239 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33241         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33242         Disable one test.
33244         [BZ #13787]
33245         [BZ #13922]
33246         [BZ #14036]
33247         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33248         (__ieee754_expl): Allow for and saturate large arguments.
33249         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33250         (u_threshold): Likewise.
33251         (__exp): Call __ieee754_exp before checking for overflow and
33252         underflow.
33253         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33254         (u_threshold): Likewise.
33255         (__expf): Call __ieee754_expf before checking for overflow and
33256         underflow.
33257         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33258         (u_threshold): Likewise.
33259         (__expl): Call __ieee754_expl before checking for overflow and
33260         underflow.
33261         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33262         (__ieee754_expl): Allow for and saturate large arguments.
33263         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33264         missing overflow exception on overflow.
33265         (expm1_test): Do not allow missing overflow exception on overflow.
33267         * sysdeps/i386/fpu/e_expl.c: Move to ...
33268         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33269         rather than using inline asm.
33270         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33271         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33272         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33274         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33275         (nice): Likewise.
33276         (poll): Likewise.
33277         (signal): Likewise.
33278         (time): Likewise.
33279         (times): Likewise.
33281 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33283         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33284         sysdeps/unix/common/syscalls.list.
33285         (fchmod): Likewise.
33286         (fchown): Likewise.
33287         (ftruncate): Likewise.
33288         (getrusage): Likewise.
33289         (gettimeofday): Likewise.
33290         (setpgid): Likewise.
33291         (setregid): Likewise.
33292         (setreuid): Likewise.
33293         (sigaction): Likewise.
33294         (truncate): Likewise.
33295         (vhangup): Likewise.
33296         * sysdeps/unix/common/syscalls.list: Remove file.
33297         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33298         * sysdeps/unix/sysv/linux/Implies: Likewise.
33300 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33302         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33304         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33305         Moved to ...
33306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33307         Here.
33308         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33309         to ...
33310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33311         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33312         to ...
33313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33314         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33315         to ...
33316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33317         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33318         to ...
33319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33320         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33321         to ...
33322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33323         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33324         to ...
33325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33326         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33327         to ...
33328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33329         Here.
33330         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33331         to ...
33332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33333         Here.
33334         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33335         to ...
33336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33337         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33338         Moved to ...
33339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33340         Here.
33341         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33342         to ...
33343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33345 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33347         * sysdeps/unix/common/bits/dirent.h: Remove file.
33348         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33350         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33351         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33352         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33353         * sysdeps/unix/bsd/isatty.c: Likewise.
33354         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33355         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33356         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33358 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33360         [BZ #13563]
33361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33362         long double comparison inaccuracies.
33363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33366 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33368         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33369         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33371 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33373         [BZ #14049]
33374         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33375         nonzero digits before rounding a hex value.
33376         * stdlib/tst-strtod.c (tests): Add another test.
33378 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33380         * sysdeps/s390/fpu/libm-test-ulps: Update.
33382 2012-05-03  Andreas Jaeger  <aj@suse.de>
33384         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33385         does not get optimized out.
33386         (malloc_opt_barrier): New.
33388 2012-05-03  Andreas Jaeger  <aj@suse.de>
33389             Roland McGrath  <roland@hack.frob.com>
33391         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33392         intermediate file deletion.
33393         (generated): Add .symlist files.
33395 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33397         [BZ #13775]
33398         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33399         Redirect under this condition.
33400         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33401         [__USE_GNU] (__dprintf_chk): Not under this condition.
33402         [__USE_GNU] (__vdprintf_chk): Likewise.
33403         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33404         under this condition.
33405         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33406         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33407         [__USE_XOPEN2K8] (vdprintf): Likewise.
33408         [__USE_GNU] (__dprintf_chk): Not under this condition.
33409         [__USE_GNU] (__vdprintf_chk): Likewise.
33410         [__USE_GNU] (dprintf): Likewise.
33411         [__USE_GNU] (vdprintf): Likewise.
33413 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33415         * elf/Makefile (common-generated): Set this instead of generated for
33416         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33417         $(all-built-dso)-derived lists.
33419 2012-05-03  Andreas Jaeger  <aj@suse.de>
33421         * sysdeps/i386/fpu/libm-test-ulps: Update.
33423         * FAQ: Removed.
33424         * FAQ.in: Likewise.
33425         * scripts/gen-FAQ.pl: Likewise.
33426         * manual/install.texi (Installation): Point to online location of
33427         FAQ.
33428         * Makefile (files-for-dist): Remove FAQ.
33429         (FAQ): Remove.
33431 2012-05-02  Allan McRae  <allan@archlinux.org>
33433         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33434         (LDFLAGS-reldepmod5.so): Likewise.
33435         (LDFLAGS-reldep6mod1.so): Likewise.
33436         (LDFLAGS-reldep6mod4.so): Likewise.
33437         (LDFLAGS-reldep8mod3.so): Likewise.
33438         (LDFLAGS-unload4mod1.so): Likewise.
33439         (LDFLAGS-unload4mod2.so): Likewise.
33440         (LDFLAGS-tst-initorder): Likewise.
33441         (LDFLAGS-tst-initordera2.so): Likewise.
33442         (LDFLAGS-tst-initordera3.so): Likewise.
33443         (LDFLAGS-tst-initordera4.so): Likewise.
33444         (LDFLAGS-tst-initorderb2.so): Likewise.
33445         (LDFLAGS-noload): Likewise.
33446         (LDFLAGS-next): Likewise.
33447         (LDFLAGS-order2mod1.so): Likewise.
33448         (LDFLAGS-order2mod2.so): Likewise.
33449         (LDFLAGS-tst-initorder2): Likewise.
33450         (LDFLAGS-tst-initorder2a.so): Likewise.
33451         (LDFLAGS-tst-initorder2b.so): Likewise.
33452         (LDFLAGS-tst-initorder2c.so): Likewise.
33453         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33455 2012-05-02  David S. Miller  <davem@davemloft.net>
33457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33459 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33461         [BZ #14055]
33462         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33464 2012-05-02  Andreas Jaeger  <aj@suse.de>
33466         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33467         since we manipulate rounding mode.
33468         (CPPFLAGS-test-idouble.c): Likewise.
33469         (CPPFLAGS-test-ifloat.c): Likewise.
33470         (CFLAGS-test-ldouble.c): Likewise.
33471         (CFLAGS-test-double.c): Likewise.
33472         (CFLAGS-test-float.c): Likewise.
33473         (CFLAGS-test-misc.c): Likewise.
33474         (CFLAGS-test-test-fenv.c): Likewise.
33476 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33478         [BZ #2550]
33479         [BZ #2570]
33480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33481         comparisons to determine direction to adjust input.
33483 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33485         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33486         output to the target.
33488         * scripts/localplt.awk: New file.
33489         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33490         (check-localplt-CFLAGS): Variable removed.
33491         ($(all-built-dso:=.jmprel)): New static pattern rule.
33492         (generated): Add those targets.
33493         (localplt-built-dso): New variable.
33494         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33496         * elf/check-localplt.c: File removed.
33498         * scripts/check-execstack.awk: New file.
33499         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33500         (check-execstack-CFLAGS): Variable removed.
33501         ($(objpfx)check-execstack.h): Target removed.
33502         ($(objpfx)execstack-default): New target.
33503         (generated): Add that instead of check-execstack.h.
33504         ($(all-built-dso:=.phdr)): New static pattern rule.
33505         (generated): Add those targets.
33506         * elf/check-execstack.c: File removed.
33508         * scripts/check-textrel.awk: New file.
33509         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33510         (check-textrel-CFLAGS): Variable removed.
33511         (all-built-dso): Use := to define.o
33512         ($(all-built-dso:=.dyn)): New static pattern rule.
33513         (generated): Add those targets.
33514         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33515         * config.make.in (READELF): New substituted variable.
33516         * elf/check-textrel.c: File removed.
33518 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33520         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33521         allow.
33522         * conform/data/ctype.h-data [C99-based standards] (isblank):
33523         Expect function.
33524         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33525         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33526         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33527         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33528         Specify type.  Require positive value.
33529         (EILSEQ): Likewise.
33530         (ERANGE): Likewise.
33531         [ISO || POSIX] (EILSEQ): Do not expect.
33532         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33533         Specify type.  Require positive value.
33534         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33535         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33536         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33537         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33538         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33539         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33540         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33541         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33542         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33543         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33544         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33545         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33546         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33547         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33548         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33549         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33550         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33551         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33552         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33553         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33554         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33555         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33556         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33557         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33558         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33559         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33560         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33561         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33577         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33578         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33579         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33580         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33584         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33585         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33586         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33587         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33588         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33589         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33590         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33591         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33592         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33593         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33594         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33595         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33596         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33597         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33598         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33599         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33600         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33601         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33602         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33603         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33604         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33605         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33606         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33607         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33608         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33609         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33610         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33611         Require >= 2.
33612         (FLT_ROUNDS): Expect as macro, not constant.
33613         (FLT_MANT_DIG): Use macro-int-constant.
33614         (DBL_MANT_DIG): Likewise.
33615         (LDBL_MANT_DIG): Likewise.
33616         (FLT_DIG): Likewise.
33617         (DBL_DIG): Likewise.
33618         (LDBL_DIG): Likewise.
33619         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33620         (DBL_MIN_EXP): Likewise.
33621         (LDBL_MIN_EXP): Likewise.
33622         (FLT_MAX_EXP): Use macro-int-constant.
33623         (DBL_MAX_EXP): Likewise.
33624         (LDBL_MAX_EXP): Likewise.
33625         (FLT_MAX_10_EXP): Likewise.
33626         (DBL_MAX_10_EXP): Likewise.
33627         (LDBL_MAX_10_EXP): Likewise.
33628         (FLT_MAX): Use macro-constant.
33629         (DBL_MAX): Likewise.
33630         (LDBL_MAX): Likewise.
33631         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33632         (DBL_EPSILON): Likewise.
33633         (LDBL_EPSILON): Likewise.
33634         (FLT_MIN): Likewise.
33635         (DBL_MIN): Likewise.
33636         (LDBL_MIN): Likewise.
33637         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33638         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33639         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33640         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33641         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33642         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33643         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33644         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33645         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33646         [ISO11] (FLT_TRUE_MIN): Likewise.
33647         [ISO11] (LDBL_TRUE_MIN): Likewise.
33648         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33649         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33650         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33651         (SCHAR_MAX): Likewise.
33652         (UCHAR_MAX): Likewise.
33653         (CHAR_MIN): Likewise.
33654         (CHAR_MAX): Likewise.
33655         (MB_LEN_MAX): Use macro-int-constant.
33656         (SHRT_MIN): Use macro-int-constant.  Specify type.
33657         (SHRT_MAX): Likewise.
33658         (USHRT_MAX): Likewise.
33659         (INT_MAX): Likewise.
33660         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33661         bound negative.
33662         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33663         bound with "U".
33664         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33665         bound with "L".
33666         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33667         bound negative.  Suffix upper bound with "L".
33668         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33669         bound with "UL".
33670         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33671         Specify type.
33672         [C99-based standards] (LLONG_MAX): Likewise.
33673         [C99-based standards] (ULLONG_MAX): Likewise.
33674         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33675         == 0.
33676         [ISO11] (max_align_t): Require type.
33677         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33679         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33680         from $CFLAGS, without defining away __attribute__ calls.
33681         (checknamespace): Use $CFLAGS_namespace.
33683         * conform/conformtest.pl (@keywords): Only include C99 keywords
33684         for standards based on C99 or C11.
33686         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33687         Disable tests.
33688         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33689         UNIX98]: Likewise.
33691         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33692         usability of symbols in #if.
33694         * conform/conformtest.pl: If macro or constant types start
33695         "promoted:", expect the symbol to be of the following type
33696         promoted by the integer promotions.
33698         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33699         in one place.  Also handle "macro-constant".
33701         * conform/conformtest.pl: Only accept expected macro values with
33702         "==".  Parse all "macro" lines in one place.
33703         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33705         * conform/conformtest.pl: Handle braced types on "constant" lines
33706         instead of handling "typed-constant".
33707         * conform/data/signal.h-data: Use "constant" instead of
33708         "typed-constant".
33710         * conform/conformtest.pl: Handle "optional-" at start of lines in
33711         one place rather than duplicating several cases.  Handle each
33712         format of "macro" line with initial "optional-".
33714         * conform/conformtest.pl: Only accept expected constant or
33715         optional-constant values with "==".  Parse all "constant" lines in
33716         one place.  Parse all "optional-constant" lines in one place.
33717         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33718         * conform/data/fmtmsg.h-data: Likewise.
33719         * conform/data/netinet/in.h-data: Likewise.
33720         * conform/data/tar.h-data: Likewise.
33721         * conform/data/limits.h-data: Use "==" form on "constant" and
33722         "optional-constant" lines.
33724         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33725         Use -std=c99 for XOPEN2K.
33726         (@knownproblems): Remove.
33727         (newtoken): Don't check %isknown.
33729         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33730         Do not expect macro.
33731         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33738         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33739         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33740         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33741         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33742         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33743         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33744         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33745         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33746         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33747         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33748         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33749         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33750         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33751         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33752         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33753         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33754         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33755         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33756         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33757         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33758         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33759         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33760         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33761         [XPG3] (acosh): Likewise.
33762         [XPG3] (asinh): Likewise.
33763         [XPG3] (atanh): Likewise.
33764         [XPG3] (cbrt): Likewise.
33765         [XPG3] (expm1): Likewise.
33766         [XPG3] (ilogb): Likewise.
33767         [XPG3] (log1p): Likewise.
33768         [XPG3] (logb): Likewise.
33769         [XPG3] (nextafter): Likewise.
33770         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33772         [XPG3] (remainder): Likewise.
33773         [XPG3] (rint): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33781         [UNIX98 || XOPEN2K] (scalb): Expect.
33782         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33783         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33843         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33844         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33845         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33846         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33847         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33898         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33899         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33900         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33901         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33902         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33903         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33904         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33905         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33906         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33907         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33908         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33909         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33910         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33911         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33912         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33913         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33914         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33915         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33916         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33917         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33918         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33920         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33921         _XOPEN_SOURCE_EXTENDED for XPG4.
33923         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33925         * Makeconfig (localtime): Remove variable.
33926         (inst_localtime-file): Likewise.
33928 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33931         Update.
33932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33933         Update.
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33935         Update.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33937         Update.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33939         Update.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33941         Update.
33942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33943         Update.
33944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33945         Update.
33946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33947         Update.
33949 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33951         [BZ #2550]
33952         [BZ #2570]
33953         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33954         comparisons to determine direction to adjust input.
33955         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33956         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33957         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33958         Likewise.
33959         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33960         Likewise.
33961         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33962         Likewise.
33963         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33964         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33965         Likewise.
33966         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33967         Likewise.
33968         * math/libm-test.inc (nexttoward_test): Add more tests.
33970 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33972         [BZ #14040]
33973         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33974         in version GLIBC_2.1, not GLIBC_2.0.
33975         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33976         Likewise.
33978 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33980         [BZ #13942]
33981         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33982         (1 - x) * (1 + x).
33983         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33984         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33985         * math/libm-test.inc (acos_test): Add more tests.
33986         (asin_test): Likewise.
33987         * sysdeps/i386/fpu/libm-test-ulps: Update.
33988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33990         [BZ #14034]
33991         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33992         of square root.
33993         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33994         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33995         * math/libm-test.inc (acos_test_tonearest): New function.
33996         (acos_test_towardzero): Likewise.
33997         (acos_test_downward): Likewise.
33998         (acos_test_upward): Likewise.
33999         (asin_test_tonearest): Likewise.
34000         (asin_test_towardzero): Likewise.
34001         (asin_test_downward): Likewise.
34002         (asin_test_upward): Likewise.
34003         (main): Call the new functions.
34004         * sysdeps/i386/fpu/libm-test-ulps: Update.
34005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34007         [BZ #13884]
34008         [BZ #13924]
34009         * math/e_exp10.c: Include <float.h>.
34010         (__ieee754_exp10): Handle underflow here rather than multiplying
34011         large negative argument by M_LN10.
34012         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34013         of __ieee754_expf.
34014         * math/e_exp10l.c: Include <float.h>.
34015         (__ieee754_exp10l): Handle underflow here rather than multiplying
34016         large negative argument by M_LN10l.
34017         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34018         spurious overflow exception on underflow.
34020 2012-04-29  Marek Polacek  <polacek@redhat.com>
34022         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34023         (__fortify_function): New macro.
34024         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34025         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34026         __extern_always_inline.
34027         * libio/bits/stdio2.h: Likewise.
34028         * libio/bits/stdio.h: Likewise.
34029         * string/string.h: Likewise.
34030         * string/bits/string3.h: Likewise.
34031         * include/stdio.h: Likewise.
34032         * stdlib/bits/stdlib.h: Likewise.
34033         * stdlib/stdlib.h: Likewise.
34034         * rt/bits/mqueue2.h: Likewise.
34035         * rt/mqueue.h: Likewise.
34036         * posix/bits/unistd.h: Likewise.
34037         * posix/unistd.h: Likewise.
34038         * io/bits/poll2.h: Likewise.
34039         * io/bits/fcntl2.h: Likewise.
34040         * io/fcntl.h: Likewise.
34041         * io/sys/poll.h: Likewise.
34042         * misc/bits/syslog.h: Likewise.
34043         * misc/bits/syslog-ldbl.h: Likewise.
34044         * misc/sys/syslog.h: Likewise.
34045         * socket/bits/socket2.h: Likewise.
34046         * socket/sys/socket.h: Likewise.
34047         * debug/tst-chk1.c: Likewise.
34048         * wcsmbs/bits/wchar2.h: Likewise.
34049         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34050         * wcsmbs/wchar.h: Likewise.
34052 2012-04-29  Andreas Jaeger  <aj@suse.de>
34054         * Makerules (tests): Remove enable-check-abi protection.
34055         (check-abi-warn): Remove.
34056         (check-abi-%): Remove check-abi-warn usage.
34058         * configure.in: Remove check-abi configure option.
34059         * configure: Regenerated.
34060         * config.make.in (enable-check-abi): Remove.
34062 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34064         [BZ #14033]
34065         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34066         double functions to double *_finite functions.
34068         [BZ #13941]
34069         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34070         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34071         LDBL_MIN_EXP.
34072         * stdio-common/Makefile (tests): Add tst-sprintf3.
34073         * stdio-common/tst-sprintf3.c: New file.
34075         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34076         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34078 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34080         * conform/conformtest.pl: Remove duplicate typed-constant
34081         handling.
34083 2012-04-28  David S. Miller  <davem@davemloft.net>
34085         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34086         (check-abi-%): Remove AWK script prerequisite and explicit
34087         abilist directory.
34088         (check-abi): Rewrite to just diff the symlist with the abilist.
34089         (config-tls, config-abi-config): Delete, no longer used.
34090         (update-abi-%): Remove AWK script and explicit abilist directory.
34091         (update-abi): Rewrite to simply compare and conditionally copy the
34092         symlist and the sysdep abilist file.  Remove update-abi-config
34093         checks.
34094         * abilist/ld.abilist: Remove.
34095         * abilist/libBrokenLocale.abilist: Remove.
34096         * abilist/libanl.abilist: Remove.
34097         * abilist/libcrypt.abilist: Remove.
34098         * abilist/libdl.abilist: Remove.
34099         * abilist/librt.abilist: Remove.
34100         * abilist/libthread_db.abilist: Remove.
34101         * abilist/libutil.abilist: Remove.
34102         * scripts/extract-abilist.awk: Remove.
34103         * scripts/merge-abilist.awk: Remove.
34104         * sysdeps/generic/libcidn.abilist: New file.
34105         * sysdeps/generic/libnss_compat.abilist: New file.
34106         * sysdeps/generic/libnss_db.abilist: New file.
34107         * sysdeps/generic/libnss_dns.abilist: New file.
34108         * sysdeps/generic/libnss_files.abilist: New file.
34109         * sysdeps/generic/libnss_hesiod.abilist: New file.
34110         * sysdeps/generic/libnss_nis.abilist: New file.
34111         * sysdeps/generic/libnss_nisplus.abilist: New file.
34112         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34113         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34114         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34115         file.
34116         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34117         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34118         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34119         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34120         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34121         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34122         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34123         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34124         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34125         file.
34126         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34127         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34128         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34129         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34130         file.
34131         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34132         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34133         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34134         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34135         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34136         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34137         file.
34138         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34139         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34140         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34141         file.
34142         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34143         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34144         New file.
34145         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34146         New file.
34147         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34148         New file.
34149         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34150         New file.
34151         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34152         New file.
34153         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34154         New file.
34155         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34156         New file.
34157         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34158         New file.
34159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34160         New file.
34161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34162         New file.
34163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34164         New file.
34165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34166         New file.
34167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34168         New file.
34169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34170         file.
34171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34172         New file.
34173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34174         New file.
34175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34176         file.
34177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34178         New file.
34179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34180         New file.
34181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34182         file.
34183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34184         New file.
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34186         New file.
34187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34188         New file.
34189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34190         New file.
34191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34192         New file.
34193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34194         New file.
34195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34197         file.
34198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34199         New file.
34200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34201         file.
34202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34203         file.
34204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34205         file.
34206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34207         file.
34208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34209         file.
34210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34211         New file.
34212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34213         file.
34214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34215         file.
34216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34217         New file.
34218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34219         file.
34220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34222         file.
34223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34224         New file.
34225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34226         file.
34227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34228         file.
34229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34230         file.
34231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34232         file.
34233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34234         file.
34235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34236         New file.
34237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34238         file.
34239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34240         file.
34241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34242         New file.
34243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34244         file.
34245         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34246         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34247         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34248         file.
34249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34250         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34251         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34252         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34253         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34254         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34255         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34256         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34257         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34258         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34261         file.
34262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34263         New file.
34264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34265         file.
34266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34267         file.
34268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34269         file.
34270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34271         file.
34272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34273         file.
34274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34275         New file.
34276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34277         New file.
34278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34279         file.
34280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34281         New file.
34282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34283         file.
34284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34286         file.
34287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34288         New file.
34289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34290         file.
34291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34292         file.
34293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34294         file.
34295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34296         file.
34297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34298         file.
34299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34300         New file.
34301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34302         New file.
34303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34304         file.
34305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34306         New file.
34307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34308         file.
34310 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34312         * conform/conformtest.pl: Fix typo in handling typed-constant from
34313         allow-header.
34315 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34317         * README: Cut down references to pre-2.6 Linux kernels and
34318         Linuxthreads.  Update lists of configurations in libc and ports
34319         and sort alphabetically.  Say "or newer" with Linux kernel version
34320         requirements.
34322         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34324 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34326         [BZ #887]
34327         * math/libm-test.inc (logb_test_downward): New test to expose
34328         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34329         rounding mode.
34331 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34333         [BZ #14027]
34334         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34335         to be done.
34336         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34337         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34339 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34341         * sysdeps/unix/i386/brk.S: Remove file.
34342         * sysdeps/unix/i386/dl-brk.S: Likewise.
34343         * sysdeps/unix/i386/pipe.S: Likewise.
34344         * sysdeps/unix/i386/sigreturn.S: Likewise.
34345         * sysdeps/unix/i386/syscall.S: Likewise.
34346         * sysdeps/unix/i386/vfork.S: Likewise.
34347         * sysdeps/unix/i386/wait.S: Likewise.
34349         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34350         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34352         * configure.in (arm*-none*): Do not allow without
34353         --enable-hacker-mode.
34354         (netbsd*): Remove case setting base_os.
34355         (386bsd*): Likewise.
34356         (freebsd*): Likewise.
34357         (bsdi*): Likewise.
34358         (osf*): Likewise.
34359         (sunos*): Likewise.
34360         (ultrix*): Likewise.
34361         (newsos*): Likewise.
34362         (dynix*): Likewise.
34363         (*bsd*): Likewise.
34364         (sysv*): Likewise.
34365         (isc*): Likewise.
34366         (esix*): Likewise.
34367         (sco*): Likewise.
34368         (minix*): Likewise.
34369         (irix4*): Likewise.
34370         (irix6*): Likewise.
34371         (solaris[2-9]*): Likewise.
34372         (none): Likewise.
34373         * configure: Regenerated.
34375 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34377         [BZ #11521]
34378         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34379         overflow or cancellation in calculating denominator.
34380         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34382         down expression to avoid unexpected rounding in newer GCCs.
34383         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34385 2012-04-26  David S. Miller  <davem@davemloft.net>
34387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34388         long-double compat symbols.
34389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34403 2012-04-25  David S. Miller  <davem@davemloft.net>
34405         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34406         HWCAP_* values only after the memory barriers have been defined.
34407         (atomic_full_barrier): Define.
34408         (atomic_read_barrier): Define.
34409         (atomic_write_barrier): Define.
34411 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34413         * shlib-versions: Add libgcc_s version information.
34414         * sysdeps/generic/libgcc_s.h: Remove.
34415         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34416         libgcc_s.h.
34417         * sysdeps/gnu/unwind-resume.c: Likewise.
34418         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34420 2012-04-25  David S. Miller  <davem@davemloft.net>
34422         * sysdeps/unix/sparc/brk.S: Delete.
34423         * sysdeps/unix/sparc/dl-brk.S: Delete.
34424         * sysdeps/unix/sparc/pipe.S: Delete.
34425         * sysdeps/unix/sparc/sysdep.S: Delete.
34426         * sysdeps/unix/sparc/sysdep.h: Delete.
34427         * sysdeps/unix/sparc/vfork.S: Delete.
34428         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34429         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34430         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34431         (ret_ERRVAL, r0, r1, MOVE): Define.
34432         (JUMPTARGET): Remove.
34433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34434         sysdeps/unix/sparc/sysdep.h
34435         (ENTRY, END): Remove.
34436         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34438 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34440         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34441         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34442         -DIS_IN_build.
34444         * timezone/README: Update upstream location and email address for
34445         tzcode and tzdata.
34446         * timezone/zdump.c: Update from tzcode 2012b.
34447         * timezone/zic.c: Likewise.
34449         * configure.in (libc_cv_as_needed): Remove test.
34450         * configure: Regenerated.
34451         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34452         conditional definition.
34453         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34454         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34455         * config.make.in (have-as-needed): Remove variable.
34457 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34458             Paul Pluzhnikov  <ppluzhnikov@google.com>
34460         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34461         strings correctly.
34463 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34465         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34466         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34467         * sysdeps/sh/strlen.S: Likewise.
34469 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34471         * sysdeps/unix/fork.S: Remove file.
34472         * sysdeps/unix/i386/fork.S: Likewise.
34473         * sysdeps/unix/sparc/fork.S: Likewise.
34475         * sysdeps/unix/system.c: Remove file.
34476         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34478         * sysdeps/unix/getegid.S: Remove file.
34479         * sysdeps/unix/geteuid.S: Likewise.
34481 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34483         * scripts/check-localplt.awk: New file.
34484         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34485         of diff.
34486         * scripts/data/localplt-generic.data: Add a comment.
34488         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34489         NODE when __dir_mkfile failed.
34490         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34491         Reported by Ludovic Courtès <ludo@gnu.org>.
34493 2012-04-24  Andreas Jaeger  <aj@suse.de>
34495         * Makerules (common-clean): Also remove gen-as-const-headers
34496         files.
34498 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34500         * Makerules (native-compile): Do not change working directory for
34501         build.  Use $(OUTPUT_OPTION) in command.
34502         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34504 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34506         [BZ #13886]
34507         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34508         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34509         * math/libm-test.inc (floor_test): Add more tests.
34510         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34512 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34514         * sysdeps/unix/getdents.c: Remove file.
34515         * sysdeps/unix/sysv/getdents.c: Likewise.
34516         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34518         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34519         sysdeps/unix/mman/syscalls.list.
34520         (mmap): Likewise.
34521         (mprotect): Likewise.
34522         (msync): Likewise.
34523         (munmap): Likewise.
34524         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34525         * sysdeps/unix/mman/syscalls.list: Remove.
34526         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34528         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34529         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34530         * configure: Regenerated.
34531         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34532         $(libgcc_s_suffix).
34533         * config.make.in (libgcc_s_suffix): Remove variable.
34535 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34537         * sysdeps/unix/sysv/gethostname.c: Move to ...
34538         * sysdeps/posix/gethostname.c: ... here.
34540         * sysdeps/unix/execve.S: Remove file.
34542         * sysdeps/unix/_exit.S: Remove file.
34544 2012-04-23  Andreas Jaeger  <aj@suse.de>
34546         [BZ #13739]
34547         * manual/Makefile: Remove make dist support, there's no
34548         need for a stand-alone documentation tar ball.
34549         (TEXI2DVI): Define always, it's not in Makeconfig.
34550         (dist): Removed.
34551         (tar-it): Removed.
34552         (edition): Removed.
34553         (glibc-doc-$(edition).tar): Removed
34554         (%.Z): Removed.
34555         (%.gz): Removed.
34556         (%.uu): Removed.
34557         (ETAGS): Remove, it's in Makeconfig.
34558         (move-if-change): Remove, it's in Makeconfig.
34560 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34562         [BZ #13970]
34563         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34564         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34565         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34566         (strtod_l, strtof_l, strtold_l): Remove __wur.
34567         It is not necessarily an error to ignore strtol's return value.
34568         One can reliably look at the stored endptr to decide whether
34569         the number had valid syntax.
34571 2012-04-21  Andreas Jaeger  <aj@suse.de>
34573         [BZ #13739]
34574         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34576 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34578         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34579         * sysdeps/unix/sysv/Versions: Remove file.
34581 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34583         [BZ #13927]
34584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34586 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34588         [BZ #7064]
34589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34590         version from __vm86.
34592 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34594         * sysdeps/unix/common/lxstat.c: Remove file.
34595         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34597         * sysdeps/unix/sysv/Makefile: Remove file.
34599         * sysdeps/unix/sysv/direct.h: Remove file.
34601         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34602         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34603         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34604         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34605         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34606         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34607         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34609         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34611         * sysdeps/unix/xmknod.c: Remove file.
34612         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34614         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34616         * sysdeps/unix/sysv/i386/time.S: Remove file.
34618         * sysdeps/unix/fxstat.c: Remove file.
34619         * sysdeps/unix/xstat.c: Likewise.
34620         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34622         * sysdeps/unix/sysv/sigaction.c: Remove file.
34624         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34625         (sysdep_headers): Remove variable.
34626         [termio.h not in sysdep_headers] (generated): Likewise.
34627         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34628         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34629         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34630         * sysdeps/unix/sysv/tcflow.c: Likewise.
34631         * sysdeps/unix/sysv/tcflush.c: Likewise.
34632         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34633         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34634         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34635         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34636         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34638         * sysdeps/unix/siglist.c: Remove file.
34640         * sysdeps/unix/getppid.S: Remove file.
34642         * sysdeps/unix/mkdir.c: Remove file.
34643         * sysdeps/unix/rmdir.c: Likewise.
34645 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34647         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34648         ERR_MAX value.
34649         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34650         errlist-compat value.
34652 2012-04-18  David S. Miller  <davem@davemloft.net>
34654         * sysdeps/generic/memcopy.h (reg_char): Delete.
34655         * debug/strcat_chk.c: Use char, not reg_char.
34656         * debug/strcpy_chk.c: Likewise.
34657         * debug/strncat_chk.c: Likewise.
34658         * debug/strncpy_chk.c: Likewise.
34659         * string/memchr.c: Likewise.
34660         * string/memrchr.c: Likewise.
34661         * string/rawmemchr.c: Likewise.
34662         * string/strcat.c: Likewise.
34663         * string/strchr.c: Likewise.
34664         * string/strchrnul.c: Likewise.
34665         * string/strcmp.c: Likewise.
34666         * string/strcpy.c: Likewise.
34667         * string/strncat.c: Likewise.
34668         * string/strncmp.c: Likewise.
34669         * string/strncpy.c: Likewise.
34671 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34673         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34674         __builtin_memcopy is called when src and dest ranges are known to not
34675         overlap.
34677 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34679         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34680         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34681         fwd_align_merge macro call.
34682         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34683         bwd_align_merge macro call.
34684         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34686 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34688         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34689         bwd_align_merge macros.
34690         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34691         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34692         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34694 2012-04-18  David S. Miller  <davem@davemloft.net>
34696         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34698 2012-04-18  Andreas Jaeger  <aj@suse.de>
34700         [BZ# 6794]
34701         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34702         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34703         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34705         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34706         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34707         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34709         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34710         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34711         Adjust for changed ldbl-128 files.
34713         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34714         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34715         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34717 2012-04-17  David S. Miller  <davem@davemloft.net>
34719         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34721 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34723         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34724         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34725         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34726         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34727         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34728         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34730 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34732         [BZ #6794]
34733         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34734         * math/libm-test.inc: Add ilogb errno and exception tests.
34735         * math/w_ilogb.c: New file: ilogb wrapper.
34736         * math/w_ilogbf.c: New file: ilogbf wrapper.
34737         * math/w_ilogbl.c: New file: ilogbl wrapper.
34738         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34739         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34740         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34741         exception being thrown with 0.0 as argument.
34742         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34743         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34744         exception being thrown with 0.0 as argument.
34745         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34746         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34747         exception being thrown with 0.0 as argument.
34748         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34749         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34750         exception being thrown with 0.0 as argument.
34751         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34752         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34753         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34754         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34755         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34756         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34757         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34758         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34759         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34761 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34763         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34764         with altivec.
34766 2012-04-16  Marek Polacek  <polacek@redhat.com>
34768         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34770 2012-04-16  Marek Polacek  <polacek@redhat.com>
34772         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34773         operands of fdivp instruction.
34775 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34777         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34778         * elf/tst-auditmod3b.c: Likewise.
34779         * elf/tst-auditmod4b.c: Likewise.
34780         * elf/tst-auditmod5b.c: Likewise.
34781         * elf/tst-auditmod6b.c: Likewise.
34782         * elf/tst-auditmod6c.c: Likewise.
34783         * elf/tst-auditmod7b.c: Likewise.
34784         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34785         * sysdeps/x86_64/preconfigure.in: Likewise.
34786         * sysdeps/x86_64/preconfigure: Regenerated.
34788 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34790         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34791         __ILP32__.
34793 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34795         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34796         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34798 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34800         [BZ #13973]
34801         * locale/iso-639.def: Fix gl language name. Spotted by
34802         Yaron Shahrabani.
34804 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34806         [BZ #2074]
34807         * libio/libio.h (__io_write_fn): Update comment.
34809 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34811         [BZ #2074]
34812         * stdio.texi (Hook Functions): The user provided writer function
34813         is not allowed to return -1.
34815 2012-04-11  David S. Miller  <davem@davemloft.net>
34817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34819 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34821         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34822         Add a leading slash to rtkaio.
34824 2012-04-11  Jim Meyering  <meyering@redhat.com>
34826         [BZ #11959]
34827         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34828         It is not necessarily an error to ignore fwrite's return
34829         value.  One can reliably use ferror to test for errors after
34830         the fact.
34832 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34834         * bits/types.h (__snseconds_t): New type.
34835         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34837         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34839         (__SNSECONDS_T_TYPE): Likewise.
34840         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34841         (__SNSECONDS_T_TYPE): Likewise.
34842         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34843         (__SNSECONDS_T_TYPE): Likewise.
34845 2012-04-10  Andreas Jaeger  <aj@suse.de>
34847         [BZ #2636]
34848         * manual/time.texi (Processor Time): Return type of times is
34849         elapsed real time since an arbitrary point in the past.
34850         (CPU Time): Move CLK_TCK from here...
34851         (Processor Time): ...to here.  Correct description.
34852         * manual/conf.texi (Constants for Sysconf): Correct description of
34853         _SC_CLK_TCK.
34855 2012-04-10  David S. Miller  <davem@davemloft.net>
34857         [BZ #13967]
34858         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34859         where the is a gap between DT_REL(A) and DT_JMPREL.
34861 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34863         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34864         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34865         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34867 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34869         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34870         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34871         (dl_main): Handle --inhibit-cache.
34872         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34873         _dl_inhibit_cache.
34874         * elf/dl-load.c (_dl_map_object): Use it.
34875         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34877 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34879         [BZ #13872]
34880         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34881         (__ieee754_powl): Saturate large exponents rather than testing for
34882         overflow of y*log2(x).
34883         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34884         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34885         exceptions.
34887         [BZ #11521]
34888         * math/s_ctan.c: Include <float.h>.
34889         (__ctan): Avoid internal overflow or cancellation in calculating
34890         denominator.
34891         * math/s_ctanf.c: Likewise.
34892         * math/s_ctanl.c: Likewise.
34893         * math/s_ctanh.c: Likewise.
34894         * math/s_ctanhf.c: Likewise.
34895         * math/s_ctanhl.c: Likewise.
34896         * math/libm-test.inc (ctan_test): Add more tests.
34897         (ctanh_test): Likewise.
34898         * sysdeps/i386/fpu/libm-test-ulps: Update.
34899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34901 2012-04-09  Andreas Jaeger  <aj@suse.de>
34903         [BZ #6894]
34904         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34905         is an optional BSD extension.
34907         [BZ #10254]
34908         * manual/stdio.texi (Opening Streams): Document additional fopen
34909         parameters.
34911 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34913         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34914         %eax without telling the compiler.
34916 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34918         [BZ # 13963]
34919         * manual/install.texi: Use sourceware.org.
34921 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34923         [BZ #13873]
34924         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34925         (__ieee754_pow): Generate overflow and underflow using huge*huge
34926         and tiny*tiny rather than just returning constant infinity or zero
34927         for large exponents.
34928         * math/libm-test.inc (pow_test): Require overflow exceptions for
34929         applicable cases of large exponents.
34931         [BZ #706]
34932         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34933         (__ieee754_pow): Use iterative multiplication algorithm only for
34934         integer exponents with absolute value below 1024.  Check for odd
34935         integer exponents when using algorithm for real exponents.
34936         * math/libm-test.inc (pow_test): Add more tests.
34937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34939 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34941         [BZ #13705]
34942         * math/libm-test.inc (exp_test): Do not allow overflow exception
34943         on underflow test.
34945 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34947         [BZ #13705]
34948         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34949         instead of __kernel_standard_f.
34951 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34953         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34954         * sysdeps/x86_64/memset_chk.S: Likewise.
34956 2012-04-08  Andreas Jaeger  <aj@suse.de>
34958         [BZ #10153]
34959         * manual/startup.texi (Environment Access): Describe return value
34960         for putenv and setenv.
34962         [BZ #6895]
34963         * manual/filesys.texi (Directory Entries): Add description for
34964         DT_LNK.
34966         [BZ #6890]
34967         * manual/filesys.texi (Directory Entries): Clarify that it's file
34968         system not operating system in the description of DT_UNKNOWN.
34970         [BZ #6578]
34971         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34973 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34975         [BZ #6649]
34976         * manual/llio.texi (Opening and Closing Files): Add cross
34977         reference to explain mode argument.
34979 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34981         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34982         * sysdeps/x86_64/memset_chk.S: Likewise.
34984 2012-04-07  David S. Miller  <davem@davemloft.net>
34986         * elf/elf.h (R_SPARC_WDISP10): Define.
34987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34988         R_SPARC_SIZE32.
34989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34990         R_SPARC_SIZE64 and R_SPARC_H34.
34992 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34994         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34995         conditions and remove no longer applicable assertion.
34997 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34999         * bits/byteswap.h: Include <features.h>.
35000         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35001         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35003 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35005         * bits/byteswap.h (__bswap_16): Removed.
35006         Include <bits/byteswap-16.h> to get __bswap_16.
35007         * sysdeps/i386/bits/byteswap.h: Likewise.
35008         * sysdeps/s390/bits/byteswap.h: Likewise.
35009         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35010         * bits/byteswap-16.h: New file.
35011         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35012         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35013         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35014         * string/Makefile (headers): Add bits/byteswap-16.h.
35016 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35018         [BZ #13895]
35019         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35020         extra indirection.
35021         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35022         * nss/tst-nss-static.c: New.
35024 2012-04-06  Robert Millan  <rmh@gnu.org>
35026         [BZ #6486]
35027         * manual/llio.texi (File Position Primitive): lseek
35028         refers to WHENCE when it really means OFFSET.
35030 2012-04-06  Andreas Jaeger  <aj@suse.de>
35032         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35033         strncmp declarations.
35035         * abilist/libc.abilist: Add __poll and __ppoll.
35037 2012-04-05  David S. Miller  <davem@davemloft.net>
35039         * scripts/check-local-headers.sh: Accept a host triplet in the
35040         path matched by the exclude regexp.
35042         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35043         definition.
35044         * sysdeps/powerpc/powerpc32/dl-machine.h
35045         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35046         * sysdeps/s390/s390-32/dl-machine.h
35047         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35048         * sysdeps/sparc/sparc32/dl-machine.h
35049         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35050         * sysdeps/sparc/sparc64/dl-machine.h
35051         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35053         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35054         lazy binding.
35055         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35056         undefined symbol errors.
35058         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35059         DT_NEEDED entries.
35061 2012-04-05  Michael Matz  <matz@suse.de>
35063         [BZ #13592]
35064         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35066 2012-04-05  Andreas Jaeger  <aj@suse.de>
35068         [BZ #13908]
35069         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35070         comment.
35072 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35074         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35075         which ROUND is no valid rounding mode.
35077 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35079         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35080         read again.
35081         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35083 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35085         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35086         an exception using FPU order intentionally.
35088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35090         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35091         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35092         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35093         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35095 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35097         [BZ #12340]
35098         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35099         EINVAL when BUFLEN is too smal.
35101 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35103         [BZ #13553]
35104         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35105         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35107 2012-04-03  Andreas Jaeger  <aj@suse.de>
35109         [BZ #13938]
35110         * manual/setjmp.texi (System V contexts): Fix sentence.
35112         [BZ #13926]
35113         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35114         New macro for this case.
35115         [!__GNUC__] (__bswap_64): New inline function for this case.
35116         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35117         * bits/byteswap.h: Likewise.
35118         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35119         ull, guard with __GLIBC_HAVE_LONG_LONG.
35121         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35122         __GLIBC_HAVE_LONG_LONG.
35124         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35125         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35127 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35129         [BZ #13691]
35130         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35131         inptr and inend, rather than using last_ch.
35133 2012-04-02  David S. Miller  <davem@davemloft.net>
35135         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35136         * stdio-common/printf-parse.h (read_int): Change return type to
35137         'int', return -1 on INT_MAX overflow.
35138         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35139         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35140         overflows INT_MAX.  Check for overflow of in-format-string precision
35141         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35142         SIZE_MAX not INT_MAX for integer overflow test.
35143         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35144         skip the construct in the format string but do not record anything.
35145         * stdio-common/bug22.c: Adjust to test both width/prevision
35146         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35147         explicitly for proper errno values.
35149 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35151         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35152         CHAR_MAX.
35153         * string/test-strcmp.c [! WIDE]: Likewise.
35154         * time/tst-mktime2.c: Likewise for INT_MAX.
35155         * string/test-string.h: #include <sys/param.h> for MIN.
35157         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35158         * sysdeps/i386/init-first.c (init): Likewise.
35159         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35160         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35161         * sysdeps/sh/init-first.c (init): Likewise.
35163 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35165         * po/ru.po: Update from translation team.
35166         * po/vi.po: Likewise.
35168 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35170         * resolv/nss_dns/dns-host.c: Merge copyright years.
35172 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35175         Optimize memcpy with prefetch if
35176         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35177         src, dst pointers have unequal 16 byte alignments.
35179 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35181         [BZ #13928]
35182         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35183         from a CNAME entry and return the minimum ttl for the query.
35184         (gaih_getanswer_slice): Likewise.
35186 2012-03-30  Jeff Law  <law@redhat.com>
35188         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35189         due to long keys.
35190         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35191         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35193         * resolv/nss_dns/dns-host.c: Update copyright year.
35195 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35197         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35198         requests to save a system call.  Fix check that all bytes are sent.
35200         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35201         comments for sendmmsg.
35203 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35205         [BZ #13691]
35206         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35207         with only 1 character between 0x0041 and 0x01b0.
35208         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35209         * wcsmbs/tst-mbsnrtowcs.c: New file.
35211 2012-03-29  David S. Miller  <davem@davemloft.net>
35213         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35214         small copies by hand.
35216 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35218         [BZ #13761]
35219         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35220         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35221         group memberships.
35223 2012-03-28  David S. Miller  <davem@davemloft.net>
35225         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35226         that branches into memcpy.
35227         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35228         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35229         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35230         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35232         bits.
35233         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35234         implementation too.
35235         * sysdeps/sparc/mempcpy.S: New file.
35237         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35238         the IFUNC routine in the libc case.
35239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35241         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35242         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35243         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35244         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35245         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35246         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35247         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35248         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35250         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35251         loop to 256 bytes instead of 64 bytes and fix test signedness.
35253         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35254         * sysdeps/sparc/sparc32/Makefile: rather than here...
35255         * sysdeps/sparc/sparc64/Makefile: and here.
35257 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35259         * malloc/mallocbug.c: Avoid warnings about unused variables.
35261 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35263         [BZ #13760]
35264         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35265         in the right place. Discard and retry query if response is
35266         larger than input buffer size.
35268 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35270         [BZ #369]
35271         [BZ #2678]
35272         [BZ #3866]
35273         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35274         x for large integer exponent.
35275         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35276         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35277         sign of result as needed afterwards.
35278         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35279         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35280         result for underflowing pow the same as for overflow.
35281         (__kernel_standard_l): Handle powl overflow and underflow here
35282         rather than calling __kernel_standard.
35283         * math/libm-test.inc (pow_test): Add more tests.
35285         [BZ #3868]
35286         [BZ #13879]
35287         [BZ #13910]
35288         [BZ #13911]
35289         [BZ #13912]
35290         [BZ #13913]
35291         [BZ #13915]
35292         [BZ #13916]
35293         [BZ #13917]
35294         [BZ #13918]
35295         [BZ #13919]
35296         [BZ #13920]
35297         [BZ #13921]
35298         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35299         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35300         (__kernel_standard_l): New function.
35301         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35302         __kernel_standard.
35303         * math/w_acosl.c (__acosl): Likewise.
35304         * math/w_asinl.c (__asinl): Likewise.
35305         * math/w_atan2l.c (__atan2l): Likewise.
35306         * math/w_atanhl.c (__atanhl): Likewise.
35307         * math/w_coshl.c (__coshl): Likewise.
35308         * math/w_exp10l.c (__exp10l): Likewise.
35309         * math/w_exp2l.c (__exp2l): Likewise.
35310         * math/w_fmodl.c (__fmodl): Likewise.
35311         * math/w_hypotl.c (__hypotl): Likewise.
35312         * math/w_j0l.c (__j0l, __y0l): Likewise.
35313         * math/w_j1l.c (__j1l, __y1l): Likewise.
35314         * math/w_jnl.c (__jnl, __ynl): Likewise.
35315         * math/w_lgammal.c (__lgammal): Likewise.
35316         * math/w_log10l.c (__log10l): Likewise.
35317         * math/w_log2l.c (__log2l): Likewise.
35318         * math/w_logl.c (__logl): Likewise.
35319         * math/w_powl.c (__powl): Likewise.
35320         * math/w_remainderl.c (__remainderl): Likewise.
35321         * math/w_scalbl.c (sysv_scalbl): Likewise.
35322         * math/w_sinhl.c (__sinhl): Likewise.
35323         * math/w_sqrtl.c (__sqrtl): Likewise.
35324         * math/w_tgammal.c (__tgammal): Likewise.
35325         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35326         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35327         * math/libm-test.inc (acos_test): Add more tests.
35328         (acosh_test): Likewise.
35329         (asin_test): Likewise.
35330         (atanh_test): Likewise.
35331         (exp_test): Likewise.
35332         (exp10_test): Likewise.
35333         (exp2_test): Likewise.
35334         (expm1_test): Likewise.
35335         (lgamma_test): Likewise.
35336         (log_test): Likewise.
35337         (log10_test): Likewise.
35338         (log1p_test): Likewise.
35339         (log2_test): Likewise.
35340         (pow_test): Do not allow some spurious overflow exceptions.
35341         (sqrt_test): Add more tests.
35342         (tgamma_test): Likewise.
35343         (y0_test): Likewise.
35344         (y1_test): Likewise.
35345         (yn_test): Likewise.
35347 2012-03-27  Anton Blanchard  <anton@samba.org>
35349         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35350         MAP_HUGETLB.
35351         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35352         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35355 2012-03-27  David S. Miller  <davem@davemloft.net>
35357         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35359         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35360         have-as-vis3 check.
35362 2012-03-27  Andreas Jaeger  <aj@suse.de>
35364         * sysdeps/x86_64/elf/configure.in: Moved to ...
35365         * sysdeps/x86_64/configure.in: ... here.
35366         * sysdeps/x86_64/elf/start.S: Moved to ...
35367         * sysdeps/x86_64/start.S: ... here.
35368         * sysdeps/x86_64/elf/configure: Delete.
35370         * sysdeps/x86_64/configure.in: Merge contents from
35371         sysdeps/i386/configure.in (without i686 check).
35373         * sysdeps/i386/elf/Versions: Merge into ...
35374         * sysdeps/i386/Versions: ... this.
35375         * sysdeps/i386/elf/Versions: Delete file.
35376         * sysdeps/i386/elf/start.S: Moved to ...
35377         * sysdeps/i386/start.S: ...here.
35378         * sysdeps/i386/elf/configure.in: Merge into...
35379         * sysdeps/i386/configure.in: ...here.
35380         * sysdeps/i386/elf/configure.in: Delete file.
35381         * sysdeps/i386/elf/configure: Delete file.
35383         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35384         * debug/backtracesyms.c: ... here.
35385         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35386         * debug/backtracesymsfd.c: ... here.
35387         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35388         * sysdeps/generic/ifunc-sel.h: ... here.
35390         * sysdeps/unix/i386/start.c: Delete file.
35391         * sysdeps/unix/sparc/start.c: Delete file.
35392         * sysdeps/unix/start.c: Delete file.
35394         * sysdeps/sh/elf/configure.in: Moved to ...
35395         * sysdeps/sh/configure.in: ... here.
35396         * sysdeps/sh/elf/start.S: Moved to ...
35397         * sysdeps/sh/start.S: ... here.
35398         * sysdeps/sh/elf/configure: Delete file.
35400         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35401         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35402         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35403         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35404         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35405         * sysdeps/powerpc/powerpc64/start.S: here.
35406         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35407         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35408         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35409         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35410         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35412         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35413         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35414         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35415         * sysdeps/powerpc/powerpc32/start.S: ... here.
35416         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35417         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35418         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35420         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35421         * sysdeps/powerpc/ifunc-sel.h: ... here.
35422         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35423         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35425         * sysdeps/sparc/elf/configure.in: Moved to ...
35426         * sysdeps/sparc/configure.in: ... here.
35427         * sysdeps/sparc/elf/configure: Delete file.
35428         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35429         * sysdeps/sparc/sparc32/start.S: ... here.
35430         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35431         * sysdeps/sparc/sparc64/start.S: ... here.
35432         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35433         * sysdeps/sparc/sparc32/Makefile: ... this.
35434         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35435         * sysdeps/sparc/sparc64/Makefile: ... this.
35437         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35438         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35439         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35440         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35441         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35442         * sysdeps/s390/s390-32/setjmp.S: ... here.
35443         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35444         * sysdeps/s390/s390-32/configure.in: ... here.
35445         * sysdeps/s390/s390-32/elf/configure: Delete file.
35446         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35447         * sysdeps/s390/s390-32/start.S: ... here.
35449         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35450         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35451         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35452         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35453         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35454         * sysdeps/s390/s390-64/setjmp.S: ... here.
35455         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35456         * sysdeps/s390/s390-64/configure.in: ... here
35457         * sysdeps/s390/s390-64/elf/configure: Delete file.
35458         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35459         * sysdeps/s390/s390-64/start.S: ... here.
35460         * sysdeps/s390/s390-64/elf/configure: Delete.
35462         * configure.in: Remove support for elf directories in sysdeps.
35464         * configure: Regenerated.
35465         * sysdeps/i386/configure: Regenerated.
35466         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35467         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35468         * sysdeps/s390/s390-32/configure: Regenerated.
35469         * sysdeps/s390/s390-64/configure: Regenerated.
35470         * sysdeps/sh/configure: Regenerated.
35471         * sysdeps/sparc/configure: Regenerated.
35472         * sysdeps/x86_64/configure: Regenerated.
35474 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35478         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35479         denormal result into account.
35481 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35483         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35484         Reported by Allan McRae <allan@archlinux.org>.
35486 2012-03-23  Jeff Law  <law@redhat.com>
35488         * nss/getnssent.c (__nss_getent): Fix typo.
35490 2012-03-23  David S. Miller  <davem@davemloft.net>
35492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35494 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35496         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35497         to pad to uint64_t for each field.
35498         (dl_tls_index): Replace unsigned long with uint64_t.
35500 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35501         Paul Pluzhnikov  <ppluzhnikov@google.com>
35503         [BZ #6528]
35504         * grp/Makefile (otherlibs): Don't set it.
35505         * inet/Makefile (otherlibs): Likewise.
35506         * login/Makefile (otherlibs): Likewise.
35507         * nscd/Makefile (otherlibs): Likewise.
35508         * posix/Makefile (otherlibs): Likewise.
35509         * pwd/Makefile (otherlibs): Likewise.
35510         * rt/Makefile (otherlibs): Likewise.
35511         * sunrpc/Makefile (otherlibs): Likewise.
35512         * nss/Makefile (otherlibs): Likewise.
35513         Add libnss_files to routines and static-only-routines.
35514         ($(objpfx)getent): Remove rule.
35515         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35516         static-only-routines.
35518 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35520         [BZ #13892]
35521         * math/s_cexp.c: Include <float.h>.
35522         (__cexp): Handle exp result overflowing not necessarily
35523         overflowing both real and imaginary parts of result.
35524         * math/s_cexpf.c: Likewise.
35525         * math/s_cexpl.c: Likewise.
35526         * math/libm-test.inc (cexp_test): Add more tests.
35527         * sysdeps/i386/fpu/libm-test-ulps: Update.
35528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35530 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35532         * include/link.h (ELFW): New macro.
35533         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35534         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35536 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35538         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35539         with uint64_t.
35541 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35543         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35544         declaration.
35545         (struct La_x32_retval): Likewise.
35547 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35549         * sysdeps/x86_64/preconfigure.in: New file.
35550         * sysdeps/x86_64/preconfigure: New generated file.
35552 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35554         [BZ #13824]
35555         * math/e_exp2l.c: Include <float.h>.
35556         (__ieee754_exp2l): Handle overflow and underflow cases
35557         separately.  Only pass fractional part of argument to
35558         __ieee754_expl.
35559         * math/libm-test.inc (exp2_test): Add more tests.
35561         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35562         negating x to take absolute value.
35563         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35564         Likewise.
35565         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35566         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35567         Likewise.
35568         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35569         computing low part if x was negated.
35570         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35572 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35574         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35575         la_x32_gnu_pltexit.
35576         (pltexit): Cast int_retval to ptrdiff_t.
35577         * elf/tst-auditmod3b.c: Likewise.
35578         * elf/tst-auditmod4b.c: Likewise.
35579         * elf/tst-auditmod5b.c: Likewise.
35580         * elf/tst-auditmod6b.c: Likewise.
35581         * elf/tst-auditmod6c.c: Likewise.
35582         * elf/tst-auditmod7b.c: Likewise.
35584         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35585         and x32_gnu_pltexit.
35587         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35588         __ELF_NATIVE_CLASS.
35589         (La_x32_regs): New macro.
35590         (La_x32_retval): Likewise.
35591         (la_x32_gnu_pltenter): New function prototype.
35592         (la_x32_gnu_pltexit): Likewise.
35594 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35596         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35597         exponent.
35599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35601         * configure.in (libc_cv_cc_nofma): Check for option to disable
35602         generation of FMA instructions.
35603         * configure: Regenerate.
35604         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35605         * sysdeps/ieee754/dbl-64/Makefile: New file.
35606         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35607         Remove brandred-fma4.
35608         (CFLAGS-brandred-fma4.c): Remove.
35609         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35610         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35611         define.
35612         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35613         define.
35615 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35617         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35618         LLONG_MAX != LONG_MAX.
35619         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35620         (_fitoa_word): Likewise.
35621         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35622         LLONG_MAX != LONG_MAX.
35623         * stdio-common/_itowa.h: Include <_itoa.h>.
35624         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35625         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35626         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35627         only if not defined.
35628         (_ITOA_WORD_TYPE): Likewise.
35629         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35630         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35632 2012-03-21  David S. Miller  <davem@davemloft.net>
35634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35636 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35638         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35639         of x86_64 when setting libc_cv_slibdir, libdir and
35640         libc_cv_localedir.
35641         * sysdeps/unix/sysv/linux/configure: Regenerated.
35643 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35645         * manual/lang.texi (Old Varargs): Remove section.
35646         (How Variadic): Update menu.
35647         (va_start): Do not mention varargs.h.
35649 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35650             Joseph Myers  <joseph@codesourcery.com>
35652         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35653         link test.
35654         * configure: Regenerated.
35656 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35658         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35659         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35660         conformtest.pl
35662 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35664         * NOTES: Remove.
35665         * Makefile (files-for-dist): Remove NOTES.
35666         (NOTES): Remove rule.
35667         * README: Don't refer to NOTES.
35668         * manual/creature.texi: Don't include macros.texi.
35669         * manual/intro.texi (creature.texi): Remove comment referring to
35670         NOTES.
35672         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35673         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35674         * configure: Regenerated.
35675         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35676         LIBC_TRY_CC_OPTION.
35677         (libc_cv_as_i686): Likewise.
35678         (libc_cv_cc_avx): Likewise.
35679         (libc_cv_cc_sse2avx): Likewise.
35680         (libc_cv_cc_fma4): Likewise.
35681         (libc_cv_cc_novzeroupper): Likewise.
35682         * sysdeps/i386/configure: Regenerated.
35684         [BZ #13883]
35685         * sysdeps/i386/fpu/s_cexp.S: Remove.
35686         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35687         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35688         * math/libm-test.inc (cexp_test): Add more tests.
35689         * sysdeps/i386/fpu/libm-test-ulps: Update.
35690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35692 2012-03-21  Allan McRae  <allan@archlinux.org>
35694         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35696 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35698         [BZ #13871]
35699         * math/w_exp2.c: Do not include <float.h>.
35700         (o_threshold, u_threshold): Remove.
35701         (__exp2): Calculate result before checking finiteness and calling
35702         __kernel_standard.
35703         * math/w_exp2f.c: Likewise.
35704         * math/w_exp2l.c: Likewise.
35705         * math/libm-test.inc (exp2_test): Require overflow exception for
35706         1e6 input.
35708         [BZ #3866]
35709         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35710         range of signed 64-bit integers before using fistpll.  Remove
35711         checks for whether integers fit in mantissa bits.
35712         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35713         the range of signed 32-bit integers before using fistpl.  Remove
35714         checks for whether integers fit in mantissa bits.
35715         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35716         (__ieee754_powl): Test for y outside the range of signed 64-bit
35717         integers before using fistpll.  Reduce 64-bit values to 63-bit
35718         ones as needed.
35719         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35720         divide-by-zero is raised for zero to large negative powers.
35721         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35722         (__ieee754_powl): Test for y outside the range of signed 64-bit
35723         integers before using fistpll.  Reduce 64-bit values to 63-bit
35724         ones as needed.
35725         * math/libm-test.inc (pow_test): Add more tests.
35727 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35729         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35730         <stdio-common/_itoa.h>.
35731         * debug/segfault.c: Likewise.
35732         * elf/dl-cache.c: Likewise.
35733         * elf/dl-minimal.c: Likewise.
35734         * elf/dl-misc.c: Likewise.
35735         * elf/dl-sysdep.c: Likewise.
35736         * elf/dl-version.c: Likewise.
35737         * elf/rtld.c: Likewise.
35738         * hurd/hurdsock.c: Likewise.
35739         * hurd/lookup-retry.c: Likewise.
35740         * malloc/malloc.c: Likewise.
35741         * malloc/mtrace.c: Likewise.
35742         * nscd/nscd_getgr_r.c: Likewise.
35743         * nscd/nscd_getpw_r.c: Likewise.
35744         * nscd/nscd_getserv_r.c: Likewise.
35745         * posix/getopt_init.c: Likewise.
35746         * posix/wordexp.c: Likewise.
35747         * stdio-common/_itoa.c: Likewise.
35748         * stdio-common/printf_fphex.c: Likewise.
35749         * stdio-common/vfprintf.c: Likewise.
35750         * string/_strerror.c: Likewise.
35751         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35752         * sysdeps/i386/i686/hp-timing.h: Likewise.
35753         * sysdeps/mach/_strerror.c: Likewise.
35754         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35755         * sysdeps/mach/hurd/sethostid.c: Likewise.
35756         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35757         * sysdeps/mach/xpg-strerror.c: Likewise.
35758         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35759         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35760         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35761         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35762         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35763         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35764         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35765         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35766         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35767         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35768         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35769         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35770         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35771         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35772         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35773         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35774         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35775         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35776         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35777         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35778         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35780         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35782         * stdio-common/_itoa.h: Moved to ...
35783         * sysdeps/generic/_itoa.h: Here.
35785         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35787         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35788         instead of "_itoa.h" and "_itowa.h".
35789         * stdio-common/vfprintf.: Likewise.
35791 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35793         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35794         <bits/wordsize.h>.
35795         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35796         (__signbit): Likwise.
35797         (llrintf): Likwise.
35798         (llrint): Likwise.
35800 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35802         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35803         __WORDSIZE != 64.
35805 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35807         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35808         OVERFLOW_EXCEPTION_OK.
35809         * math/libm-test.inc ("Philosophy"): Update comment about
35810         exception testing.
35811         (OVERFLOW_EXCEPTION): Define.
35812         (OVERFLOW_EXCEPTION_OK): Likewise.
35813         (INVALID_EXCEPTION_OK): Renumber.
35814         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35815         (IGNORE_ZERO_INF_SIGN): Likewise.
35816         (test_exceptions): Handle FE_OVERFLOW.
35817         (exp10_test): Expect overflow exceptions.
35818         (exp2_test): Likewise.
35819         (expm1_test): Likewise.
35820         (nextafter_test): Likewise.
35821         (pow_test): Likewise.
35822         (scalbn_test): Likewise.
35823         (scalbln_test): Likewise.
35825 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35827         * sysdeps/x86_64/bits/atomic.h
35828         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35829         64bit integer.
35830         (atomic_exchange_acq): Likewise.
35831         (__arch_exchange_and_add_body): Likewise.
35832         (__arch_add_body): Likewise.
35833         (atomic_add_negative): Likewise.
35834         (atomic_add_zero): Likewise.
35836 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35838         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35839         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35843         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35844         Check __x86_64__ instead of __WORDSIZE.
35846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35848         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35850 2012-03-19  David S. Miller  <davem@davemloft.net>
35852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35854         * sysdeps/sparc/fpu/fenv_private.h: New file.
35855         * sysdeps/sparc/fpu/math_private.h: Use it.
35856         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35857         Remove.
35858         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35859         (libc_feholdexcept_setroundl): Remove.
35860         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35861         Remove.
35862         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35863         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35865 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35867         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35868         int64_t instead of long int.
35869         (INSERT_WORDS64): Likwise.
35871 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35873         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35874         _Unwind_GetCFA return to _Unwind_Ptr first.
35876 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35878         [BZ #13629]
35879         * math/s_clog.c: Include <float.h>.
35880         (__clog): Scale large or subnormal inputs.
35881         * math/s_clogf.c: Likewise.
35882         * math/s_clogl.c: Likewise.
35883         * math/s_clog10.c: Include <float.h>.
35884         (M_LOG10_2): Define.
35885         (__clog10): Scale large or subnormal inputs.
35886         * math/s_clog10f.c: Likewise.
35887         * math/s_clog10l.c: Likewise.
35888         * math/libm-test.inc (clog_test): Add more tests.
35889         (clog10_test): Likewise.
35890         * sysdeps/i386/fpu/libm-test-ulps: Update.
35891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35893         [BZ #11451]
35894         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35895         x and y.
35896         * math/libm-test.inc (atan2_test): Add another test.
35898         * Makerules (common-objdir-compile): Remove.
35899         * sysdeps/unix/Makefile (config-generated): Do not add
35900         $(unix-generated) to variable.
35901         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35902         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35903         Remove rule.
35904         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35905         Likewise.
35906         [generic bits/local_lim.h] (before-compile): Do not append to
35907         variable.
35908         [generic bits/local_lim.h] (common-generated): Likewise.
35909         [generic sys/param.h] (before-compile): Do not append to variable.
35910         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35911         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35912         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35913         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35914         include.
35915         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35916         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35917         [generic sys/param.h] ($(addprefix
35918         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35919         [generic sys/param.h] (common-generated): Do not append to
35920         variable.
35921         [generic sys/param.h] (sysdep_headers): Likewise.
35922         [generic bits/errno.h] (before-compile): Do not append to
35923         variable.
35924         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35925         rule.
35926         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35927         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35928         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35929         [generic bits/errno.h] (common-generated): Do not append to
35930         variable.
35931         [generic bits/ioctls.h] (before-compile): Do not append to
35932         variable.
35933         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35934         rule.
35935         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35936         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35937         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35938         rule.
35939         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35940         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35941         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35942         [generic bits/ioctls.h] (common-generated): Do not append to
35943         variable.
35944         [generic sys/syscall.h] (syscall.h): Remove variable.
35945         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35946         rule.
35947         [generic sys/syscall.h] (before-compile): Do not append to
35948         variable.
35949         [generic sys/syscall.h] (common-generated): Likewise.
35950         * sysdeps/unix/errnos-tmpl.c: Remove file.
35951         * sysdeps/unix/errnos.awk: Likewise.
35952         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35953         * sysdeps/unix/ioctls.awk: Likewise.
35954         * sysdeps/unix/mk-local_lim.c: Likewise.
35955         * sysdeps/unix/snarf-ioctls: Likewise.
35957 2012-03-19  Richard Henderson  <rth@twiddle.net>
35959         * sysdeps/i386/fpu/fenv_private.h: New file.
35960         * sysdeps/i386/fpu/math_private.h: Use it.
35961         (math_opt_barrier, math_force_eval): Remove.
35962         (libc_feholdexcept_setround_53bit): Remove.
35963         (libc_feupdateenv_53bit): Remove.
35964         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35965         (math_opt_barrier, math_force_eval): Remove.
35966         (libc_feholdexcept): Remove.
35967         (libc_feholdexcept_setround): Remove.
35968         (libc_fetestexcept, libc_fesetenv): Remove.
35969         (libc_feupdateenv_test): Remove.
35970         (libc_feupdateenv, libc_feholdsetround): Remove.
35971         (libc_feresetround): Remove.
35973         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35974         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35976         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35977         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35978         (libc_feupdateenv_testl): New.
35979         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35980         (libc_feupdateenv_testf): New.
35981         (libc_feupdateenv): Use libc_feupdateenv_test.
35982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35983         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35985         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35986         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35987         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35988         (libc_feresetround_noex): New.
35989         (libc_feresetround_noexf): New.
35990         (libc_feresetround_noexl): New.
35991         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35992         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35993         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35994         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35995         SET_RESTORE_ROUND.
35996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35998         (__cos): Likewise.
35999         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36000         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36001         SET_RESTORE_ROUND_NOEX.
36002         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36003         SET_RESTORE_ROUND_NOEXF.
36004         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36005         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36006         (libc_feholdsetroundf): New.
36007         (libc_feresetround, libc_feresetroundf): New.
36009         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36010         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36011         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36013         * sysdeps/generic/math_private.h: Include <fenv.h>.
36014         (default_libc_feholdexcept): New.
36015         (default_libc_feholdexcept_setround): New.
36016         (default_libc_fesetenv, default_libc_feupdateenv): New.
36017         (libc_feholdexcept): Only define if undefined.
36018         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36019         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36020         (libc_feholdexcept_setroundl): Likewise.
36021         (libc_feholdexcept_setround_53bit): Likewise.
36022         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36023         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36024         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36025         (libc_feupdateenv_53bit): Likewise.
36026         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36027         (libc_feholdexcept): Convert from macro to inline function.
36028         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36029         (libc_fesetenv, libc_feupdateenv): Likewise.
36031         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36032         not previously defined.
36033         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36034         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36035         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36036         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36037         * sysdeps/ieee754/flt-32/math_private.h: New file.
36038         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36039         math_private.h below SET_FLOAT_WORD.
36040         (__isnan, __isinf_ns, __finite): Remove.
36041         (__isnanf, __isinf_nsf, __finitef): Remove.
36043 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36047 2012-03-17  David S. Miller  <davem@davemloft.net>
36049         [BZ #6471]
36050         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36051         for 2.16.
36053 2012-03-16  David S. Miller  <davem@davemloft.net>
36055         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36056         warnings.
36058         [BZ #6471]
36059         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36060         properly.
36061         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36062         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36063         sysdep_routines when subdir is sysvipc.
36064         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36065         __getshmlba helper.
36067         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36069 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36071         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36072         [__LP64__].
36074 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36076         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36077         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36078         (__lround): Renamed to ...
36079         (__llround): This.  Replace long int with long long int.
36080         Define lround functions as aliases of llround functions.
36081         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36083 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36085         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36086         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36087         adresses to uintptr_t.  Replace "long int" and "unsigned long
36088         int" with "greg_t" on va_arg.
36090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36092         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36093         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36095         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36096         Move e_machine check before EI_CLASS check.  Handle x32
36097         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36098         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36099         SKIP_EM_IA_64 and include
36100         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36102         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36103         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36104         (add_system_dir): New macro.
36106         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36107         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36109 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36111         [BZ #2551]
36112         [BZ #2552]
36113         [BZ #2553]
36114         [BZ #2554]
36115         [BZ #2562]
36116         [BZ #2563]
36117         [BZ #2565]
36118         [BZ #2566]
36119         [BZ #2576]
36120         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36121         (y0): Likewise.
36122         * math/w_j0f.c (j0f): Likewise.
36123         (y0f): Likewise.
36124         * math/w_j0l.c (__j0l): Likewise.
36125         (__y0l): Likewise.
36126         * math/w_j1.c (j1): Likewise.
36127         (y1): Likewise.
36128         * math/w_j1f.c (j1f): Likewise.
36129         (y1f): Likewise.
36130         * math/w_j1l.c (__j1l): Likewise.
36131         (__y1l): Likewise.
36132         * math/w_jn.c (jn): Likewise.
36133         (yn): Likewise.
36134         * math/w_jnf.c (jnf): Likewise.
36135         (ynf): Likewise.
36136         * math/w_jnl.c (__jnl): Likewise.
36137         (__ynl): Likewise.
36138         * math/libm-test.inc (j0_test): Add more tests.
36139         (j1_test): Likewise.
36140         (jn_test): Likewise.  Add trailing semicolon to existing test.
36141         (y0_test): Likewise.
36142         (y1_test): Likewise.
36143         * sysdeps/i386/fpu/libm-test-ulps: Update.
36144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36146         [BZ #13851]
36147         [BZ #13854]
36148         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36149         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36150         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36151         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36152         (__tanl): Set errno for infinite argument.
36153         * sysdeps/i386/fpu/mptan.c: Remove.
36154         * sysdeps/i386/fpu/s_tan.S: Likewise.
36155         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36156         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36157         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36158         * math/libm-test.inc (tan_test): Add more tests and enable more
36159         tests for double and long double.
36160         * sysdeps/i386/fpu/libm-test-ulps: Update.
36161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36163 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36165         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36166         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36168 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36170         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36171         * configure.in: Use it for both main tree and add-ons.
36172         * configure: Regenerated.
36174 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36176         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36178 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36180         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36181         in comment.
36183         [BZ #13851]
36184         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36185         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36186         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36187         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36188         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36189         infinite argument.
36190         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36192         != 0 for prec == 2.
36193         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36194         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36195         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36196         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36197         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36198         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36199         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36200         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36201         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36202         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36203         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36204         * math/libm-test.inc (cos_test): Add more tests and enable more
36205         tests for long double.
36206         (sin_test): Likewise.
36207         (sincos_test): Likewise.
36208         * sysdeps/i386/fpu/libm-test-ulps: Update.
36209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36211 2012-03-16  David S. Miller  <davem@davemloft.net>
36213         * sysdeps/sparc/fpu/math_private.h: New file.
36215 2012-03-15  David S. Miller  <davem@davemloft.net>
36217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36218         file.
36219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36221         file.
36222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36228         sysdep routines.
36229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36231         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36232         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36234         * sysdeps/sparc/sparc-ifunc.h: New file.
36235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36236         sparc-ifunc.h
36237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36239         Likewise.
36240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36241         Likewise.
36242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36246         Likewise.
36247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36252         Likewise.
36253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36254         Likewise.
36255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36273         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36275         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36280 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36282         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36283         scaling.
36284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36286 2012-03-15  Andreas Jaeger  <aj@suse.de>
36288         [BZ #13852]
36289         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36290         ieee754/flt-32 implementation for sin, cos and sincos.
36291         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36292         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36293         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36294         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36295         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36296         ieee754/flt-32 implementation for tan.
36298         * math/libm-test.inc (cos_test): Enable some large input tests for
36299         float as well
36300         (sin_test): Likewise.
36301         (sincos_test): Likewise.
36302         (tan_test): Add tests for large input.
36304         * sysdeps/i386/fpu/libm-test-ulps: Update.
36306 2012-03-15  Andreas Jaeger  <aj@suse.de>
36308         [BZ #13658]
36309         * math/libm-test.inc (cos_test): Add more test cases.
36310         (sin_test): Likewise.
36311         (sincos_test): Likewise.
36313 2012-03-15  Andreas Jaeger  <aj@suse.de>
36315         [BZ #13837]
36316         * math/libm-test.inc (cos_test): Add a test case for large input
36317         value.
36318         (sin_test): Likewise.
36319         (sincos_test): Likewise.
36321 2012-03-15  Andreas Jaeger  <aj@suse.de>
36322             Joseph Myers  <joseph@codesourcery.com>
36324         [BZ #13658]
36325         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36326         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36327         * sysdeps/i386/fpu/branred.c: Likewise.
36328         * sysdeps/i386/fpu/dosincos.c: Likewise.
36329         * sysdeps/i386/fpu/mpa.c: Likewise.
36330         * sysdeps/i386/fpu/s_cos.S: Likewise.
36331         * sysdeps/i386/fpu/s_sin.S: Likewise.
36332         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36333         * sysdeps/i386/fpu/sincos32.c: Likewise.
36335         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36336         Define.
36337         (libc_feupdateenv_53bit): Define.
36338         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36339         Define.
36340         (libc_feupdateenv_53bit): Define.
36342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36343         53 bit (without extend i386 double precision).
36345         * math/libm-test.inc (sincos_test): Add tests for large input.
36346         (sin): Likewise.
36347         (cos): Likewise.
36349         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36351 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36355 2012-03-15  David S. Miller  <davem@davemloft.net>
36357         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36358         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36359         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36360         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36373         file.
36374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36376         file.
36377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36379         file.
36380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36382         file.
36383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36385         fmin/fmax sysdep routines.
36386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36388 2012-03-14  David S. Miller  <davem@davemloft.net>
36390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36393         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36394         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36395         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36396         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36397         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36398         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36405         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36406         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36410         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36411         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36412         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36413         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36414         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36415         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36416         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36417         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36419         routines.
36420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36421         file.
36422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36424         file.
36425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36427         file.
36428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36430         file.
36431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36433         file.
36434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36436         file.
36437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36438         file.
36439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36440         file.
36441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36442         file.
36443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36444         New file.
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36446         file.
36447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36448         file.
36449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36451         file.
36452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36454         file.
36455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36457         file.
36458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36460         VIS3 routines.
36462         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36463         New file.
36465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36467         * sysdeps/sparc/configure.in: New file.
36468         * sysdeps/sparc/configure: Generate.
36469         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36470         * configure: Regenerate.
36471         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36472         * config.make.in (have-as-vis3): New.
36473         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36474         available use -Av9d instead of -Av9a.
36475         * sysdeps/sparc/sparc64/Makefile: Likewise.
36476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36478         New file.
36479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36480         file.
36481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36482         New file.
36483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36484         file.
36485         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36486         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36487         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36488         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36489         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36491         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36492         fzeros/fnegs to load 0x80000000 into a float register instead of
36493         using the stack.
36494         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36496 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36499         bits/syscall.h.
36500         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36501         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36502         ($(inst_includedir)/bits/syscall.h): Remove rule.
36503         ($(objpfx)bits/syscall.d): Include instead of
36504         $(objpfx)syscall-list.d.
36505         (generated): Change syscall-list.h and syscall-list.d to
36506         bits/syscall.h and bits/syscall.d.
36508 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36510         [BZ #13846]
36511         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36513 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36515         [BZ #13841]
36516         * math/s_csqrt.c: Include <float.h>.
36517         (__csqrt): Scale large or subnormal inputs.
36518         * math/s_csqrtf.c: Likewise.
36519         * math/s_csqrtl.c: Likewise.
36520         * math/libm-test.inc (csqrt_test): Add more tests.
36521         * sysdeps/i386/fpu/libm-test-ulps: Update.
36522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36524         [BZ #13840]
36525         * math/libm-test.inc (hypot_test): Add more tests.
36527 2012-03-13  David S. Miller  <davem@davemloft.net>
36529         [BZ #13840]
36530         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36531         double-precision for the calculation instead of scaling.
36533 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36535         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36536         manipulate bits before adding and subtracting TWO52[sx].
36537         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36538         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36539         Likewise.
36540         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36542 2012-03-13  David S. Miller  <davem@davemloft.net>
36544         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36545         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36547         rtld-global-offsets.h
36548         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36550         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36551         large parameters.
36553         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36555         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36556         'err' in the ifdef scope in which it is actually used.
36558         * nss/nss_db/db-init.c: Include string.h
36560 2012-03-12  David S. Miller  <davem@davemloft.net>
36562         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36563         masking out of the most significant byte of random value used.
36564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36565         Fix coding style in previous change.
36567         * sysdeps/unix/sysv/linux/kernel-features.h
36568         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36569         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36570         expression.
36571         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36572         later.
36574 2012-03-11  David S. Miller  <davem@davemloft.net>
36576         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36577         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36578         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36579         for 'resultvar' otherwise things get truncated on 64-bit.
36581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36582         Fix masking out of the most significant byte of random value used.
36584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36586 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36590 2012-03-09  David S. Miller  <davem@davemloft.net>
36592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36593         variables with appropriate CPP guards.
36594         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36595         from the frame pointer, not the stack pointer.  Correct layout
36596         comments.  Fix test on resulting framesize and the management of
36597         the outregs buffer for pltexit.  Preserve floating point return
36598         values across _dl_call_pltexit call.
36599         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36600         framesize and the management of the outregs buffer for pltexit.
36601         Preserve floating point return values across _dl_call_pltexit
36602         call.
36603         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36604         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36605         (la_sparc64_gnu_pltexit): New functions.
36606         (print_exit): Fix format string for return register value.
36608 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36610         * sunrpc/Makefile (others): Add rpcgen.
36611         ($(objpfx)rpcgen): Remove special build rule and dependency on
36612         libc.
36613         * sunrpc/rpcgen.c: New file.
36615 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36617         [BZ #13673]
36618         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36619         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36620         * sysdeps/i386/crti.S: Likewise.
36621         * sysdeps/i386/crtn.S: Likewise.
36622         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36623         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36624         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36625         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36626         * sysdeps/sh/crti.S: Likewise.
36627         * sysdeps/sh/crtn.S: Likewise.
36628         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36630         [BZ #13673]
36631         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36632         with URL.
36633         * locale/programs/locfile-kw.gperf: Likewise.
36634         * locale/programs/charmap-kw.h: Regenerated.
36635         * locale/programs/locfile-kw.h: Likewise.
36637         [BZ #13673]
36638         * intl/plural.y: Replace FSF snail mail address with URL.
36639         * intl/plural.c: Regenerated.
36641 2012-03-09  Richard Henderson  <rth@twiddle.net>
36643         * include/math_private.h: Remove file.
36644         * math/math_private.h: Move file ...
36645         * sysdeps/generic/math_private.h: ... here.
36647         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36648         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36649         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36651         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36652         and <math_private.h>.
36653         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36654         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36655         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36656         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36657         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36658         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36659         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36661         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36662         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36664         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36665         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36667         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36668         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36669         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36670         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36672         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36674         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36675         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36677         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36678         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36679         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36680         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36681         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36682         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36683         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36684         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36685         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36686         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36687         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36688         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36689         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36690         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36691         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36692         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36693         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36694         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36695         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36696         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36697         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36698         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36699         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36700         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36701         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36702         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36703         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36704         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36705         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36706         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36707         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36716         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36717         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36718         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36719         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36721         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36722         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36723         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36736         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36737         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36739         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36740         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36741         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36742         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36743         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36744         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36745         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36746         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36747         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36748         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36749         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36750         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36751         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36752         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36753         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36754         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36755         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36756         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36757         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36758         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36759         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36760         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36761         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36762         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36763         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36764         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36765         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36766         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36767         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36768         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36769         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36770         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36771         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36772         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36774         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36775         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36776         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36777         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36778         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36780         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36781         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36782         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36783         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36784         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36785         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36786         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36787         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36788         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36789         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36790         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36791         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36792         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36793         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36794         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36795         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36796         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36797         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36798         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36799         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36800         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36801         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36802         * sysdeps/ieee754/k_standard.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36829         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36834         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36836         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36839         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36840         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36841         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36842         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36844         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36847         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36853         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36854         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36855         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36863         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36902         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36910         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36914         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36916         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36917         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36918         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36922         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36923         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36925         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36930         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36935         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36944         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36950         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36951         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36952         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36953         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36955         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36956         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36957         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36958         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36959         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36960         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36961         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36962         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36963         * sysdeps/ieee754/s_lib_version.c: Likewise.
36964         * sysdeps/ieee754/s_matherr.c: Likewise.
36965         * sysdeps/ieee754/s_signgam.c: Likewise.
36966         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36967         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36968         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36969         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36970         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36971         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36972         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36973         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36974         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36975         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36976         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36977         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36978         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36979         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36980         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36981         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36982         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36983         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36984         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36985         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36986         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36988 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36990         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36991         * sunrpc/rpc_main.c: Likewise.
36992         * sunrpc/rpc_svcout.c: Likewise.
36994 2012-03-09  David S. Miller  <davem@davemloft.net>
36996         * include/math_private.h: New file.
36998 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37000         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37001         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37002         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37003         from <bits/socket_type.h>.
37004         (enum __socket_type): Don't define here.
37005         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37007         bits/socket_type.h.
37009         [BZ #13566]
37010         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37011         checking __USE_GNU.
37013         * Makerules ($(inst_includedir)/%.h): New rule.
37014         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37015         (install-others): Remove variable setting.
37016         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37018 2012-03-08  Richard Henderson  <rth@twiddle.net>
37020         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37021         from macro to inline function; merge with the
37022         !__LIBC_INTERNAL_MATH_INLINES version.
37023         (__ieee754_sqrtf): Likewise.
37025         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37026         to inline function.
37027         (__rintf, __floor, __floorf): Likewise.
37029         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37030         macro to inline function.
37031         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37034         not <math/math_private.h>.
37036 2012-03-08  David S. Miller  <davem@davemloft.net>
37038         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37039         copyright year.
37040         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37042 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37044         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37045         normalization.
37046         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37047         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37049 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37051         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37052         be defined individually, they must be defined as a block.  Define
37053         S for printing a string instead of hidint the different by using a
37054         macro for adding the 'l'.
37055         * stdio-common/tst-fphex-wide.c: Adjust.
37057 2012-03-07  Marek Polacek  <polacek@redhat.com>
37059         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37061 2012-03-08  Marek Polacek  <polacek@redhat.com>
37063         [BZ #13806]
37064         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37065         * stdio-common/tst-fphex.c: Define a few macros to make the
37066         test reusable.  Use them.
37067         * stdio-common/tst-fphex-wide.c: New file.
37069 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37071         [BZ #6911]
37072         * manual/macros.texi (gnusystems): New macro.
37073         (nongnusystems): Likewise.
37074         (gnulinuxhurdsystems): Likewise.
37075         (gnuhurdsystems): Likewise..
37076         (gnulinuxsystems): Likewise.
37077         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37078         variants of the GNU system, not "GNU system".
37079         * manual/conf.texi: Likewise.
37080         * manual/errno.texi: Likewise.  Update example of errno macro
37081         expansion.
37082         * manual/filesys.texi: Likewise.
37083         (getumask): Document as specific to GNU/Hurd.
37084         * manual/install.texi: Likewise.  Reword some references to
37085         GNU/Linux.
37086         * manual/intro.texi: Likewise.
37087         * manual/io.texi: Likewise.
37088         (File Name Portability): Detail which constraints are inapplicable
37089         to all GNU systems and which are only inapplicable to GNU/Hurd.
37090         * manual/job.texi: Likewise.
37091         * manual/llio.texi: Likewise.
37092         (O_NOCTTY): Document as present on GNU/Linux.
37093         * manual/maint.texi: Likewise.
37094         * manual/memory.texi: Likewise.
37095         * manual/pattern.texi: Likewise.
37096         * manual/pipe.texi: Likewise.
37097         * manual/process.texi: Likewise.
37098         * manual/resource.texi: Likewise.
37099         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37100         child on GNU/Hurd.
37101         * manual/setjmp.texi: Likewise.
37102         * manual/signal.texi: Likewise.
37103         * manual/startup.texi: Likewise.
37104         * manual/stdio.texi: Likewise.
37105         * manual/terminal.texi: Likewise.
37106         (ONLCR): Document as POSIX.
37107         (OXTABS): Document availability on GNU/Linux as XTABS.
37108         (ONOEOT): Document availability separately from other bits.
37109         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37110         * manual/time.texi: Likewise.
37111         * manual/users.texi: Likewise.
37112         * INSTALL: Regenerated.
37113         * sysdeps/gnu/errlist.c: Regenerated.
37115         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37116         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37117         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37118         puts.
37119         * configure: Regenerated.
37121 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37123         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37124         default includes instead of AC_HEADER_CHECK.
37125         * sysdeps/i386/configure: Regenerated.
37127         [BZ #10716]
37128         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37129         * math/s_cacoshf.c (__cacoshf): Likewise.
37130         * math/s_cacoshl.c (__cacoshl): Likewise.
37131         * math/s_casinh.c (__casinh): Set signs of result from argument.
37132         * math/s_casinhf.c (__casinhf): Likewise.
37133         * math/s_casinhl.c (__casinhl): Likewise.
37134         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37135         (casinh_test): Add more tests.
37136         * sysdeps/i386/fpu/libm-test-ulps: Update.
37137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37139 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37141         * po/zh_TW.po: Update from translation team.
37143         * login/Makefile (distribute): Remove variable.
37144         * catgets/Makefile: Likewise.
37145         * mach/Makefile: Likewise.
37146         * malloc/Makefile: Likewise.
37147         * misc/Makefile: Likewise.
37148         * iconv/Makefile: Likewise.
37149         * nscd/Makefile: Likewise.
37150         * hurd/Makefile: Likewise.
37151         * manual/Makefile: Likewise.
37152         * locale/Makefile: Likewise.
37153         * intl/Makefile: Likewise.
37154         * conform/Makefile: Likewise.
37155         * nss/Makefile: Likewise.
37156         * time/Makefile: Likewise.
37157         * soft-fp/Makefile: Likewise.
37158         * dirent/Makefile: Likewise.
37159         * gmon/Makefile: Likewise.
37160         * po/Makefile: Likewise.
37161         * rt/Makefile: Likewise.
37162         * socket/Makefile: Likewise.
37163         * math/Makefile: Likewise.
37164         * signal/Makefile: Likewise.
37165         * debug/Makefile: Likewise.
37166         * elf/Makefile: Likewise.
37167         * timezone/Makefile: Likewise.
37168         * stdlib/Makefile: Likewise.
37169         * iconvdata/Makefile: Likewise.
37170         * sunrpc/Makefile: Likewise.
37171         * io/Makefile: Likewise.
37172         * argp/Makefile: Likewise.
37173         * inet/Makefile: Likewise.
37174         * hesiod/Makefile: Likewise.
37175         * grp/Makefile: Likewise.
37176         * csu/Makefile: Likewise.
37177         * wctype/Makefile: Likewise.
37178         * crypt/Makefile: Likewise.
37179         * libio/Makefile: Likewise.
37180         * string/Makefile: Likewise.
37181         * nis/Makefile: Likewise.
37182         * resolv/Makefile: Likewise.
37183         * stdio-common/Makefile: Likewise.
37184         * wcsmbs/Makefile: Likewise.
37185         * dlfcn/Makefile: Likewise.
37186         * posix/Makefile: Likewise.
37188         [BZ #6959]
37189         * timezone/Makefile: Don't install timezone files, just the programs
37190         and scripts.
37192 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37194         * nss/databases.def: Add missing gshadow entry.
37196         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37198 2012-03-06  Marek Polacek  <polacek@redhat.com>
37200         [BZ #13726]
37201         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37202         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37203         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37204         * stdio-common/tst-long-dbl-fphex.c: New file.
37206 2012-03-06  David S. Miller  <davem@davemloft.net>
37208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37209         (set_obp_int): New function.
37210         (get_obp_int): New function.
37211         (__get_clockfreq_via_dev_openprom): Likewise.
37212         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37213         Avoid unused variable warnings on 'val' and use builtin_expect.
37214         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37215         __builtin_expect.
37216         (INLINE_CLONE_SYSCALL): Likewise.
37218 2012-03-05  David S. Miller  <davem@davemloft.net>
37220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37222 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37226         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37227         only for |x| >= 40.
37228         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37230 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37233         Replace gettimeofday with __vdso_gettimeofday.
37235         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37236         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37237         __vdso_clock_gettime and __vdso_getcpu.
37239         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37240         time with __vdso_time.
37242 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37244         * manual/lang.texi (size_t): Note types to which size_t may be
37245         equivalent with the GNU C Library, but do not describe when
37246         differences between them are significant.
37248 2012-03-05  Andreas Jaeger  <aj@suse.de>
37250         * sysdeps/i386/fpu/libm-test-ulps: Update.
37252 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37254         [BZ #3976]
37255         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37256         (__ieee754_pow): Save and restore rounding mode and use
37257         round-to-nearest for main computations.
37258         * math/libm-test.inc (pow_test_tonearest): New function.
37259         (pow_test_towardzero): Likewise.
37260         (pow_test_downward): Likewise.
37261         (pow_test_upward): Likewise.
37262         (main): Call the new functions.
37263         * sysdeps/i386/fpu/libm-test-ulps: Update.
37264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37266         [BZ #3976]
37267         * math/libm-test.inc (cosh_test_tonearest): New function.
37268         (cosh_test_towardzero): Likewise.
37269         (cosh_test_downward): Likewise.
37270         (cosh_test_upward): Likewise.
37271         (sinh_test_tonearest): Likewise.
37272         (sinh_test_towardzero): Likewise.
37273         (sinh_test_downward): Likewise.
37274         (sinh_test_upward): Likewise.
37275         (main): Call the new functions.
37276         * sysdeps/i386/fpu/libm-test-ulps: Update.
37277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37279 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37281         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37282         default stack guard is set in last bytes.
37283         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37285 2012-03-05  Kees Cook  <keescook@chromium.org>
37287         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37289         [BZ #13656]
37290         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37291         possibly allocate from heap instead of stack.
37292         * stdio-common/bug-vfprintf-nargs.c: New file.
37293         * stdio-common/Makefile (tests): Add nargs overflow test.
37295 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37299 2012-03-03  Marek Polacek  <polacek@redhat.com>
37301         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37302         * math/math_private.h: Likewise.
37303         * stdlib/tst-strtod.c: Likewise.
37304         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37305         * sysdeps/x86_64/bits/atomic.h: Likewise.
37307 2012-03-02  David S. Miller  <davem@davemloft.net>
37309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37313         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37314         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37315         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37316         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37318 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37320         [BZ #13792]
37321         * manual/examples/README: New file, says the example source files
37322         can be used under GPL>=2.
37323         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37324         line containing just "*/".
37325         * manual/examples/add.c: Add copyright header (GPL>=2).
37326         * manual/examples/argp-ex1.c: Likewise.
37327         * manual/examples/argp-ex2.c: Likewise.
37328         * manual/examples/argp-ex3.c: Likewise.
37329         * manual/examples/argp-ex4.c: Likewise.
37330         * manual/examples/atexit.c: Likewise.
37331         * manual/examples/db.c: Likewise.
37332         * manual/examples/dir.c: Likewise.
37333         * manual/examples/dir2.c: Likewise.
37334         * manual/examples/execinfo.c: Likewise.
37335         * manual/examples/filecli.c: Likewise.
37336         * manual/examples/filesrv.c: Likewise.
37337         * manual/examples/fmtmsgexpl.c: Likewise.
37338         * manual/examples/genpass.c: Likewise.
37339         * manual/examples/inetcli.c: Likewise.
37340         * manual/examples/inetsrv.c: Likewise.
37341         * manual/examples/isockad.c: Likewise.
37342         * manual/examples/longopt.c: Likewise.
37343         * manual/examples/memopen.c: Likewise.
37344         * manual/examples/memstrm.c: Likewise.
37345         * manual/examples/mkfsock.c: Likewise.
37346         * manual/examples/mkisock.c: Likewise.
37347         * manual/examples/mygetpass.c: Likewise.
37348         * manual/examples/pipe.c: Likewise.
37349         * manual/examples/popen.c: Likewise.
37350         * manual/examples/rprintf.c: Likewise.
37351         * manual/examples/search.c: Likewise.
37352         * manual/examples/select.c: Likewise.
37353         * manual/examples/setjmp.c: Likewise.
37354         * manual/examples/sigh1.c: Likewise.
37355         * manual/examples/sigusr.c: Likewise.
37356         * manual/examples/stpcpy.c: Likewise.
37357         * manual/examples/strdupa.c: Likewise.
37358         * manual/examples/strftim.c: Likewise.
37359         * manual/examples/strncat.c: Likewise.
37360         * manual/examples/subopt.c: Likewise.
37361         * manual/examples/swapcontext.c: Likewise.
37362         * manual/examples/termios.c: Likewise.
37363         * manual/examples/testopt.c: Likewise.
37364         * manual/examples/testpass.c: Likewise.
37365         * manual/examples/timeval_subtract.c: Likewise.
37367         [BZ #13792]
37368         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37369         function to ...
37370         * manual/timeval_subtract.c.texi: ... here, new file.
37372 2012-03-02  David S. Miller  <davem@davemloft.net>
37374         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37376 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37378         [BZ #3976]
37379         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37380         (__sin): Save and restore rounding mode and use round-to-nearest
37381         for all computations.
37382         (__cos): Save and restore rounding mode and use round-to-nearest
37383         for all computations.
37384         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37385         <fenv.h>.
37386         (tan): Save and restore rounding mode and use round-to-nearest for
37387         all computations.
37388         * math/libm-test.inc (cos_test_tonearest): New function.
37389         (cos_test_towardzero): Likewise.
37390         (cos_test_downward): Likewise.
37391         (cos_test_upward): Likewise.
37392         (sin_test_tonearest): Likewise.
37393         (sin_test_towardzero): Likewise.
37394         (sin_test_downward): Likewise.
37395         (sin_test_upward): Likewise.
37396         (tan_test_tonearest): Likewise.
37397         (tan_test_towardzero): Likewise.
37398         (tan_test_downward): Likewise.
37399         (tan_test_upward): Likewise.
37400         (main): Call the new functions.
37401         * sysdeps/i386/fpu/libm-test-ulps: Update.
37402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37404         [BZ #10135]
37405         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37406         small n, then large n, before computing and testing k+n.
37407         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37409         Likewise.
37410         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37411         Likewise.
37412         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37413         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37414         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37415         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37418         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37419         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37420         * math/libm-test.inc (scalbn_test): Add more tests.
37421         (scalbln_test): Likewise.
37423         * manual/filesys.texi (mode_t): Describe constraints on size and
37424         signedness, not exact equivalence to a particular type.
37425         (ino_t): Likewise.
37426         (ino64_t): Likewise.
37427         (dev_t): Likewise.
37428         (nlink_t): Likewise.
37429         (blkcnt_t): Likewise.
37430         (blkcnt64_t): Likewise.
37431         * manual/llio.texi (off_t): Likewise.
37433         [BZ #3976]
37434         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37435         (__ieee754_exp): Save and restore rounding mode and use
37436         round-to-nearest for all computations.
37437         * math/libm-test.inc (exp_test_tonearest): New function.
37438         (exp_test_towardzero): Likewise.
37439         (exp_test_downward): Likewise.
37440         (exp_test_upward): Likewise.
37441         (main): Call the new functions.
37442         * sysdeps/i386/fpu/libm-test-ulps: Update.
37443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37445 2012-03-01  Chris Demetriou  <cgd@google.com>
37447         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37448         have predictable order.
37450 2012-03-01  David S. Miller  <davem@davemloft.net>
37452         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37454         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37455         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37456         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37457         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37459         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37460         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37461         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37463         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37464         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37465         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37466         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37467         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37471         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37472         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37473         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37475         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37476         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37477         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37478         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37479         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37480         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37481         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37482         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37483         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37484         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37485         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37486         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37487         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37488         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37489         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37490         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37491         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37492         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37493         * sysdeps/sparc/elf/configure: Regenerated.
37495 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37497         * configure.in (AS, LD): Require binutils 2.20 or later.
37498         * configure: Regenerated.
37499         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37500         as required minimum version.
37501         * INSTALL: Regenerated.
37503         [BZ #2541]
37504         [BZ #4108]
37505         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37506         before squaring exponent.
37507         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37508         bottom long double and 27 bits of top long double before squaring
37509         exponent.
37510         * math/libm-test.inc (erfc_test): Add more tests.
37511         * sysdeps/i386/fpu/libm-test-ulps: Update.
37512         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37515 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37517         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37518         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37519         containing bit-fields.
37520         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37521         * soft-fp/single.h (_FP_UNION_S): Likewise.
37522         * soft-fp/double.h (_FP_UNION_D): Likewise.
37524 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37526         [BZ #13786]
37527         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37528         not include ../strcmp.S.
37529         [USE_AS_STRNCASECMP_L]: Likewise.
37530         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37531         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37532         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37533         (__strncasecmp_l_ia32): Define as alias to
37534         __strncasecmp_l_nonascii.
37536         [BZ #5794]
37537         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37538         * sysdeps/i386/fpu/libm-test-ulps: Update.
37539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37541         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37544 2012-02-29  Jeff Law  <law@redhat.com>
37546         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37547         out of bounds read.
37549 2012-02-29  Marek Polacek  <polacek@redhat.com>
37551         [BZ #13706]
37552         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37553         * elf/Makefile: Add rules to run tst-unused-dep.out.
37555 2012-02-28  David S. Miller  <davem@davemloft.net>
37557         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37558         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37559         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37560         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37561         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37562         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37564 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37566         * math/libm-test.inc (llround_test): Move one test from
37567         lround_test.  Use TEST_f_L in moved test.
37568         (lround_test): Move misplaced test to llround_test.  Add testcase
37569         from bug 2561.
37571 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37573         * sysdeps/x86_64/fpu/e_expf.S: New file.
37574         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37576 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37578         [BZ #13637]
37579         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37580         of remain_len that may cause incomplete multi-byte character and
37581         false match.
37582         * posix/bug-regex33.c: New file.
37583         * posix/Makefile (tests): Add bug-regex33.
37585 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37587         * manual/macros.texi: New file.
37588         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37589         * manual/libc.texinfo: Include macros.texi.
37590         * manual/creatute.texi: Likewise.
37591         * manual/install.texi: Likewise.
37592         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37593         @glibcadj{} in references to the GNU C Library.
37594         * manual/charset.texi: Likewise.
37595         * manual/conf.texi: Likewise.
37596         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37597         when not using those macros.
37598         * manual/creature.texi: Likewise.
37599         * manual/crypt.texi: Likewise.
37600         * manual/errno.texi: Likewise.
37601         * manual/filesys.texi: Likewise.
37602         * manual/header.texi: Likewise.
37603         * manual/install.texi: Likewise.
37604         * manual/intro.texi: Likewise.
37605         * manual/io.texi: Likewise.
37606         * manual/job.texi: Likewise.
37607         * manual/lang.texi: Likewise.
37608         * manual/libc.texiinfo: Likewise.
37609         * manual/llio.texi: Likewise.
37610         * manual/locale.texi: Likewise.
37611         * manual/maint.texi: Likewise.
37612         * manual/math.texi: Likewise.
37613         * manual/memory.texi: Likewise.
37614         * manual/message.texi: Likewise.
37615         * manual/nss.texi: Likewise.
37616         * manual/pattern.texi: Likewise.
37617         * manual/process.texi: Likewise.
37618         * manual/resource.texi: Likewise.
37619         * manual/search.texi: Likewise.
37620         * manual/setjmp.texi: Likewise.
37621         * manual/signal.texi: Likewise.
37622         * manual/socket.texi: Likewise.
37623         * manual/startup.texi: Likewise.
37624         * manual/stdio.texi: Likewise.
37625         * manual/string.texi: Likewise.
37626         * manual/sysinfo.texi: Likewise.
37627         * manual/syslog.texi: Likewise.
37628         * manual/terminal.texi: Likewise.
37629         * manual/time.texi: Likewise.
37630         * manual/users.texi: Likewise.
37631         * INSTALL: Regenerated.
37632         * NOTES: Regenerated.
37633         * sysdeps/gnu/errlist.c: Regenerated.
37635 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37637         * include/dirent.h: Include <dirstream.h> before
37638         <dirent/dirent.h>.
37640 2012-02-28  David S. Miller  <davem@davemloft.net>
37642         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37643         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37644         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37645         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37647 2012-02-27  David S. Miller  <davem@davemloft.net>
37649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37651         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37652         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37655         frame pointer instead of stack pointer relative arg slot.
37656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37657         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37658         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37660 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37662         [BZ #3992]
37663         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37665 2012-02-27  David S. Miller  <davem@davemloft.net>
37667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37671         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37672         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37673         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37674         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37676 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37678         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37679         later.  Allow versions 5-9.
37680         * configure: Regenerated.
37681         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37682         required minimum version and 4.6 as recommended version.  Do not
37683         mention bugs in GCC 2.7 and 2.8.
37684         * INSTALL: Regenerated.
37686 2012-02-27  David S. Miller  <davem@davemloft.net>
37688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37692         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37693         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37694         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37695         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37697         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37698         manipulate bits before adding and subtracting TWO112[sx].
37699         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37701 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37703         [BZ #13775]
37704         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37705         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37706         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37707         being in POSIX, because they are in 1003.1-2008.
37709         * rt/tst-aio.c: Include <fcntl.h>.
37710         * rt/tst-aio7.c: Likewise.
37711         * rt/tst-aio64.c: Likewise.
37713         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37715 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37717         * manual/install.texi (--with-headers): Describe headers as
37718         interface headers, not private headers.
37719         (Specific advice for GNU/Linux systems): Describe use of headers
37720         from "make headers_install", not private headers from older
37721         kernels.
37722         * INSTALL: Regenerated.
37723         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37724         Change to 2.6.19.
37725         * sysdeps/unix/sysv/linux/configure: Regenerated.
37727         * manual/llio.texi (fclean): Remove documentation.
37729         * manual/Makefile (libc-texi-generated): New variable.  Include
37730         version.texi.
37731         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37732         $(libc-texi-generated), not duplicated list of files.
37733         (version.texi, stamp-version): New rules.
37734         (realclean): Remove $(libc-texi-generated), not individual files
37735         from that list.  Do not remove dir-add.texinfo.
37736         * manual/libc.texinfo: Comment out uses of edition numbers and
37737         references to printed manual.  Remove last-updated dates.
37738         (EDITION): Comment out.
37739         (ISBN): Likewise.
37740         (VERSION, UPDATED): Remove.
37741         (version.texi): Include.
37743 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37745         * sysdeps/posix/spawni.c: Include <signal.h>.
37746         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37747         * sysdeps/pthread/aio_fsync.c: Likewise.
37749 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37751         * conform/Makefile (tests): Run only when not cross-compiling and
37752         when fast-check is not defined.
37754         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37755         * conform/data/limits.h-data: Fixes for POSIX2008.
37756         * conform/run-conformtest.sh: Run all tests.
37757         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37758         headers.
37759         * include/bits/dlfcn.h: Likewise.
37760         * include/langinfo.h: Likewise.
37761         * include/monetary.h: Likewise.
37762         * include/sys/poll.h: Likewise.
37764         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37765         for __USE_GNU.
37766         * posix/spawn.h: Define __need_sigset_t.
37767         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37768         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37769         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37770         to get sigevent_t only.
37771         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37772         only for __USE_GNU.
37773         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37774         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37775         process_vm_writev only for __USE_GNU.
37776         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37778         * conform/Makefile: For now ignore errors from run-conformtest.
37779         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37780         POSIX to avoid namespace pollution.  Don't prepend headers.
37781         * conform/data/aio.h-data: Fixes for POSIX testing.
37782         * conform/data/fcntl.h-data: Likewise.
37783         * conform/data/glob.h-data: Likewise.
37784         * conform/data/grp.h-data: Likewise.
37785         * conform/data/pthread.h-data: Likewise.
37786         * conform/data/pwd.h-data: Likewise.
37787         * conform/data/signal.h-data: Likewise.
37788         * conform/data/spawn.h-data: Likewise.
37789         * conform/data/stdio.h-data: Likewise.
37790         * conform/data/stdlib.h-data: Likewise.
37791         * conform/data/stropts.h-data: Likewise.
37792         * conform/data/sys/mman.h-data: Likewise.
37793         * conform/data/sys/stat.h-data: Likewise.
37794         * conform/data/sys/types.h-data: Likewise.
37795         * conform/data/sys/wait.h-data: Likewise.
37796         * conform/data/time.h-data: Likewise.
37797         * conform/data/unistd.h-data: Likewise.
37798         * conform/data/utime.h-data: Likewise.
37800         * io/sys/stat.h: fchmod was always in POSIX.
37801         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37802         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37803         * rt/aio.h: Define __need_timespec before including <time.h>.
37804         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37805         struct.  Add forward declaration of pthread_attr_t and use it in
37806         sigevent.
37807         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37808         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37809         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37810         always remove CLK_TCK definition.
37812 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37814         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37816 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37818         * conform/run-conformtest.sh: New file.
37819         * conform/Makefile: Run run-conformtest for tests.
37820         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37821         support.
37823         * conform/data/uchar.h-data: New file.
37824         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37825         * conform/data/arpa/inet.h-data: Likewise.
37826         * conform/data/assert.h-data: Likewise.
37827         * conform/data/complex.h-data: Likewise.
37828         * conform/data/cpio.h-data: Likewise.
37829         * conform/data/ctype.h-data: Likewise.
37830         * conform/data/dirent.h-data: Likewise.
37831         * conform/data/dlfcn.h-data: Likewise.
37832         * conform/data/errno.h-data: Likewise.
37833         * conform/data/fcntl.h-data: Likewise.
37834         * conform/data/float.h-data: Likewise.
37835         * conform/data/fmtmsg.h-data: Likewise.
37836         * conform/data/fnmatch.h-data: Likewise.
37837         * conform/data/ftw.h-data: Likewise.
37838         * conform/data/glob.h-data: Likewise.
37839         * conform/data/grp.h-data: Likewise.
37840         * conform/data/iconv.h-data: Likewise.
37841         * conform/data/inttypes.h-data: Likewise.
37842         * conform/data/langinfo.h-data: Likewise.
37843         * conform/data/libgen.h-data: Likewise.
37844         * conform/data/limits.h-data: Likewise.
37845         * conform/data/locale.h-data: Likewise.
37846         * conform/data/math.h-data: Likewise.
37847         * conform/data/monetary.h-data: Likewise.
37848         * conform/data/mqueue.h-data: Likewise.
37849         * conform/data/ndbm.h-data: Likewise.
37850         * conform/data/net/if.h-data: Likewise.
37851         * conform/data/netdb.h-data: Likewise.
37852         * conform/data/netinet/in.h-data: Likewise.
37853         * conform/data/nl_types.h-data: Likewise.
37854         * conform/data/poll.h-data: Likewise.
37855         * conform/data/pthread.h-data: Likewise.
37856         * conform/data/pwd.h-data: Likewise.
37857         * conform/data/regex.h-data: Likewise.
37858         * conform/data/sched.h-data: Likewise.
37859         * conform/data/search.h-data: Likewise.
37860         * conform/data/semaphore.h-data: Likewise.
37861         * conform/data/setjmp.h-data: Likewise.
37862         * conform/data/signal.h-data: Likewise.
37863         * conform/data/spawn.h-data: Likewise.
37864         * conform/data/stdarg.h-data: Likewise.
37865         * conform/data/stdio.h-data: Likewise.
37866         * conform/data/stdlib.h-data: Likewise.
37867         * conform/data/string.h-data: Likewise.
37868         * conform/data/strings.h-data: Likewise.
37869         * conform/data/stropts.h-data: Likewise.
37870         * conform/data/sys/ipc.h-data: Likewise.
37871         * conform/data/sys/mman.h-data: Likewise.
37872         * conform/data/sys/msg.h-data: Likewise.
37873         * conform/data/sys/resource.h-data: Likewise.
37874         * conform/data/sys/select.h-data: Likewise.
37875         * conform/data/sys/sem.h-data: Likewise.
37876         * conform/data/sys/shm.h-data: Likewise.
37877         * conform/data/sys/socket.h-data: Likewise.
37878         * conform/data/sys/stat.h-data: Likewise.
37879         * conform/data/sys/statvfs.h-data: Likewise.
37880         * conform/data/sys/time.h-data: Likewise.
37881         * conform/data/sys/timeb.h-data: Likewise.
37882         * conform/data/sys/times.h-data: Likewise.
37883         * conform/data/sys/types.h-data: Likewise.
37884         * conform/data/sys/uio.h-data: Likewise.
37885         * conform/data/sys/un.h-data: Likewise.
37886         * conform/data/sys/utsname.h-data: Likewise.
37887         * conform/data/sys/wait.h-data: Likewise.
37888         * conform/data/syslog.h-data: Likewise.
37889         * conform/data/tar.h-data: Likewise.
37890         * conform/data/termios.h-data: Likewise.
37891         * conform/data/utime.h-data: Likewise.
37892         * conform/data/utmpx.h-data: Likewise.
37893         * conform/data/varargs.h-data: Likewise.
37894         * conform/data/wchar.h-data: Likewise.
37895         * conform/data/wctype.h-data: Likewise.
37896         * conform/data/wordexp.h-data: Likewise.
37898         * include/stropts.h: New file.
37899         * include/uchar.h: New file.
37900         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37901         * include/assert.h: Likewise.
37902         * include/ctype.h: Likewise.
37903         * include/dirent.h: Likewise.
37904         * include/dlfcn.h: Likewise.
37905         * include/fcntl.h: Likewise.
37906         * include/fnmatch.h: Likewise.
37907         * include/glob.h: Likewise.
37908         * include/grp.h: Likewise.
37909         * include/libio.h: Likewise.
37910         * include/locale.h: Likewise.
37911         * include/math.h: Likewise.
37912         * include/net/if.h: Likewise.
37913         * include/netdb.h: Likewise.
37914         * include/netinet/in.h: Likewise.
37915         * include/pthread.h: Likewise.
37916         * include/pwd.h: Likewise.
37917         * include/regex.h: Likewise.
37918         * include/sched.h: Likewise.
37919         * include/search.h: Likewise.
37920         * include/setjmp.h: Likewise.
37921         * include/signal.h: Likewise.
37922         * include/stdio.h: Likewise.
37923         * include/stdlib.h: Likewise.
37924         * include/string.h: Likewise.
37925         * include/sys/cdefs.h: Likewise.
37926         * include/sys/mman.h: Likewise.
37927         * include/sys/msg.h: Likewise.
37928         * include/sys/resource.h: Likewise.
37929         * include/sys/select.h: Likewise.
37930         * include/sys/socket.h: Likewise.
37931         * include/sys/stat.h: Likewise.
37932         * include/sys/statvfs.h: Likewise.
37933         * include/sys/time.h: Likewise.
37934         * include/sys/times.h: Likewise.
37935         * include/sys/uio.h: Likewise.
37936         * include/sys/utsname.h: Likewise.
37937         * include/sys/wait.h: Likewise.
37938         * include/termios.h: Likewise.
37939         * include/time.h: Likewise.
37940         * include/ulimit.h: Likewise.
37941         * include/unistd.h: Likewise.
37942         * include/utime.h: Likewise.
37943         * include/wchar.h: Likewise.
37944         * include/wctype.h: Likewise.
37945         * include/wordexp.h: Likewise.
37947         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37949         * time/time.h: TIME_UTC must be a macro.
37950         Make timespec_get available for ISO C11 only as well.
37952 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37954         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37955         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37957 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37959         * configure.in: Use -o not -a in test for unsupported multi-arch.
37961 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37963         * manual/texinfo.tex: Update to version 2012-01-19.16.
37965 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37967         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37969 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37971         [BZ #13738]
37972         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37973         * manual/fdl-1.3.texi: New file.
37974         * manual/fdl-1.1.texi: File removed.
37976         [BZ #13738]
37977         * manual/libc.texinfo (FDL_VERSION): New @set.
37978         Use it for mention of FDL in cover text.
37979         (Documentation License): Use it in @include file name.
37981 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37982             Roland McGrath  <roland@hack.frob.com>
37984         [BZ #5461]
37985         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37986         (not LONG_LONG_MAX and LONG_LONG_MIN.
37987         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37988         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37989         name.
37990         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37992 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37994         [BZ #2547]
37995         [BZ #11365]
37996         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37997         manipulate bits before adding and subtracting TWO23[sx].
37998         * math/libm-test.inc (nearbyint_test): Add more tests.
38000 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38002         [BZ #2548]
38003         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38004         bits before adding and subtracting TWO23[sx].
38005         * math/libm-test.inc (rint_test): Add more tests.
38006         (rint_test_tonearest): Likewise.
38007         (rint_test_towardzero): Likewise.
38008         (rint_test_downward): Likewise.
38009         (rint_test_upward: Likewise.
38011 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38013         [BZ #10110]
38014         * include/stdc-predef.h: New file.  Extracted from features.h.
38015         * include/features.h: Include stdc-predef.h.
38016         * Makefile (headers): Add stdc-predef.h.
38017         * CONFORMANCE (Compiler limitations): Update.
38019 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38021         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38023 2012-02-21  David S. Miller  <davem@davemloft.net>
38025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38026         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38028 2012-02-20  David S. Miller  <davem@davemloft.net>
38030         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38031         using a normal save/restore sequence, rather than allocating a
38032         dummy stack frame just to store a frame pointer and restore.
38033         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38035 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38037         * manual/install.texi: Fix stray word in line-wrapped comment.
38039 2012-02-20  David S. Miller  <davem@davemloft.net>
38041         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38042         both binutils and gcc support GOTDATA.
38044         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38045         "rd %pc" in the PIC register setup sequences.
38047         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38048         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38049         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38050         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38051         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38052         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38056         (SYSCALL_ERROR_HANDLER): Likewise.
38057         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38058         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38060         (SYSCALL_ERROR_HANDLER): Likewise.
38062         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38063         (HAVE_GCC_GOTDATA): New.
38064         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38065         relocation support in both binutils and gcc.
38066         * sysdeps/sparc/elf/configure: Regenerate.
38068         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38069         * sysdeps/sparc/sparc32/elf/configure: Delete.
38070         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38071         * sysdeps/sparc/sparc64/elf/configure: Delete.
38072         * sysdeps/sparc/elf/configure.in: New file.
38073         * sysdeps/sparc/elf/configure: Generate.
38075         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38076         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38077         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38078         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38079         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38081 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38083         * manual/install.texi: Do not mention specific glibc version
38084         numbers.
38085         * manual/libc.texinfo (VERSION, UPDATED): Update.
38086         (@copying): Use @copyright{} and range of years.
38088 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38090         [BZ #13695]
38091         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38092         [crti.S not in sysdirs] (generated): Do not append.
38093         [crti.S not in sysdirs] (omit-deps): Likewise.
38094         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38095         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38096         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38097         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38098         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38099         Likewise.
38100         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38101         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38102         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38103         * csu/defs.awk: Remove file.
38104         * sysdeps/generic/initfini.c: Likewise.
38105         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38106         variable.
38107         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38108         Likewise.
38110 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38112         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38113         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38114         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38115         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38116         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38117         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38118         <bits/epoll.h>.
38119         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38120         (__EPOLL_PACKED): Define to empty if not defined by
38121         <bits/epoll.h>.
38122         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38124         bits/epoll.h.
38126 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38128         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38129         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38130         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38131         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38132         <bits/timerfd.h>.
38133         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38135         bits/timerfd.h.
38137 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38139         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38140         in C locale.
38141         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38142         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38143         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38146 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38148         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38149         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38151 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38153         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38154         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38155         defined.
38156         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38157         Likewise.
38158         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38159         entry for 2.16.
38161 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38163         * math/w_acos.c: Use non-signaling floating-point comparisons.
38164         * math/w_acosf.c: Likewise.
38165         * math/w_acosh.c: Likewise.
38166         * math/w_acoshf.c: Likewise.
38167         * math/w_acoshl.c: Likewise.
38168         * math/w_acosl.c: Likewise.
38169         * math/w_asin.c: Likewise.
38170         * math/w_asinf.c: Likewise.
38171         * math/w_asinl.c: Likewise.
38172         * math/w_atanh.c: Likewise.
38173         * math/w_atanhf.c: Likewise.
38174         * math/w_atanhl.c: Likewise.
38175         * math/w_exp2.c: Likewise.
38176         * math/w_exp2f.c: Likewise.
38177         * math/w_exp2l.c: Likewise.
38178         * math/w_j0.c: Likewise.
38179         * math/w_j0f.c: Likewise.
38180         * math/w_j0l.c: Likewise.
38181         * math/w_j1.c: Likewise.
38182         * math/w_j1f.c: Likewise.
38183         * math/w_j1l.c: Likewise.
38184         * math/w_jn.c: Likewise.
38185         * math/w_jnf.c: Likewise.
38186         * math/w_log.c: Likewise.
38187         * math/w_log10.c: Likewise.
38188         * math/w_log10f.c: Likewise.
38189         * math/w_log10l.c: Likewise.
38190         * math/w_log2.c: Likewise.
38191         * math/w_log2f.c: Likewise.
38192         * math/w_log2l.c: Likewise.
38193         * math/w_logf.c: Likewise.
38194         * math/w_logl.c: Likewise.
38195         * math/w_sqrt.c: Likewise.
38196         * math/w_sqrtf.c: Likewise.
38197         * math/w_sqrtl.c: Likewise.
38198         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38199         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38200         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38201         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38202         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38204 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38206         [BZ #9739]
38207         * manual/string.texi (strnlen): Use correct parameter name in
38208         equivalent expression.
38210 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38212         [BZ #11174]
38213         * manual/users.texi (seteuid): Consistently use neweuid for
38214         argument name.
38216 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38218         [BZ #13704]
38219         * manual/nss.texi (Services in the NSS configuration): Correct
38220         list of services in example configuration file.
38222 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38224         [BZ #11322]
38225         * manual/arith.texi: Remove statements about negative zero
38226         behaving identically to zero.
38228 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38230         [BZ #5993]
38231         * manual/install.texi: Do not document upgrading from libc5.
38233 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38235         [BZ #4596]
38236         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38238 2012-02-18  David S. Miller  <davem@davemloft.net>
38240         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38241         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38242         %o7 across the call.
38243         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38244         instead.
38245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38246         SETUP_PIC_REG_LEAF.
38247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38248         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38249         * sysdeps/sparc/crtn.S: Likewise.
38251 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38253         * aout/Makefile: Remove.
38255 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38257         [BZ #13058]
38258         * manual/examples/argp-ex1.c (main): Format definition in GNU
38259         style.
38260         * manual/examples/argp-ex2.c (main): Likewise.
38261         * manual/examples/argp-ex3.c (main): Likewise.
38262         * manual/examples/argp-ex4.c (main): Likewise.
38263         * manual/examples/longopt.c (main): Use new-style prototype
38264         definition.
38265         * manual/examples/strncat.c (main): Specify return type and use
38266         (void) for arguments.
38267         * manual/examples/subopt.c (main): Use char **argv argument.
38269 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38271         [BZ #5077]
38272         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38273         rounding modes.
38275 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38277         [BZ #6907]
38278         * manual/string.texi (strchr): Change when strchrnul is
38279         recommended.
38281 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38283         [BZ #174]
38284         * manual/locale.texi (setlocale): Document LOCPATH.
38286 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38288         [BZ #10210]
38289         * manual/process.texi (execle): Move @dots{} before last argument.
38291 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38293         [BZ #12047]
38294         * manual/charset.texi (Generic Charset Conversion): Fix typo
38295         (LC_TYPE -> LC_CTYPE).
38297 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38299         [BZ #5805]
38300         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38301         (scalbnf): Likewise.
38302         (scalbnl): Likewise.
38303         (scalbln): Likewise.
38304         (scalblnf): Likewise.
38305         (scalblnl): Likewise.
38306         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38307         (vwarnx): Likewise.
38308         (verr): Likewise.
38309         (verrx): Likewise.
38310         * manual/filesys.texi (telldir): Use braces around return type.
38311         * manual/llio.texi (mmap): Add space after comma.
38312         (mmap64): Likewise.
38313         * manual/math.texi (jn): Use @var{} on parameter names.
38314         (jnf): Likewise.
38315         (jnl): Likewise.
38316         (yn): Likewise.
38317         (ynf): Likewise.
38318         (ynl): Likewise.
38319         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38320         line.
38321         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38322         "...".
38323         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38324         (sched_get_priority_max): Likewise.
38325         * manual/signal.texi (sigvec): Add space after comma.
38326         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38327         names.
38328         (if_indextoname): Likewise.
38329         (if_freenameindex): Likewise.
38330         (sendto): Use ',' instead of '.' in prototype.
38331         * manual/startup.texi (syscall): Use @dots{} instead of literal
38332         "...".
38333         * manual/stdio.texi (__fpending): Separate initial words of
38334         paragraph from @deftypefun line.
38335         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38336         "...".
38337         (vsyslog): Use @var{} on parameter names.
38338         * manual/terminal.texi (stty): Use @var{} on parameter names.
38339         * manual/users.texi (getutmp): Use @var{} on parameter names.
38340         (getutmpx): Likewise.
38342 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38344         [BZ #6884]
38345         * manual/stdio.texi (fopen): Fix typos in description of
38346         ",ccs=STRING".
38348 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38350         [BZ #4026]
38351         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38352         get clock_id definition.
38354 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38356         [BZ #4822]
38357         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38358         (madvise): Cast every argument to void on its own.
38360 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38362         [BZ #9902]
38363         * manual/startup.texi (Exit Status): Fix typo.
38365 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38367         [BZ #10140]
38368         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38369         * manual/examples/argp-ex2.c: Likewise.
38370         * manual/examples/argp-ex3.c: Likewise.
38372 2012-02-16  Richard Henderson  <rth@redhat.com>
38374         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38375         * sysdeps/s390/s390-32/initfini.c: Remove.
38376         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38377         * sysdeps/s390/s390-64/initfini.c: Remove.
38379 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38381         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38382         compiler output for sysdeps/generic/initfini.c.
38383         * sysdeps/sh/elf/initfini.c: Remove file.
38385 2012-02-16  David S. Miller  <davem@davemloft.net>
38387         [BZ #11494]
38388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38390         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38391         * sysdeps/sparc/crti.S: New file.
38392         * sysdeps/sparc/crtn.S: New file.
38393         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38394         * sysdeps/sparc/sparc64/Makefile: Likewise.
38396 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38398         [BZ #3335]
38399         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38401 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38403         [BZ #4822]
38404         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38406         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38407         (write, read, close): Likewise.
38408         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38410 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38412         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38413         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38414         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38415         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38416         <bits/signalfd.h>.
38417         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38419         bits/signalfd.h.
38421 2012-02-14  Marek Polacek  <polacek@redhat.com>
38423         * sysdeps/x86_64/crti.S: New file.
38424         * sysdeps/x86_64/crtn.S: New file.
38425         * sysdeps/x86_64/elf/initfini.c: Remove file.
38427 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38429         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38430         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38431         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38432         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38433         <bits/inotify.h>.
38434         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38436         bits/inotify.h.
38438 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38440         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38441         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38442         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38443         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38444         <bits/eventfd.h>.
38445         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38447         bits/eventfd.h.
38449 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38451         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38452         __feraiseexcept instead of feraiseexcept.
38454         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38455         nanosleep invocations.
38456         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38457         strings, and add error checking for a nanosleep invocations.
38459 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38461         Replace FSF snail mail address with URLs, as per GNU coding standards.
38462         Most of the snail mail addresses were wrong anyway, and omitting
38463         them makes the source code easier to maintain.  Almost all of the
38464         changes are to license notices and to locale LC_IDENTIFICATION
38465         addresses, except for this one:
38466         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38467         not its snail mail address.
38469 2012-02-09  Richard Henderson  <rth@twiddle.net>
38471         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38472         of kernel-features.h.
38474         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38476 2012-02-08  Marek Polacek  <polacek@redhat.com>
38478         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38479         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38480         * sysdeps/gnu/_G_config.h: Likewise.
38481         * sysdeps/generic/_G_config.h: Likewise.
38483 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38485         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38486         tests.
38487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38489         * sysdeps/powerpc/powerpc32/crti.S: New file.
38490         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38491         * sysdeps/powerpc/powerpc64/crti.S: New file.
38492         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38494         * Makeconfig (have-initfini): Don't set.
38495         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38496         * configure.in (nopic_initfini): Don't substitute.
38497         * config.h.in (HAVE_INITFINI): Don't #undef.
38498         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38499         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38501 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38503         Support crti.S and crtn.S provided directly by architectures.
38504         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38505         [crti.S in sysdirs] (omit-deps): Likewise.
38506         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38507         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38508         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38509         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38510         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38511         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38512         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38513         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38514         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38515         compiler output for sysdeps/generic/initfini.c.
38516         * sysdeps/i386/elf/Makefile: Remove file.
38517         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38519 2012-02-07  Marek Polacek  <polacek@redhat.com>
38521         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38522         * sysdeps/gnu/_G_config.h: Likewise.
38523         * sysdeps/mach/hurd/_G_config.h: Likewise.
38525 2012-02-07  Marek Polacek  <polacek@redhat.com>
38527         * math/Makefile (tests): Add tst-CMPLX2.
38528         * math/tst-CMPLX2.c: New file.
38530 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38532         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38534         * math/libm-test.inc (jn_test): Add missing L suffix.
38536 2012-02-06  Marek Polacek  <polacek@redhat.com>
38538         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38539         * sysdeps/i386/fpu/e_powf.S: Likewise.
38540         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38541         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38542         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38543         * sysdeps/i386/fpu/e_pow.S: Likewise.
38544         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38545         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38546         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38547         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38548         * sysdeps/i386/fpu/e_log2.S: Likewise.
38549         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38550         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38551         * sysdeps/i386/fpu/e_powl.S: Likewise.
38552         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38553         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38554         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38555         * sysdeps/i386/fpu/e_logl.S: Likewise.
38556         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38557         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38558         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38559         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38560         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38561         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38562         * sysdeps/i386/fpu/e_log.S: Likewise.
38563         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38564         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38565         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38566         * sysdeps/i386/fpu/e_logf.S: Likewise.
38567         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38568         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38569         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38570         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38571         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38572         * sysdeps/i386/fpu/e_log10.S: Likewise.
38573         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38574         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38575         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38576         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38577         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38578         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38579         * sysdeps/i386/asm-syntax.h: Likewise.
38580         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38581         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38582         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38583         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38584         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38585         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38586         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38587         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38588         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38589         * sysdeps/powerpc/sysdep.h: Likewise.
38590         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38591         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38593 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38595         [BZ #411]
38596         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38598 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38600         * sysdeps/i386/sysdep.h: Include <features.h>.
38601         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38602         version.
38604 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38606         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38607         Define.
38608         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38609         LOAD_PIC_REG_STR.
38611 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38613         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38614         (SETUP_PIC_REG): Use GET_PC_THUNK.
38615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38616         macro.
38618 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38620         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38621         for non-PIC compilation.
38622         (SETUP_PIC_REG): Add .p2align directive.
38623         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38624         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38625         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38626         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38627         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38628         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38629         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38630         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38631         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38632         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38633         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38634         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38635         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38636         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38637         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38638         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38639         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38640         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38641         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38642         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38643         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38645         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38646         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38647         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38648         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38649         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38650         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38651         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38652         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38653         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38654         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38655         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38656         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38657         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38658         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38659         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38660         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38661         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38662         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38663         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38665 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38667         * math/tst-CMPLX.c: Include <stdio.h>.
38669 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38671         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38672         float.
38673         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38674         * sysdeps/sparc/bits/mathdef.h: Likewise.
38676 2012-01-31  Marek Polacek  <polacek@redhat.com>
38678         * libio/libio.h: Don't define _PARAMS.
38679         * locale/programs/config.h: Don't define PARAMS.
38680         * stdlib/strtol_l.c: Likewise.
38681         (__strtol_l): Remove PARAMS from the prototype.
38683 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38685         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38686         names.  Just use the correct names.  Remove unnecessary wrapper
38687         functions.
38688         * malloc/arena.c: Likewise.
38689         * malloc/hooks.c: Likewise.
38691         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38692         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38693         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38695 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38697         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38698         into tail calls.
38699         (update_get_addr): New function.
38700         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38701         GET_ADDR_MODULE parameter.
38703 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38705         * crypt/cert.c: Remove __STDC__ conditionals.
38706         * crypt/crypt-entry.c: Likewise.
38707         * crypt/crypt_util.c: Likewise.
38708         * libio/filedoalloc.c: Likewise.
38709         * libio/fileops.c: Likewise.
38710         * libio/genops.c: Likewise.
38711         * libio/iofclose.c: Likewise.
38712         * libio/iofdopen.c: Likewise.
38713         * libio/iofopen.c: Likewise.
38714         * libio/iofopen64.c: Likewise.
38715         * libio/iogetdelim.c: Likewise.
38716         * libio/iopopen.c: Likewise.
38717         * libio/obprintf.c: Likewise.
38718         * libio/oldfileops.c: Likewise.
38719         * libio/oldiofclose.c: Likewise.
38720         * libio/oldiofdopen.c: Likewise.
38721         * libio/oldiofopen.c: Likewise.
38722         * libio/oldiopopen.c: Likewise.
38723         * libio/wfiledoalloc.c: Likewise.
38724         * libio/wgenops.c: Likewise.
38725         * locale/programs/xmalloc.c: Likewise.
38726         * misc/syslog.c: Likewise.
38727         * stdio-common/xbug.c: Likewise.
38728         * string/memchr.c: Likewise.
38729         * string/memcmp.c: Likewise.
38730         * string/memrchr.c: Likewise.
38731         * string/rawmemchr.c: Likewise.
38732         * sysdeps/posix/getcwd.c: Likewise.
38733         * time/strftime_l.c: Likewise.
38735 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38737         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38738         * config.make.in (config-cflags-sse2avx): Define.
38739         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38740         Fix typo.
38742 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38744         * scripts/config.guess: Update from upstream config git repository.
38745         * scripts/config.sub: Likewise.
38747 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38749         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38750         (EM_NUM): Update.
38751         (R_TILEPRO_*, R_TILEGX_*): New macros.
38753         * scripts/firstversions.awk: Fix bug in version range handling.
38755         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38757         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38759         * include/sys/epoll.h: New file.
38760         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38761         libc_hidden_def.
38763 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38765         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38766         Avoid unnecessary __WORDSIZE == 64 test.
38767         (fmaxf): Use VEX format if possible.
38768         (fmax): Likewise.
38769         (fminf): Likewise.
38770         (fmin): Likewise.
38772         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38773         * math/math_private.h: Remove libc_fegetround* and
38774         libc_fesetround*.
38775         * sysdeps/i386/configure.in: Check for -msse2avx.
38776         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38777         also if SSE2AVX is defined.
38778         Remove libc_fegetround* and libc_fesetround*.
38779         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38780         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38782         of HAS_YMM_USABLE.
38783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38784         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38785         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38786         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38787         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38789         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38791 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38793         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38794         size is not set.
38795         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38797 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38799         [BZ #13618]
38800         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38801         relocation.
38802         * Makeconfig (libm): Define.
38803         * elf/Makefile: Add rules to build and run tst-relsort1.
38804         * elf/tst-relsort1.c: New file.
38805         * elf/tst-relsort1mod1.c: New file.
38806         * elf/tst-relsort1mod2.c: New file.
38808 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38810         * math/s_ldexp.c: Remove __STDC__ conditionals.
38811         * math/s_ldexpf.c: Likewise.
38812         * math/s_ldexpl.c: Likewise.
38813         * math/s_nextafter.c: Likewise.
38814         * math/s_nexttowardf.c: Likewise.
38815         * math/s_significand.c: Likewise.
38816         * math/s_significandf.c: Likewise.
38817         * math/s_significandl.c: Likewise.
38818         * math/w_jnl.c: Likewise.
38819         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38820         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38821         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38822         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38823         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38833         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38834         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38835         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38836         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38838         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38840         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38841         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38842         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38843         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38844         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38845         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38846         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38847         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38848         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38849         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38850         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38851         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38852         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38854         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38855         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38856         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38857         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38858         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38859         * sysdeps/ieee754/k_standard.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38921         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38926         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38934         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38935         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38939         * sysdeps/ieee754/s_matherr.c: Likewise.
38940         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38941         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38942         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38945 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38947         * crypt/md5.h: Remove __STDC__ conditionals.
38948         * libio/libioP.h: Likewise.
38949         * locale/programs/config.h: Likewise.
38950         * sysdeps/generic/sysdep.h: Likewise.
38951         * sysdeps/i386/asm-syntax.h: Likewise.
38952         * sysdeps/s390/asm-syntax.h: Likewise.
38953         * sysdeps/unix/sysdep.h: Likewise.
38954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38957 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38959         * libio/libio.h: Remove __STDC__ conditionals.
38960         * malloc/obstack.h: Likewise.
38961         * math/complex.h: Likewise.
38962         * math/math.h: Likewise.
38963         * sysdeps/generic/_G_config.h: Likewise.
38964         * sysdeps/gnu/_G_config.h: Likewise.
38965         * sysdeps/mach/hurd/_G_config.h: Likewise.
38966         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38967         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38968         * sysdeps/sparc/bits/mathdef.h: Likewise.
38970 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38972         [BZ #13583]
38973         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38974         Clean up HAS_* macros.
38975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38976         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38977         possible.
38978         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38979         HAS_AVX.
38980         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38981         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38982         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38983         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38984         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38986 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38988         * elf/tst-unique3.cc (gets): Remove declaration.
38989         * elf/tst-unique3lib.cc (gets): Likewise.
38990         * elf/tst-unique3lib2.cc (gets): Likewise.
38991         * elf/tst-unique4.cc (gets): Likewise.
38993 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38995         * include/stdio.h: Add C++ protection.  Add gets declarations and
38996         definitions.
38997         * debug/tst-chk1.c: Don't declare gets here.
38998         * stdio-common/tst-gets.c: Likewise.
39000 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39002         * posix/glob: Remove directory.
39004 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39006         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39008 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39010         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39011         of the non-standard EPFNOSUPPORT.
39013 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39015         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39016         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39017         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39019 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39021         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39023 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39025         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39026         transient errors.
39027         * nscd/grpcache.c (cache_addgr): Likewise.
39028         * nscd/hstcache.c (cache_addhst): Likewise.
39029         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39030         * nscd/pwdcache.c (cache_addpw): Likewise.
39031         * nscd/servicescache.c (cache_addserv): Likewise.
39033 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39035         * malloc/malloc.c: Various cleanups.
39036         * malloc/hooks.c: Likewise.
39038         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39039         * stdlib/bug-fmtmsg1.c: New file.
39041         * stdlib/fmtmsg.c (init): Add missing unlock.
39042         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39044 2012-01-12  Marek Polacek  <polacek@redhat.com>
39046         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39047         and _GNU_SOURCE.
39049 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39051         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39052         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39053         macro to ensure uniqueness of label name.
39054         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39055         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39057 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39059         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39061         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39062         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39064         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39066 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39068         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39070         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39071         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39072         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39074         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39076         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39077         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39078         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39081         * math/bits/math-finite.h: Add ldexp support.
39083 2012-01-10  Marek Polacek  <polacek@redhat.com>
39085         * locale/programs/localedef.h (show_archive_content): Add noreturn
39086         attribute.
39088 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39090         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39092 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39094         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39096         * io/Makefile (headers): Add bits/poll2.h.
39098 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39101         typo #include statement.
39103 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39105         * include/sys/cdefs.h: Define __attribute_alloc_size.
39106         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39107         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39108         * elf/pldd.c: Likewise.
39109         * iconv/iconv_charmap.c: Likewise.
39110         * iconv/iconvconfig.c: Likewise.
39111         * iconv/strtab.c: Likewise.
39112         * locale/programs/locale.c: Likewise.
39113         * locale/programs/localedef.h: Likewise.
39114         * locale/programs/simple-hash.c: Likewise.
39115         * nscd/nscd.h: Likewise.
39116         * nss/makedb.c: Likewise.
39117         * sysdeps/generic/ldconfig.h: Likewise.
39118         * locale/programs/localedef.c: Remove xmalloc prototype.
39119         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39121 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39123         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39124         appropriate.
39126 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39128         * math/Makefile (tests): Add tst-CMPLX.
39129         * math/tst-CMPLX.c: New file.
39131         * math/complex.h (CMPLXL): Fix typo.
39133         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39134         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39135         GLIBC_2.16.
39136         * debug/tst-chk1.c: Add poll and ppoll tests.
39137         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39138         * include/sys/poll.h: Add hidden proto for ppoll.
39139         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39140         * sysdeps/mach/hurd/ppoll.c: Likewise.
39141         * io/ppoll.c: Likewise.
39142         * debug/poll_chk.c: New file.
39143         * debug/ppoll_chk.c: New file.
39144         * include/bits/poll2.h: New file.
39145         * io/bits/poll2.h: New file.
39147         [BZ #1350]
39148         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39150         * configure.in: static is always set to yes.  Remove.
39151         * config.make.in: Don't set build-static.
39152         * Makeconfig: Remove use of build-static.
39153         * dlfcn/Makefile: Likewise.
39154         * elf/Makefile: Likewise.
39155         * math/Makefile: Likewise.
39156         * misc/Makefile: Likewise.
39157         * nptl/Makefile: Likewise.
39158         * sysdeps/mach/hurd/Makefile: Likewise.
39160         * configure.in: PWD_P is not used anymore.
39161         * config.make.in: Remove PWD_P entry.
39163         * configure.in: Remove last remnants of RANLIB.
39164         No need to check for signed size_t anymore.
39165         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39166         and IA-64.
39167         Remove __builtin_expect test because we require at least gcc 3.4.
39168         * aclocal.m4: Likewise.
39170         * wcsmbs/mbrtoc16.c: Implement using towc function.
39171         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39172         * wcsmbs/wcsmbsload.c: Likewise.
39173         * iconv/gconv_simple.c: Likewise.
39174         * iconv/gconv_int.h: Likewise.
39175         * iconv/gconv_builtin.h: Likewise.
39176         * iconv/iconv_prog.c: Remove CHAR16 handling.
39178         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39180         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39182         * configure.in: Remove --with-elf and --enable-bounded options.
39183         Dont set base_machine for ia64.  More non-ELF conditions removed.
39184         Remove testing and setting of leading underscore information.
39185         * config.make.in (build-bounded): Set to no.
39186         * config.h.in: Remove NO_UNDERSCORES entry.
39187         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39188         them.
39189         * csu/start.c: Remove !NO_UNDERSCORE code.
39190         * locale/localeinfo.h: Likewise.
39191         * sysdeps/generic/machine-gmon.h: Likewise.
39192         * sysdeps/generic/sysdep.h: Likewise.
39193         * sysdeps/i386/sysdep.h: Likewise.
39194         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39195         * sysdeps/mach/sysdep.h: Likewise.
39196         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39197         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39198         * sysdeps/sh/sysdep.h: Likewise.
39199         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39200         * sysdeps/unix/i386/sysdep.S: Likewise.
39201         * sysdeps/unix/sparc/start.c: Likewise.
39202         * sysdeps/unix/sparc/sysdep.S: Likewise.
39203         * sysdeps/unix/sparc/sysdep.h: Likewise.
39204         * sysdeps/unix/start.c: Likewise.
39205         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39206         * sysdeps/x86_64/sysdep.h: Likewise.
39208 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39210         [BZ #13553]
39211         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39212         for non-gcc.
39213         * argp/argp-fmtstream.h: Use const instead __const.
39214         * argp/argp.h: Likewise.
39215         * assert/assert.h: Likewise.
39216         * bits/fenv.h: Likewise.
39217         * bits/sched.h: Likewise.
39218         * bits/sigset.h: Likewise.
39219         * bits/sigthread.h: Likewise.
39220         * catgets/nl_types.h: Likewise.
39221         * conform/data/pthread.h-data: Likewise.
39222         * crypt/crypt-private.h: Likewise.
39223         * crypt/crypt.h: Likewise.
39224         * crypt/crypt_util.c: Likewise.
39225         * ctype/ctype.h: Likewise.
39226         * debug/execinfo.h: Likewise.
39227         * debug/mbsnrtowcs_chk.c: Likewise.
39228         * debug/mbsrtowcs_chk.c: Likewise.
39229         * debug/wcsnrtombs_chk.c: Likewise.
39230         * debug/wcsrtombs_chk.c: Likewise.
39231         * debug/wcstombs_chk.c: Likewise.
39232         * dirent/dirent.h: Likewise.
39233         * dlfcn/dlfcn.h: Likewise.
39234         * elf/neededtest4.c: Likewise.
39235         * grp/grp.h: Likewise.
39236         * gshadow/gshadow.h: Likewise.
39237         * iconv/gconv.h: Likewise.
39238         * iconv/gconv_int.h: Likewise.
39239         * iconv/gconv_simple.c: Likewise.
39240         * iconv/iconv.h: Likewise.
39241         * iconv/loop.c: Likewise.
39242         * iconv/skeleton.c: Likewise.
39243         * include/aio.h: Likewise.
39244         * include/aliases.h: Likewise.
39245         * include/argz.h: Likewise.
39246         * include/arpa/inet.h: Likewise.
39247         * include/assert.h: Likewise.
39248         * include/dirent.h: Likewise.
39249         * include/dlfcn.h: Likewise.
39250         * include/execinfo.h: Likewise.
39251         * include/fcntl.h: Likewise.
39252         * include/fenv.h: Likewise.
39253         * include/glob.h: Likewise.
39254         * include/grp.h: Likewise.
39255         * include/libintl.h: Likewise.
39256         * include/mntent.h: Likewise.
39257         * include/netdb.h: Likewise.
39258         * include/pwd.h: Likewise.
39259         * include/rpc/netdb.h: Likewise.
39260         * include/sched.h: Likewise.
39261         * include/search.h: Likewise.
39262         * include/shadow.h: Likewise.
39263         * include/signal.h: Likewise.
39264         * include/stdio.h: Likewise.
39265         * include/stdlib.h: Likewise.
39266         * include/string.h: Likewise.
39267         * include/sys/socket.h: Likewise.
39268         * include/sys/stat.h: Likewise.
39269         * include/sys/statfs.h: Likewise.
39270         * include/sys/statvfs.h: Likewise.
39271         * include/sys/syslog.h: Likewise.
39272         * include/sys/time.h: Likewise.
39273         * include/sys/uio.h: Likewise.
39274         * include/time.h: Likewise.
39275         * include/unistd.h: Likewise.
39276         * include/utmp.h: Likewise.
39277         * include/wchar.h: Likewise.
39278         * include/wctype.h: Likewise.
39279         * inet/aliases.h: Likewise.
39280         * inet/arpa/inet.h: Likewise.
39281         * inet/netinet/ether.h: Likewise.
39282         * inet/netinet/in.h: Likewise.
39283         * intl/libintl.h: Likewise.
39284         * io/bits/fcntl2.h: Likewise.
39285         * io/fcntl.h: Likewise.
39286         * io/ftw.h: Likewise.
39287         * io/sys/poll.h: Likewise.
39288         * io/sys/stat.h: Likewise.
39289         * io/sys/statfs.h: Likewise.
39290         * io/sys/statvfs.h: Likewise.
39291         * io/utime.h: Likewise.
39292         * libio/bits/stdio.h: Likewise.
39293         * libio/bits/stdio2.h: Likewise.
39294         * libio/libio.h: Likewise.
39295         * libio/libioP.h: Likewise.
39296         * libio/stdio.h: Likewise.
39297         * locale/lc-ctype.c: Likewise.
39298         * locale/locale.h: Likewise.
39299         * login/utmp.h: Likewise.
39300         * malloc/arena.c: Likewise.
39301         * malloc/malloc.c: Likewise.
39302         * malloc/malloc.h: Likewise.
39303         * malloc/mcheck.c: Likewise.
39304         * malloc/mtrace.c: Likewise.
39305         * math/bits/mathcalls.h: Likewise.
39306         * math/fenv.h: Likewise.
39307         * math/math_private.h: Likewise.
39308         * misc/bits/error.h: Likewise.
39309         * misc/bits/syslog.h: Likewise.
39310         * misc/err.h: Likewise.
39311         * misc/error.h: Likewise.
39312         * misc/fstab.h: Likewise.
39313         * misc/mntent.h: Likewise.
39314         * misc/regexp.h: Likewise.
39315         * misc/search.h: Likewise.
39316         * misc/sgtty.h: Likewise.
39317         * misc/sys/mman.h: Likewise.
39318         * misc/sys/syslog.h: Likewise.
39319         * misc/sys/uio.h: Likewise.
39320         * misc/sys/xattr.h: Likewise.
39321         * misc/ttyent.h: Likewise.
39322         * nis/rpcsvc/ypclnt.h: Likewise.
39323         * nss/nss.h: Likewise.
39324         * posix/bits/unistd.h: Likewise.
39325         * posix/fnmatch.h: Likewise.
39326         * posix/glob.h: Likewise.
39327         * posix/sched.h: Likewise.
39328         * posix/spawn.h: Likewise.
39329         * posix/sys/wait.h: Likewise.
39330         * posix/unistd.h: Likewise.
39331         * posix/wordexp.h: Likewise.
39332         * pwd/pwd.h: Likewise.
39333         * resolv/netdb.h: Likewise.
39334         * resource/sys/resource.h: Likewise.
39335         * rt/aio.h: Likewise.
39336         * rt/bits/mqueue2.h: Likewise.
39337         * rt/mqueue.h: Likewise.
39338         * shadow/shadow.h: Likewise.
39339         * signal/signal.h: Likewise.
39340         * socket/send.c: Likewise.
39341         * socket/sendto.c: Likewise.
39342         * socket/sys/socket.h: Likewise.
39343         * stdio-common/printf.h: Likewise.
39344         * stdlib/bits/stdlib.h: Likewise.
39345         * stdlib/fmtmsg.h: Likewise.
39346         * stdlib/monetary.h: Likewise.
39347         * stdlib/stdlib.h: Likewise.
39348         * stdlib/ucontext.h: Likewise.
39349         * streams/stropts.h: Likewise.
39350         * string/argz.h: Likewise.
39351         * string/bits/string2.h: Likewise.
39352         * string/string.h: Likewise.
39353         * string/strings.h: Likewise.
39354         * sunrpc/rpc/auth.h: Likewise.
39355         * sunrpc/rpc/auth_des.h: Likewise.
39356         * sunrpc/rpc/clnt.h: Likewise.
39357         * sunrpc/rpc/netdb.h: Likewise.
39358         * sunrpc/rpc/pmap_clnt.h: Likewise.
39359         * sunrpc/rpc/xdr.h: Likewise.
39360         * sysdeps/generic/inttypes.h: Likewise.
39361         * sysdeps/generic/net/if.h: Likewise.
39362         * sysdeps/generic/sys/swap.h: Likewise.
39363         * sysdeps/gnu/net/if.h: Likewise.
39364         * sysdeps/gnu/utmpx.h: Likewise.
39365         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39366         * sysdeps/i386/i486/bits/string.h: Likewise.
39367         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39368         * sysdeps/s390/bits/string.h: Likewise.
39369         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39370         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39371         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39372         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39373         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39374         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39375         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39376         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39377         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39378         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39379         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39380         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39381         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39382         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39383         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39384         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39385         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39387         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39388         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39389         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39390         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39391         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39392         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39393         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39394         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39395         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39397         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39398         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39399         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39400         * sysvipc/sys/ipc.h: Likewise.
39401         * sysvipc/sys/msg.h: Likewise.
39402         * sysvipc/sys/sem.h: Likewise.
39403         * sysvipc/sys/shm.h: Likewise.
39404         * termios/termios.h: Likewise.
39405         * time/sys/time.h: Likewise.
39406         * time/time.h: Likewise.
39407         * wcsmbs/bits/wchar2.h: Likewise.
39408         * wcsmbs/uchar.h: Likewise.
39409         * wcsmbs/wchar.h: Likewise.
39410         * wctype/wctype.h: Likewise.
39412         [BZ #13551]
39413         * Makeconfig: Remove all but ELF support including AIX support.
39414         * Makerules: Likewise.
39415         * config.h.in: Likewise.
39416         * config.make.in: Likewise.
39417         * configure: Likewise.
39418         * configure.in: Likewise.
39419         * csu/Makefile: Likewise.
39420         * csu/version.c: Likewise.
39421         * debug/Makefile: Likewise.
39422         * dlfcn/Makefile: Likewise.
39423         * elf/Makefile: Likewise.
39424         * extra-lib.mk: Likewise.
39425         * iconv/Makefile: Likewise.
39426         * include/libc-symbols.h: Likewise.
39427         * include/shlib-compat.h: Likewise.
39428         * resolv/Makefile: Likewise.
39429         * resolv/res_libc.c: Likewise.
39430         * rt/Makefile: Likewise.
39431         * sysdeps/i386/asm-syntax.h: Likewise.
39432         * sysdeps/i386/sysdep.h: Likewise.
39433         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39434         * sysdeps/mach/sysdep.h: Likewise.
39435         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39436         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39437         * sysdeps/s390/asm-syntax.h: Likewise.
39438         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39439         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39440         * sysdeps/sh/sysdep.h: Likewise.
39441         * sysdeps/unix/sparc/sysdep.h: Likewise.
39442         * sysdeps/wordsize-32/divdi3.c: Likewise.
39443         * sysdeps/x86_64/sysdep.h: Likewise.
39445         * argp/Versions: Remove _argp_unlock_xxx.
39447         [BZ #13559]
39448         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39449         * abilist/libBrokenLocale.abilist: Likewise.
39450         * abilist/libanl.abilist: Likewise.
39451         * abilist/libc.abilist: Likewise.
39452         * abilist/libcrypt.abilist: Likewise.
39453         * abilist/libdl.abilist: Likewise.
39454         * abilist/libm.abilist: Likewise.
39455         * abilist/libnsl.abilist: Likewise.
39456         * abilist/libpthread.abilist: Likewise.
39457         * abilist/libresolv.abilist: Likewise.
39458         * abilist/librt.abilist: Likewise.
39459         * abilist/libthread_db.abilist: Likewise.
39460         * abilist/libutil.abilist: Likewise.
39461         * abilist/libnss_db.abilist: New file.
39463         * scripts/abilist.awk: Add support for indirect functions.
39465         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39467         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39469         * shlib-versions: Remove entries for ports architectures.
39471         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39472         files in ports.
39473         * elf/stackguard-macros.h: Remove support for IA-64.
39474         * elf/tst-auditmod1.c: Likewise.
39475         * sysdeps/generic/ldsodefs.h: Likewise.
39477         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39478         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39479         configure files.
39481         [BZ #13552]
39482         * configure.in: Remove --enable-omitfp support.
39483         * FAQ.in: Adjust.
39484         * config.make.in: Likewise.
39485         * Makeconfig: Likewise.
39486         * manual/install.texi: Likewise.
39488         In case anyone cares, the IA-64 architecture could move to ports.
39489         * sysdeps/ia64/*: Removed.
39490         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39491         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39493         [BZ #13555]
39494         * configure.in: Remove entries for unsupported architectures.
39496         [BZ #13533]
39497         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39498         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39499         routines.
39500         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39501         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39502         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39503         fall back to using wcrtomb.
39504         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39505         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39506         renaming.
39507         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39508         * wcsmbs/tst-c16c32-1.c: New file.
39510         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39511         local variable.
39513         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39515         * elf/tst-unique3.cc: Add explicit declaration of gets.
39516         * elf/tst-unique3lib.cc: Likewise.
39517         * elf/tst-unique3lib2.cc: Likewise.
39518         * elf/tst-unique4.cc: Likewise.
39520         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39522 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39524         [BZ #13566]
39525         * assert/assert.h (static_assert): Don't define for C++.
39526         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39527         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39529 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39531         * iconv/loop.c (single loop): Fix assertion in storing of
39532         remaining bytes.
39534         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39536 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39538         * posix/getconf.c: Update copyright year.
39539         * nss/getent.c: Likewise.
39540         * nss/makedb.c: Likewise.
39541         * iconv/iconvconfig.c: Likewise.
39542         * iconv/iconv_prog.c: Likewise.
39543         * elf/ldconfig.c: Likewise.
39544         * elf/pldd.c: Likewise.
39545         * elf/sotruss.ksh: Likewise.
39546         * catgets/gencat.c: Likewise.
39547         * csu/version.c: Likewise.
39548         * elf/ldd.bash.in: Likewise.
39549         * elf/sprof.c (print_version): Likewise.
39550         * locale/programs/locale.c: Likewise.
39551         * locale/programs/localedef.c: Likewise.
39552         * login/programs/pt_chown.c: Likewise.
39553         * nscd/nscd.c (print_version): Likewise.
39554         * debug/xtrace.sh: Likewise.
39555         * malloc/memusage.sh: Likewise.
39556         * malloc/mtrace.pl: Likewise.
39557         * debug/catchsegv.sh: Likewise.
39559 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39561         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39562         pure attribute.
39564 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39566         [BZ #13533]
39567         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39568         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39569         transformations.
39570         * iconv/gconv_int.h: Likewise.
39571         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39572         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39573         from libc for GLIBC_2.16.
39574         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39575         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39576         * wcsmbs/uchar.h: Really define mbstate_t.
39577         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39578         * wcsmbs/c16rtomb.c: New file.
39579         * wcsmbs/mbrtoc16.c: New file.
39580         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39581         for C/POSIX locale.
39582         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39583         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39585         * wcsmbs/wchar.h: Add missing __restrict.
39587 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39589         [BZ #13532]
39590         * time/Makefile (routines): Add timespec_get.
39591         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39592         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39593         timespec for ISO C11.
39594         * time/timespec_get.c: New file.
39595         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39596         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39598         [BZ #13531]
39599         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39600         * stdlib/stdlib.h: Declare aligned_alloc.
39601         * Versions.def: Add GLIBC_2.16 for libc.
39602         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39604         [BZ 13527]
39605         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39606         ISO C11.
39608         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39609         code.
39611         [BZ #13528]
39612         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39614         [BZ #13529]
39615         * assert/assert.h (static_assert): Define.
39617         * version.h: Update for 2.16 development version.
39619         [BZ #13526]
39620         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39621         _ISOC11_SOURCE.
39623         * version.h (RELEASE): Bump for 2.15 release.
39624         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39626         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39627         Patch by Marek Polacek <mpolacek@redhat.com>.
39629         * bits/byteswap.h: Protect long long constants with __extension__.
39630         * sysdeps/i386/bits/byteswap.h: Likewise.
39631         * sysdeps/ia64/bits/byteswap.h: Likewise.
39632         * sysdeps/s390/bits/byteswap.h: Likewise.
39633         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39635 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39637         [BZ #13540]
39638         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39639         destination buffer.
39640         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39642 2011-12-23  Marek Polacek  <polacek@redhat.com>
39644         * elf/dl-addr.c (determine_info): Add inline keyword.
39645         * elf/tst-auditmod4b.c (check_avx): Likewise.
39646         * elf/tst-auditmod6b.c (check_avx): Likewise.
39647         * elf/tst-auditmod6c.c (check_avx): Likewise.
39648         * elf/tst-auditmod7b.c (check_avx): Likewise.
39650 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39652         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39653         !__SSE_MATH__.
39655 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39657         [BZ #13540]
39658         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39659         processing for last bytes.
39661 2011-08-06  Bruno Haible  <bruno@clisp.org>
39663         [BZ #13061]
39664         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39665         U+0385, not to U+1FEE.
39667         [BZ #13062]
39668         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39669         entry for U+00A5 U+0301.
39671 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39673         [BZ #13166]
39674         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39675         buffer for the output is too small.
39677         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39678         optimization.
39680         [BZ #13185]
39681         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39682         SSE flags if possible.
39684 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39686         [BZ #13540]
39687         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39688         processing for last bytes.
39690 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39692         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39693         (syscall-list-default-options, syscall-list-default-condition)
39694         (syscall-list-includes): Define.
39695         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39696         list of ABIs and options and #if conditions for each ABI.  Do not
39697         handle common syscalls between ABIs specially.
39698         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39699         Remove.
39700         (syscall-list-variants, syscall-list-32bit-options)
39701         (syscall-list-32bit-condition, syscall-list-64bit-options)
39702         (syscall-list-64bit-condition): Define.
39703         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39704         (syscall-list-variants, syscall-list-32bit-options)
39705         (syscall-list-32bit-condition, syscall-list-64bit-options)
39706         (syscall-list-64bit-condition): Define.
39707         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39708         Remove.
39709         (syscall-list-variants, syscall-list-32bit-options)
39710         (syscall-list-32bit-condition, syscall-list-64bit-options)
39711         (syscall-list-64bit-condition): Define.
39712         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39713         Remove.
39714         (syscall-list-variants, syscall-list-32bit-options)
39715         (syscall-list-32bit-condition, syscall-list-64bit-options)
39716         (syscall-list-64bit-condition): Define.
39718 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39720         * locale/iso-639.def: Add brx entry.
39722         [BZ #13328]
39723         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39724         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39726         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39727         __feraiseexcept_renamed.
39729 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39731         [BZ #13538]
39732         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39733         EPOLLET with unsigned values.
39734         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39735         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39737         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39738         to large cancellation.
39739         * math/s_cacoshf.c: Likewise.
39740         * math/s_cacoshl.c: Likewise.
39742 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39744         [BZ #13305]
39745         [BZ #12786]
39746         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39747         * math/s_cacoshf.c: Likewise.
39748         * math/s_cacoshl.c: Likewise.
39750 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39752         [BZ #13439]
39753         * iconv/gconv.h: Define __GCONV_SWAP.
39754         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39755         * iconvdata/utf-16.c: Likewise.
39756         * iconvdata/utf-32.c: Likewise.
39758 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39760         [BZ #13524]
39761         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39762         numerator after shifting it by one limb.
39764 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39766         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39767         under [__USE_EXTERN_INLINES].
39769 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39771         [BZ #13446]
39772         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39774 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39776         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39777         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39778         optimized code.
39779         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39780         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39781         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39782         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39783         for strncasecmp/strncasecmp_l compilation.
39784         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39785         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39787 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39789         [BZ #13484]
39790         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39791         of __asm__.
39793 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39795         [BZ #13506]
39796         * time/tzfile.c (__tzfile_read): Check values from file header.
39798 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39800         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39801         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39802         * powerpc/powerpc32/dl-start.S: Likewise.
39803         * powerpc/powerpc32/elf/start.S: Likewise.
39804         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39805         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39806         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39807         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39808         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39809         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39810         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39811         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39812         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39813         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39814         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39815         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39816         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39817         * powerpc/powerpc32/memset.S: Likewise.
39818         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39819         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39820         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39821         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39822         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39823         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39824         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39825         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39826         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39827         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39828         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39829         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39830         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39832 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39834         * math/libm-test.inc: Added more nearbyint tests.
39835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39836         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39837         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39838         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39840 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39842         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39843         FD_CLOEXEC.
39845 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39847         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39848         Add wcscpy-ssse3 wcscpy-c.
39849         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39850         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39851         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39852         * sysdeps/x86_64/wcschr.S: New file.
39853         * sysdeps/x86_64/wcsrchr.S: New file.
39854         * string/test-strcmp.c: Remove checking of wcscmp function for
39855         wrong alignments.
39856         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39857         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39858         wcsrchr-sse2 wcsrchr-c.
39859         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39860         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39861         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39862         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39863         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39864         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39865         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39866         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39867         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39868         * wcsmbc/wcschr.c (WCSCHR): New macro.
39870 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39872         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39873         * wcsmbs/test-wcsrchr.c: New file.
39874         * string/test-strrchr.c: Add wcsrchr support.
39875         (WIDE): New macro.
39876         * wcsmbs/test-wcscpy.c: New file.
39877         * string/test-strcpy.c: Add wcscpy support.
39878         (WIDE): New macro.
39880 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39882         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39883         the inner loop.
39885 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39887         [BZ #13472]
39888         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39890 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39892         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39893         Minor optimizations.
39895         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39896         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39897         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39899 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39901         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39902         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39903         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39904         for gcc to avoid warnings.
39905         * inet/Makefile (tests): Add tst-checks.
39906         * inet/tst-checks.c: New file.
39908         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39909         warning.
39911         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39912         __wmemcmp_sse2.
39914         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39915         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39917         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39919 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39921         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39922         problem.
39924         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39926 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39928         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39929         conditional on GCC version.
39930         (__arch_compare_and_exchange_val_8_acq)
39931         (__arch_compare_and_exchange_val_16_acq)
39932         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39933         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39934         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39936 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39938         * sysdeps/sh/backtrace.c: New file.
39940 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39942         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39943         parenthesis.
39945 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39947         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39948         falling back to utime.
39950 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39952         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39953         expectations for float.
39955 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39957         * locale/weight.h (findidx): Add parameter len.
39958         * locale/weightwc.h (findidx): Likewise.
39959         * posix/fnmatch_loop.c (FCT): Adjust caller.
39960         * posix/regcomp.c (build_equiv_class): Likewise.
39961         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39962         * posix/regexec.c (check_node_accept_bytes): Likewise.
39963         * string/strcoll_l.c (STRCOLL): Likewise.
39964         * string/strxfrm_l.c (STRXFRM): Likewise.
39966 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39968         * Makefile.in: Remove CVSOPT handling.
39969         * configure.in: Remove use of AC_REVISION.
39970         * iconvdata/Makefile (distribute): No need to filter out CVS.
39971         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39972         handling.
39974 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39977         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39978         [USE_AS_STRNCASECMP_L]: Likewise.
39979         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39980         NO_TLS_DIRECT_SEG_REFS.
39981         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39982         Fix argument offsets for non-PIC.
39983         [USE_AS_STRNCASECMP_L]: Likewise.
39984         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39985         NO_TLS_DIRECT_SEG_REFS.
39987 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39989         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39990         O_CLOEXEC.
39991         * locale/loadlocale.c (_nl_load_locale): Likewise.
39993 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39995         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39996         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39997         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39998         (SYSCALL_GETTIME): Set errno on error.
40000         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40001         count references to noai6ai_cached.
40003 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40005         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40007         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40008         FD_CLOEXEC for /proc/self/maps.
40010         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40011         FD_CLOEXEC for /proc/meminfo.
40013         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40014         gai.conf.
40016         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40017         FD_CLOEXEC for given file.
40019         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40021         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40022         FD_CLOEXEC for /etc/hosts.
40023         (_gethtent): Likewise.
40025         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40027         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40028         cancellation and set FD_CLOEXEC for /etc/netgroup.
40030         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40031         reading /etc/publickey.
40033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40034         allow cancellation when reading /etc/group.
40036         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40037         cancellation.
40038         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40040         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40041         when using data file.
40043         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40045         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40046         (write_nis_obj): Use "c" and "e" in fopen.
40048         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40050         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40052         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40054         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40056         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40057         locale.alias.
40059         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40061         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40063         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40065         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40066         file parsing and set FD_CLOEXEC.
40068 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40070         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40072 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40074         * malloc/arena.c (arena_get2): Don't call reused_arena when
40075         _int_new_arena failed.
40077 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40079         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40080         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40081         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40082         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40083         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40084         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40085         to compile strcasecmp and strncasecmp.
40086         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40087         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40089         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40091 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40093         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40094         locale-defines.sym to gen-as-const-headers.
40095         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40096         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40098         to compile strcasecmp and strncasecmp.
40099         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40100         strcasecmp_l and strncasecmp_l.
40101         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40102         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40103         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40104         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40105         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40106         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40107         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40108         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40109         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40110         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40111         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40113 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40115         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40116         result of SYSDEP_GETTIME_CPU to retval.
40117         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40118         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40120         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40121         variable.
40123         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40124         mantissa words.
40125         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40127         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40128         from unused variable.
40130         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40131         DWARF definitions.
40132         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40133         for assembling.
40135         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40136         over namespaces.
40138         * sunrpc/rpc_prot.c (rejected): Fix case value.
40140         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40141         unsigned long long int to avoid warnings in shift.
40143         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40144         of use of trans.
40145         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40146         variable tmp.
40148         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40149         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40150         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40152         * nis/nis_table.c (nis_list): Use variable of correct type for
40153         result of __follow_path call.
40155 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40157         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40158         of math functions ceil, trunc, floor, round, and sqrt, when
40159         avaliable on the platform.
40160         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40161         name clash.
40162         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40163         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40164         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40166 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40168         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40169         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40171 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40173         * include/unistd.h: Fix __readlink return type.
40174         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40176 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40178         * stdlib/ucontext.h: Undo last change for makecontext.
40180 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40182         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40184         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40185         * setjmp/setjmp.h: Mark functions as non-leaf.
40186         * setjmp/bits/setjmp2.h: Likewise.
40187         * stdlib/ucontext.h: Likewise.
40189 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40191         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40192         (reused_arena): Don't check arena limit.
40193         (arena_get2): Atomically check arena limit.
40195 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40197         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40198         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40200         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40201         instructions.
40203 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40205         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40206         handler when locking.
40208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40209         Fix size of allocated buffer.
40211 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40213         [BZ #10103]
40214         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40215         declarations for long double functions.
40216         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40218         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40220 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40222         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40223         installed.
40225         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40226         is disabled.
40228 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40230         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40232 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40234         * include/alloca.h (stackinfo_alloca_round): Define.
40235         (extend_alloca): Use it.
40236         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40237         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40238         here.
40240         * scripts/check-local-headers.sh: Ignore libaudit.h.
40242         * nscd/Makefile (extra-objs): Make recursively expanded.
40244 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40246         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40247         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40249         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40250         * posix/tst-rfc3484-2.c: Likewise.
40251         * posix/tst-rfc3484-3.c: Likewise.
40253         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40254         process_vm_writev.
40255         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40256         process_vm_writev.
40257         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40258         process_vm_writev from libc using GLIBC_2.15 version.
40260         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40262 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40264         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40265         stack usage.
40267 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40269         [BZ #13367]
40270         * nss/getent.c (initgroups_keys): Show error message in case no group
40271         names are given.
40273         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40274         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40275         __bump_nl_timestamp.
40276         * nscd/connections (nscd_init): When host database is served open
40277         netlink socket and request notification about configuration changes.
40278         (main_loop_poll): Track netlink file descriptor and bump timestamp
40279         in case data becomes available.
40280         (main_loop_epoll): Likewise.
40281         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40282         (database_pers_head): Add extra_data fileds.
40283         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40284         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40285         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40286         Adjust caller.
40287         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40288         in6ai data, call __free_in6ai.
40289         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40290         Add -DHAVE_NETLINK.
40291         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40292         interface information.  Reuse previous data if netlink timestamp
40293         is not changed.
40294         (__bump_nl_timestamp): New function.
40295         (__free_in6ai): New function.
40297 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40299         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40300         close_not_cancel_no_status here.
40301         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40303 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40305         [BZ #13276]
40306         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40307         return value.
40309         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40310         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40311         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40313 2011-07-03  Andreas Jaeger  <aj@suse.de>
40315         [BZ #10709]
40316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40317         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40318         * math/libm-test.inc (sin_test): Add test case.
40320 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40322         [BZ #13337]
40323         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40324         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40326         * elf/chroot_canon.c (chroot_canon): Cleanups.
40328         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40330         [BZ #13335]
40331         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40332         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40334         * string/test-strchr.c: Make usable for strchrnul testing.
40335         * string/test-strchrnul.c: New file.
40336         * string/Makefile (strop-tests): Add strchrnul.
40338         * po/it.po: Update from translation team.
40339         * po/es.po: Likewise.
40341 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40343         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40344         the three constants needed as parameters.  Drop the others.
40345         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40346         __m128i_strloadu_tolower.
40347         Create and initialize variable zero and use it in all the places
40348         where _mm_setzero_si128 was used.
40350         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40351         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40352         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40353         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40354         anymore.
40355         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40356         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40357         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40358         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40359         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40360         __mpranred, __mptan.
40361         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40362         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40363         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40364         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40365         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40366         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40367         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40368         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40369         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40371 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40373         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40374         redefine if SHARED.
40375         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40378         wide char related routines to wcsmbs subdir.
40380 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40382         [BZ #13344]
40383         * misc/sys/cdefs.h (__THROWNL): Define.
40384         * posix/unistd.h: Use __THREADNL instead of __THREAD
40385         for memory synchronization functions.
40387 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40389         [BZ #13349]
40390         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40391         doesn't exist.
40392         * manual/stdio.texi (Obstack Streams): Node removed.
40394 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40396         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40397         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40398         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40400         * math/math_private.h (math_force_eval): Allow non-addressable
40401         arguments.
40402         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40404 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40406         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40407         file is not needed.
40409         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40410         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40411         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40412         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40413         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40414         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40415         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40416         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40417         Add AVX variants.
40418         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40419         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40420         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40421         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40422         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40423         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40424         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40425         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40426         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40427         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40428         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40429         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40430         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40431         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40432         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40433         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40434         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40435         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40436         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40438         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40439         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40442         place.  Use VEX encoding when compiling for AVX.
40444 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40446         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40447         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40449         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40451 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40453         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40454         useless if() expression.
40455         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40464         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40465         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40466         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40467         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40468         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40469         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40470         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40473         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40475         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40477 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40479         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40480         condition.
40481         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40483 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40485         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40486         .text section.  Avoid duplicate constants.
40487         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40497         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40499         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40502         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40504         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40508         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40509         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40510         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40511         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40512         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40513         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40514         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40515         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40516         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40517         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40518         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40519         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40520         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40521         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40522         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40523         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40524         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40525         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40526         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40527         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40528         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40529         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40530         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40531         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40533 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40535         * sysdeps/x86_64/dla.h: Move to ...
40536         * sysdeps/x86_64/fpu/dla.h: ...here.
40537         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40538         situations.  Use __builtin_fma only for gcc 4.6 and up.
40540         * config.make.in: Add have-mfma4 entry.
40541         * configure.in: Substitute libc_cv_cc_fma4.
40542         * math/Makefile (dbl-only-routines): Add sincostab.
40543         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40544         Use __sincostab not sincos.
40545         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40546         name is a macro.
40547         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40551         using __copysign.
40552         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40553         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40554         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40555         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40556         and __inv.
40557         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40558         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40559         __copysign.
40560         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40561         define aliases when function name is a macro.
40562         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40563         sysdeps/ieee754/dbl-64/sincos.tbl.
40564         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40565         fma4-enabled routines.
40566         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40567         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40568         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40569         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40570         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40571         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40572         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40573         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40574         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40575         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40576         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40577         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40578         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40579         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40580         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40581         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40582         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40583         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40584         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40586         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40587         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40589         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40590         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40591         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40592         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40593         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40594         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40595         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40597         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40598         rename.
40599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40608 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40610         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40612 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40616         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40617         prediction.
40618         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40620         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40621         Remove unused variable magic_bits.
40622         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40624         * string/strnlen.c: Define and use STRNLEN macro.
40625         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40626         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40627         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40628         * wcsmbs/wcslen.c: Define and use WCSLEN.
40629         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40630         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40631         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40632         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40633         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40634         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40635         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40637 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40640         strnlen-sse2-no-bsf.
40641         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40643         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40644         Add strnlen support.
40645         (USE_AS_STRNLEN): New macro.
40646         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40647         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40648         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40649         * sysdeps/x86_64/wcslen.S: New file.
40651 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40654         XMM-moves are used for copying on small sizes.
40656 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40658         * wcsmbs/Makefile (strop-tests): Add wcschr.
40659         * wcsmbs/test-wcschr.c: New file.
40660         * string/test-strchr.c: Update.
40661         Add wcschr support.
40662         (WIDE): New macro.
40664 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40666         * wcsmbs/Makefile (strop-tests): Add wcslen.
40667         * wcsmbs/test-wcslen.c: New file.
40668         * string/test-strlen.c: Update.
40669         Add wcslen support.
40670         (WIDE): New macro.
40672 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40674         * po/it.po: Update from translation team.
40676 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40678         * sysdeps/x86_64/wcscmp.S: Update.
40679         Fix wrong comparison semantics.
40680         wcscmp shall use signed comparison not unsigned.
40681         Don't use substraction to avoid overflow bug.
40682         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40683         * wcsmbc/wcscmp.c: Likewise.
40684         * string/test-strcmp.c: Likewise.
40685         Add new tests to check cases with negative values.
40687 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40689         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40690         * sysdeps/x86_64/dla.h: ...here.  New file.
40691         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40699         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40701 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40704         __ynl_finite aliases.
40706 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40710         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40711         define DLA_FMA.
40712         [DLA_FMA] (EMULV): Use DLA_FMA.
40713         [DLA_FMA] (MUL12): Use EMULV.
40714         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40715         that are not needed.
40716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40717         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40721         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40724 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40726         * math/s_nan.c: Undef __nan.
40727         * math/s_nanf.c: Undef __nanf.
40728         * math/s_nanl.c: Undef __nanl.
40729         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40730         "math_private.h".
40732 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40734         * math/s_catan.c: Add branch predictions.
40735         * math/s_catanf.c: Likewise.
40736         * math/s_catanh.c: Likewise.
40737         * math/s_catanhf.c: Likewise.
40738         * math/s_catanhl.c: Likewise.
40739         * math/s_catanl.c: Likewise.
40740         * math/s_cexp.c: Likewise.
40741         * math/s_cexpf.c: Likewise.
40742         * math/s_cexpl.c: Likewise.
40743         * math/s_clog.c: Likewise.
40744         * math/s_clog10.c: Likewise.
40745         * math/s_clog10f.c: Likewise.
40746         * math/s_clog10l.c: Likewise.
40747         * math/s_clogf.c: Likewise.
40748         * math/s_clogl.c: Likewise.
40749         * math/s_csqrt.c: Likewise.
40750         * math/s_csqrtf.c: Likewise.
40751         * math/s_csqrtl.c: Likewise.
40752         * math/s_ctanf.c: Likewise.
40753         * math/s_ctanh.c: Likewise.
40754         * math/s_ctanhf.c: Likewise.
40755         * math/s_ctanhl.c: Likewise.
40756         * math/s_ctanl.c: Likewise.
40758         * math/math_private.h: Define __nan, __nanf, __nanl.
40759         * math/s_cacosh.c: Include <math_private.h>.
40760         * math/s_cacoshl.c: Likewise.
40761         * math/s_casinh.c: Likewise.
40762         * math/s_casinhf.c: Likewise.
40763         * math/s_casinhl.c: Likewise.
40764         * math/s_ccos.c: Rely entire on ccosh.
40765         * math/s_ccosf.c: Rely entire on ccoshf.
40766         * math/s_ccosl.c: Rely entirely on ccoshl.
40767         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40768         Remove tests for FE_INVALID.
40769         * math/s_ccoshf.c: Likewise.
40770         * math/s_ccoshl.c: Likewise.
40771         * math/s_csin.c: Likewise.
40772         * math/s_csinf.c: Likewise.
40773         * math/s_csinh.c Likewise.
40774         * math/s_csinhf.c: Likewise.
40775         * math/s_csinhl.c: Likewise.
40776         * math/s_csinl.c: Likewise.
40777         * math/s_ctan.c: Likewise.
40778         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40779         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40780         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40782 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40785         compilation problems.
40787         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40788         __builtin_expect.
40790 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40792         * sysdeps/i386/configure.in: Test for -mfma4 option.
40793         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40794         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40795         COMMON_CPUID_INDEX_80000001.
40796         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40797         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40798         use it if FMA3 is not supported.
40799         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40801         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40802         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40804 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40806         [BZ #12892]
40807         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40808         it would create a cycle with a link time dependency.
40810 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40812         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40813         instruction.
40814         * string/Makefile (strop-tests): Add rawmemchr.
40815         * string/test-rawmemchr.c: New file.
40817         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40818         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40819         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40820         when compiling str{,n}casecmp and when AVX is available.  Hook up
40821         new optimized code in initializers.
40823 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40825         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40826         __feraiseexcept instead of feraiseexcept.
40828 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40830         * math/math_private.h: Define defaults for libc_fetestexcept and
40831         libc_feupdateenv.
40832         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40833         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40834         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40835         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40836         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40837         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40838         libc_fetestexcept and libc_feupdateenv.
40840         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40841         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40842         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40843         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40844         libc_feholdexcept_setround.
40846         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40847         Add s_nearbyint-c and s_nearbyintf-c.
40848         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40849         nearbyintf inlines.
40850         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40851         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40852         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40853         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40855         * math/math_private.h: Define defaults for libc_fegetround,
40856         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40857         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40858         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40859         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40860         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40861         standard functions.
40862         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40863         Remove comments and hacks for old compiler versions.
40864         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40865         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40866         libc_feholdexceptl.
40868 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40870         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40871         (__feraiseexcept_renamed): Add __NTH.
40872         (feraiseexcept): Add __NTH.  Rename local variables to fix
40873         namespace violations.
40875 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40877         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40879         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40881         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40882         recently added interfaces.
40883         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40885         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40886         about macro parameter expansion.
40888         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40889         __NO_MATH_INLINES is defined.  Cleanups.
40891         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40892         and __floorf is target has SSE4.1.
40893         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40894         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40895         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40896         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40898         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40899         name.
40900         (floorf): Likewise.
40902         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40904 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40906         * misc/sys/cdefs.h: Fix last change.
40908         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40909         database lookup.
40911 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40913         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40915         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40920         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40921         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40922         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40923         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40924         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40925         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40926         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40927         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40928         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40929         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40930         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40931         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40932         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40933         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40934         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40935         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40936         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40938         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40939         ceil, ceilf, floor, floorf.
40941         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40942         Perform IRELATIVE relocations last.
40944         * elf/do-rel.h: Add another parameter nrelative, replacing the
40945         local variable with the same name.  Change name of the function
40946         to end in Rel or Rela (uppercase).
40947         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40948         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40949         elf_dynamic_do_##reloc function.
40951 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40953         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40954         is sufficient, at least on modern CPUs.
40956         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40958         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40959         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40961         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40962         __expl_finite.
40963         * math/bits/math-finite.h: Add entries for exp.
40964         * math/e_expl.c: Add __*_finite alias.
40965         * sysdeps/i386/fpu/e_exp.S: Likewise.
40966         * sysdeps/i386/fpu/e_expf.S: Likewise.
40967         * sysdeps/i386/fpu/e_expl.c: Likewise.
40968         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40969         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40973         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40974         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40976         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40977         is sufficient, at least on modern CPUs.
40979         * ctype/ctype-info.c (__ctype_init): Define.
40980         * include/ctype.h (__ctype_init): Declare.
40981         (__ctype_b_loc): The variable is always initialized.
40982         (__ctype_toupper_loc): Likewise.
40983         (__ctype_tolower_loc): Likewise.
40984         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40985         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40987 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40989         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40991         * configure.in: Also look in $cxxmachine/include for C++ system
40992         headers.
40994 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40996         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40997         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40998         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40999         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41000         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41001         (USE_AS_WMEMCMP): New macro.
41002         Fixing indents.
41003         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41004         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41005         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41006         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41008         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41009         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41010         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41011         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41012         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41013         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41014         (USE_AS_WMEMCMP): New macro.
41015         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41016         * sysdeps/string/test-memcmp.c: Update.
41017         Fix simple_wmemcmp.
41018         Add new tests.
41019         * wcsmbs/wmemcmp.c: Update.
41020         (WMEMCMP): New macro.
41021         Fix overflow bug.
41023 2011-10-12  Andreas Jaeger  <aj@suse.de>
41025         [BZ #13268]
41026         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41028 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41030         * libio/iofwide.c (do_length): Avoid warning.
41032         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41034 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41036         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41038         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41039         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41040         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41041         * sysdeps/i386/i686/fpu/e_log.S: New file.
41042         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41043         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41045         * ctype/ctype.h: Add support for inlined isXXX functions when
41046         compiling C++ code.
41048 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41050         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41052         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41054 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41056         [BZ #13291]
41057         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41059 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41061         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41062         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41063         feraiseexcept.
41065         * sysdeps/x86_64/memrchr.S: Check for zero size.
41067         * string/stratcliff.c: Add memrchr tests.
41069 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41072         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41073         rawmemchr-sse2 rawmemchr-sse2-bsf.
41074         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41075         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41076         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41077         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41078         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41079         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41080         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41081         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41082         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41083         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41084         * string/memrchr.c (MEMRCHR): New macro.
41086 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41088         Add integration with gcc's -ffinite-math-only and optimize wrapper
41089         functions in libm.
41090         * Versions.def: Define GLIBC_2.15 version for libm.
41091         * math/Makefile (headers): Add bits/math-finite.h.
41092         * math/bits/math-finite.h: New file.
41093         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41094         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41095         * math/e_acoshl.c: Add __*_finite alias.
41096         * math/e_acosl.c: Likewise.
41097         * math/e_asinl.c: Likewise.
41098         * math/e_atan2l.c: Likewise.
41099         * math/e_atanhl.c: Likewise.
41100         * math/e_coshl.c: Likewise.
41101         * math/e_exp10.c: Likewise.
41102         * math/e_exp10f.c: Likewise.
41103         * math/e_exp10l.c: Likewise.
41104         * math/e_exp2l.c: Likewise.
41105         * math/e_fmodl.c: Likewise.
41106         * math/e_gammal_r.c: Likewise.
41107         * math/e_hypotl.c: Likewise.
41108         * math/e_j0l.c: Likewise.
41109         * math/e_j1l.c: Likewise.
41110         * math/e_jnl.c: Likewise.
41111         * math/e_lgammal_r.c: Likewise.
41112         * math/e_log10l.c: Likewise.
41113         * math/e_log2l.c: Likewise.
41114         * math/e_logl.c: Likewise.
41115         * math/e_powl.c: Likewise.
41116         * math/e_sinhl.c: Likewise.
41117         * math/e_sqrtl.c: Likewise.
41118         * math/e_scalb.c: Completely rewritten and optimized.
41119         * math/e_scalbf.c: Likewise.
41120         * math/e_scalbl.c: Likewise.
41121         * math/w_acos.c: Likewise.
41122         * math/w_acosf.c: Likewise.
41123         * math/w_acosl.c: Likewise.
41124         * math/w_acosh.c: Likewise.
41125         * math/w_acoshf.c: Likewise.
41126         * math/w_acoshl.c: Likewise.
41127         * math/w_asin.c: Likewise.
41128         * math/w_asinf.c: Likewise.
41129         * math/w_asinl.c: Likewise.
41130         * math/w_atan2.c: Likewise.
41131         * math/w_atan2f.c: Likewise.
41132         * math/w_atan2l.c: Likewise.
41133         * math/w_atanh.c: Likewise.
41134         * math/w_atanhf.c: Likewise.
41135         * math/w_atanhl.c: Likewise.
41136         * math/w_exp10.c: Likewise.
41137         * math/w_exp10f.c: Likewise.
41138         * math/w_exp10l.c: Likewise.
41139         * math/w_fmod.c: Likewise.
41140         * math/w_fmodf.c: Likewise.
41141         * math/w_fmodl.c: Likewise.
41142         * math/w_j0.c: Likewise.
41143         * math/w_j0f.c: Likewise.
41144         * math/w_j0l.c: Likewise.
41145         * math/w_j1.c: Likewise.
41146         * math/w_j1f.c: Likewise.
41147         * math/w_j1l.c: Likewise.
41148         * math/w_jn.c: Likewise.
41149         * math/w_jnf.c: Likewise.
41150         * math/w_log.c: Likewise.
41151         * math/w_logf.c: Likewise.
41152         * math/w_logl.c: Likewise.
41153         * math/w_log10.c: Likewise.
41154         * math/w_log10f.c: Likewise.
41155         * math/w_log10l.c: Likewise.
41156         * math/w_log2.c: Likewise.
41157         * math/w_log2f.c: Likewise.
41158         * math/w_log2l.c: Likewise.
41159         * math/w_pow.c: Likewise.
41160         * math/w_powf.c: Likewise.
41161         * math/w_powl.c: Likewise.
41162         * math/w_remainder.c: Likewise.
41163         * math/w_remainderf.c: Likewise.
41164         * math/w_remainderl.c: Likewise.
41165         * math/w_scalb.c: Likewise.
41166         * math/w_scalbf.c: Likewise.
41167         * math/w_scalbl.c: Likewise.
41168         * math/w_sqrt.c: Likewise.
41169         * math/w_sqrtf.c: Likewise.
41170         * math/w_sqrtl.c: Likewise.
41171         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41172         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41173         used.
41174         * math/math_private.h: Declare __kernel_standard_f.
41175         * math/w_cosh.c: Remove cruft and optimize a bit.
41176         * math/w_coshf.c: Likewise.
41177         * math/w_coshl.c: Likewise.
41178         * math/w_exp2.c: Likewise.
41179         * math/w_exp2f.c: Likewise.
41180         * math/w_exp2l.c: Likewise.
41181         * math/w_hypot.c: Likewise.
41182         * math/w_hypotf.c: Likewise.
41183         * math/w_hypotl.c: Likewise.
41184         * math/w_lgamma.c: Likewise.
41185         * math/w_lgamma_r.c: Likewise.
41186         * math/w_lgammaf.c: Likewise.
41187         * math/w_lgammaf_r.c: Likewise.
41188         * math/w_lgammal.c: Likewise.
41189         * math/w_lgammal_r.c: Likewise.
41190         * math/w_sinh.c: Likewise.
41191         * math/w_sinhf.c: Likewise.
41192         * math/w_sinhl.c: Likewise.
41193         * math/w_tgamma.c: Likewise.
41194         * math/w_tgammaf.c: Likewise.
41195         * math/w_tgammal.c: Likewise.
41196         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41197         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41198         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41199         Minor optimizations.  Pretty printing.  Remove cruft.
41200         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41201         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41202         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41203         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41204         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41205         * sysdeps/i386/fpu/e_asin.S: Likewise.
41206         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41207         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41208         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41209         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41210         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41211         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41212         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41213         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41214         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41215         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41216         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41217         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41218         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41219         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41220         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41221         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41222         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41223         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41224         * sysdeps/i386/fpu/e_log.S: Likewise.
41225         * sysdeps/i386/fpu/e_log10.S: Likewise.
41226         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41227         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41228         * sysdeps/i386/fpu/e_log2.S: Likewise.
41229         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41230         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41231         * sysdeps/i386/fpu/e_logf.S: Likewise.
41232         * sysdeps/i386/fpu/e_logl.S: Likewise.
41233         * sysdeps/i386/fpu/e_pow.S: Likewise.
41234         * sysdeps/i386/fpu/e_powf.S: Likewise.
41235         * sysdeps/i386/fpu/e_powl.S: Likewise.
41236         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41237         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41238         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41239         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41240         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41241         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41242         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41243         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41244         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41245         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41246         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41249         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41251         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41252         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41253         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41256         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41258         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41259         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41265         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41266         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41267         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41268         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41269         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41270         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41271         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41272         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41273         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41274         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41275         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41276         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41277         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41278         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41279         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41280         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41281         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41282         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41283         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41284         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41285         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41286         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41300         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41301         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41302         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41304         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41305         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41309         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41310         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41312         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41314         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41315         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41316         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41322         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41323         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41324         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41325         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41326         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41327         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41328         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41329         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41330         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41331         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41333         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41334         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41335         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41336         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41337         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41338         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41339         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41340         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41341         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41342         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41343         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41344         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41345         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41346         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41347         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41348         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41349         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41350         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41351         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41352         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41353         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41354         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41355         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41356         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41357         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41358         (__isnanf): Likewise.
41359         (__isinf_ns): Likewise.
41360         (__isinf_nsf): Likewise.
41361         (__finite): Likewise.
41362         (__finitef): Likewise.
41363         (__ieee754_sqrt): Define as macro.
41364         (__ieee754_sqrtf): Define as macro.
41365         (__ieee754_sqrtl): Define as macro.
41366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41367         inlined copy.
41368         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41369         __FINITE_MATH_ONLY__ consistent.
41370         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41372 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41374         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41375         of rawmemchr.
41377         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41379 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41381         * po/ja.po: Update from translation team.
41383 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41385         * locale/programs/locarchive.c (prepare_address_space): New function.
41386         (create_archive, enlarge_archive, open_archive): Use it.
41388         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41389         inside [SHARED], where it is used.
41391         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41393         * nss/getent.c (netgroup_keys): Remove unused variable.
41394         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41396 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41398         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41399         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41401         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41402         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41403         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41404         * math/Makefile (libm-calls): Add s_isinf_ns.
41405         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41406         * math/multc3.c: Likewise.
41407         * math/s_casin.c: Likewise.
41408         * math/s_casinf.c: Likewise.
41409         * math/s_casinl.c: Likewise.
41410         * math/s_ccos.c: Likewise.
41411         * math/s_ccosf.c: Likewise.
41412         * math/s_ccosl.c: Likewise.
41413         * math/s_ctan.c: Likewise.
41414         * math/s_ctanf.c: Likewise.
41415         * math/s_ctanh.c: Likewise.
41416         * math/s_ctanhf.c: Likewise.
41417         * math/s_ctanhl.c: Likewise.
41418         * math/s_ctanl.c: Likewise.
41419         * math/w_fmod.c: Likewise.
41420         * math/w_fmodf.c: Likewise.
41421         * math/w_fmodl.c: Likewise.
41422         * math/w_remainder.c: Likewise.
41423         * math/w_remainderf.c: Likewise.
41424         * math/w_remainderl.c: Likewise.
41425         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41426         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41427         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41428         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41429         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41430         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41431         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41432         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41434         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41435         of the number.
41436         * stdio-common/printf_fphex.c: Likewise.
41437         * stdio-common/printf_size.c: Likewise.
41439         * math/e_exp10.c: Include math_private.h using <...> not "...".
41440         * math/e_exp10f.c: Likewise.
41441         * math/e_exp10l.c: Likewise.
41442         * math/e_exp2l.c: Likewise.
41443         * math/e_j0l.c: Likewise.
41444         * math/e_j1l.c: Likewise.
41445         * math/e_jnl.c: Likewise.
41446         * math/e_lgammal_r.c: Likewise.
41447         * math/e_rem_pio2l.c: Likewise.
41448         * math/e_scalb.c: Likewise.
41449         * math/e_scalbf.c: Likewise.
41450         * math/e_scalbl.c: Likewise.
41451         * math/k_cosl.c: Likewise.
41452         * math/k_sinl.c: Likewise.
41453         * math/k_tanl.c: Likewise.
41454         * math/s_cacoshf.c: Likewise.
41455         * math/s_catan.c: Likewise.
41456         * math/s_catanf.c: Likewise.
41457         * math/s_catanh.c: Likewise.
41458         * math/s_catanhf.c: Likewise.
41459         * math/s_catanhl.c: Likewise.
41460         * math/s_catanl.c: Likewise.
41461         * math/s_ccosh.c: Likewise.
41462         * math/s_ccoshf.c: Likewise.
41463         * math/s_ccoshl.c: Likewise.
41464         * math/s_cexp.c: Likewise.
41465         * math/s_cexpf.c: Likewise.
41466         * math/s_cexpl.c: Likewise.
41467         * math/s_clog.c: Likewise.
41468         * math/s_clog10.c: Likewise.
41469         * math/s_clog10f.c: Likewise.
41470         * math/s_clog10l.c: Likewise.
41471         * math/s_clogf.c: Likewise.
41472         * math/s_clogl.c: Likewise.
41473         * math/s_csin.c: Likewise.
41474         * math/s_csinf.c: Likewise.
41475         * math/s_csinh.c: Likewise.
41476         * math/s_csinhf.c: Likewise.
41477         * math/s_csinhl.c: Likewise.
41478         * math/s_csinl.c: Likewise.
41479         * math/s_csqrt.c: Likewise.
41480         * math/s_csqrtf.c: Likewise.
41481         * math/s_csqrtl.c: Likewise.
41482         * math/s_ctan.c: Likewise.
41483         * math/s_ctanf.c: Likewise.
41484         * math/s_ctanh.c: Likewise.
41485         * math/s_ctanhf.c: Likewise.
41486         * math/s_ctanhl.c: Likewise.
41487         * math/s_ctanl.c: Likewise.
41488         * math/s_ldexp.c: Likewise.
41489         * math/s_ldexpf.c: Likewise.
41490         * math/s_ldexpl.c: Likewise.
41491         * math/s_significand.c: Likewise.
41492         * math/s_significandf.c: Likewise.
41493         * math/s_significandl.c: Likewise.
41494         * math/w_acos.c: Likewise.
41495         * math/w_acosf.c: Likewise.
41496         * math/w_acosh.c: Likewise.
41497         * math/w_acoshf.c: Likewise.
41498         * math/w_acoshl.c: Likewise.
41499         * math/w_acosl.c: Likewise.
41500         * math/w_asin.c: Likewise.
41501         * math/w_asinf.c: Likewise.
41502         * math/w_asinl.c: Likewise.
41503         * math/w_atan2.c: Likewise.
41504         * math/w_atan2f.c: Likewise.
41505         * math/w_atan2l.c: Likewise.
41506         * math/w_atanh.c: Likewise.
41507         * math/w_atanhf.c: Likewise.
41508         * math/w_atanhl.c: Likewise.
41509         * math/w_cosh.c: Likewise.
41510         * math/w_coshf.c: Likewise.
41511         * math/w_coshl.c: Likewise.
41512         * math/w_dremf.c: Likewise.
41513         * math/w_exp10.c: Likewise.
41514         * math/w_exp10f.c: Likewise.
41515         * math/w_exp10l.c: Likewise.
41516         * math/w_exp2.c: Likewise.
41517         * math/w_exp2f.c: Likewise.
41518         * math/w_fmod.c: Likewise.
41519         * math/w_fmodf.c: Likewise.
41520         * math/w_fmodl.c: Likewise.
41521         * math/w_hypot.c: Likewise.
41522         * math/w_hypotf.c: Likewise.
41523         * math/w_hypotl.c: Likewise.
41524         * math/w_j0.c: Likewise.
41525         * math/w_j0f.c: Likewise.
41526         * math/w_j0l.c: Likewise.
41527         * math/w_j1.c: Likewise.
41528         * math/w_j1f.c: Likewise.
41529         * math/w_j1l.c: Likewise.
41530         * math/w_jn.c: Likewise.
41531         * math/w_jnf.c: Likewise.
41532         * math/w_jnl.c: Likewise.
41533         * math/w_lgamma.c: Likewise.
41534         * math/w_lgamma_r.c: Likewise.
41535         * math/w_lgammaf.c: Likewise.
41536         * math/w_lgammaf_r.c: Likewise.
41537         * math/w_lgammal.c: Likewise.
41538         * math/w_lgammal_r.c: Likewise.
41539         * math/w_log.c: Likewise.
41540         * math/w_log10.c: Likewise.
41541         * math/w_log10f.c: Likewise.
41542         * math/w_log10l.c: Likewise.
41543         * math/w_log2.c: Likewise.
41544         * math/w_log2f.c: Likewise.
41545         * math/w_log2l.c: Likewise.
41546         * math/w_logf.c: Likewise.
41547         * math/w_logl.c: Likewise.
41548         * math/w_pow.c: Likewise.
41549         * math/w_powf.c: Likewise.
41550         * math/w_powl.c: Likewise.
41551         * math/w_remainder.c: Likewise.
41552         * math/w_remainderf.c: Likewise.
41553         * math/w_remainderl.c: Likewise.
41554         * math/w_scalb.c: Likewise.
41555         * math/w_scalbf.c: Likewise.
41556         * math/w_scalbl.c: Likewise.
41557         * math/w_sinh.c: Likewise.
41558         * math/w_sinhf.c: Likewise.
41559         * math/w_sinhl.c: Likewise.
41560         * math/w_sqrt.c: Likewise.
41561         * math/w_sqrtf.c: Likewise.
41562         * math/w_sqrtl.c: Likewise.
41563         * math/w_tgamma.c: Likewise.
41564         * math/w_tgammaf.c: Likewise.
41565         * math/w_tgammal.c: Likewise.
41567         * po/ja.po: Update from translation team.
41569 2011-09-29  Andreas Jaeger  <aj@suse.de>
41571         [BZ #13179]
41572         * sunrpc/netname.c (netname2host): Fix logic.
41574         [BZ #6779]
41575         [BZ #6783]
41576         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41577         correctly.
41578         * math/w_remainder.c (__remainder): Likewise.
41579         * math/w_remainderf.c (__remainderf): Likewise.
41580         * math/libm-test.inc (remainder_test): Add test cases.
41582 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41584         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41585         sdiv_qrnnd.
41587 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41589         * string/test-memcmp.c: Avoid unncessary #defines.
41590         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41592 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41594         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41595         Use new sse2 version for core i3 - i7 as it's faster
41596         than sse42 version.
41597         (bit_Prefer_PMINUB_for_stringop): New.
41598         * sysdeps/x86_64/rawmemchr.S: Update.
41599         Replace with faster SSE2 version.
41600         * sysdeps/x86_64/memrchr.S: New file.
41601         * sysdeps/x86_64/memchr.S: Update.
41602         Replace with faster SSE2 version.
41604 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41606         * elf/dl-load.c (lose): Add cast to avoid warning.
41608 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41610         * po/ca.po: Update from translation team.
41612         * inet/getnetgrent_r.c: Hook up nscd.
41613         * nscd/Makefile (routines): Add nscd_netgroup.
41614         (nscd-modules): Add netgroupcache.
41615         (CFLAGS-netgroupcache.c): Define.
41616         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41617         (cache_search): Add const to second parameter.
41618         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41619         INNETGR.
41620         (dbs): Add netgrdb entry.
41621         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41622         (verify_persistent_db): Handle netgrdb.
41623         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41624         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41625         GETFDNETGR.
41626         (netgroup_response_header): Define.
41627         (innetgroup_response_header): Define.
41628         (datahead): Add netgroup_response_header and innetgroup_response_header
41629         elements.
41630         * nscd/nscd.conf: Add entries for netgroup cache.
41631         * nscd/nscd.h (dbtype): Add netgrdb.
41632         (_PATH_NSCD_NETGROUP_DB): Define.
41633         (netgroup_iov_disabled): Declare.
41634         (xmalloc, xcalloc, xrealloc): Move declarations here.
41635         (cache_search): Adjust prototype.
41636         Add netgroup-related prototypes.
41637         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41638         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41639         (__nscd_innetgr): Declare.
41640         * nscd/selinux.c (perms): Use access_vector_t as element type and
41641         add netgroup-related initializers.
41642         * nscd/netgroupcache.c: New file.
41643         * nscd/nscd_netgroup.c: New file.
41644         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41645         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41646         For four parameters use innetgr.
41647         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41648         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41649         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41650         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41652         * nscd/connections.c (register_traced_file): Don't register file
41653         for disabled databases.
41655 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41657         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41659         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41660         from tree and freeing node.
41662 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41664         * nss/nsswitch.c (__nss_database_lookup): Handle
41665         nss_parse_service_list out of memory case.
41667 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41669         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41670         out of memory case.
41672 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41674         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41675         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41676         pass it down.
41677         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41678         elf_machine_rela, elf_machine_lazy_rel.
41679         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41680         (ELF_DYNAMIC_DO_REL): Likewise.
41681         (ELF_DYNAMIC_DO_RELA): Likewise.
41682         (ELF_DYNAMIC_RELOCATE): Likewise.
41683         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41684         to ELF_DYNAMIC_DO_REL.
41685         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41686         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41687         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41688         elf_machine_rela.
41689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41690         skip_ifunc, don't call ifunc function if non-zero.
41691         (elf_machine_rela): Likewise.
41692         (elf_machine_lazy_rel): Likewise.
41693         (elf_machine_lazy_rela): Likewise.
41694         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41695         (elf_machine_lazy_rel): Likewise.
41696         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41697         Likewise.
41698         (elf_machine_lazy_rel): Likewise.
41699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41700         Likewise.
41701         (elf_machine_lazy_rel): Likewise.
41702         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41703         (elf_machine_lazy_rel): Likewise.
41704         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41705         (elf_machine_lazy_rel): Likewise.
41706         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41707         (elf_machine_lazy_rel): Likewise.
41708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41709         (elf_machine_lazy_rel): Likewise.
41710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41711         (elf_machine_lazy_rel): Likewise.
41712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41713         (elf_machine_lazy_rel): Likewise.
41715 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41717         * nss/nss_files/files-init.c (_nss_files_init): Use static
41718         initialization for all the *_traced_file variables.
41720 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41722         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41724 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41726         [BZ #13226]
41727         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41729 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41731         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41732         Reread the line before reparsing it.
41734 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41736         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41738 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41739             Maxim Kuvyrkov  <maxim@codesourcery.com>
41740             Joseph Myers  <joseph@codesourcery.com>
41742         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41743         if needed for __stack_chk_guard.
41745 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41747         * sysdeps/posix/spawni.c (script_execute): Always define it.
41748         It will be optimized away if unused.
41749         (maybe_script_execute): New function.
41750         (__spawni): Call it.
41752         * Makerules: Don't include tls.make.
41753         (config-tls): Always set to thread.
41754         * tls.make.c: File removed.
41756 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41758         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41759         * config.make.in (CPPFLAGS-config): New substituted variable.
41761 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41763         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41765         [BZ #13192]
41766         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41767         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41769 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41771         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41772         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41773         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41774         (CALL_FAIL): Likewise.
41775         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41776         (CALL_FAIL): Macro removed.
41777         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41779 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41781         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41782         for __FINITE_MATH_ONLY__ == 1.
41784 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41786         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41787         __ieee754_sqrt instead of sqrt.
41788         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41789         __ieee754_sqrtf instead of sqrtf.
41790         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41791         __floorf instead of floorf.
41792         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41793         __floorf, __truncf instead of floorf, truncf.
41795 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41797         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41799         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41800         __extern_always_inline.
41801         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41802         32-bit.
41804 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41806         * elf/rtld.c (dl_main): Also relocate in dependency order when
41807         doing symbol dependency testing.
41809 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41812         Always define `refsym'.
41814 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41816         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41817         (__FD_ELT): Renamed from __FDELT.
41818         * misc/bits/select2.h (__FD_ELT): Likewise.
41819         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41820         __FD_MASK instead of __FDELT, __FDMASK.
41821         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41822         Likewise.
41823         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41824         Likewise.
41826         * elf/Makefile (gen-ldd): Fix pattern.
41828         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41829         (init_tls): Likewise.
41831 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41833         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41835 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41837         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41838         `struct cmsghdr *' instead of `void *'.
41839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41840         Likewise.
41842 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41844         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41845         if non-absolute.
41846         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41847         ldd_rewrite_script.
41849 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41851         * configure.in: Remove --with-tls option.
41852         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41853         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41854         out in case it is missing.
41855         * sysdeps/ia64/elf/configure.in: Likewise.
41856         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41857         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41858         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41859         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41860         * sysdeps/sh/elf/configure.in: Likewise.
41861         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41862         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41863         * sysdeps/x86_64/elf/configure.in: Likewise.
41864         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41865         * sysdeps/mach/hurd/tls.h: Likewise.
41867         [BZ #13067]
41868         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41870         [BZ #13090]
41871         * configure.in: Fix use of AC_INIT.
41873         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41875 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41877         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41878         __set_errno.
41879         * malloc/hooks.c: Likewise.
41881         [BZ #11929]
41882         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41883         variables statically.
41884         (narenas): Initialize.
41885         (list_lock): Initialize.
41886         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41887         initializtion of main_arena and list_lock.  Small cleanups.
41888         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41889         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41890         Add initializers to main_arena and mp_.
41891         (malloc_state): Remove pagesize member.  Change all users to use
41892         GLRO(dl_pagesize).
41894         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41895         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41896         is always initialized.
41898         * malloc/malloc.c: Removed unused configurations and dead code.
41899         * malloc/arena.c: Likewise.
41900         * malloc/hooks.c: Likewise.
41901         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41903         * include/tls.h: Removed.  USE___THREAD must always be defined.
41904         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41905         * elf/dl-libc.c: Likewise.
41906         * elf/dl-tsd.c: Likewise.
41907         * include/errno.h: Likewise.
41908         * include/netdb.h: Likewise.
41909         * include/resolv.h: Likewise.
41910         * inet/herrno-loc.c: Likewise.
41911         * inet/herrno.c: Likewise.
41912         * malloc/arena.c: Likewise.
41913         * malloc/hooks.c: Likewise.
41914         * malloc/malloc.c: Likewise.
41915         * resolv/res-state.c: Likewise.
41916         * resolv/res_libc.c: Likewise.
41917         * sysdeps/i386/dl-machine.h: Likewise.
41918         * sysdeps/ia64/dl-machine.h: Likewise.
41919         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41920         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41921         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41922         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41923         * sysdeps/sh/dl-machine.h: Likewise.
41924         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41925         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41926         * sysdeps/unix/i386/sysdep.S: Likewise.
41927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41928         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41929         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41930         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41931         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41933         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41935         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41937         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41938         * sysdeps/x86_64/dl-machine.h: Likewise.
41939         * tls.make.c: Likewise.
41941         * configure.in: Remove --with-__thread option.  Make tests for
41942         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41943         tls_model attribute fail if no support is available.  Remove
41944         USE_IN_LIBIO.
41945         * Makeconfig: Adjust for dropped configure option.  All features are
41946         now mandatory.
41947         * Makerules: Likewise.
41948         * Versions.def: Likewise.
41949         * argp/argp-fmtstream.c: Likewise.
41950         * argp/argp-fmtstream.h: Likewise.
41951         * argp/argp-help.c: Likewise.
41952         * assert/assert.c: Likewise.
41953         * config.h.in: Likewise.
41954         * config.make.in: Likewise.
41955         * configure: Likewise.
41956         * configure.in: Likewise.
41957         * csu/Versions: Likewise.
41958         * csu/init.c: Likewise.
41959         * elf/tst-audit2.c: Likewise.
41960         * elf/tst-tls10.c: Likewise.
41961         * elf/tst-tls10.h: Likewise.
41962         * elf/tst-tls11.c: Likewise.
41963         * elf/tst-tls12.c: Likewise.
41964         * elf/tst-tls14.c: Likewise.
41965         * elf/tst-tlsmod11.c: Likewise.
41966         * elf/tst-tlsmod12.c: Likewise.
41967         * elf/tst-tlsmod13.c: Likewise.
41968         * elf/tst-tlsmod13a.c: Likewise.
41969         * elf/tst-tlsmod14a.c: Likewise.
41970         * elf/tst-tlsmod15b.c: Likewise.
41971         * elf/tst-tlsmod16a.c: Likewise.
41972         * elf/tst-tlsmod16b.c: Likewise.
41973         * elf/tst-tlsmod7.c: Likewise.
41974         * elf/tst-tlsmod8.c: Likewise.
41975         * elf/tst-tlsmod9.c: Likewise.
41976         * gmon/gmon.c: Likewise.
41977         * grp/fgetgrent_r.c: Likewise.
41978         * grp/putgrent.c: Likewise.
41979         * hurd/fopenport.c: Likewise.
41980         * include/libc-symbols.h: Likewise.
41981         * include/tls.h: Likewise.
41982         * intl/gettextP.h: Likewise.
41983         * intl/loadinfo.h: Likewise.
41984         * locale/global-locale.c: Likewise.
41985         * locale/localeinfo.h: Likewise.
41986         * mach/devstream.c: Likewise.
41987         * malloc/arena.c: Likewise.
41988         * malloc/set-freeres.c: Likewise.
41989         * misc/err.c: Likewise.
41990         * misc/getttyent.c: Likewise.
41991         * misc/mntent_r.c: Likewise.
41992         * posix/getopt.c: Likewise.
41993         * posix/wordexp.c: Likewise.
41994         * pwd/fgetpwent_r.c: Likewise.
41995         * resolv/Versions: Likewise.
41996         * resolv/res_hconf.c: Likewise.
41997         * shadow/fgetspent_r.c: Likewise.
41998         * shadow/putspent.c: Likewise.
41999         * stdio-common/printf_fphex.c: Likewise.
42000         * stdio-common/tmpfile.c: Likewise.
42001         * stdlib/abort.c: Likewise.
42002         * stdlib/fmtmsg.c: Likewise.
42003         * sunrpc/auth_unix.c: Likewise.
42004         * sunrpc/clnt_perr.c: Likewise.
42005         * sunrpc/clnt_tcp.c: Likewise.
42006         * sunrpc/clnt_udp.c: Likewise.
42007         * sunrpc/clnt_unix.c: Likewise.
42008         * sunrpc/openchild.c: Likewise.
42009         * sunrpc/svc_simple.c: Likewise.
42010         * sunrpc/svc_tcp.c: Likewise.
42011         * sunrpc/svc_udp.c: Likewise.
42012         * sunrpc/svc_unix.c: Likewise.
42013         * sunrpc/xdr.c: Likewise.
42014         * sunrpc/xdr_array.c: Likewise.
42015         * sunrpc/xdr_rec.c: Likewise.
42016         * sunrpc/xdr_ref.c: Likewise.
42017         * sunrpc/xdr_stdio.c: Likewise.
42019 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42021         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42023 2011-07-03  Andreas Jaeger  <aj@suse.de>
42025         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42026         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42027         regenerate with gen-libm-tests.pl.
42029 2010-05-12  Petr Baudis  <pasky@suse.cz>
42031         [BZ #11589]
42032         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42033         around j0() zero points by switching to j1().
42034         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42035         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42039 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42041         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42042         instead of 0.
42043         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42044         instead of 0.
42045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42046         Patch in part by Pavel Roskin <proski@gnu.org>.
42048         [BZ #13138]
42049         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42050         realloc.
42051         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42052         Free memory block if necessary.
42054         [BZ #12847]
42055         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42056         be NULL.  Don't lock in this case.
42058 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42060         * elf/elf.h (ELFOSABI_GNU): New macro.
42061         (ELFOSABI_LINUX): Define to that.
42063 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42065         * string/strncat.c (strncat): Undef the symbol in case it has been
42066         defined in bits/string.h.
42068 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42070         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42072         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42073         link map.
42075 2011-08-17  Andreas Jaeger  <aj@suse.de>
42077         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42079 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42080             Ian Lance Taylor  <iant@google.com>
42082         * math/libm-test.inc (lround_test): New testcase.
42083         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42085 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42087         * Makefile: Remove support for automatic cvs check-ins.
42088         * Makerules: Likewise.
42089         * config.make.in: Likewise.
42090         * configure.in: Likewise.
42091         * intl/Makefile: Likewise.
42092         * locale/Makefile: Likewise.
42093         * po/Makefile: Likewise.
42094         * posix/Makefile: Likewise.
42095         * sysdeps/gnu/Makefile: Likewise.
42096         * sysdeps/mach/hurd/Makefile: Likewise.
42097         * sysdeps/sparc/sparc32/Makefile: Likewise.
42099         [BZ #13118]
42100         * posix/Makefile (bug-regex32-ENV): Define.
42101         Patch by John Stanley <jpsinthemix@verizon.net>.
42103         * misc/Makefile (headers): Add bits/select2.h.
42104         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42105         * misc/bits/select2.h: New file.
42106         * include/bits/select2.h: New file.
42107         * debug/Makefile (routines): Add fdelt_chk.
42108         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42109         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42110         FD_ISSET.
42111         * debug/fdelt_chk.c: New file.
42113         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42114         * wcsmbs/test-wmemcmp.c: Likewise.
42115         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42116         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42118 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42120         * string/Makefile (strop-tests): Add memcmp.
42121         * string/test-wmemcmp.c: New file.
42122         * string/test-memcmp.c: Add wmemcmp support.
42124 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42126         [BZ #13153]
42127         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42128         2011-07-19 change.
42130         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42131         garbage value in a __mach_port_mod_refs call in the cases of the
42132         task-self and thread-self ports.
42134 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42136         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42138 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42140         * elf/dl-load.c (lose): Check for non-null L.
42142 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42144         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42146         * elf/dl-libc.c (dlerror_run): Pass back error code from
42147         dl_catch_error.
42149         [BZ #13123]
42150         * elf/dl-load.c (lose): Free l_origin if it is valid.
42152         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42153         names.
42154         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42156         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42157         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42158         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42159         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42161 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42163         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42164         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42165         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42166         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42167         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42168         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42169         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42170         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42171         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42172         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42174 2011-08-15  Alan Modra  <amodra@gmail.com>
42176         [BZ #13092]
42177         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42178         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42179         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42180         ppc_mcount to static-only-routines.
42181         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42182         __mcount_internal.
42183         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42184         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42186 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42189         for finite and infinity parameters.
42191 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42193         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42194         and add nop instructions for throughput optimization.
42195         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42197 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42199         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42200         aligned copy for power7 with vector-scalar instructions.
42201         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42203 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42206         AVX check.
42208 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42210         [BZ #13144]
42211         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42212         last change.
42214 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42216         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42217         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42218         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42219         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42220         clock_gettime.
42222 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42224         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42225         Forgot to demangle the pointer.
42227         * sysdeps/i386/sysdep.h: Define atom_text_section.
42228         * sysdeps/x86_64/sysdep.h: Likewise.
42229         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42230         section with atom_text_section.
42231         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42232         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42233         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42235         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42237         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42238         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42239         already be defined.  Change to take two parameters and don't assign
42240         result to variable.  Adjust all users.
42241         Define INTERNAL_GETTIME if not already defined.
42242         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42243         call.
42244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42245         HAVE_CLOCK_GETTIME_VSYSCALL.
42246         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42248         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42249         gettimeofday vsyscall, just use time.
42251 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42254         <errno.h>.
42256 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42258         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42259         syscall on x86-64.
42260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42261         syscall.
42262         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42263         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42264         syscall if possible.
42266 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42268         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42269         e_ident.  Don't pass to find_mapsXX.
42270         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42272 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42275         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42276         * sysdeps/x86_64/multiarch/strchr.S: Update.
42277         Check bit_slow_BSF bit.
42278         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42279         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42280         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42284         [BZ #13134]
42285         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42286         before glibc 2.15.
42287         (tryshell): Define.
42288         (__spawni): Change last parameter to be flag.  Test
42289         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42290         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42291         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42292         * posix/spawni.c: Likewise.
42293         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42294         * posix/spawnp.c: Likewise.  Change normal version to use
42295         SPAWN_XFLAGS_USE_PATH.
42296         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42297         SPAWN_XFLAGS_TRY_SHELL.
42299         [BZ #13150]
42300         * posix/glob.h: Remove gcc 1.x support.
42302         [BZ #13068]
42303         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42305 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42307         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42308         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42309         strrchr-sse2-bsf
42310         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42311         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42312         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42313         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42314         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42315         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42317 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42319         * sysdeps/x86_64/wcscmp.S: New file.
42321         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42322         wcscmp-c wcscmp-sse2
42323         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42324         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42326         * wcsmbs/wcscmp.c: Allow renaming.
42328 2011-09-05  David S. Miller  <davem@davemloft.net>
42330         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42331         stack slot, rather than the struct return pointer slot.
42332         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42333         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42335         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42337 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42339         * po/ja.po: Update from translation team.
42341         [BZ #13144]
42342         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42343         kernel in 64-bit binaries.
42345 2011-09-01  David S. Miller  <davem@davemloft.net>
42347         * elf/elf.h (HWCAP_SPARC_*): Move to..
42348         * sysdeps/sparc/sysdep.h: this new file and add new values.
42349         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42350         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42351         _DL_HWCAP_COUNT to 24.
42352         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42353         entries.
42354         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42355         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42356         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42358         instead of magic constants.
42359         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42361 2011-08-31  David S. Miller  <davem@davemloft.net>
42363         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42365         Reimplement to do errno handling inline.
42366         (SYSCALL_ERROR_HANDLER): New macro.
42367         (__SYSCALL_STRING): Do not do errno handling in asm.
42368         (__CLONE_SYSCALL_STRING): Delete.
42369         (__INTERNAL_SYSCALL_STRING): Delete.
42370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42371         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42372         (PSEUDO): Reimplement to do errno handling inline.
42373         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42374         (SYSCALL_ERROR_HANDLER): New macro.
42375         (__SYSCALL_STRING): Do not do errno handling in asm.
42376         (__CLONE_SYSCALL_STRING): Delete.
42377         (__INTERNAL_SYSCALL_STRING): Delete.
42378         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42379         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42380         i386.
42381         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42382         (inline_syscall*): Add 'err' argument.
42383         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42384         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42385         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42386         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42388         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42389         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42391 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42393         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42395 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42397         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42398         directive.
42400 2011-08-24  David S. Miller  <davem@davemloft.net>
42402         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42404 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42406         * elf/Makefile: Add rules to build and run unload8 test.
42407         * elf/unload8.c: New file.
42408         * elf/unload8mod1.c: New file.
42409         * elf/unload8mod1x.c: New file.
42410         * elf/unload8mod2.c: New file.
42411         * elf/unload8mod3.c: New file.
42413         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42414         it wasn't used.
42416 2011-08-23  David S. Miller  <davem@davemloft.net>
42418         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42419         subtract stack bias.
42420         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42421         %sp not %fp in calculations.
42422         (_JMPBUF_UNWINDS_ADJ): Likewise.
42424         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42425         (aio_suspend): Call it to force an exception region around the
42426         AIO_MISC_WAIT() invocation.
42428 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42430         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42431         backslash.
42433 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42435         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42436         protection macro.
42437         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42438         and <dl-machine.h>.
42439         (Elf64_FuncDesc): Remove.
42441 2011-08-22  David S. Miller  <davem@davemloft.net>
42443         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42444         sigaltstack check, add missing cfi directives.
42445         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42446         missing cfi directives, and sigaltstack handling.
42448 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42450         [BZ #11724]
42451         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42452         object is seen twice.
42453         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42455         * elf/Makefile (distribute): Add tst-initorder2.c.
42456         (tests): Add tst-initorder2.
42457         (modules-names): Add tst-initorder2a tst-initorder2b
42458         tst-initorder2c tst-initorder2d.  Add rules to build them.
42459         ($(objpfx)tst-initorder2.out): New rule.
42460         * elf/tst-initorder2.c: New file.
42461         * elf/tst-initorder2.exp: New file.
42463 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42465         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42467         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42468         dependencies back to end of function.
42470         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42471         $(elfobjdir)/ld.so.
42473 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42475         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42476         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42478         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42479         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42480         of __vdso_gettimeofday.
42481         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42482         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42483         attribute_hidden.
42484         (_libc_vdso_platform_setup): Remove initialization of
42485         __vdso_gettimeofday and __vdso_time.
42487 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42489         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42490         and fgetc_unlocked.
42491         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42492         getc_unlocked.
42494         * elf/dl-open.c (add_to_global): Report additions to the global scope
42495         for LD_DEBUG=scopes.
42496         (dl_open_worker): Also print scope of newly loaded dependencies.
42497         (_dl_show_scope): Indicate if there is no scope.
42499         [BZ #13114]
42500         * stdio-common/Makefile (tests): Add bug24.
42501         * stdio-common/bug24.c: New file.
42503 2011-08-19  Andreas Jaeger  <aj@suse.de>
42505         [BZ #13114]
42506         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42507         non-existant file when using close-on-exec mode.
42509 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42512         the very first instruction.
42514         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42515         the CFI state in the end.
42516         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42517         inclusion of dl-trampoline.h.
42518         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42520 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42522         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42523         expectations for long double.
42525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42526         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42528 2011-08-14  David S. Miller  <davem@davemloft.net>
42530         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42531         artificual limit depends upon the system page size.
42533 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42535         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42536         * resolv/Makefile: Define CFLAGS-libresolv.
42538 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42540         * nss/makedb.c (compute_tables): Make variables used in nested
42541         function static.
42543 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42545         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42546         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42547         if buffer was too small.
42549         * elf/pldd.c (main): Attach to all threads in the process.
42550         Rewrite /proc handling to use *at functions.
42552 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42554         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42555         specifies first scope to show.
42556         (dl_open_worker): Update callers.  Move printing scope of new
42557         object to before the relocation.
42558         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42559         * sysdeps/generic/ldsodefs.h: Update declaration.
42561         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42562         string for the scope number.
42564 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42566         * nscd/servicescache.c (cache_addserv): Make sure written is always
42567         initialized.
42569 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42571         * sysdeps/i386/i486/bits/atomic.h
42572         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42573         statement expression, so as to suppress "set but not used" warning.
42574         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42576         * string/strncat.c (STRNCAT): Use prototype definition.
42578         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42579         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42580         -Iprograms here.
42581         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42582         (localedef-modules): Add localedef.
42583         (locale-modules): Add locale.
42585         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42586         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42587         to avoid a warning.
42589 2011-08-14  David S. Miller  <davem@davemloft.net>
42591         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42592         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42594 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42596         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42597         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42598         * elf/rtld.c (dl_main): Set l_name of vDSO.
42599         Call _dl_show_scope when DL_DEBUG_SCOPES.
42600         (process_dl_debug): Recognize scopes flag and also set it for all.
42601         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42602         Declare _dl_show_scope.
42604         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42605         (do_dlopen): Pass caller_dlopen to dl_open.
42606         (__libc_dlopen_mode): Initialize caller_dlopen.
42608         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42609         of libc.  Make tolower call locale-independent.  Optimize a bit by
42610         using isdigit instead of isalnum.
42611         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42613 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42615         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42616         was a dependency or dynamically loaded.
42618 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42620         * intl/l10nflist.c: Allow architecture-specific pop function.
42621         * sysdeps/x86_64/l10nflist.c: New file.
42623         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42624         classification.
42626 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42628         * include/dirent.h: Add libc_hidden_proto for scandirat and
42629         scandirat64.  Don't declare __scandirat64.
42630         * dirent/scandirat.c: Add libc_hidden_def.
42631         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42632         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42634 2011-08-10  David S. Miller  <davem@davemloft.net>
42636         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42637         enum.
42638         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42640         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42642 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42644         * Versions.def [libc]: Add GLIBC_2.15.
42645         * dirent/Makefile (routines): Add scandirat and scandirat64.
42646         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42647         GLIBC_2.15.
42648         * dirent/dirent.h: Declare scandirat and scandirat64.
42649         * dirent/scandirat.c: New file.
42650         * dirent/scandirat64.c: New file.
42651         * sysdeps/wordsize-64/scandirat.c: New file.
42652         * sysdeps/wordsize-64/scandirat64.c: New file.
42653         * dirent/opendir.c: Define opendirat.
42654         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42655         using scandirat.
42656         * dirent/scandir64.c: Adjust for scandir.c change.
42657         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42658         __scandirat64, and __scandir_cancel_handler.
42659         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42660         additional parameter and use openat instead of open (outside of ld.so).
42661         Add new __opendir as wrapper around __opendirat.
42662         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42663         here without requiring old scandirat implementation.
42665 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42667         * dirent/scandir.c (cancel_handler): Renamed to
42668         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42669         defined.  Adjust users.
42670         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42671         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42673 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42675         * string/test-string.h (IMPL): Use __STRING to expand name and then
42676         stringify it.
42678         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42679         of cleanups.
42681 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42683         * string/Makefile: Update.
42684         (strop-tests): Append strncat.
42685         * string/test-wcscmp.c: New file.
42686         New comprehensive test for wcscmp.
42687         * string/test-strcmp.c: Update.
42688         (WIDE): New define.
42690 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42692         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42693         line.
42695 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42698         encoding to ACE if AI_IDN.
42700 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42702         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42703         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42705 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42707         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42708         Fix overflow bug in strncat.
42709         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42711         * string/test-strncat.c: Update.
42712         Add new tests for checking overflow bugs.
42714 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42716         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42717         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42718         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42719         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42720         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42721         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42722         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42723         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42724         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42726         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42727         (USE_AS_STRCAT): Define.
42728         Add strcat and strncat support.
42729         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42731 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42733         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42734         __n bigger than INT_MAX+1.
42735         (__strncmp_g): Likewise.
42737 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42739         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42740         * libio/stido.h: Likewise.
42742         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42743         (AF_NFC): Define.
42744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42745         (AF_NFC): Define.
42747         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42749         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42750         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42753         [BZ #13021]
42754         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42755         installed.
42757         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42758         typo.
42759         (_dl_x86_64_save_sse): Likewise.
42761 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42763         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42764         OSXSAVE.
42765         (_dl_x86_64_save_sse): Likewise.
42767         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42769         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42771 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42774         change.
42775         (_dl_x86_64_save_sse): Use correct AVX check.
42777 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42779         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42780         bug in strncpy/strncat.
42781         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42783 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42785         * string/tester.c (test_strcat): Add tests for different alignments
42786         of source and destination.
42787         (test_strncat): Likewise.
42789 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42791         [BZ #12852]
42792         * posix/glob.c (glob): Check passed in values before using them in
42793         expressions to avoid some overflows.
42794         (glob_in_dir): Likewise.
42796         [BZ #13007]
42797         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42798         check for AVX enablement so that we don't crash with old kernels and
42799         new hardware.
42800         * elf/tst-audit4.c: Add same checks here.
42801         * elf/tst-audit6.c: Likewise.
42803         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42805 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42807         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42809 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42811         * po/cs.po: Update from translation team.
42812         * po/bg.po: Likewise.
42814 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42816         * misc/sys/cdefs.h: Add support for const attribute.
42817         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42818         to gnu_dev_{major,minor,makedev} functions.
42820 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42822         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42824 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42826         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42827         strlen results.
42829 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42832         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42833         register in order to avoid conflicts with the soft frame pointer
42834         being held in r11 when necessary.
42835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42836         (INTERNAL_VSYSCALL_NCS): Likewise.
42838 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42840         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42841         * elf/dl-fini.c (_dl_fini): Adjust caller.
42842         * elf/dl-close.c (_dl_close_worker): Likewise.
42843         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42845 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42847         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42848         "aux_cache->nlibs < 0".
42850         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42851         in the reload-count case.
42853 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42856         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42857         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42858         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42859         * sysdeps/x86_64/multiarch/strcat.S: New file.
42860         * sysdeps/x86_64/multiarch/strncat.S: New file.
42861         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42862         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42863         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42864         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42865         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42866         (USE_AS_STRCAT): Define.
42867         Add strcat and strncat support.
42868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42869         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42870         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42871         * string/strncat.c: Update.
42872         (USE_AS_STRNCAT): Define.
42873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42874         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42875         and i7.
42876         * sysdeps/x86_64/multiarch/init-arch.h
42877         (bit_Prefer_PMINUB_for_stringop): New.
42878         (index_Prefer_PMINUB_for_stringop): Likewise.
42879         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42880         bit_Prefer_PMINUB_for_stringop.
42882 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42884         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42885         buffer64.
42886         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42887         of casting of buffer.
42888         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42889         buffer32 and buffer64.
42890         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42891         writes instead of casting of buffer.
42892         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42893         buffer32.
42894         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42895         casting of buffer.
42897 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42899         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42901 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42903         * nscd/nscd.c (termination_handler): Don't do anything for a database
42904         if it has not yet been initialized.
42906 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42908         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42910 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42912         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42914 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42916         * po/nl.po: Update from translation team.
42917         * po/sv.po: Likewise.
42919 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42921         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42922         now disallowed by GCC.
42924         * configure.in (use-default-link): Default to yes if a test -shared
42925         link meets our qualifications.
42926         * configure: Regenerated.
42928         * config.make.in (output-format): New variable.
42929         * configure.in: Check for ld --print-output-format support.
42930         * configure: Regenerated.
42931         * Makerules ($(common-objpfx)format.lds)
42932         [$(output-format) != unknown]: Just use $(output-format),
42933         instead of the linker-script munging.
42935 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42937         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42938         of $(common-objpfx)shlib.lds.
42939         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42941         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42942         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42944         * configure.in (-z relro check): Adjust test code to add a large
42945         writable data section after it.
42946         * configure: Regenerated.
42948 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42950         * configure.in (-z relro check): Fix test code to make the variable
42951         truly const.
42952         * configure: Regenerated.
42954 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42956         * nscd/nscd.h (struct traced_file): Define.
42957         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42958         elements.  Add traced_files.
42959         (inotify_fd): Declare.
42960         (register_traced_file): Declare.
42961         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42962         (inotify_fd): Export.
42963         (resolv_conf_descr): Remove.
42964         (nscd_init): Move inotify descriptor creation to main.
42965         Don't register files for notification here.
42966         (register_traced_file): New function.
42967         (invalidate_cache): Don't use reset_res to determine whether to call
42968         res_init, go through the list of registered files.
42969         (main_loop_poll): The inotify descriptors are now stored in the
42970         structures for the traced files.
42971         (main_loop_epoll): Likewise
42972         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42973         to __nss_disable_nscd.
42974         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42975         for a database anymore.  Check the records for all the registered
42976         files instead.
42977         * nss/Makefile (libnss_files-routines): Add files-init.
42978         (libnss_db-routines): Add db-init.
42979         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42980         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42981         * nss/nss_db/db-init.c: New file.
42982         * nss/nss_files/files-init.c: New file.
42983         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42984         __nss_lookup_function.
42985         (__nss_lookup_function): Call nss_load_library.
42986         (nss_load_all_libraries): New function.
42987         (__nss_disable_nscd): Take parameter with callback function for files
42988         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42989         used for the cached services.
42990         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42991         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42992         options for features to all the files in nscd.
42994         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42996 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42998         * csu/elf-init.c (__libc_csu_init): Comment typo.
43000 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43002         * po/pl.po: Update from translation team.
43003         * po/ja.po: Likewise.
43004         * po/ru.po: Likewise.
43005         * po/ko.po: Likewise.
43006         * po/fr.po: Likewise.
43008 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43010         * configure.in (.ctors/.dtors header and trailer check):
43011         Use an empirical test on a built program.
43012         * configure: Regenerated.
43014         * configure.in (-z relro check): Use an empirical test on a built DSO.
43015         Detect, but do not require, on ia64.
43016         * configure: Regenerated.
43018         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43019         Update tests that use readelf to use $READELF instead.
43020         * configure: Regenerated.
43022 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43024         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43025         if the result is not used.
43027 2011-07-05  Andreas Jaeger  <aj@suse.de>
43029         [BZ#9696]
43030         * stdlib/tst-strtod.c: Add testcase.
43032 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43034         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43035         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43036         The latter has a higher limit.  Take additional parameter to pass to
43037         the new function.
43038         (__pathconf): Pass file to __statfs_link_max.
43039         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43040         __statfs_link_max.
43041         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43042         __statfs_link_max.
43044         [BZ #12868]
43045         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43046         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43047         Handle Lustre.
43048         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43049         (__statfs_filesize_max): Likewise.
43050         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43052 2011-07-05  Andreas Jaeger  <aj@suse.de>
43054         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43056 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43058         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43059         `status' variable.
43060         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43061         Likewise.
43063 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43065         * Makefile (strop-tests): Add strncat.
43066         * string/test-strncat.c: New file.
43068 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43070         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43072 2011-06-21  Andreas Jaeger  <aj@suse.de>
43074         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43075         Copy rule from iconvdata/Makefile.
43077 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43079         [BZ #12922]
43080         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43081         but no long options are defined, just return 'W'.
43083 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43085         [BZ #9696]
43086         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43088 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43090         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43091         netgroups to read.
43092         (innetgr): Likewise.
43094 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43096         * config.make.in (install_root): Default to $(DESTDIR).
43098 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43100         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43102 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43104         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43106         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43107         containing directory rather than embedding absolute directory names.
43109         * scripts/check-local-headers.sh: Rewritten using awk.
43110         Match by word, not by line.  Print error messages for matches.
43111         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43113         * Makerules [shlib-lds-flags empty]:
43114         ($(common-objpfx)libc_pic.opts): New target.
43115         ($(common-objpfx)libc_pic.os.clean): New target.
43116         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43118         * config.make.in (OBJCOPY): New variable.
43119         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43120         * configure: Regenerated.
43122         * config.make.in (use-default-link): New variable.
43123         * configure.in (use_default_link): Grok --with-default-link to set it.
43124         * configure: Regenerated.
43125         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43126         (shlib-lds, shlib-lds-flags): Define to empty.
43128         * Makerules (shlib-lds): New variable.
43129         (shlib-lds-flags): New variable.
43130         (build-shlib, build-moduile, build-module-asneeded): Use it.
43131         ($(common-objpfx)libc.so): Use $(shlib-lds).
43132         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43133         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43135         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43136         DT_FLAGS/DT_FLAGS_1 with zero flags.
43138         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43139         linker script munging.
43141 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43143         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43144         as 128-bit value.
43145         * crypt/sha512.c (sha512_process_block): Perform total addition using
43146         128-bit if possible.
43147         (__sha512_finish_ctx): Likewise.
43148         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43149         as 64-bit value.
43150         * crypt/sha256.c (SWAP64): Define.
43151         (sha256_process_block): Perform total addition using 64-bit if
43152         possible.
43153         (__sha256_finish_ctx): Likewise.
43155 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43157         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43159         * nscd/hstcache.c (cache_addhst): Likewise.
43160         * nscd/grpcache.c (cache_addgr): Likewise.
43161         * nscd/aicache.c (addhstaiX): Likewise
43162         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43164 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43166         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43168         * nscd/hstcache.c (cache_addhst): Likewise.
43169         * nscd/grpcache.c (cache_addgr): Likewise.
43170         * nscd/aicache.c (addhstaiX): Likewise
43172 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43174         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43175         domain only when needed.
43177 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43180         is always restored.
43182 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43184         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43185         are re-adding the entry.
43186         * nscd/servicescache.c (cache_addserv): Likewise.
43188 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43190         * sysdeps/generic/dl-irel.h: fix protection against multiple
43191         inclusions.
43192         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43194 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43196         [BZ #12935]
43197         * malloc/memusage.sh: Fix quoting in message.
43198         * debug/xtrace.sh: Likewise.
43200         * configure.in: Remove support for --experimental-malloc option, make
43201         it the default.
43202         * config.make.in: Likewise.
43203         * malloc/Makefile: Likewise.
43205 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43207         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43208         two-byte characters.
43210 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43212         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43213         AC_CACHE_CHECK invocation.
43214         * configure: Regenerated.
43216         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43218 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43220         [BZ #12350]
43221         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43222         bit from old_res_options.
43224         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43226         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43227         value type for setfct.
43229 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43232         __gettimeofday instead of gettimeofday.
43234 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43236         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43238 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43240         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43242         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43243         info.
43245 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43248         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43249         strcpy-sse2-unaligned strncpy-sse2-unaligned
43250         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43251         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43252         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43253         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43254         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43255         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43256         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43257         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43258         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43259         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43260         (STRCPY): Support SSE2 and SSSE3 versions.
43262 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43264         [BZ #12874]
43265         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43266         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43267         kernels which artificially limit size of requests.
43269 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43272         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43273         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43274         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43275         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43276         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43277         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43278         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43279         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43281         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43282         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43283         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43284         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43285         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43287         Enable unaligned load optimization for Intel Core i3, i5 and i7
43288         processors.
43289         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43290         Define.
43291         (index_Fast_Unaligned_Load): Define.
43292         (HAS_FAST_UNALIGNED_LOAD): Define.
43294 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43296         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43298 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43300         [BZ #12907]
43301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43302         until it is clear that the information is realy needed.
43303         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43305 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43309 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43311         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43312         /sys/devices/system/cpu/online if it is usable.
43314         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43315         reading the information from the /proc filesystem to once a second.
43317 2011-06-21  Andreas Jaeger  <aj@suse.de>
43319         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43320         NULL after inclusion of kernel headers.
43322 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43324         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43325         calls to internal_setent.
43327         [BZ #12885]
43328         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43329         addresses using gethostbyname4_r ignore IPv4 addresses.
43331         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43332         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43334         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43336 2011-06-20  David S. Miller  <davem@davemloft.net>
43338         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43339         inclusions.
43340         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43342         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43343         (elf_irel): Use it.
43344         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43345         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43346         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43347         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43348         * sysdeps/x86_64/dl-irel.h: Likewise.
43350         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43351         * elf/dl-sym.c: Likewise.
43353 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43355         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43356         need to dereference resplen2.
43358 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43360         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43362 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43364         * Makeconfig: Define vardbdir and inst_vardbdir.
43365         * nss/Makefile: Add rules to install db-Makefile.
43367         * nss/nss_db/db-XXX.c: Cleanup.
43369         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43370         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43371         GLIBC_PRIVATE.
43372         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43373         * nss/makedb.c: Implement -g option to specify that value strings
43374         are generated and should not be added to table iterated over for
43375         get*ent calls.
43376         * nss/nss_db/db-initgroups.c: New file.
43378         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43379         interface.
43381         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43382         (internal_getgrouplist): Adjust to name change.
43383         Update use_initgroups_entry if this is not the first call.
43384         * nss/databases.def: Add initgroups entry.
43386         * nss/makedb.c (compute_tables): Check result of multiple hash table
43387         sizes to minimize maximum chain length.
43389 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43391         * Versions.def: Add entry for libnss_db.
43392         * shlib-versions: Likewise.
43393         * nss/Makefile: Add rules to build libnss_db.
43394         * nss/Versions: Add libnss_db information.  Organize libnss_files
43395         entries better.
43396         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43397         makedb progra.  Some minor improvements to generate smaller files.
43398         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43399         here from...
43400         * nss/makedb.c: ...here.
43401         Improve database format to be smaller and require less memory at
43402         runtime.
43403         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43404         db anymore.
43405         * nss/nss_db/db-netgrp.c: Likewise.
43406         * nss/nss_db/db-open.c: Likewise.
43407         * nss/nss_files/flies-XXX.x: Adjust comments.
43408         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43409         * nss/nss_files/files-grp.c: Likewise.
43410         * nss/nss_files/files-hosts.c: Likewise.
43411         * nss/nss_files/files-network.c: Likewise.
43412         * nss/nss_files/files-proto.c: Likewise.
43413         * nss/nss_files/files-pwd.c: Likewise.
43414         * nss/nss_files/files-rpc.c: Likewise.
43415         * nss/nss_files/files-service.c: Likewise.
43416         * nss/nss_files/files-sgrp.c: Likewise.
43417         * nss/nss_files/files-spwd.c: Likewise.
43418         * nss/nss_db/db-alias.c: Removed.
43419         * nss/nss_db/dummy-db.h: Removed.
43421 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43423         * nss/makedb.c: Rewritten to not use database library.
43424         * nss/Makefile: Update to build new makedb program.
43426 2011-06-14  Andreas Jaeger  <aj@suse.de>
43428         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43429         memset declaration.
43431 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43434         tmpbuf.
43436 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43438         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43439         * elf/Makefile ($(objpfx)ld.so): Likewise.
43441         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43442         Don't list ld.so twice in dependencies.
43444         * posix/bug-regex31.c: Include <stdlib.h>.
43446         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43448         * nis/nss_compat/compat-spwd.c
43449         (getspent_next_nss_netgr): Remove unused variable.
43450         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43452         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43453         nonmembers" output to use the right array.
43455         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43457         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43459         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43460         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43461         * catgets/gencat.c (read_input_file): Likewise.
43462         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43464         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43465         variable definition inside #if's controlling its use.
43467         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43469         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43471         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43473         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43474         unreachable code.
43476         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43478         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43479         * configure: Regenerated.
43481         * Makerules: Revert last change.
43482         * elf/Makefile: Likewise.
43484 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43486         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43487         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43488         (reloc-link): Likewise.
43490 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43492         * elf/Makefile: Add rules to build pldd.
43493         * elf/pldd.c: New file.
43494         * elf/pldd-xx.c: New file.
43496 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43498         * version.h: Update for 2.15 development version.
43500 2011-06-07  David S. Miller  <davem@davemloft.net>
43502         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43503         ifuncs.
43504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43505         elf_machine_lazy_rel): Likewise.
43506         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43508         elf_machine_lazy_rel): Likewise.
43509         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43510         dl_hwcap via passed in argument.
43511         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43512         Likewise.
43514 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43516         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43518 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43520         [BZ #12849]
43521         * manual/fdl-1.1.texi: New file, verbatim from:
43522         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43523         * manual/lgpl-2.1.texi: New file, verbatim from:
43524         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43525         * manual/Makefile (licenses): New variable, list those new file names.
43526         (texis): Use it.
43527         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43529         * manual/fdl.texi: File removed.
43530         * manual/lesser.texi: File removed.
43531         * manual/libc.texinfo (Copying, Documentation License):
43532         Use new @include file names, put @appendix directive before @include.
43534 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43536         [BZ #12841]
43537         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43538         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43539         (mq_open): Add __NTH.
43541 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43544         Assume Intel Core i3/i5/i7 processor if AVX is available.
43546 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43548         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43549         typo.
43551 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43553         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43554         memory.  Use alloca_account.  Fix memory leak when retrying.
43556 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43558         * version.h (RELEASE): Bump for 2.14 release.
43559         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43561         * config.make.in (RANLIB): Remove entry.
43563 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43565         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43566         (libc.pot): Work around missing support for .ksh extension in xgettext.
43568         [BZ #12684]
43569         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43570         if both request failed.
43571         (send_dg): In case of server errors clear resplen or *resplen2.
43573         [BZ #12454]
43574         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43575         when there are multiple maps.
43576         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43577         (_dl_fini): Remove test here.
43579         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43581 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43583         [BZ #12350]
43584         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43585         bit from old_res_options.
43586         (gaih_inet): Likewise.
43588         [BZ #11099]
43589         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43590         as signed.
43592         * resolv/res_init.c (res_setoptions): Make the code more compact.
43594         [BZ #11558]
43595         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43596         set RES_USEVC.
43598         [BZ #11634]
43599         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43601         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43603         [BZ #11781]
43604         * malloc/malloc.h: Declare malloc hook variables as volatile.
43606         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43607         in last patch.
43609         [BZ #11799]
43610         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43611         raise in the comment.
43612         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43613         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43614         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43616 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43618         [BZ #12811]
43619         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43620         grow the buffers more if it already has to be sufficient.
43621         (build_wcs_upper_buffer): Likewise.
43622         * posix/regexec.c (check_matching): Likewise.
43623         (clean_state_log_if_needed): Likewise.
43624         (extend_buffers): Don't enlarge buffers beyond size of the input
43625         buffer.
43626         Patches mostly by Emil Wojak <emil@wojak.eu>.
43627         * posix/bug-regex32.c: New file.
43628         * posix/Makefile (tests): Add bug-regex32.
43630         * locale/findlocale.c (_nl_find_locale): Return right away if
43631         _nl_explode_name failed.
43632         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43634         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43636         * debug/xtrace.sh: Unify messages.
43637         * malloc/memusage.sh: Likewise.
43639         [BZ #12813]
43640         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43641         time symbol from vDSO.  Substitute with vsyscall if not available.
43642         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43643         __vdso_time.
43645         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43646         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43647         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43648         Add sendmmsg and internal_sendmmsg.
43649         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43650         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43651         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43653         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43654         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43655         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43657 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43659         [BZ #12813]
43660         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43661         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43662         available.
43663         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43664         __vdso_getcpu.
43666         [BZ #12814]
43667         * iconvdata/Makefile (tests): Add bug-iconv9.
43668         * iconvdata/bug-iconv9.c: New file.
43670 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43672         [BZ #12814]
43673         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43675 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43678         (struct user_regs_struct): Change intcs field back to cs.
43680 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43682         * po/ja.po: Update from translation team.
43684 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43686         [BZ #12795]
43687         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43688         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43690 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43692         * stdlib/longlong.h: Update from GCC.
43694 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43696         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43697         parameter name.
43698         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43699         Add parameter name.
43700         (__sysconf): Pass it down.
43702 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43704         [BZ #12671]
43705         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43706         some situations.
43707         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43708         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43709         add in in __libc_use_alloca calls.  Adjust callers.
43710         (glob): Use malloc in some situations.
43712         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43713         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43714         pltexit.
43716 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43718         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43719         and CLOCK_BOOTTIME_ALARM.
43721         [BZ #12782]
43722         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43723         is returned.
43725         * string/_strerror.c (__strerror_r): Print negative errors as signed
43726         numbers.
43728         [BZ #12777]
43729         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43730         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43731         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43733         * configure.in: Fix typo in redirection and correct removal of test
43734         files in two cases.
43736         [BZ #12788]
43737         * locale/setlocale.c (new_composite_name): Fix test to check for
43738         identical name of all categories.
43740         [BZ #12792]
43741         * libio/filedoalloc.c (local_isatty): New function.
43742         (_IO_file_doallocate): Use local_isatty.
43743         * stdio-common/perror.c (perror): In case a new stream is used
43744         forward the stream error.
43745         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43746         error flag.
43748 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43750         [BZ #11869]
43751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43752         alloca.
43753         * include/alloca.h (extend_alloca_account): Define.
43755         [BZ #11857]
43756         * posix/regex.h: Fix comments with documentation of user-accessible
43757         fields after compilation and describe correct free'ing of pattern
43758         after re_compile_pattern.
43759         Patch by Reuben Thomas <rrt@sc3d.org>.
43761 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43763         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43764         and -mno-altivec to prevent the compiler from using Altivec and/or
43765         VSX instructions when the corresponding registers are not available.
43767 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43769         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43771 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43773         * libio/freopen.c (freopen): Use __dup2, not dup2.
43774         * libio/freopen64.c (freopen64): Likewise.
43776 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43778         [BZ #12775]
43779         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43780         * math/Makefile (tests): Add test-powl.
43781         (CFLAGS-test-powl.c): Define.
43782         * math/test-powl.c: New file.
43784 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43786         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43788 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43790         [BZ #11837]
43791         * iconvdata/gb18030.c: Update to GB18020-2005.
43793 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43795         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43796         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43797         Patch by Aharon Robbins <arnold@skeeve.com>.
43799         [BZ #11892]
43800         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43801         on the stack.
43803         [BZ #11895]
43804         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43805         through underflows.
43807         [BZ #12766]
43808         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43809         point to strings before performing equality test for error_one_per_line
43810         mode.
43812         [BZ #11697]
43813         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43815         [BZ #11820]
43816         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43817         (struct user_fpregs_struct): Avoid __uint*_t types.
43819         [BZ #6420]
43820         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43821         symbol info.  Use it instead of calling _dl_addr locally.
43822         (lock_and_info): New function.
43823         (tr_freehook): Call lock_and_info and pass symbol info as additional
43824         parameter to tr_where.
43825         (tr_mallochook): Likewise.
43826         (tr_reallochook): Likewise.
43827         (tr_memalignhook): Likewise.
43829         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43830         used and couldn't be at all thread-safe.
43832 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43834         * libio/freopen.c (freopen): Don't close old file descriptor
43835         before the new one is opened.  Instead dup the new file descriptor
43836         to the old one after the new stream is created.
43837         * libio/freopen64.c (freopen64): Likewise.
43838         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43839         * libio/fileops.c (_IO_new_file_close_it): Handle new
43840         _IO_FLAGS2_NOCLOSE flag.
43841         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43842         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43843         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43844         _IO_FLAGS2_NOCLOSE flag.
43845         * include/unistd.h: Add hidden_proto for dup3.
43846         Define __have_dup3.
43847         * io/dup3.c: Define hidden symbol.
43848         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43850         [BZ #7101]
43851         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43852         when an incomplete long option is used.
43853         * posix/tst-getopt_long1.c: New file.
43854         * posix/Makefile (tests): Add tst-getopt_long1.
43856         [BZ #10138]
43857         * scripts/config.guess: Update from autoconf-2.68.
43858         * scripts/config.sub: Likewise.
43860         [BZ #10157]
43861         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43862         tests into ...
43863         (has_cpuclock): ...this.  New function.
43864         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43865         macro here based on has_cpuclock code.
43867         [BZ #10149]
43868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43869         First byte (not low byte) is now always NUL.
43870         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43873         Use non-cancelable interfaces.
43875         [BZ #9809]
43876         * locale/iso-639.def: Add entry for Sorani.
43878         [BZ #11901]
43879         * include/stdlib.h: Move include protection to the right place.
43880         Define abort_msg_s.  Declare __abort_msg with it.
43881         * stdlib/abort.c (__abort_msg): Adjust type.
43882         * assert/assert.c (__assert_fail_base): New function.  Majority
43883         of code from __assert_fail.  Allocate memory for __abort_msg with
43884         mmap.
43885         (__assert_fail): Now call __assert_fail_base.
43886         * assert/assert-perr.c: Remove bulk of implementation.  Use
43887         __assert_fail_base.
43888         * include/assert.hL Declare __assert_fail_base.
43889         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43890         mmap.
43891         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43893 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43895         [BZ #11952]
43896         [BZ #12453]
43897         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43898         until all modules are registered in the DTV.
43899         * elf/Makefile: Add rules to build and run tst-tls19.
43900         * elf/tst-tls19.c: New file.
43901         * elf/tst-tls19mod1.c: New file.
43902         * elf/tst-tls19mod2.c: New file.
43903         * elf/tst-tls19mod3.c: New file.
43904         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43906         [BZ #12083]
43907         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43908         correctly.
43910         [BZ #12601]
43911         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43912         two-byte sequence errors.
43913         * iconvdata/Makefile (tests): Add bug-iconv8.
43914         * iconvdata/bug-iconv8.c: New file.
43916         [BZ #12626]
43917         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43918         buf2 definition.
43920         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43922         [BZ #12432]
43923         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43924         (dummy_getcfa): New function.
43925         (init): Get _Unwind_GetCFA address, use dummy if not found.
43926         (backtrace_helper): In recursion check, also check whether CFA changes.
43927         (__backtrace): Completely initialize arg.
43929         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43930         storing incomplete byte sequence in state object.  Avoid testing for
43931         guaranteed too small input if we know there is enough data available.
43933 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43935         * Makeconfig (+link-pie): Indent.
43936         * Rules (binaries-pie): Define if $(have-fpie) and
43937         $(build-shared).
43938         (binaries-shared): Also filter out $(binaries-pie).
43939         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43940         * nscd/Makefile (others-pie): Add nscd.
43941         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43942         ($(objpfx)nscd): Remove command override.
43943         * login/Makefile (others-pie): Add pt_chown.
43944         ($(objpfx)pt_chown): Remove command override.
43945         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43946         remove command overrides.
43948 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43950         * libio/tst_putwc.c: Fix error messages.
43952         [BZ #12724]
43953         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43954         currently writing and seek to current position when not.
43955         * libio/Makefile (tests): Add bug-fclose1.
43956         * libio/bug-fclose1.c: New file.
43958 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43960         [BZ #12511]
43961         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43962         don't set DF_1_NODELETE here.
43963         (do_lookup_x): When entering new entry test for copy relocation
43964         and if necessary set DF_1_NODELETE flag.
43965         * elf/tst-unique4.cc: New file.
43966         * elf/tst-unique4.h: New file.
43967         * elf/tst-unique4lib.cc: New file.
43968         * elf/Makefile: Add rules to build and run tst-unique4.
43969         Patch by Piotr Bury <pbury@goahead.com>.
43971 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43973         [BZ #12052]
43974         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43976         [BZ #12625]
43977         * misc/mntent_r.c (addmntent): Flush the stream after the output
43979         [BZ #12393]
43980         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43981         (is_trusted_path_normalize): Skip initial colon.  Append slash
43982         to empty buffer.  Duplicate is_trusted_path code but allow
43983         constructed patch to be prefix.
43984         (is_dst): Allow $ORIGIN followed by /.
43985         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43986         Correct testing of result of is_trusted_path_normalize
43987         (decompose_rpath): Fix warning.
43989 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43991         [BZ #11257]
43992         * grp/initgroups.c (internal_getgrouplist): When we found the service
43993         list through the initgroups entry in nsswitch.conf do not always
43994         continue on a successful lookup.  Don't always use the
43995         __nss_group_database value if it is set.
43996         * nss/nsswitch.conf (initgroups): Change action for successful db
43997         lookup to continue for compatibility.
43999 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44001         [BZ #11532]
44002         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44003         and CP774 modules.
44004         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44005         and CP774 modules.
44006         * iconvdata/tst-tables.sh: Likewise.
44007         * iconvdata/cp770.c: New file.
44008         * iconvdata/cp771.c: New file.
44009         * iconvdata/cp772.c: New file.
44010         * iconvdata/cp773.c: New file.
44011         * iconvdata/cp774.c: New file.
44012         * iconvdata/testdata/CP770: New file.
44013         * iconvdata/testdata/CP770..UTF8: New file.
44014         * iconvdata/testdata/CP771: New file.
44015         * iconvdata/testdata/CP771..UTF8: New file.
44016         * iconvdata/testdata/CP772: New file.
44017         * iconvdata/testdata/CP772..UTF8: New file.
44018         * iconvdata/testdata/CP773: New file.
44019         * iconvdata/testdata/CP773..UTF8: New file.
44020         * iconvdata/testdata/CP774: New file.
44021         * iconvdata/testdata/CP774..UTF8: New file.
44023         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44024         END CHARMAP line.
44025         * iconvdata/gen-8bit-gap.sh: Likewise.
44026         * iconvdata/gen-8bit.sh: Likewise.
44028         * locale/iso-639.def: Add ary entry.
44030         [BZ #11258]
44031         * locale/C-translit.h.in: Add U20A1 transliteration.
44033         [BZ #12178]
44034         * locale/iso-639.def: Add wae entry.
44035         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44037         [BZ #12545]
44038         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44039         for n.
44041         [BZ #12711]
44042         * locale/C-translit.h.in: Add entry for U20B9.
44043         Patch by pravin.d.s@gmail.com.
44045 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44047         [BZ #12713]
44048         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44049         ENAMETOOLONG use generic getcwd.
44050         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44051         in rtld.  Use *stat64.
44052         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44053         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44054         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44055         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44056         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44057         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44058         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44059         __fstatat64 macros.
44060         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44061         * dirent/rewinddir.c: Add libc_hidden_def.
44062         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44063         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44065         * include/dirent.h (__alloc_dir): Add flags parameter.
44066         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44067         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44068         __alloc_dir.
44069         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44070         from fdopendir if O_CLOEXEC is already set.
44072 2011-03-15  Alan Modra  <amodra@gmail.com>
44074         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44075         l_tls_firstbyte_offset non-zero.  Save padding offset in
44076         l_tls_firstbyte_offset for later use.
44077         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44078         freeing static tls block.
44080 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44082         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44083         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44084         being defined by the kernel headers.
44086 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44088         [BZ #12734]
44089         * resolv/resolv.h: Define RES_NOTLDQUERY.
44090         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44091         no-tld-query and set RES_NOTLDQUERY.
44092         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44093         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44094         modern BIND to search name as TLD unless forbidden.
44096 2011-05-07  Petr Baudis  <pasky@suse.cz>
44097             Ulrich Drepper  <drepper@gmail.com>
44099         [BZ #12393]
44100         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44101         (is_trusted_path): ...to here.
44102         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44103         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44104         using is_trusted_path_normalize() in setuid scripts.
44106 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44108         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44109         __BEGIN/__END_DECLS.
44111 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44113         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44114         NSS_STATUS_NOTFOUND if no record was found.
44116 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44118         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44119         (headers-not-in-tirpc): Remove rpc/netdb.h
44120         * resolv/netdb.h: Revert last change.
44122 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44124         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44125         circular dependency between libgcc.a and libc.a.
44127 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44129         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44130         * nis/Makefile: Don't install rpcsvc/*.
44131         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44132         instead of <rpc/types.h>.
44133         (MAXHOSTNAMELEN): Define.
44135 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44137         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44139 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44141         [BZ #12714]
44142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44143         gethostbyname4_r when IPv6 results are possible.
44145 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44147         [BZ #12723]
44148         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44149         _PC_PIPE_BUF handling.
44151 2011-04-30  Bruno Haible  <bruno@clisp.org>
44153         [BZ #12717]
44154         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44155         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44156         to 'int'.
44157         * inet/getnameinfo.c (getnameinfo): Likewise.
44159 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44161         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44162         to groups setting in database lookup.
44163         * nss/nsswitch.conf: Add initgroups entry.
44165 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44167         [BZ #12685]
44168         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44169         mode string.
44170         Patch by Eric Blake <eblake@redhat.com>.
44172 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44174         * sunrpc/Makefile (need-export-routines): Add svc_run.
44175         (routines): Remove svc_run.
44176         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44177         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44178         * sunrpc/svc_run.c (svc_run): Likewise.
44179         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44181 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44183         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44184         problem in reallocation in last patch.
44186 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44188         * sunrpc/Makefile: Move inclusion of Rules.
44190 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44192         * nss/nss_files/files-initgroups.c: New file.
44193         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44194         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44195         _nss_files_initgroups_dyn.
44197 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44199         * elf/elf.h (R_ARM_IRELATIVE): Define.
44201 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44203         * po/ru.po: Update from translation team.
44205 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44207         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44208         dependencies.
44210 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44212         [BZ #12653]
44213         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44214         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44215         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44216         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44219 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44221         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44222         differing bytes.
44223         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44225         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44227 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44229         [BZ #12420]
44230         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44231         storing it.
44232         * stdlib/bug-getcontext.c: New file.
44233         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44235 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44237         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44238         instructions into .machine "z9-109".
44239         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44240         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44242 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44244         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44245         between environment variables and auxiliary vector.
44247 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44249         * Makefile: Add rules to build linkobj/libc.so.
44250         * include/libc-symbols.h: Define libc_hidden_nolink.
44251         * include/rpc/auth.h: Mark functions which are to be hidden.
44252         * include/rpc/auth_des.h: Likewise.
44253         * include/rpc/auth_unix.h: Likewise.
44254         * include/rpc/clnt.h: Likewise.
44255         * include/rpc/des_crypt.h: Likewise.
44256         * include/rpc/key_prot.h: Likewise.
44257         * include/rpc/pmap_clnt.h: Likewise.
44258         * include/rpc/pmap_prot.h: Likewise.
44259         * include/rpc/pmap_rmt.h: Likewise.
44260         * include/rpc/rpc_msg.h: Likewise.
44261         * include/rpc/svc.h: Likewise.
44262         * include/rpc/svc_auth.h: Likewise.
44263         * include/rpc/xdr.h: Likewise.
44264         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44265         * nss/Makefile: Likewise.
44266         * sunrpc/Makefile: Don't install headers.  Build library with normal
44267         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44268         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44269         for the compat linking library.  Remove use of INTDEF/INTUSE.
44270         * sunrpc/auth_none.c: Likewise.
44271         * sunrpc/auth_unix.c: Likewise.
44272         * sunrpc/authdes_prot.c: Likewise.
44273         * sunrpc/authuxprot.c: Likewise.
44274         * sunrpc/clnt_gen.c: Likewise.
44275         * sunrpc/clnt_perr.c: Likewise.
44276         * sunrpc/clnt_raw.c: Likewise.
44277         * sunrpc/clnt_simp.c: Likewise.
44278         * sunrpc/clnt_tcp.c: Likewise.
44279         * sunrpc/clnt_udp.c: Likewise.
44280         * sunrpc/clnt_unix.c: Likewise.
44281         * sunrpc/des_crypt.c: Likewise.
44282         * sunrpc/des_soft.c: Likewise.
44283         * sunrpc/get_myaddr.c: Likewise.
44284         * sunrpc/key_call.c: Likewise.
44285         * sunrpc/key_prot.c: Likewise.
44286         * sunrpc/netname.c: Likewise.
44287         * sunrpc/pm_getmaps.c: Likewise.
44288         * sunrpc/pm_getport.c: Likewise.
44289         * sunrpc/pmap_clnt.c: Likewise.
44290         * sunrpc/pmap_prot.c: Likewise.
44291         * sunrpc/pmap_prot2.c: Likewise.
44292         * sunrpc/pmap_rmt.c: Likewise.
44293         * sunrpc/publickey.c: Likewise.
44294         * sunrpc/rpc_cmsg.c: Likewise.
44295         * sunrpc/rpc_common.c: Likewise.
44296         * sunrpc/rpc_dtable.c: Likewise.
44297         * sunrpc/rpc_prot.c: Likewise.
44298         * sunrpc/rpc_thread.c: Likewise.
44299         * sunrpc/rtime.c: Likewise.
44300         * sunrpc/svc.c: Likewise.
44301         * sunrpc/svc_auth.c: Likewise.
44302         * sunrpc/svc_authux.c: Likewise.
44303         * sunrpc/svc_raw.c: Likewise.
44304         * sunrpc/svc_run.c: Likewise.
44305         * sunrpc/svc_simple.c: Likewise.
44306         * sunrpc/svc_tcp.c: Likewise.
44307         * sunrpc/svc_udp.c: Likewise.
44308         * sunrpc/svc_unix.c: Likewise.
44309         * sunrpc/svcauth_des.c: Likewise.
44310         * sunrpc/xcrypt.c: Likewise.
44311         * sunrpc/xdr.c: Likewise.
44312         * sunrpc/xdr_array.c: Likewise.
44313         * sunrpc/xdr_float.c: Likewise.
44314         * sunrpc/xdr_intXX_t.c: Likewise.
44315         * sunrpc/xdr_mem.c: Likewise.
44316         * sunrpc/xdr_rec.c: Likewise.
44317         * sunrpc/xdr_ref.c: Likewise.
44318         * sunrpc/xdr_sizeof.c: Likewise.
44319         * sunrpc/xdr_stdio.c: Likewise.
44321 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44323         [BZ #12650]
44324         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44325         * sysdeps/ia64/dl-tls.h: Likewise.
44326         * sysdeps/powerpc/dl-tls.h: Likewise.
44327         * sysdeps/s390/dl-tls.h: Likewise.
44328         * sysdeps/sh/dl-tls.h: Likewise.
44329         * sysdeps/sparc/dl-tls.h: Likewise.
44330         * sysdeps/x86_64/dl-tls.h: Likewise.
44331         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44333 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44335         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44336         rpath element also skip the following colon.
44337         (expand_dynamic_string_token): Add is_path parameter and pass
44338         down to DL_DST_REQUIRED and _dl_dst_substitute.
44339         (decompose_rpath): Call expand_dynamic_string_token with
44340         non-zero is_path.  Ignore empty rpaths.
44341         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44342         with zero is_path.
44344 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44347         Make cancelable.
44349 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44351         [BZ #12655]
44352         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44353         Patch by Filipe David Manana <fdmanana@apache.org>.
44355 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44357         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44358         Maintain aligned stack.
44359         (CHECK_RSP): Remove unused macro.
44361 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44363         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44366 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44368         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44370         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44372 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44374         [BZ #12518]
44375         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44376         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44377         * sysdeps/x86_64/memmove.c: New file.
44378         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44379         (memcpy): Renamed to ...
44380         (__new_memcpy): This.
44381         (memcpy): Provide GLIBC_2_14 memcpy.
44382         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44383         (memcpy): Provide GLIBC_2_2_5 memcpy.
44385 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44387         [BZ #12631]
44388         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44390 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44392         * misc/syncfs.c: New file.
44393         * misc/Makefile (routines): Add syncfs.
44394         * posix/unistd.h: Declare syncfs.
44395         * sysdeps/unix/syscalls.list: Add syncfs.
44397 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44399         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44400         open_by_handle_at.
44401         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44402         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44403         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44404         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44406         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44409 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44411         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44412         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44413         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44415         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44416         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44417         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44419         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44420         sync_file_range.c with -fexceptions.
44421         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44422         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44423         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44424         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44425         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44426         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44428         sync_file_range as cancellation point
44429         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44430         now a wrapper around __call_sync_file_range with cancellation handling.
44431         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44432         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44433         function name to __call_sync_file_range.
44434         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44435         Add call_sync_file_range.
44437 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44440         bits/timex.h.
44442 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44444         * iconv/iconv.h: Fix typo in comment.
44445         * io/fcntl.h: Likewise.
44446         * libio/stdio.h: Likewise.
44447         * posix/spawn.h: Likewise.
44448         * posix/unistd.h: Likewise.
44449         * stdlib/stdlib.h: Likewise.
44450         * time/time.h: Likewise.
44451         * wcsmbs/wchar.h: Likewise.
44453         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44454         open_by_handle): Add.
44455         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44456         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44457         Augment a few comments.
44458         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44460         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44462         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44463         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44464         open_by_handle.
44466         * io/fcntl.h (AT_EMPTY_PATH): Define.
44468 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44470         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44471         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44472         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44473         to...
44474         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44475         * Versions.def: Add GLIBC_2.14.
44476         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44477         Export.
44479 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44481         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44482         round counter.
44483         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44485 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44487         [BZ #12597]
44488         * string/test-strncmp.c (do_page_test): New function.
44489         (check2): Likewise.
44490         (test_main): Call check2.
44491         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44493 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44495         [BZ #12587]
44496         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44497         Handle cache information in CPU leaf 4.
44498         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44500 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44502         [BZ #12583]
44503         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44504         character representation.
44505         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44507 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44509         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44510         END(__isnan) to END(__isnanf) to match function entry point/label
44511         EALIGN(__isnanf,...).
44513 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44515         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44517 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44519         [BZ #12510]
44520         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44521         copy from the symbol referenced in the relocation to initialize the
44522         used variable.
44523         Patch by Piotr Bury <pbury@goahead.com>.
44524         * elf/Makefile: Add rules to build and tst-unique3.
44525         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44526         * elf/tst-unique3.cc: New file.
44527         * elf/tst-unique3.h: New file.
44528         * elf/tst-unique3lib.cc: New file.
44529         * elf/tst-unique3lib2.cc: New file.
44531         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44533 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44535         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44536         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44537         to _start.
44539 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44541         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44542         to-be-loaded object along a path to loader is ld.so.
44544 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44545             Ulrich Drepper  <drepper@gmail.com>
44547         * sysdeps/x86_64/memset.S: After aligning destination, code
44548         branches to different locations depending on the value of
44549         misalignment, when multiarch is enabled. Fix this.
44551 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44553         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44554         Set _x86_64_preferred_memory_instruction for AMD processsors.
44555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44556         Set bit_Prefer_SSE_for_memop for AMD processors.
44558 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44560         * libio/fmemopen.c (fmemopen): Optimize a bit.
44562 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44564         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44566 2011-03-03  Roland McGrath  <roland@redhat.com>
44568         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44570 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44572         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44573         __bzero_ultra1 instead of __memset_ultra1.
44575 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44576             Ulrich Drepper  <drepper@gmail.com>
44578         [BZ #12509]
44579         * include/link.h (struct link_map): Add l_orig_initfini.
44580         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44581         returning unsuccessfully.
44582         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44583         close of a file loaded at startup, restore the original l_initfini
44584         list.
44585         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44586         list, store the pointer.
44587         * elf/Makefile ($(objpfx)noload-mem): New rule.
44588         (noload-ENV): Define.
44589         (tests): Add $(objpfx)noload-mem.
44590         * elf/noload.c: Include <memcheck.h>.
44591         (main): Call mtrace.  Close all opened handles.
44593 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44595         [BZ #12454]
44596         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44597         dependencies are missing.
44599 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44601         Fix __if_freereq crash: Unlike the generic version which uses free,
44602         Hurd needs munmap.
44603         * sysdeps/mach/hurd/ifreq.h: New file.
44605 2011-01-27  Petr Baudis  <pasky@suse.cz>
44606             Ulrich Drepper  <drepper@gmail.com>
44608         [BZ 12445]#
44609         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44610         to extend_alloca().
44611         * stdio-common/bug23.c: New file.
44612         * stdio-common/Makefile (tests): Add bug23.
44614 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44615             Ulrich Drepper  <drepper@gmail.com>
44617         [BZ #12489]
44618         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44619         before performing relro protection.  At old place add assertion
44620         to make sure nothing changed.
44622 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44623             Glauber de Oliveira Costa  <glommer@gmail.com>
44625         * elf/elf.h: Add new ARM TLS relocs.
44627 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44630         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44631         cast from r3.
44632         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44633         'tests' variable.
44634         * sysdeps/wordsize-64/tst-writev.c: New file.
44636 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44638         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44639         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44640         insns in _dl_start to prevent a TOC reference before relocs are
44641         resolved.
44643 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44645         [BZ #12469]
44646         * Makeconfig: Remove RANLIB definition.
44647         * Makerules: Don't use RANLIB.
44648         * aclocal.m4: Remove ranlib test.
44649         * configure.in: No need to check for ranlib.
44650         * elf/rtld-Rules: Don't use RANLIB.
44652 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44654         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44655         protection macro.
44656         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44657         inclusion protection macro.
44659         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44660         SIGRTMIN and SIGRTMAX and print information in that case only when
44661         SIGRTMIN is defined.
44663 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44665         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44666         arginfo fn returning -1.
44668         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44669         and thousands string is zero terminated.
44671 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44674         sysdeps/unix/sysv/linux/bits/socket.h.
44676 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44678         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44679         (__CPU_COUNT): Remove old macros.
44680         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44681         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44682         (__CPU_ALLOC, __CPU_FREE): Add macros.
44683         (__sched_cpualloc, __sched_cpufree): Add declarations.
44685 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44687         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44688         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44689         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44690         (readdhstai): Return value of addhstaiX call.
44691         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44692         (addgrbyX): Return value returned by cache_addgr.
44693         (readdgrbyname): Return value returned by addgrbyX.
44694         (readdgrbygid): Likewise.
44695         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44696         (addpwbyX): Return value returned by cache_addpw.
44697         (readdpwbyname): Return value returned by addhstbyX.
44698         (readdpwbyuid): Likewise.
44699         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44700         (addservbyX): Return value returned by cache_addserv.
44701         (readdservbyname): Return value returned by addservbyX:
44702         (readdservbyport): Likewise.
44703         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44704         (addhstbyX): Return value returned by cache_addhst.
44705         (readdhstbyname): Return value returned by addhstbyX.
44706         (readdhstbyaddr): Likewise.
44707         (readdhstbynamev6): Likewise.
44708         (readdhstbyaddrv6): Likewise.
44709         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44710         (readdinitgroups): Return value returned by addinitgroupsX.
44711         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44712         (prune_cache): Keep track of timeout value of re-added entries.
44713         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44714         * nscd/nscd.h: Adjust prototypes of readd* functions.
44716 2011-02-04  Roland McGrath  <roland@redhat.com>
44718         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44719         (nis_stats): Likewise.
44720         * nis/nis_modify.c (nis_modify): Likewise.
44721         * nis/nis_remove.c (nis_remove): Likewise.
44722         * nis/nis_add.c (nis_add): Likewise.
44724         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44726         * posix/fnmatch_loop.c: Add some consts.
44728         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44730 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44732         [BZ #12460]
44733         * config.make.in (config-cflags-novzeroupper): Define.
44734         * configure.in: Substitute libc_cv_cc_novzeroupper.
44735         * elf/Makefile (AVX-CFLAGS): Define.
44736         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44737         (CFLAGS-tst-auditmod4a.c): Likewise.
44738         (CFLAGS-tst-auditmod4b.c): Likewise.
44739         (CFLAGS-tst-auditmod6b.c): Likewise.
44740         (CFLAGS-tst-auditmod6c.c): Likewise.
44741         (CFLAGS-tst-auditmod7b.c): Likewise.
44742         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44744 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44746         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44747         function to the callback.
44748         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44750 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44752         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44753         of errno.
44755 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44757         [BZ #11724]
44758         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44759         of constructors.
44760         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44761         of destructors.
44762         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44764         [BZ #11724]
44765         * elf/Makefile: Add rules to build and run new test.
44766         * elf/tst-initorder.c: New file.
44767         * elf/tst-initorder.exp: New file.
44768         * elf/tst-initordera1.c: New file.
44769         * elf/tst-initordera2.c: New file.
44770         * elf/tst-initordera3.c: New file.
44771         * elf/tst-initordera4.c: New file.
44772         * elf/tst-initorderb1.c: New file.
44773         * elf/tst-initorderb2.c: New file.
44774         * elf/tst-order-a1.c: New file.
44775         * elf/tst-order-a2.c: New file.
44776         * elf/tst-order-a3.c: New file.
44777         * elf/tst-order-a4.c: New file.
44778         * elf/tst-order-b1.c: New file.
44779         * elf/tst-order-b2.c: New file.
44780         * elf/tst-order-main.c: New file.
44781         New test case by George Gensure <werkt0@gmail.com>.
44783 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44786         decoding ACE if AI_CANONIDN.
44788 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44790         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44792 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44794         * version.h (RELEASE): Bump for 2.13 release.
44795         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44797         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44799         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44800         MADV_NOHUGEPAGE.
44801         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44802         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44803         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44804         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44805         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44806         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44808         * posix/getconf.c: Update copyright year.
44809         * catgets/gencat.c: Likewise.
44810         * csu/version.c: Likewise.
44811         * debug/catchsegv.sh: Likewise.
44812         * debug/xtrace.sh: Likewise.
44813         * elf/ldconfig.c: Likewise.
44814         * elf/ldd.bash.in: Likewise.
44815         * elf/sprof.c (print_version): Likewise.
44816         * iconv/iconv_prog.c: Likewise.
44817         * iconv/iconvconfig.c: Likewise.
44818         * locale/programs/locale.c: Likewise.
44819         * locale/programs/localedef.c: Likewise.
44820         * malloc/memusage.sh: Likewise.
44821         * malloc/mtrace.pl: Likewise.
44822         * nscd/nscd.c (print_version): Likewise.
44823         * nss/getent.c: Likewise.
44825         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44826         PF_CAIF, and PF_ALG.
44827         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44829 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44831         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44832         (modules-names): Use them.
44833         (ifunc-test-modules, ifunc-pie-tests): Define.
44834         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44835         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44836         (test-extras): Likewise.
44837         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44838         $(compile-command.c).
44839         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44840         (all-built-dso): Define.
44841         (check-textrel.out, check-execstack.out): Depend on it.
44843         * configure.in: Don't override --enable-multi-arch.
44845 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44847         [BZ #6812]
44848         * nscd/hstcache.c (tryagain): Define.
44849         (cache_addhst): Return tryagain not notfound for temporary errors.
44850         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44851         failed.
44853 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44855         [BZ #10563]
44856         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44857         to make the syscall.
44858         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44860         [BZ #12378]
44861         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44862         and fall back to matching as normal character if the string ends before
44863         the matching ']' is found.  This is what POSIX requires.
44864         * posix/testfnm.c: Adjust test result.
44865         * posix/globtest.sh: Adjust test result.  Add new test.
44866         * posix/tst-fnmatch.input: Likewise.
44867         * posix/tst-fnmatch2.c: Add new test.
44869 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44871         * elf/Makefile (check-execstack): Revert last change.  Depend on
44872         check-execstack.h.
44873         (check-execstack.h): New target.
44874         (generated): Add check-execstack.h.
44875         * elf/check-execstack.c: Include "check-execstack.h".
44876         (main): Revert last change.
44877         (handle_file): Return zero if GNU_STACK is absent and
44878         DEFAULT_STACK_PERMS doesn't include PF_X.
44880 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44882         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44883         in child fails because the descriptor is already closed.
44884         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44885         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44886         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44888         [BZ #12397]
44889         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44890         syscall.
44892         [BZ #10484]
44893         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44894         temporary buffer used to handle multi lookups locally.
44895         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44897 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44899         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44900         loader is ld.so.
44902 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44904         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44905         alignment for SSE2.
44907 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44909         [BZ #12394]
44910         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44911         characters.  When rounding increased number of integer digits recompute
44912         number of groups.
44913         * stdio-common/tst-grouping.c: New file.
44914         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44916 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44918         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44919         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44921         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44922         void.
44923         * bits/select.h: Likewise.
44925 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44927         * po/ja.po: Update from translation team.
44929 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44931         [BZ #11155]
44932         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44933         implementation just like for lxstat, fxstatat, et al.
44935 2010-12-27  Jim Meyering  <meyering@redhat.com>
44937         [BZ #12348]
44938         * posix/regexec.c (build_trtable): Return failure indication upon
44939         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44941 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44943         [BZ #12201]
44944         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44945         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44946         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44947         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44949         [BZ #12207]
44950         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44952         [BZ #12204]
44953         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44954         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44956 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44958         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44959         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44960         script has SORT_BY_INIT_PRIORITY.
44961         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44962         NO_CTORS_DTORS_SECTIONS is defined.
44963         * elf/soinit.c: Likewise.
44964         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44965         NO_CTORS_DTORS_SECTIONS is defined.
44966         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44967         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44968         * sysdeps/sh/init-first.c: Likewise.
44969         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44971 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44973         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44974         always use the slow path.
44976 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44978         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44979         similar rule which adds the sysdep directories to the header search in
44980         order to pick up the correct platform stackinfo.h.
44981         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44982         perform test if it is, otherwise return successfully without testing.
44983         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44984         DEFAULT_STACK_PERMS define in stackinfo.h.
44985         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44986         defined in stackinfo.h.
44987         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44988         DEFAULT_STACK_PERMS defined in stackinfo.h.
44989         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44990         * sysdeps/ia64/stackinfo.h: Likewise.
44991         * sysdeps/s390/stackinfo.h: Likewise.
44992         * sysdeps/sh/stackinfo.h: Likewise.
44993         * sysdeps/sparc/stackinfo.h: Likewise.
44994         * sysdeps/x86_64/stackinfo.h: Likewise.
44995         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44996         PF_X for powerpc64.  Retain PF_X for powerpc32.
44998 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45000         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45001         accurately.
45002         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45003         GETDENTS_64BIT_ALIGNED.
45005 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45007         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45009 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45011         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45012         _GNU_SOURCE.
45014         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45015         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45016         Remove __restrict.
45017         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45018         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45020 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45022         [BZ #11655]
45023         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45024         are initialized.
45026 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45028         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45030 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45032         * po/it.po: Update from translation team.
45034 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45037         unused codes.
45039 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45041         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45043 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45045         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45046         specially.
45047         (gaih_getanswer_slice): Likewise.
45049 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45053 2010-05-31  Petr Baudis  <pasky@suse.cz>
45055         [BZ #11149]
45056         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45057         silently even in the chroot mode.
45059 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45061         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45062         last patch a bit.  Pretty printing
45064 2010-05-31  Petr Baudis <pasky@suse.cz>
45066         [BZ #10085]
45067         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45068         initialization of skip_initgroups_dyn.
45070 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45072         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45075 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45077         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45079 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45081         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45082         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45083         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45084         ($(objpfx)tst-fnmatch-mem): New rule.
45085         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45086         * posix/tst-fnmatch.c (main): Call mtrace.
45088 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45091         Support Intel processor model 6 and model 0x2c.
45093 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45095         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45096           signed comparison.
45098 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45100         [BZ #12205]
45101         * string/test-strncasecmp.c (check_result): New function.
45102         (do_one_test): Use it.
45103         (check1): New function.
45104         (test_main): Use it.
45105         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45106         Support strcasecmp and strncasecmp.
45108 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45110         [BZ #12194]
45111         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45112         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45114 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45116         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45117         IFUNC support.
45118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45119         memset-x86-64.
45120         * sysdeps/x86_64/multiarch/bzero.S: New file.
45121         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45122         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45123         * sysdeps/x86_64/multiarch/memset.S: New file.
45124         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45126         Set bit_Prefer_SSE_for_memop for Intel processors.
45127         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45128         Define.
45129         (index_Prefer_SSE_for_memop): Define.
45130         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45132 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45134         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45135         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45137 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45139         [BZ #12191]
45140         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45141         (__x86_64_raw_data_cache_size_half): Likewise.
45142         (__x86_64_raw_shared_cache_size): Likewise.
45143         (__x86_64_raw_shared_cache_size_half): Likewise.
45145         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45146         (__x86_64_raw_data_cache_size_half): Likewise.
45147         (__x86_64_raw_shared_cache_size): Likewise.
45148         (__x86_64_raw_shared_cache_size_half): Likewise.
45149         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45150         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45151         and __x86_64_raw_shared_cache_size_half.  Round
45152         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45153         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45154         to multiple of 256 bytes.
45156 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45158         [BZ #12167]
45159         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45160         of inacessible symlinks.  Verify result of symlink before returning it.
45161         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45162         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45164 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45166         * math/math.h (isinf): Fix typo in comment.
45168 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45170         * po/da.po: Update from translation team.
45172 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45174         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45175         is added to the list.
45177 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45178             Ulrich Drepper  <drepper@gmail.com>
45180         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45181         the global list here.  Move code to...
45182         (_dl_add_to_namespace_list): ...here.  New function.
45183         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45184         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45185         * elf/dl-load.c (lose): Don't remove the element from the list.
45186         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45187         (_dl_map_object): Likewise.
45189 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45191         [BZ #12159]
45192         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45193         into all bytes of SSE register.
45194         Patch by Richard Li <richardpku@gmail.com>.
45196 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45198         [BZ #12140]
45199         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45200         perturbing.
45202 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45204         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45205         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45206         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45207         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45209         submachine.
45210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45212 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45214         * include/dlfcn.h (__RTLD_SECURE): Define.
45215         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45216         mode & __RTLD_SECURE instead.
45217         (open_path): Rename preloaded parameter to secure.
45218         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45219         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45220         * elf/dl-deps.c (openaux): Likewise.
45221         * elf/rtld.c (struct map_args): Remove is_preloaded.
45222         (map_doit): Don't use it.
45223         (dl_main): Likewise.
45224         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45225         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45227 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45229         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45230         (sysd-rules-targets): Remove duplicates.
45231         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45232         rtld-%.$o dependency.
45234 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45236         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45237         _dl_map_object do it.
45239 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45241         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45242         fast fma builtins, define the macros in the C99 standard.
45243         (FP_FAST_FMAF): Likewise.
45244         (FP_FAST_FMAL): Likewise.
45245         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45247         * bits/mathdef.h: Update copyright year.
45248         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45250 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45252         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45253         builtins, define the macros in the C99 standard.
45254         (FP_FAST_FMAF): Likewise.
45255         (FP_FAST_FMAL): Likewise.
45256         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45257         multiply/add.
45258         (FP_FAST_FMAF): Likewise.
45260 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45262         [BZ #3268]
45263         * math/libm-test.inc (fma_test): Some new testcases.
45264         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45265         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45266         y and infinite z.  Do multiplication by C already in long double.
45267         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45269         y and infinite z.  Do bitwise or of inexact bit into u.d.
45270         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45271         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45272         * sysdeps/i386/fpu/s_fma.S: Removed.
45273         * sysdeps/i386/fpu/s_fmal.S: Removed.
45275 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45277         [BZ #3268]
45278         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45280         computation is not scheduled after fetestexcept.  Fix value
45281         of minimum denormal long double.
45283 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45285         [BZ #3268]
45286         * math/libm-test.inc (fma_test): Add some more tests.
45287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45288         correctly.
45290 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45292         * scripts/data/localplt-s390-linux-gnu.data: New file.
45293         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45295 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45297         [BZ #3268]
45298         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45299         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45300         instead of dbl-64.
45301         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45302         inlines.
45303         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45305         if one of x and y is very large and the other is subnormal.
45306         * sysdeps/s390/fpu/s_fmaf.c: New file.
45307         * sysdeps/s390/fpu/s_fma.c: New file.
45308         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45309         * sysdeps/powerpc/fpu/s_fma.S: New file.
45310         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45311         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45312         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45314 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45316         [BZ #3268]
45317         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45318         fma tests.
45319         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45320         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45321         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45322         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45323         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45324         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45325         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45327 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45329         [BZ #12078]
45330         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45331         * posix/bug-regex31.input: Add test case.
45333 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45335         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45336         * posix/bug-regex31.input: New file.
45338         [BZ #12078]
45339         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45340         (parse_sub_exp): Fix last change, use postorder.
45342         * posix/bug-regex31.c: New file.
45343         * posix/Makefile: Add rules to build and run bug-regex31.
45345         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45347         [BZ #12078]
45348         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45350         [BZ #12108]
45351         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45352         to have entries in sys_siglist.
45354         [BZ #12093]
45355         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45356         be NULL.
45358 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45360         [BZ #3268]
45361         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45362         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45363         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45364         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45365         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45366         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45367         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45368         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45369         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45370         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45371         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45372         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45373         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45374         * math/ftestexcept.c (fetestexcept): Likewise.
45375         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45376         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45377         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45378         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45379         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45380         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45381         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45383 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45385         [BZ #12107]
45386         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45387         newline.
45389 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45391         * string/bug-strstr1.c: New file.
45392         * string/Makefile: Add rules to build and run bug-strstr1.
45394 2010-10-05  Eric Blake  <eblake@redhat.com>
45396         [BZ #12092]
45397         * string/str-two-way.h (two_way_long_needle): Always clear memory
45398         when skipping input due to the shift table.
45400 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45402         [BZ #12005]
45403         * malloc/mcheck.c: Handle large requests.
45405         [BZ #12077]
45406         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45407         for strncmp and strncasecmp.
45408         * string/stratcliff.c: Add tests for strcmp and strncmp.
45409         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45411 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45413         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45414         __set_fpscr.
45416 2010-09-30  Andreas Jaeger  <aj@suse.de>
45418         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45419         (CGROUP_SUPER_MAGIC): Define.
45420         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45421         Handle btrfs and cgroup file systems.
45422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45423         Likewise.
45425 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45427         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45428         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45430 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45432         [BZ #12067]
45433         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45434         trying to locate the ELF header.
45436 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45438         [BZ #11611]
45439         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45440         Mask out sign-bit copies when constructing f_fsid.
45442 2010-09-24  Petr Baudis <pasky@suse.cz>
45444         * debug/stack_chk_fail_local.c: Add missing licence exception.
45445         * debug/warning-nop.c: Likewise.
45447 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45449         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45450         implementing getdents64 using getdents syscall, set d_type if
45451         __ASSUME_GETDENTS32_D_TYPE.
45453 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45455         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45456         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45458 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45460         [BZ #12037]
45461         * posix/unistd.h: Undo change of feature selection for ftruncate from
45462         2010-01-11.
45464 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45466         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45467         detection.
45469 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45471         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45472         fanotify_mark.
45473         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45475 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45477         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45478         variables after CHECK_SP call.
45479         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45481 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45482             Ulrich Drepper  <drepper@redhat.com>
45484         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45485         re-relocationg ld.so.
45486         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45487         _dl_init_paths call.
45488         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45489         here anymore.
45491 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45493         * resolv/res_init.c (__res_vinit): Count the default server we added.
45495 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45496             Ulrich Drepper  <drepper@redhat.com>
45498         [BZ #11968]
45499         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45500         (____longjmp_chk): Use %ebx for saving value across system call.
45501         Add unwind info.
45503 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45505         * manual/Makefile: Don't mix pattern rules with normal rules.
45507 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45509         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45510         operation.
45511         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45512         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45513         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45514         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45515         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45516         Likewise.
45518 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45520         [BZ #11979]
45521         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45522         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45524 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45526         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45527         * sysdeps/x86_64/addmul_1.S: Likewise.
45528         * sysdeps/x86_64/lshift.S: Likewise.
45529         * sysdeps/x86_64/mul_1.S: Likewise.
45530         * sysdeps/x86_64/rshift.S: Likewise.
45531         * sysdeps/x86_64/sub_n.S: Likewise.
45532         * sysdeps/x86_64/submul_1.S: Likewise.
45534 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45536         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45537         Define __sched_param instead of SCHED_* and sched_param when
45538         <bits/sched.h> is included with __need_schedparam defined.
45539         * bits/sched.h [__need_schedparam]
45540         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45541         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45542         (__defined_schedparam): Define to 1.
45543         (__sched_param): New structure, identical to sched_param.
45544         (__need_schedparam): Undefine.
45546 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45548         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45549         (epoll_create1): Declare.
45551         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45553 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45555         [BZ #7066]
45556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45557         shifting retval into place.
45559 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45561         * nis/rpcsvc/nis.h: Update copyright notice.
45562         * nis/rpcsvc/nis.x: Likewise.
45563         * nis/rpcsvc/nis_callback.h: Likewise.
45564         * nis/rpcsvc/nis_callback.x: Likewise.
45565         * nis/rpcsvc/nis_object.x: Likewise.
45566         * nis/rpcsvc/nis_tags.h: Likewise.
45567         * nis/rpcsvc/yp.h: Likewise.
45568         * nis/rpcsvc/yp.x: Likewise.
45569         * nis/rpcsvc/ypupd.h: Likewise.
45570         * nis/yp_xdr.c: Likewise.
45571         * nis/ypupdate_xdr.c: Likewise.
45573         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45574         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45575         (pmap_getport): Use __libc_rpc_getport.
45576         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45577         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45578         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45580 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45583         fanotify_mark.
45585 2010-08-27  Roland McGrath  <roland@redhat.com>
45587         * sysdeps/i386/i686/multiarch/Makefile
45588         (CFLAGS-varshift.c): New variable.
45590 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45592         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45593         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45595         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45597         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45599 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45601         * sysdeps/x86_64/strlen.S: Unroll the loop.
45602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45603         strlen-sse2 strlen-sse2-bsf.
45604         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45605         __strlen_no_bsf if bit_Slow_BSF is set.
45606         (__strlen_sse42): Removed.
45607         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45608         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45610 2010-08-25  Roland McGrath  <roland@redhat.com>
45612         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45613         * sysdeps/x86_64/multiarch/varshift.c: New file.
45614         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45615         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45616         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45617         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45619 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45622         strlen-sse2 strlen-sse2-bsf.
45623         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45624         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45625         (__strlen_sse2): Removed.
45626         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45627         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45629         bit_Slow_BSF for Atom.
45630         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45631         (index_Slow_BSF): Define.
45632         (HAS_SLOW_BSF): Define.
45634 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45636         [BZ #10851]
45637         * resolv/res_init.c (__res_vinit): When no server address at all
45638         is given default to loopback.
45640 2010-08-24  Roland McGrath  <roland@redhat.com>
45642         * configure.in: Remove config-name.h generation.
45643         * configure: Regenerated.
45644         * config-name.in: File removed.
45645         * scripts/config-uname.sh: New file.
45646         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45647         ($(objdir)config-name.h): New target.
45649         * sunrpc/rpc_parse.h: Avoid nested comment.
45651 2010-08-24  Richard Henderson  <rth@redhat.com>
45652             Ulrich Drepper  <drepper@redhat.com>
45653             H.J. Lu  <hongjiu.lu@intel.com>
45655         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45657         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45658         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45659         _mm_alignr_epi8 with _mm_loadu_si128.
45660         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45661         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45662         (__m128i_shift_right): Removed.
45663         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45664         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45665         * sysdeps/x86_64/multiarch/varshift.h: New file.
45666         * sysdeps/x86_64/multiarch/varshift.S: New file.
45668 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45670         * configure.in: Move assembler checks to before sysdep dir checking.
45672 2010-08-20  Petr Baudis  <pasky@suse.cz>
45674         * LICENSES: Sync the sunrpc license.
45676 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45678         * sunrpc/auth_des.c: Update copyright notice once again.
45679         * sunrpc/auth_none.c: Likewise.
45680         * sunrpc/auth_unix.c: Likewise.
45681         * sunrpc/authdes_prot.c: Likewise.
45682         * sunrpc/authuxprot.c: Likewise.
45683         * sunrpc/bindrsvprt.c: Likewise.
45684         * sunrpc/clnt_gen.c: Likewise.
45685         * sunrpc/clnt_perr.c: Likewise.
45686         * sunrpc/clnt_raw.c: Likewise.
45687         * sunrpc/clnt_simp.c: Likewise.
45688         * sunrpc/clnt_tcp.c: Likewise.
45689         * sunrpc/clnt_udp.c: Likewise.
45690         * sunrpc/clnt_unix.c: Likewise.
45691         * sunrpc/des_crypt.c: Likewise.
45692         * sunrpc/des_soft.c: Likewise.
45693         * sunrpc/get_myaddr.c: Likewise.
45694         * sunrpc/getrpcport.c: Likewise.
45695         * sunrpc/key_call.c: Likewise.
45696         * sunrpc/key_prot.c: Likewise.
45697         * sunrpc/openchild.c: Likewise.
45698         * sunrpc/pm_getmaps.c: Likewise.
45699         * sunrpc/pm_getport.c: Likewise.
45700         * sunrpc/pmap_clnt.c: Likewise.
45701         * sunrpc/pmap_prot.c: Likewise.
45702         * sunrpc/pmap_prot2.c: Likewise.
45703         * sunrpc/pmap_rmt.c: Likewise.
45704         * sunrpc/rpc/auth.h: Likewise.
45705         * sunrpc/rpc/auth_unix.h: Likewise.
45706         * sunrpc/rpc/clnt.h: Likewise.
45707         * sunrpc/rpc/des_crypt.h: Likewise.
45708         * sunrpc/rpc/key_prot.h: Likewise.
45709         * sunrpc/rpc/netdb.h: Likewise.
45710         * sunrpc/rpc/pmap_clnt.h: Likewise.
45711         * sunrpc/rpc/pmap_prot.h: Likewise.
45712         * sunrpc/rpc/pmap_rmt.h: Likewise.
45713         * sunrpc/rpc/rpc.h: Likewise.
45714         * sunrpc/rpc/rpc_des.h: Likewise.
45715         * sunrpc/rpc/rpc_msg.h: Likewise.
45716         * sunrpc/rpc/svc.h: Likewise.
45717         * sunrpc/rpc/svc_auth.h: Likewise.
45718         * sunrpc/rpc/types.h: Likewise.
45719         * sunrpc/rpc/xdr.h: Likewise.
45720         * sunrpc/rpc_clntout.c: Likewise.
45721         * sunrpc/rpc_cmsg.c: Likewise.
45722         * sunrpc/rpc_common.c: Likewise.
45723         * sunrpc/rpc_cout.c: Likewise.
45724         * sunrpc/rpc_dtable.c: Likewise.
45725         * sunrpc/rpc_hout.c: Likewise.
45726         * sunrpc/rpc_main.c: Likewise.
45727         * sunrpc/rpc_parse.c: Likewise.
45728         * sunrpc/rpc_parse.h: Likewise.
45729         * sunrpc/rpc_prot.c: Likewise.
45730         * sunrpc/rpc_sample.c: Likewise.
45731         * sunrpc/rpc_scan.c: Likewise.
45732         * sunrpc/rpc_scan.h: Likewise.
45733         * sunrpc/rpc_svcout.c: Likewise.
45734         * sunrpc/rpc_tblout.c: Likewise.
45735         * sunrpc/rpc_util.c: Likewise.
45736         * sunrpc/rpc_util.h: Likewise.
45737         * sunrpc/rpcinfo.c: Likewise.
45738         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45739         * sunrpc/rpcsvc/key_prot.x: Likewise.
45740         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45741         * sunrpc/rpcsvc/mount.x: Likewise.
45742         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45743         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45744         * sunrpc/rpcsvc/rex.x: Likewise.
45745         * sunrpc/rpcsvc/rstat.x: Likewise.
45746         * sunrpc/rpcsvc/rusers.x: Likewise.
45747         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45748         * sunrpc/rpcsvc/spray.x: Likewise.
45749         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45750         * sunrpc/rtime.c: Likewise.
45751         * sunrpc/svc.c: Likewise.
45752         * sunrpc/svc_auth.c: Likewise.
45753         * sunrpc/svc_authux.c: Likewise.
45754         * sunrpc/svc_raw.c: Likewise.
45755         * sunrpc/svc_run.c: Likewise.
45756         * sunrpc/svc_simple.c: Likewise.
45757         * sunrpc/svc_tcp.c: Likewise.
45758         * sunrpc/svc_udp.c: Likewise.
45759         * sunrpc/svc_unix.c: Likewise.
45760         * sunrpc/svcauth_des.c: Likewise.
45761         * sunrpc/xcrypt.c: Likewise.
45762         * sunrpc/xdr.c: Likewise.
45763         * sunrpc/xdr_array.c: Likewise.
45764         * sunrpc/xdr_float.c: Likewise.
45765         * sunrpc/xdr_mem.c: Likewise.
45766         * sunrpc/xdr_rec.c: Likewise.
45767         * sunrpc/xdr_ref.c: Likewise.
45768         * sunrpc/xdr_sizeof.c: Likewise.
45769         * sunrpc/xdr_stdio.c: Likewise.
45771         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45772         handling.
45774 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45776         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45778 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45780         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45781         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45782         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45783         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45784         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45785         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45786         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45787         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45788         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45789         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45790         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45791         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45792         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45793         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45795 2010-07-26  Anton Blanchard  <anton@samba.org>
45797         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45798         * malloc/arena.c (heap_trim): Likewise.
45800 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45802         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45803         here.  Not...
45804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45805         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45807 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45809         * sysdeps/i386/elf/Makefile: New file.
45811 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45813         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45814         from fanotify_init.
45815         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45816         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45818 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45820         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45821         of strncasecmp_l.
45822         * sysdeps/multiarch/strcmp.S: Likewise.
45824 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45826         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45827         strncase_l-nonascii.
45828         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45829         Add strncase_l-ssse3.
45830         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45831         * sysdeps/x86_64/strcmp.S: Likewise.
45832         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45833         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45834         * sysdeps/x86_64/strncase.S: New file.
45835         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45836         * sysdeps/x86_64/strncase_l.S: New file.
45837         * string/Makefile (strop-tests): Add strncasecmp.
45838         * string/test-strncasecmp.c: New file.
45840         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45841         warning.
45843         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45844         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45846 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45848         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45850 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45852         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45853         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45854         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45856 2010-05-01  Alan Modra  <amodra@gmail.com>
45858         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45859         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45860         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45861         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45862         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45863         tidying.  Don't tail-call __sigjmp_save for static lib.
45864         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45865         save location.
45866         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45867         (CALL_MCOUNT): Add eh info, and nop after bl.
45868         (TAIL_CALL_SYSCALL_ERROR): New macro.
45869         (PSEUDO_RET): Use it.
45870         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45871         Correct save location of integer regs and cr.
45872         (_dl_profile_resolve): Correct cr save location.  Delete nops
45873         after bl when SHARED.  Reduce cfi size a little by better
45874         placement of cfi directives.
45875         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45876         make a stack frame.  Instead use parm save area as a temp.
45877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45878         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45880         Don't make a stack frame for parent, use parm save area.
45881         Increase child stack frame to 112 bytes.  Don't save unused reg,
45882         and adjust reg usage.  Set up cfi on error recovery and
45883         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45885         (__makecontext): Add dummy nop after jump to exit.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45887         Use correct parm save area and cr save, reduce stack frame.
45888         Correct cfi for possible PSEUDO_RET frame setup.
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45890         Branch to local label emitted by PSEUDO_RET rather than
45891         __syscall_error.
45893 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45895         [BZ #11904]
45896         * locale/programs/locale.c (print_assignment): New function.
45897         (show_locale_vars): Use it.
45899 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45901         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45902         field.
45903         (struct statfs64): Likewise.
45904         (_STATFS_F_FLAGS): Define.
45905         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45906         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45907         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45908         (ST_VALID): Define locally.
45909         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45910         __statvfs_getflags, use the provided value.
45911         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45912         __ASSUME_STATFS_F_FLAGS.
45914         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45916         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45917         Add sys/fanotify.h.
45918         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45919         fanotify_mask for GLIBC_2.13.
45920         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45921         fanotify_init and fanotify_mark.
45922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45923         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45925         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45926         Add prlimit.
45927         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45928         prlimit64 for GLIBC_2.13.
45929         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45930         prlimit64.
45931         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45932         syscall.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45934         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45935         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45936         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45938         add prlimit alias.
45939         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45941         [BZ #11903]
45942         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45943         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45945         * nss/Makefile: Add rules to build and run tst-nss-test1.
45946         * shlib-versions: Add entry for libnss_test1.
45947         * nss/nss_test1.c: New file.
45948         * nss/tst-nss-test1.c: New file.
45950         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45951         (__nss_configure_lookup): Set appropriate entry in
45952         __nss_configure_lookup to true.
45953         * nss/nsswitch.h: Define enum with indeces of databases in
45954         databases and __nss_database_custom arrays.  Declare
45955         __nss_database_custom.
45956         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45957         to avoid using nscd when custom rules are installed.
45958         * nss/getXXbyYY_r.c: Likewise.
45959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45961         * nss/nss_files/files-parse.c: Whitespace fixes.
45963 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45965         [BZ #11883]
45966         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45967         * posix/fnmatch_loop.c: Likewise.
45969 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45971         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45972         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45973         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45974         * Versions.def [GLIBC_2.13]: Add.
45976 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45978         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45979         Also fail if tpwd after pwuid call is NULL.
45981 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45983         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45984         when converting to ms.
45986 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45988         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45989         EOPNOTSUPP errors with ENOTTY.
45990         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45991         EOPNOTSUPP errors with ENOTTY.
45993 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45995         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45996         Add strcasecmp_l-ssse3.
45997         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45998         strcasecmp.
45999         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46000         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46001         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46003 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46005         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46007         * string/Makefile (strop-tests): Add strcasecmp.
46008         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46009         strcasecmp_l-nonascii.
46010         (gen-as-const-headers): Add locale-defines.sym.
46011         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46012         * sysdeps/x86_64/strcasecmp.S: New file.
46013         * sysdeps/x86_64/strcasecmp_l.S: New file.
46014         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46015         * sysdeps/x86_64/locale-defines.sym: New file.
46016         * string/test-strcasecmp.c: New file.
46018         * string/test-strcasestr.c: Test both ends of the range of characters.
46019         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46021 2010-07-29  Roland McGrath  <roland@redhat.com>
46023         [BZ #11856]
46024         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46026 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46028         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46029         for ld.so.
46031 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46033         * manual/memory.texi (Malloc Tunable Parameters): Document
46034         M_PERTURB.
46036 2010-07-26  Roland McGrath  <roland@redhat.com>
46038         [BZ #11840]
46039         * configure.in (-fgnu89-inline check): Set and substitute
46040         gnu89_inline, not libc_cv_gnu89_inline.
46041         * configure: Regenerated.
46042         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46044 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46046         * string/test-strnlen.c: New file.
46047         * string/Makefile (strop-tests): Add strnlen.
46048         * string/tester.c (test_strnlen): Add a few more test cases.
46049         * string/tst-strlen.c: Better error reporting.
46051         * sysdeps/x86_64/strnlen.S: New file.
46053 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46055         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46056         lower-latency instructions.
46058 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46060         * string/test-strcasestr.c: New file.
46061         * string/test-strstr.c: New file.
46062         * string/Makefile (strop-tests): Add strstr and strcasestr.
46063         * string/str-two-way.h: Don't undefine MAX.
46064         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46066 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46069         strcasestr-nonascii.
46070         (CFLAGS-strcasestr-nonascii.c): Define.
46071         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46072         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46073         Remove unused attribute.
46075 2010-07-20  Roland McGrath  <roland@redhat.com>
46077         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46078         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46079         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46080         like LD_HWCAP_MASK can disable hwcaps.
46082 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46084         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46086 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46088         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46089         call in strcasestr.
46090         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46091         __strcasestr_sse42_nonascii.
46092         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46093         strcasestr-nonascii.c.
46094         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46096 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46098         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46099         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46100         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46101         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46103 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46105         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46106         fcntl.
46108 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46110         [BZ #11577]
46111         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46112         dl_signal_cerror.
46114 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46116         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46117         _PC_PIPE_BUF using F_GETPIPE_SZ.
46119 2010-07-05  Roland McGrath  <roland@redhat.com>
46121         * manual/arith.texi (Rounding Functions): Fix rint description
46122         implicit in round description.
46124 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46126         * elf/Makefile: Fix linking for a few tests to make recent linker
46127         happy.
46129 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46131         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46132         $(common-objpfx)libc_nonshared.a.
46134 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46136         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46137         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46138         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46139         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46140         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46141         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46142         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46143         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46158         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46159         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46160         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46161         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46162         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46163         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46164         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46165         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46166         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46167         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46168         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46169         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46185 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46187         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46188         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46189         * string/memmove.c (memmove): Renamed to ...
46190         (MEMMOVE): ...this.  Default to memmove.
46191         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46192         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46193         (END_CHK): Define.
46194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46195         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46196         mempcpy-ssse3-back memmove-ssse3-back.
46197         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46200         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46201         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46202         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46203         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46204         * sysdeps/x86_64/multiarch/memmove.c: New file.
46205         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46206         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46207         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46208         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46209         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46210         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46211         Define.
46212         (index_Fast_Copy_Backward): Define.
46213         (HAS_ARCH_FEATURE): Define.
46214         (HAS_FAST_REP_STRING): Define.
46215         (HAS_FAST_COPY_BACKWARD): Define.
46217 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46219         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46220         Restore proper fallback handling.
46222 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46224         [BZ #11701]
46225         * posix/group_member.c (__group_member): Correct checking loop.
46227         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46228         OOM in getpwuid_r correctly.  Return error number when the caller
46229         should return, otherwise -1.
46230         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46231         call returning > 0 value.
46232         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46234 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46236         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46237         libc_nonshared.a from targets in modules-names.
46239 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46241         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46242         requires it.
46244 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46247         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46249         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46251 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46253         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46255 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46257         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46258         and F_GETPIPE_SZ.
46259         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46260         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46261         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46263         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46264         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46266 2010-06-14  Roland McGrath  <roland@redhat.com>
46268         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46270 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46272         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46273         __REDIRECT followed by __THROW.
46274         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46275         * posix/getopt.h (getopt): Likewise.
46277 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46279         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46280         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46281         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46282         in AT_FLAGS.
46283         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46284         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46286 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46288         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46290 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46292         [BZ #11640]
46293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46294         Properly check family and model.
46296 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46298         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46300 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46302         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46304 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46306         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46307         symbol reference.
46309 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46311         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46312         symbol reference.
46314 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46316         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46317         and internal_recvmmsg.
46318         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46319         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46320         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46321         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46323         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46324         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46325         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46327 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46329         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46331 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46333         POWER7 optimizations.
46334         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46335         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46337 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46339         * version.h: Update for 2.13 development version.
46341 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46343         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46344         exceptions.  Return 0.
46346 2010-05-07  Roland McGrath  <roland@redhat.com>
46348         * elf/ldconfig.c (main): Add a const.
46350 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46352         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46353         (args_options): Add no-idn option.
46354         (ahosts_keys_int): Add idn_flags to ai_flags.
46355         (parse_option): Handle 'i' option to clear idn_flags.
46357         * malloc/malloc.c (_int_free): Possible race in the most recently
46358         added check.  Only act on the data if no current modification
46359         happened.
46361 See ChangeLog.17 for earlier changes.